X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_picture.h;h=b0fe6e4d7ac397c37af6417af73d78de80e6a59c;hb=c60652e38ac6afd74bd8225e9dae5406f13aaa4f;hp=39c3ca04a694422bffb6ba1c8fb2cb2e71a6dd5e;hpb=94e0618bb553abc7d1c59095b52de95c51deb724;p=vlc diff --git a/include/vlc_picture.h b/include/vlc_picture.h index 39c3ca04a6..b0fe6e4d7a 100644 --- a/include/vlc_picture.h +++ b/include/vlc_picture.h @@ -114,15 +114,15 @@ struct picture_t * with picture_Hold and picture_Release. This default management will release * p_sys, p_q, p_data_orig fields if non NULL. */ -VLC_EXPORT( picture_t *, picture_New, ( vlc_fourcc_t i_chroma, int i_width, int i_height, int i_sar_num, int i_sar_den ) ); +VLC_EXPORT( picture_t *, picture_New, ( vlc_fourcc_t i_chroma, int i_width, int i_height, int i_sar_num, int i_sar_den ) LIBVLC_USED ); /** * This function will create a new picture using the given format. * - * When possible, it is prefered to use this function over picture_New + * When possible, it is preferred to use this function over picture_New * as more information about the format is kept. */ -VLC_EXPORT( picture_t *, picture_NewFromFormat, ( const video_format_t *p_fmt ) ); +VLC_EXPORT( picture_t *, picture_NewFromFormat, ( const video_format_t *p_fmt ) LIBVLC_USED ); /** * Resource for a picture. @@ -148,7 +148,7 @@ typedef struct * * If the resource is NULL then a plain picture_NewFromFormat is returned. */ -VLC_EXPORT( picture_t *, picture_NewFromResource, ( const video_format_t *, const picture_resource_t * ) ); +VLC_EXPORT( picture_t *, picture_NewFromResource, ( const video_format_t *, const picture_resource_t * ) LIBVLC_USED ); /** * This function will force the destruction a picture. @@ -220,8 +220,8 @@ static inline void picture_CopyProperties( picture_t *p_dst, const picture_t *p_ } /** - * This function will reset a picture informations (properties and quantizers). - * It is sometimes usefull for reusing pictures (like from a pool). + * This function will reset a picture information (properties and quantizers). + * It is sometimes useful for reusing pictures (like from a pool). */ VLC_EXPORT( void, picture_Reset, ( picture_t * ) ); @@ -275,7 +275,7 @@ VLC_EXPORT( int, picture_Export, ( vlc_object_t *p_obj, block_t **pp_image, vide * It will return VLC_EGENERIC if the core does not understand the requested * format. * - * It can be usefull to get the properties of planes. + * It can be useful to get the properties of planes. */ VLC_EXPORT( int, picture_Setup, ( picture_t *, vlc_fourcc_t i_chroma, int i_width, int i_height, int i_sar_num, int i_sar_den ) );