Data Structures | Macros | Functions | Variables
libzvbi-teletextdec.c File Reference
#include "avcodec.h"
#include "libavcodec/ass.h"
#include "libavcodec/dvbtxt.h"
#include "libavutil/opt.h"
#include "libavutil/bprint.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "libavutil/common.h"
#include <libzvbi.h>

Go to the source code of this file.

Data Structures

struct  TeletextPage
struct  TeletextContext


#define TEXT_MAXSZ   (25 * (56 + 1) * 4 + 2)
#define VBI_NB_COLORS   40
#define RGBA(r, g, b, a)   (((a) << 24) | ((r) << 16) | ((g) << 8) | (b))
#define VBI_R(rgba)   (((rgba) >> 0) & 0xFF)
#define VBI_G(rgba)   (((rgba) >> 8) & 0xFF)
#define VBI_B(rgba)   (((rgba) >> 16) & 0xFF)
#define VBI_A(rgba)   (((rgba) >> 24) & 0xFF)
#define BITMAP_CHAR_WIDTH   12
#define MAX_SLICES   64
#define IS_TXT_SPACE(ch)
#define OFFSET(x)   offsetof(TeletextContext, x)


static int my_ass_subtitle_header (AVCodecContext *avctx)
static int chop_spaces_utf8 (const unsigned char *t, int len)
static void subtitle_rect_free (AVSubtitleRect **sub_rect)
static char * create_ass_text (TeletextContext *ctx, const char *text)
static int gen_sub_text (TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_top)
static void bprint_color (const char *type, AVBPrint *buf, vbi_page *page, unsigned ci)
static void get_trim_info (vbi_page *page, vbi_char *row, int *leading, int *trailing, int *olen)
static void decode_string (vbi_page *page, vbi_char *row, AVBPrint *buf, int start, int end, vbi_color *cur_color, vbi_color *cur_back_color)
static int gen_sub_ass (TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_top)
static void fix_transparency (TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_top, int resx, int resy)
static int gen_sub_bitmap (TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_top)
static void handler (vbi_event *ev, void *user_data)
static int slice_to_vbi_lines (TeletextContext *ctx, uint8_t *buf, int size)
static int teletext_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *pkt)
static int teletext_init_decoder (AVCodecContext *avctx)
static int teletext_close_decoder (AVCodecContext *avctx)
static void teletext_flush (AVCodecContext *avctx)


static const AVOption options []
static const AVClass teletext_class
AVCodec ff_libzvbi_teletext_decoder

Macro Definition Documentation


#define TEXT_MAXSZ   (25 * (56 + 1) * 4 + 2)

Definition at line 33 of file libzvbi-teletextdec.c.


#define VBI_NB_COLORS   40

Definition at line 34 of file libzvbi-teletextdec.c.



Definition at line 35 of file libzvbi-teletextdec.c.


#define RGBA (   r,
)    (((a) << 24) | ((r) << 16) | ((g) << 8) | (b))

Definition at line 36 of file libzvbi-teletextdec.c.


#define VBI_R (   rgba)    (((rgba) >> 0) & 0xFF)

Definition at line 37 of file libzvbi-teletextdec.c.


#define VBI_G (   rgba)    (((rgba) >> 8) & 0xFF)

Definition at line 38 of file libzvbi-teletextdec.c.


#define VBI_B (   rgba)    (((rgba) >> 16) & 0xFF)

Definition at line 39 of file libzvbi-teletextdec.c.


#define VBI_A (   rgba)    (((rgba) >> 24) & 0xFF)

Definition at line 40 of file libzvbi-teletextdec.c.



Definition at line 41 of file libzvbi-teletextdec.c.


#define BITMAP_CHAR_WIDTH   12

Definition at line 42 of file libzvbi-teletextdec.c.



Definition at line 43 of file libzvbi-teletextdec.c.


#define MAX_SLICES   64

Definition at line 44 of file libzvbi-teletextdec.c.


#define IS_TXT_SPACE (   ch)
((ch).unicode < 0x0020 || (ch).unicode >= 0xe000 || (ch).unicode == 0x00a0 ||\
(ch).size > VBI_DOUBLE_SIZE || (ch).opacity == VBI_TRANSPARENT_SPACE)

