#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "bytestream.h"
#include "libavutil/colorspace.h"
Go to the source code of this file.
#define cm (ff_cropTbl + MAX_NEG_CROP) |
Definition at line 34 of file dvbsubdec.c.
Referenced by cavs_idct8_add_c(), deinterlace_line_c(), deinterlace_line_inplace_c(), ff_bfin_vp3_idct_put(), filter_common(), filter_mbedge(), h_block_filter(), idct_add(), idct_put(), intra_pred_plane(), mp_yuv_to_rgb(), parse_palette_segment(), pred16x16_tm_vp8_c(), pred4x4_tm_vp8_c(), pred8x8_tm_vp8_c(), query_codec(), rv30_weak_loop_filter(), rv40_weak_loop_filter(), v_block_filter(), wmv2_mspel8_h_lowpass(), wmv2_mspel8_v_lowpass(), and yuv_a_to_rgba().
#define DVBSUB_CLUT_SEGMENT 0x12 |
#define DVBSUB_DISPLAY_SEGMENT 0x80 |
#define DVBSUB_DISPLAYDEFINITION_SEGMENT 0x14 |
#define DVBSUB_OBJECT_SEGMENT 0x13 |
#define DVBSUB_PAGE_SEGMENT 0x10 |
#define DVBSUB_REGION_SEGMENT 0x11 |
Definition at line 153 of file dvbsubdec.c.
Referenced by dvbsub_init_decoder(), dvbsub_parse_clut_segment(), ff_sws_init_swScale_mmx(), findRgbConvFn(), and parse_palette_segment().
static void delete_cluts | ( | DVBSubContext * | ctx | ) | [static] |
Definition at line 326 of file dvbsubdec.c.
Referenced by dvbsub_close_decoder(), and dvbsub_parse_page_segment().
static void delete_objects | ( | DVBSubContext * | ctx | ) | [static] |
Definition at line 339 of file dvbsubdec.c.
Referenced by dvbsub_close_decoder(), and dvbsub_parse_page_segment().
static void delete_region_display_list | ( | DVBSubContext * | ctx, | |
DVBSubRegion * | region | |||
) | [static] |
Definition at line 280 of file dvbsubdec.c.
Referenced by delete_regions(), and dvbsub_parse_region_segment().
static void delete_regions | ( | DVBSubContext * | ctx | ) | [static] |
Definition at line 352 of file dvbsubdec.c.
Referenced by dvbsub_close_decoder(), and dvbsub_parse_page_segment().
static av_cold int dvbsub_close_decoder | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 447 of file dvbsubdec.c.
static int dvbsub_decode | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
Definition at line 1446 of file dvbsubdec.c.
static int dvbsub_display_end_segment | ( | AVCodecContext * | avctx, | |
const uint8_t * | buf, | |||
int | buf_size, | |||
AVSubtitle * | sub | |||
) | [static] |
static av_cold int dvbsub_init_decoder | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 368 of file dvbsubdec.c.
static void dvbsub_parse_clut_segment | ( | AVCodecContext * | avctx, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
static void dvbsub_parse_display_definition_segment | ( | AVCodecContext * | avctx, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
static void dvbsub_parse_object_segment | ( | AVCodecContext * | avctx, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
static void dvbsub_parse_page_segment | ( | AVCodecContext * | avctx, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
static void dvbsub_parse_pixel_data_block | ( | AVCodecContext * | avctx, | |
DVBSubObjectDisplay * | display, | |||
const uint8_t * | buf, | |||
int | buf_size, | |||
int | top_bottom, | |||
int | non_mod | |||
) | [static] |
static void dvbsub_parse_region_segment | ( | AVCodecContext * | avctx, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
static DVBSubCLUT* get_clut | ( | DVBSubContext * | ctx, | |
int | clut_id | |||
) | [static] |
Definition at line 258 of file dvbsubdec.c.
Referenced by dvbsub_display_end_segment(), and dvbsub_parse_clut_segment().
static DVBSubObject* get_object | ( | DVBSubContext * | ctx, | |
int | object_id | |||
) | [static] |
Definition at line 247 of file dvbsubdec.c.
Referenced by delete_region_display_list(), dvbsub_parse_object_segment(), and dvbsub_parse_region_segment().
static DVBSubRegion* get_region | ( | DVBSubContext * | ctx, | |
int | region_id | |||
) | [static] |
Definition at line 269 of file dvbsubdec.c.
Referenced by dvbsub_display_end_segment(), dvbsub_parse_pixel_data_block(), and dvbsub_parse_region_segment().
DVBSubCLUT default_clut [static] |
Definition at line 166 of file dvbsubdec.c.
Initial value:
{ .name = "dvbsub", .type = AVMEDIA_TYPE_SUBTITLE, .id = AV_CODEC_ID_DVB_SUBTITLE, .priv_data_size = sizeof(DVBSubContext), .init = dvbsub_init_decoder, .close = dvbsub_close_decoder, .decode = dvbsub_decode, .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), }
Definition at line 1537 of file dvbsubdec.c.