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 33 of file dvbsubenc.c.
Referenced by dvb_encode_rle2().
◆ PUTBITS4
Value:{\
bitbuf |= (
val) << bitcnt;\
bitcnt -= 4;\
if (bitcnt < 0) {\
bitcnt = 4;\
*q++ = bitbuf;\
bitbuf = 0;\
}\
}
Definition at line 127 of file dvbsubenc.c.
Referenced by dvb_encode_rle4().
◆ OFFSET
◆ SE
Definition at line 531 of file dvbsubenc.c.
Referenced by alloc_lut(), alloc_lut_if_necessary(), build_chord_set(), compute_max_lut(), compute_max_row(), compute_min_lut(), compute_min_row(), dilate(), erode(), evolve(), free_chord_set(), line_dilate(), line_erode(), update_max_lut(), and update_min_lut().
◆ 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},
}
@ AV_OPT_TYPE_INT
Underlying C type is int.
Definition at line 532 of file dvbsubenc.c.
◆ dvbsubenc_class
Initial value:= {
.class_name = "DVBSUB subtitle encoder",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 537 of file dvbsubenc.c.
◆ ff_dvbsub_encoder
Initial value:= {
.p.name = "dvbsub",
}
#define FF_CODEC_ENCODE_SUB_CB(func)
#define CODEC_LONG_NAME(str)
static int dvbsub_encode(AVCodecContext *avctx, uint8_t *outbuf, int buf_size, const AVSubtitle *h)
static const AVClass dvbsubenc_class
@ AV_CODEC_ID_DVB_SUBTITLE
Definition at line 544 of file dvbsubenc.c.