Go to the source code of this file.
|
static int | dvb_encode_rle2 (uint8_t **pq, int buf_size, const uint8_t *bitmap, int linesize, int w, int h) |
|
static int | dvb_encode_rle4 (uint8_t **pq, int buf_size, const uint8_t *bitmap, int linesize, int w, int h) |
|
static int | dvb_encode_rle8 (uint8_t **pq, int buf_size, const uint8_t *bitmap, int linesize, int w, int h) |
|
static int | dvbsub_encode (AVCodecContext *avctx, uint8_t *outbuf, int buf_size, const AVSubtitle *h) |
|
◆ PUTBITS2
Value:{\
bitbuf |= (
val) << bitcnt;\
bitcnt -= 2;\
if (bitcnt < 0) {\
bitcnt = 6;\
*q++ = bitbuf;\
bitbuf = 0;\
}\
}
static double val(void *priv, double ch)
Definition at line 29 of file dvbsubenc.c.
◆ PUTBITS4
Value:{\
bitbuf |= (
val) << bitcnt;\
bitcnt -= 4;\
if (bitcnt < 0) {\
bitcnt = 4;\
*q++ = bitbuf;\
bitbuf = 0;\
}\
}
Definition at line 123 of file dvbsubenc.c.
◆ dvb_encode_rle2()
◆ dvb_encode_rle4()
◆ dvb_encode_rle8()
◆ dvbsub_encode()
◆ ff_dvbsub_encoder
Initial value:= {
.name = "dvbsub",
}
static int dvbsub_encode(AVCodecContext *avctx, uint8_t *outbuf, int buf_size, const AVSubtitle *h)
@ AV_CODEC_ID_DVB_SUBTITLE
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition at line 508 of file dvbsubenc.c.