Go to the source code of this file.
|
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) |
|
◆ PUTBITS2
Value:{\
bitbuf |= (
val) << bitcnt;\
bitcnt -= 2;\
if (bitcnt < 0) {\
bitcnt = 6;\
*q++ = bitbuf;\
bitbuf = 0;\
}\
}
const char const char void * val
Definition at line 29 of file dvbsub.c.
Referenced by dvb_encode_rle2().
◆ PUTBITS4
Value:{\
bitbuf |= (
val) << bitcnt;\
bitcnt -= 4;\
if (bitcnt < 0) {\
bitcnt = 4;\
*q++ = bitbuf;\
bitbuf = 0;\
}\
}
const char const char void * val
Definition at line 116 of file dvbsub.c.
Referenced by dvb_encode_rle4().
◆ dvb_encode_rle2()
◆ dvb_encode_rle4()
◆ dvb_encode_rle8()
◆ encode_dvb_subtitles()
◆ dvbsub_encode()
◆ ff_dvbsub_encoder
Initial value:= {
.name = "dvbsub",
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int dvbsub_encode(AVCodecContext *avctx, unsigned char *buf, int buf_size, const AVSubtitle *sub)
Definition at line 456 of file dvbsub.c.