VLC 4.0.0-dev
|
This file defines functions and structures for image conversions in vlc. More...
Go to the source code of this file.
Data Structures | |
struct | image_handler_t |
Macros | |
#define | image_HandlerCreate(a) image_HandlerCreate( VLC_OBJECT(a) ) |
#define | image_Read(a, b, c, d) a->pf_read( a, b, c, d ) |
#define | image_ReadUrl(a, b, c) a->pf_read_url( a, b, c ) |
#define | image_Write(a, b, c, d) a->pf_write( a, b, c, d ) |
#define | image_WriteUrl(a, b, c, d, e) a->pf_write_url( a, b, c, d, e ) |
#define | image_Convert(a, b, c, d) a->pf_convert( a, b, c, d ) |
Functions | |
image_handler_t * | image_HandlerCreate (vlc_object_t *) |
Create an image_handler_t instance. More... | |
void | image_HandlerDelete (image_handler_t *) |
Delete the image_handler_t instance. More... | |
vlc_fourcc_t | image_Type2Fourcc (const char *psz_name) |
vlc_fourcc_t | image_Ext2Fourcc (const char *psz_name) |
vlc_fourcc_t | image_Mime2Fourcc (const char *psz_mime) |
This file defines functions and structures for image conversions in vlc.
#define image_Convert | ( | a, | |
b, | |||
c, | |||
d | |||
) | a->pf_convert( a, b, c, d ) |
#define image_HandlerCreate | ( | a | ) | image_HandlerCreate( VLC_OBJECT(a) ) |
#define image_Read | ( | a, | |
b, | |||
c, | |||
d | |||
) | a->pf_read( a, b, c, d ) |
#define image_ReadUrl | ( | a, | |
b, | |||
c | |||
) | a->pf_read_url( a, b, c ) |
#define image_Write | ( | a, | |
b, | |||
c, | |||
d | |||
) | a->pf_write( a, b, c, d ) |
#define image_WriteUrl | ( | a, | |
b, | |||
c, | |||
d, | |||
e | |||
) | a->pf_write_url( a, b, c, d, e ) |
vlc_fourcc_t image_Ext2Fourcc | ( | const char * | psz_name | ) |
References image_Type2Fourcc(), and psz_name.
Referenced by ImageReadUrl(), and ImageWriteUrl().
image_handler_t * image_HandlerCreate | ( | vlc_object_t * | p_this | ) |
Create an image_handler_t instance.
References ImageConvert(), ImageRead(), ImageReadUrl(), ImageWrite(), ImageWriteUrl(), image_handler_t::outfifo, decoder_owner::p_image, image_handler_t::p_parent, image_handler_t::pf_convert, image_handler_t::pf_read, image_handler_t::pf_read_url, image_handler_t::pf_write, image_handler_t::pf_write_url, and picture_fifo_New().
void image_HandlerDelete | ( | image_handler_t * | p_image | ) |
Delete the image_handler_t instance.
References dec_get_owner(), decoder_Destroy(), DeleteConverter(), es_format_Clean(), decoder_owner::fmt_in, image_handler_t::outfifo, image_handler_t::p_converter, image_handler_t::p_dec, image_handler_t::p_enc, decoder_owner::p_image, picture_fifo_Delete(), and vlc_encoder_Destroy().
Referenced by picture_Export(), spuregion_CreateFromPicture(), and subpicture_NewFromPicture().
vlc_fourcc_t image_Mime2Fourcc | ( | const char * | psz_mime | ) |
References mime_table, and psz_mime.
Referenced by ImageReadUrl().
vlc_fourcc_t image_Type2Fourcc | ( | const char * | psz_name | ) |
References ARRAY_SIZE, ext_table, i_codec, psz_ext, and strcasecmp().
Referenced by image_Ext2Fourcc(), and vout_GetSnapshot().