
Data Structures | |
| struct | decoder_sys_t |
Defines | |
| #define | DEBUG_CVDSUB 1 |
| #define | SUBTITLE_BLOCK_EMPTY 0 |
| #define | SUBTITLE_BLOCK_PARTIAL 1 |
| #define | SUBTITLE_BLOCK_COMPLETE 2 |
| #define | SPU_HEADER_LEN 1 |
| #define | ExtractXY(x, y) |
Functions | |
| static int | DecoderOpen (vlc_object_t *) |
| static int | PacketizerOpen (vlc_object_t *) |
| static void | DecoderClose (vlc_object_t *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static subpicture_t * | Decode (decoder_t *, block_t **) |
| static block_t * | Packetize (decoder_t *, block_t **) |
| static block_t * | Reassemble (decoder_t *, block_t *) |
| static void | ParseMetaInfo (decoder_t *, block_t *) |
| static void | ParseHeader (decoder_t *, block_t *) |
| static subpicture_t * | DecodePacket (decoder_t *, block_t *) |
| static void | RenderImage (decoder_t *, block_t *, subpicture_region_t *) |
| #define DEBUG_CVDSUB 1 |
Referenced by ParseMetaInfo().
| #define ExtractXY | ( | x, | |||
| y | ) |
Value:
x = ((p[1]&0x0f)<<6) + (p[2]>>2); \
y = ((p[2]&0x03)<<8) + p[3];
Referenced by ParseMetaInfo().
| #define SPU_HEADER_LEN 1 |
Referenced by Reassemble().
| #define SUBTITLE_BLOCK_COMPLETE 2 |
Referenced by Reassemble().
| #define SUBTITLE_BLOCK_EMPTY 0 |
Referenced by DecoderOpen(), and Reassemble().
| #define SUBTITLE_BLOCK_PARTIAL 1 |
Referenced by Reassemble().
| static subpicture_t * Decode | ( | decoder_t * | p_dec, | |
| block_t ** | pp_block | |||
| ) | [static] |
References DecodePacket(), and Reassemble().
| static subpicture_t * DecodePacket | ( | decoder_t * | p_dec, | |
| block_t * | p_data | |||
| ) | [static] |
References subpicture_t::b_ephemer, decoder_DeleteSubpicture(), decoder_NewSubpicture(), i, video_format_t::i_chroma, decoder_sys_t::i_duration, video_palette_t::i_entries, decoder_sys_t::i_height, video_format_t::i_height, block_t::i_pts, video_format_t::i_sar_den, video_format_t::i_sar_num, subpicture_t::i_start, subpicture_t::i_stop, video_format_t::i_visible_height, video_format_t::i_visible_width, decoder_sys_t::i_width, video_format_t::i_width, subpicture_region_t::i_x, video_format_t::i_x_offset, decoder_sys_t::i_x_start, subpicture_region_t::i_y, video_format_t::i_y_offset, decoder_sys_t::i_y_start, msg_Err, decoder_sys_t::p_palette, video_format_t::p_palette, subpicture_t::p_region, decoder_t::p_sys, p_sys, video_palette_t::palette, RenderImage(), subpicture_region_New(), and VLC_CODEC_YUVP.
| void DecoderClose | ( | vlc_object_t * | p_this | ) | [static] |
References block_ChainRelease(), decoder_sys_t::p_spu, decoder_t::p_sys, and p_sys.
| static int DecoderOpen | ( | vlc_object_t * | p_this | ) | [static] |
References decoder_sys_t::b_packetizer, Decode(), decoder_t::fmt_in, decoder_t::fmt_out, es_format_t::i_cat, es_format_t::i_codec, decoder_sys_t::i_state, decoder_sys_t::p_spu, decoder_t::p_sys, p_sys, Packetize(), decoder_t::pf_decode_sub, decoder_t::pf_packetize, SPU_ES, SUBTITLE_BLOCK_EMPTY, VLC_CODEC_CVD, VLC_CODEC_YUVP, VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
References block_t::i_dts, block_t::i_length, block_t::i_pts, and Reassemble().
| static int PacketizerOpen | ( | vlc_object_t * | p_this | ) | [static] |
References decoder_sys_t::b_packetizer, DecoderOpen(), decoder_t::p_sys, VLC_EGENERIC, and VLC_SUCCESS.
References DEBUG_CVDSUB, ExtractXY, decoder_sys_t::first_field_offset, decoder_sys_t::i_duration, decoder_sys_t::i_height, decoder_sys_t::i_image_offset, decoder_sys_t::i_width, decoder_sys_t::i_x_start, decoder_sys_t::i_y_start, decoder_sys_t::metadata_length, decoder_sys_t::metadata_offset, msg_Dbg, msg_Warn, block_t::p_buffer, decoder_sys_t::p_palette, decoder_sys_t::p_palette_highlight, decoder_t::p_sys, p_sys, and decoder_sys_t::second_field_offset.
Referenced by Reassemble().
References block_ChainAppend(), block_ChainGather(), block_Release(), block_t::i_buffer, block_t::i_pts, decoder_sys_t::i_spu_size, decoder_sys_t::i_state, msg_Dbg, msg_Warn, block_t::p_buffer, decoder_sys_t::p_spu, decoder_t::p_sys, p_sys, ParseHeader(), ParseMetaInfo(), SPU_HEADER_LEN, SUBTITLE_BLOCK_EMPTY, SUBTITLE_BLOCK_PARTIAL, and VLC_TS_INVALID.
Referenced by Decode(), and Packetize().
| static void RenderImage | ( | decoder_t * | p_dec, | |
| block_t * | p_data, | |||
| subpicture_region_t * | p_region | |||
| ) | [static] |
References __MIN, bs_align(), bs_init(), bs_read(), block_t::i_buffer, i_color, i_column, decoder_sys_t::i_height, decoder_sys_t::i_image_offset, decoder_sys_t::i_width, block_t::p_buffer, subpicture_region_t::p_picture, decoder_t::p_sys, and p_sys.
Referenced by DecodePacket().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6