
| static decoder_t * CreateDecoder | ( | vlc_object_t * | p_this, | |
| video_format_t * | fmt | |||
| ) | [static] |
References decoder_t::b_pace_control, DeleteDecoder(), es_format_Init(), decoder_t::fmt_in, decoder_t::fmt_out, video_format_t::i_chroma, es_format_t::i_codec, module_need, msg_Err, decoder_t::p_module, decoder_t::pf_picture_link, decoder_t::pf_picture_unlink, decoder_t::pf_vout_buffer_del, decoder_t::pf_vout_buffer_new, es_format_t::video, video_del_buffer(), VIDEO_ES, video_link_picture(), video_new_buffer(), video_unlink_picture(), vlc_custom_create, vlc_object_attach, and VLC_OBJECT_GENERIC.
| static encoder_t * CreateEncoder | ( | vlc_object_t * | p_this, | |
| video_format_t * | fmt_in, | |||
| video_format_t * | fmt_out | |||
| ) | [static] |
References DeleteEncoder(), es_format_Init(), encoder_t::fmt_in, encoder_t::fmt_out, video_format_t::i_chroma, es_format_t::i_codec, video_format_t::i_frame_rate, video_format_t::i_frame_rate_base, video_format_t::i_height, video_format_t::i_sar_den, video_format_t::i_sar_num, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_width, module_need, msg_Err, encoder_t::p_module, sout_EncoderCreate, es_format_t::video, VIDEO_ES, and vlc_object_attach.
Referenced by ImageWrite().
| static filter_t * CreateFilter | ( | vlc_object_t * | p_this, | |
| es_format_t * | p_fmt_in, | |||
| video_format_t * | p_fmt_out, | |||
| const char * | psz_module | |||
| ) | [static] |
References DeleteFilter(), filter_t::fmt_in, filter_t::fmt_out, video_format_t::i_chroma, es_format_t::i_codec, module_need, msg_Dbg, filter_t::p_module, es_format_t::video, video_del_buffer(), video_new_buffer(), vlc_custom_create, vlc_object_attach, and VLC_OBJECT_GENERIC.
Referenced by ImageConvert(), ImageFilter(), ImageRead(), and ImageWrite().
| static void DeleteDecoder | ( | decoder_t * | p_dec | ) | [static] |
| static void DeleteEncoder | ( | encoder_t * | p_enc | ) | [static] |
References es_format_Clean(), encoder_t::fmt_in, encoder_t::fmt_out, module_unneed, encoder_t::p_module, and vlc_object_release.
Referenced by CreateEncoder(), image_HandlerDelete(), and ImageWrite().
| static void DeleteFilter | ( | filter_t * | p_filter | ) | [static] |
References es_format_Clean(), filter_t::fmt_in, filter_t::fmt_out, module_unneed, filter_t::p_module, and vlc_object_release.
Referenced by CreateFilter(), image_HandlerDelete(), ImageConvert(), ImageRead(), and ImageWrite().
| vlc_fourcc_t image_Ext2Fourcc | ( | const char * | psz_name | ) |
| image_handler_t* image_HandlerCreate | ( | vlc_object_t * | p_this | ) |
Create an image_handler_t instance.
References ImageConvert(), ImageFilter(), ImageRead(), ImageReadUrl(), ImageWrite(), ImageWriteUrl(), image_handler_t::p_parent, image_handler_t::pf_convert, image_handler_t::pf_filter, image_handler_t::pf_read, image_handler_t::pf_read_url, image_handler_t::pf_write, and image_handler_t::pf_write_url.
| void image_HandlerDelete | ( | image_handler_t * | p_image | ) |
Delete the image_handler_t instance.
References DeleteDecoder(), DeleteEncoder(), DeleteFilter(), image_handler_t::p_dec, image_handler_t::p_enc, and image_handler_t::p_filter.
Referenced by blendbench_LoadImage(), Create(), Decode(), Del(), Destroy(), DestroyFilter(), FakeCallback(), ArtBitmap::freeArtBitmap(), LoadImage(), LoadMask(), OpenDecoder(), osd_ParserUnload(), ParseImageAttachments(), picture_Export(), subpicture_NewFromPicture(), and Builder::~Builder().
| vlc_fourcc_t image_Mime2Fourcc | ( | const char * | psz_mime | ) |
| vlc_fourcc_t image_Type2Fourcc | ( | const char * | psz_type | ) |
References ext_table, i, psz_ext, and strcasecmp().
Referenced by Create(), image_Ext2Fourcc(), and vout_GetSnapshot().
| static picture_t * ImageConvert | ( | image_handler_t * | p_image, | |
| picture_t * | p_pic, | |||
| video_format_t * | p_fmt_in, | |||
| video_format_t * | p_fmt_out | |||
| ) | [static] |
Convert an image to a different format.
References CreateFilter(), DeleteFilter(), es_format_Init(), filter_t::fmt_in, filter_t::fmt_out, video_format_t::i_chroma, video_format_t::i_height, video_format_t::i_sar_den, video_format_t::i_sar_num, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_width, image_handler_t::p_filter, image_handler_t::p_parent, picture_Copy(), picture_Hold(), picture_Release(), es_format_t::video, and VIDEO_ES.
Referenced by image_HandlerCreate().
| static picture_t * ImageFilter | ( | image_handler_t * | p_image, | |
| picture_t * | p_pic, | |||
| video_format_t * | p_fmt, | |||
| const char * | psz_module | |||
| ) | [static] |
Filter an image with a psz_module filter.
References CreateFilter(), es_format_Init(), filter_t::fmt_in, filter_t::fmt_out, video_format_t::i_chroma, image_handler_t::p_filter, image_handler_t::p_parent, picture_Hold(), es_format_t::video, and VIDEO_ES.
Referenced by image_HandlerCreate().
| static picture_t * ImageRead | ( | image_handler_t * | p_image, | |
| block_t * | p_block, | |||
| video_format_t * | p_fmt_in, | |||
| video_format_t * | p_fmt_out | |||
| ) | [static] |
Read an image.
References CreateDecoder(), CreateFilter(), DeleteDecoder(), DeleteFilter(), filter_t::fmt_in, decoder_t::fmt_in, filter_t::fmt_out, decoder_t::fmt_out, video_format_t::i_chroma, es_format_t::i_codec, block_t::i_dts, video_format_t::i_height, block_t::i_pts, video_format_t::i_sar_den, video_format_t::i_sar_num, video_format_t::i_width, mdate(), msg_Warn, image_handler_t::p_dec, image_handler_t::p_filter, image_handler_t::p_parent, decoder_t::pf_decode_video, picture_Release(), and es_format_t::video.
Referenced by image_HandlerCreate(), and ImageReadUrl().
| static picture_t * ImageReadUrl | ( | image_handler_t * | p_image, | |
| const char * | psz_url, | |||
| video_format_t * | p_fmt_in, | |||
| video_format_t * | p_fmt_out | |||
| ) | [static] |
References block_New, video_format_t::i_chroma, image_Ext2Fourcc(), image_Mime2Fourcc(), ImageRead(), msg_Dbg, block_t::p_buffer, image_handler_t::p_parent, p_stream, psz_mime, stream_Control(), stream_Delete(), STREAM_GET_CONTENT_TYPE, stream_Read(), stream_Size(), and stream_UrlNew.
Referenced by image_HandlerCreate().
| static block_t * ImageWrite | ( | image_handler_t * | p_image, | |
| picture_t * | p_pic, | |||
| video_format_t * | p_fmt_in, | |||
| video_format_t * | p_fmt_out | |||
| ) | [static] |
Write an image.
References CreateEncoder(), CreateFilter(), DeleteEncoder(), DeleteFilter(), es_format_Init(), filter_t::fmt_in, encoder_t::fmt_in, filter_t::fmt_out, encoder_t::fmt_out, video_format_t::i_chroma, es_format_t::i_codec, video_format_t::i_height, video_format_t::i_width, likely, msg_Dbg, image_handler_t::p_enc, image_handler_t::p_filter, image_handler_t::p_parent, encoder_t::pf_encode_video, picture_Hold(), es_format_t::video, and VIDEO_ES.
Referenced by image_HandlerCreate(), and ImageWriteUrl().
| static int ImageWriteUrl | ( | image_handler_t * | p_image, | |
| picture_t * | p_pic, | |||
| video_format_t * | p_fmt_in, | |||
| video_format_t * | p_fmt_out, | |||
| const char * | psz_url | |||
| ) | [static] |
References block_Release(), err, block_t::i_buffer, video_format_t::i_chroma, image_Ext2Fourcc(), ImageWrite(), msg_Err, block_t::p_buffer, image_handler_t::p_parent, VLC_EGENERIC, vlc_fopen(), and VLC_SUCCESS.
Referenced by image_HandlerCreate().
References picture_t::i_refcount, msg_Err, and picture_Delete().
Referenced by CreateDecoder(), and CreateFilter().
References decoder_t::fmt_out, video_format_t::i_chroma, es_format_t::i_codec, picture_NewFromFormat(), and es_format_t::video.
Referenced by CreateDecoder(), CreateFilter(), video_new_buffer_decoder(), and video_new_buffer_filter().
struct { ... } ext_table[] [static] |
struct { ... } mime_table[] [static] |
Referenced by image_Mime2Fourcc().
| const char* psz_ext |
| const char* psz_mime |
Referenced by HeaderMDPR(), ImageReadUrl(), ParsePicture(), ReadMetaFromId3v2(), ReadMetaFromXiph(), and vlclua_httpd_file_new().
1.5.6