|
VLC
2.1.0-git
|
This file contains the functions to handle the image_handler_t type. More...

Variables | |
| struct { | |
| vlc_fourcc_t i_codec | |
| const char psz_ext [7] | |
| } | ext_table [] |
| Misc functions. | |
| struct { | |
| vlc_fourcc_t i_codec | |
| const char * psz_mime | |
| } | mime_table [] |
This file contains the functions to handle the image_handler_t type.
|
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(), and vlc_custom_create.
Referenced by ImageRead().
|
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 |
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(), and vlc_custom_create.
Referenced by ImageConvert(), ImageFilter(), ImageRead(), and ImageWrite().
|
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 |
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 |
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 *)(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 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 ARRAY_SIZE, ext_table, i_codec, psz_ext, and strcasecmp().
Referenced by image_Ext2Fourcc(), and vout_GetSnapshot().
|
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 |
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 |
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 |
References block_Alloc(), video_format_t::i_chroma, image_Ext2Fourcc(), image_Mime2Fourcc(), ImageRead(), msg_Dbg, block_t::p_buffer, image_handler_t::p_parent, psz_mime, stream_Control(), stream_Delete(), STREAM_GET_CONTENT_TYPE, stream_Read(), stream_Size(), and stream_UrlNew.
Referenced by image_HandlerCreate().
|
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 |
< Unspecified error
< Unspecified error
< No error
References block_Release(), 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_Release().
Referenced by CreateDecoder(), and CreateFilter().
References picture_Hold().
Referenced by CreateDecoder().
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(), and CreateFilter().
References picture_Release().
Referenced by CreateDecoder().
| struct { ... } ext_table[] |
Misc functions.
Referenced by image_Type2Fourcc().
| vlc_fourcc_t i_codec |
Referenced by es_format_Init(), and image_Type2Fourcc().
| struct { ... } mime_table[] |
Referenced by image_Mime2Fourcc().
| const char psz_ext[7] |
Referenced by ArtCacheName(), demux_IsPathExtension(), demux_New(), image_Type2Fourcc(), subtitles_Detect(), and vlc_mime_Ext2Mime().
| const char* psz_mime |
Referenced by ImageReadUrl().
1.8.1.2