This file contains the functions to handle the image_handler_t type. More...

This file contains the functions to handle the image_handler_t type.
| 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_ES, and vlc_custom_create.
Referenced by ImageRead().
| 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, and VIDEO_ES.
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, and vlc_custom_create.
Referenced by ImageConvert(), ImageFilter(), ImageRead(), and ImageWrite().
| static void DeleteDecoder | ( | decoder_t * | p_dec | ) | [static] |
References es_format_Clean(), decoder_t::fmt_in, decoder_t::fmt_out, module_unneed, decoder_t::p_description, decoder_t::p_module, vlc_meta_Delete(), and vlc_object_release.
Referenced by CreateDecoder(), image_HandlerDelete(), and ImageRead().
| 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 | ) |
References image_Type2Fourcc().
Referenced by ImageReadUrl(), and ImageWriteUrl().
| image_handler_t* image_HandlerCreate | ( | vlc_object_t * | p_this | ) |
| 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 osd_ParserUnload(), picture_Export(), and subpicture_NewFromPicture().
| vlc_fourcc_t image_Mime2Fourcc | ( | const char * | psz_mime | ) |
References mime_table.
Referenced by ImageReadUrl().
| vlc_fourcc_t image_Type2Fourcc | ( | const char * | psz_type | ) |
References ext_table, psz_ext, and strcasecmp().
Referenced by 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.
| 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(), fmt, 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.
| 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 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] |
| 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 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 picture_Release().
References picture_Hold().
References picture_Release().
struct { ... } ext_table[] [static] |
Misc functions.
Referenced by image_Type2Fourcc().
struct { ... } mime_table[] [static] |
Referenced by image_Mime2Fourcc().
| const char* psz_ext |
Referenced by ArtCacheName(), demux_IsPathExtension(), demux_New(), httpd_MimeFromUrl(), image_Type2Fourcc(), osd_ParserLoad(), and subtitles_Detect().
| const char* psz_mime |
Referenced by ImageReadUrl().
1.7.1