Definition at line 240 of file libzvbi-teletextdec.c.


#define OFFSET (   x)    offsetof(TeletextContext, x)

Definition at line 791 of file libzvbi-teletextdec.c.

◆ SD

Definition at line 792 of file libzvbi-teletextdec.c.

Function Documentation

◆ my_ass_subtitle_header()

static int my_ass_subtitle_header ( AVCodecContext avctx)

Definition at line 83 of file libzvbi-teletextdec.c.

Referenced by teletext_init_decoder().

◆ chop_spaces_utf8()

static int chop_spaces_utf8 ( const unsigned char *  t,
int  len 

Definition at line 129 of file libzvbi-teletextdec.c.

Referenced by gen_sub_text().

◆ subtitle_rect_free()

static void subtitle_rect_free ( AVSubtitleRect **  sub_rect)

Definition at line 140 of file libzvbi-teletextdec.c.

Referenced by teletext_close_decoder(), and teletext_decode_frame().

◆ create_ass_text()

static char* create_ass_text ( TeletextContext ctx,
const char *  text 

Definition at line 148 of file libzvbi-teletextdec.c.

Referenced by gen_sub_text().

◆ gen_sub_text()

static int gen_sub_text ( TeletextContext ctx,
AVSubtitleRect sub_rect,
vbi_page *  page,
int  chop_top 

Definition at line 165 of file libzvbi-teletextdec.c.

Referenced by handler().

◆ bprint_color()

static void bprint_color ( const char *  type,
AVBPrint *  buf,
vbi_page *  page,
unsigned  ci 

Definition at line 232 of file libzvbi-teletextdec.c.

Referenced by decode_string().

◆ get_trim_info()

static void get_trim_info ( vbi_page *  page,
vbi_char *  row,
int leading,
int trailing,
int olen 

Definition at line 243 of file libzvbi-teletextdec.c.

Referenced by gen_sub_ass().

◆ decode_string()

static void decode_string ( vbi_page *  page,
vbi_char *  row,
AVBPrint *  buf,
int  start,
int  end,
vbi_color *  cur_color,
vbi_color *  cur_back_color 

Definition at line 263 of file libzvbi-teletextdec.c.

Referenced by gen_sub_ass().

◆ gen_sub_ass()

static int gen_sub_ass ( TeletextContext ctx,
AVSubtitleRect sub_rect,
vbi_page *  page,
int  chop_top 

Definition at line 293 of file libzvbi-teletextdec.c.

Referenced by handler().

◆ fix_transparency()

static void fix_transparency ( TeletextContext ctx,
AVSubtitleRect sub_rect,
vbi_page *  page,
int  chop_top,
int  resx,
int  resy 

Definition at line 410 of file libzvbi-teletextdec.c.

Referenced by gen_sub_bitmap().

◆ gen_sub_bitmap()

static int gen_sub_bitmap ( TeletextContext ctx,
AVSubtitleRect sub_rect,
vbi_page *  page,
int  chop_top 

Definition at line 449 of file libzvbi-teletextdec.c.

Referenced by handler().

◆ handler()

static void handler ( vbi_event *  ev,
void *  user_data 

◆ slice_to_vbi_lines()

static int slice_to_vbi_lines ( TeletextContext ctx,
uint8_t buf,
int  size 

Definition at line 582 of file libzvbi-teletextdec.c.

Referenced by teletext_decode_frame().

◆ teletext_decode_frame()

static int teletext_decode_frame ( AVCodecContext avctx,
void *  data,
int data_size,
AVPacket pkt 

Definition at line 638 of file libzvbi-teletextdec.c.

◆ teletext_init_decoder()

static int teletext_init_decoder ( AVCodecContext avctx)

Definition at line 729 of file libzvbi-teletextdec.c.

◆ teletext_close_decoder()

static int teletext_close_decoder ( AVCodecContext avctx)

Definition at line 766 of file libzvbi-teletextdec.c.

Referenced by teletext_flush().

◆ teletext_flush()

static void teletext_flush ( AVCodecContext avctx)

Definition at line 786 of file libzvbi-teletextdec.c.

Variable Documentation

◆ options

const AVOption options[]
Initial value:
= {
{"txt_page", "page numbers to decode, subtitle for subtitles, * for all", OFFSET(pgno), AV_OPT_TYPE_STRING, {.str = "*"}, 0, 0, SD},
{"txt_chop_top", "discards the top teletext line", OFFSET(chop_top), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, SD},
{"txt_format", "format of the subtitles (bitmap or text or ass)", OFFSET(format_id), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 2, SD, "txt_format"},
{"bitmap", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = 0}, 0, 0, SD, "txt_format"},
{"text", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = 1}, 0, 0, SD, "txt_format"},
{"ass", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = 2}, 0, 0, SD, "txt_format"},
{"txt_left", "x offset of generated bitmaps", OFFSET(x_offset), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 65535, SD},
{"txt_top", "y offset of generated bitmaps", OFFSET(y_offset), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 65535, SD},
{"txt_chop_spaces", "chops leading and trailing spaces from text", OFFSET(chop_spaces), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, SD},
{"txt_duration", "display duration of teletext pages in msecs", OFFSET(sub_duration), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 86400000, SD},
{"txt_transparent", "force transparent background of the teletext", OFFSET(transparent_bg), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, SD},
{"txt_opacity", "set opacity of the transparent background", OFFSET(opacity), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 255, SD},
{ NULL },

Definition at line 793 of file libzvbi-teletextdec.c.

◆ teletext_class

const AVClass teletext_class
Initial value:
= {
.class_name = "libzvbi_teletextdec",
.item_name = av_default_item_name,
.option = options,

Definition at line 809 of file libzvbi-teletextdec.c.

◆ ff_libzvbi_teletext_decoder

AVCodec ff_libzvbi_teletext_decoder
Initial value:
= {
.name = "libzvbi_teletextdec",
.long_name = NULL_IF_CONFIG_SMALL("Libzvbi DVB teletext decoder"),
.priv_data_size = sizeof(TeletextContext),
.capabilities = AV_CODEC_CAP_DELAY,
.priv_class= &teletext_class,
.wrapper_name = "libzvbi",

Definition at line 816 of file libzvbi-teletextdec.c.

Definition: avutil.h:204
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
uint8_t pi<< 24) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_U8,(uint64_t)((*(const uint8_t *) pi - 0x80U))<< 56) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8,(*(const uint8_t *) pi - 0x80) *(1.0f/(1<< 7))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8,(*(const uint8_t *) pi - 0x80) *(1.0/(1<< 7))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16,(*(const int16_t *) pi >>8)+0x80) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_S16,(uint64_t)(*(const int16_t *) pi)<< 48) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, *(const int16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, *(const int16_t *) pi *(1.0/(1<< 15))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32,(*(const int32_t *) pi >>24)+0x80) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_S32,(uint64_t)(*(const int32_t *) pi)<< 32) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, *(const int32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, *(const int32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S64,(*(const int64_t *) pi >>56)+0x80) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S64, *(const int64_t *) pi *(1.0f/(INT64_C(1)<< 63))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S64, *(const int64_t *) pi *(1.0/(INT64_C(1)<< 63))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, av_clip_uint8(lrintf(*(const float *) pi *(1<< 7))+0x80)) CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, av_clip_int16(lrintf(*(const float *) pi *(1<< 15)))) CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, av_clipl_int32(llrintf(*(const float *) pi *(1U<< 31)))) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_FLT, llrintf(*(const float *) pi *(INT64_C(1)<< 63))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, av_clip_uint8(lrint(*(const double *) pi *(1<< 7))+0x80)) CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, av_clip_int16(lrint(*(const double *) pi *(1<< 15)))) CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, av_clipl_int32(llrint(*(const double *) pi *(1U<< 31)))) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_DBL, llrint(*(const double *) pi *(INT64_C(1)<< 63))) #define FMT_PAIR_FUNC(out, in) static conv_func_type *const fmt_pair_to_conv_functions[AV_SAMPLE_FMT_NB *AV_SAMPLE_FMT_NB]={ FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_S64), };static void cpy1(uint8_t **dst, const uint8_t **src, int len){ memcpy(*dst, *src, len);} static void cpy2(uint8_t **dst, const uint8_t **src, int len){ memcpy(*dst, *src, 2 *len);} static void cpy4(uint8_t **dst, const uint8_t **src, int len){ memcpy(*dst, *src, 4 *len);} static void cpy8(uint8_t **dst, const uint8_t **src, int len){ memcpy(*dst, *src, 8 *len);} AudioConvert *swri_audio_convert_alloc(enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt, int channels, const int *ch_map, int flags) { AudioConvert *ctx;conv_func_type *f=fmt_pair_to_conv_functions[av_get_packed_sample_fmt(out_fmt)+AV_SAMPLE_FMT_NB *av_get_packed_sample_fmt(in_fmt)];if(!f) return NULL;ctx=av_mallocz(sizeof(*ctx));if(!ctx) return NULL;if(channels==1){ in_fmt=av_get_planar_sample_fmt(in_fmt);out_fmt=av_get_planar_sample_fmt(out_fmt);} ctx->channels=channels;ctx->conv_f=f;ctx->ch_map=ch_map;if(in_fmt==AV_SAMPLE_FMT_U8||in_fmt==AV_SAMPLE_FMT_U8P) memset(ctx->silence, 0x80, sizeof(ctx->silence));if(out_fmt==in_fmt &&!ch_map) { switch(av_get_bytes_per_sample(in_fmt)){ case 1:ctx->simd_f=cpy1;break;case 2:ctx->simd_f=cpy2;break;case 4:ctx->simd_f=cpy4;break;case 8:ctx->simd_f=cpy8;break;} } if(HAVE_X86ASM &&1) swri_audio_convert_init_x86(ctx, out_fmt, in_fmt, channels);if(ARCH_ARM) swri_audio_convert_init_arm(ctx, out_fmt, in_fmt, channels);if(ARCH_AARCH64) swri_audio_convert_init_aarch64(ctx, out_fmt, in_fmt, channels);return ctx;} void swri_audio_convert_free(AudioConvert **ctx) { av_freep(ctx);} int swri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, int len) { int ch;int off=0;const int os=(out->planar ? 1 :out->ch_count) *out->bps;unsigned misaligned=0;av_assert0(ctx->channels==out->ch_count);if(ctx->in_simd_align_mask) { int planes=in->planar ? in->ch_count :1;unsigned m=0;for(ch=0;ch< planes;ch++) m|=(intptr_t) in->ch[ch];misaligned|=m &ctx->in_simd_align_mask;} if(ctx->out_simd_align_mask) { int planes=out->planar ? out->ch_count :1;unsigned m=0;for(ch=0;ch< planes;ch++) m|=(intptr_t) out->ch[ch];misaligned|=m &ctx->out_simd_align_mask;} if(ctx->simd_f &&!ctx->ch_map &&!misaligned){ off=len &~15;av_assert1(off >=0);av_assert1(off<=len);av_assert2(ctx->channels==SWR_CH_MAX||!in->ch[ctx->channels]);if(off >0){ if(out->planar==in->planar){ int planes=out->planar ? out->ch_count :1;for(ch=0;ch< planes;ch++){ ctx->simd_f(out-> ch ch
Definition: audioconvert.c:56
#define OFFSET(x)
Definition: libzvbi-teletextdec.c:791
Definition: avcodec.h:665
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
Definition: decode_audio.c:42
Definition: version.h:85
#define SD
Definition: libzvbi-teletextdec.c:792
static void flush(AVCodecContext *avctx)
Definition: aacdec_template.c:500
#define NULL
Definition: coverity.c:32
static int teletext_close_decoder(AVCodecContext *avctx)
Definition: libzvbi-teletextdec.c:766
const char * av_default_item_name(void *ptr)
Return the context name.
Definition: log.c:191
Definition: libzvbi-teletextdec.c:54
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
static int teletext_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *pkt)
Definition: libzvbi-teletextdec.c:638
static int teletext_init_decoder(AVCodecContext *avctx)
Definition: libzvbi-teletextdec.c:729
static const AVOption options[]
Definition: libzvbi-teletextdec.c:793
static void teletext_flush(AVCodecContext *avctx)
Definition: libzvbi-teletextdec.c:786
static const AVClass teletext_class
Definition: libzvbi-teletextdec.c:809
Definition: opt.h:223
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition: avcodec.h:1006
Definition: opt.h:227
Definition: opt.h:232