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;\
}\
}
Definition at line 33 of file dvbsubenc.c.
◆ PUTBITS4
Value:{\
bitbuf |= (
val) << bitcnt;\
bitcnt -= 4;\
if (bitcnt < 0) {\
bitcnt = 4;\
*q++ = bitbuf;\
bitbuf = 0;\
}\
}
Definition at line 127 of file dvbsubenc.c.
◆ OFFSET
◆ SE
◆ dvb_encode_rle2()
static int dvb_encode_rle2 |
( |
uint8_t ** |
pq, |
|
|
int |
buf_size, |
|
|
const uint8_t * |
bitmap, |
|
|
int |
linesize, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
|
static |
◆ dvb_encode_rle4()
static int dvb_encode_rle4 |
( |
uint8_t ** |
pq, |
|
|
int |
buf_size, |
|
|
const uint8_t * |
bitmap, |
|
|
int |
linesize, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
|
static |
◆ dvb_encode_rle8()
static int dvb_encode_rle8 |
( |
uint8_t ** |
pq, |
|
|
int |
buf_size, |
|
|
const uint8_t * |
bitmap, |
|
|
int |
linesize, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
|
static |
◆ dvbsub_encode()
◆ options
Initial value:= {
{
"min_bpp",
"minimum bits-per-pixel for subtitle colors (2, 4 or 8)",
OFFSET(min_bpp),
AV_OPT_TYPE_INT, {.i64 = 4}, 2, 8,
SE},
}
Definition at line 532 of file dvbsubenc.c.
◆ dvbsubenc_class
Initial value:= {
.class_name = "DVBSUB subtitle encoder",
}
Definition at line 537 of file dvbsubenc.c.
◆ ff_dvbsub_encoder
Initial value:= {
.p.name = "dvbsub",
}
Definition at line 544 of file dvbsubenc.c.