FFmpeg
|
dvbsub.c File Reference
Include dependency graph for dvbsub.c:
Go to the source code of this file.
Data Structures | |
struct | DVBSubtitleContext |
Macros | |
#define | PUTBITS2(val) |
#define | PUTBITS4(val) |
Typedefs | |
typedef struct DVBSubtitleContext | DVBSubtitleContext |
Functions | |
static void | dvb_encode_rle2 (uint8_t **pq, const uint8_t *bitmap, int linesize, int w, int h) |
static void | dvb_encode_rle4 (uint8_t **pq, const uint8_t *bitmap, int linesize, int w, int h) |
static void | dvb_encode_rle8 (uint8_t **pq, const uint8_t *bitmap, int linesize, int w, int h) |
static int | encode_dvb_subtitles (DVBSubtitleContext *s, uint8_t *outbuf, const AVSubtitle *h) |
static int | dvbsub_encode (AVCodecContext *avctx, unsigned char *buf, int buf_size, const AVSubtitle *sub) |
Variables | |
AVCodec | ff_dvbsub_encoder |
Macro Definition Documentation
#define PUTBITS2 | ( | val | ) |
#define PUTBITS4 | ( | val | ) |
Typedef Documentation
typedef struct DVBSubtitleContext DVBSubtitleContext |
Function Documentation
|
static |
Definition at line 40 of file dvbsub.c.
Referenced by encode_dvb_subtitles().
|
static |
Definition at line 128 of file dvbsub.c.
Referenced by encode_dvb_subtitles().
|
static |
Definition at line 196 of file dvbsub.c.
Referenced by encode_dvb_subtitles().
|
static |
|
static |
Definition at line 250 of file dvbsub.c.
Referenced by dvbsub_encode().
Variable Documentation
AVCodec ff_dvbsub_encoder |
Initial value:
= {
.name = "dvbsub",
.type = AVMEDIA_TYPE_SUBTITLE,
.id = AV_CODEC_ID_DVB_SUBTITLE,
.priv_data_size = sizeof(DVBSubtitleContext),
.encode_sub = dvbsub_encode,
.long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"),
}
static int dvbsub_encode(AVCodecContext *avctx, unsigned char *buf, int buf_size, const AVSubtitle *sub)
Definition: dvbsub.c:446
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: libavcodec/avcodec.h:457
struct DVBSubtitleContext DVBSubtitleContext
Definition: avutil.h:146
Generated on Mon Nov 18 2024 06:52:05 for FFmpeg by 1.8.11