19 #ifndef AVCODEC_CBS_INTERNAL_H
20 #define AVCODEC_CBS_INTERNAL_H
67 const char *
name,
const int *subscripts,
68 const char *bitstring, int64_t
value);
76 const int *subscripts, uint32_t *write_to,
77 uint32_t range_min, uint32_t range_max);
81 const int *subscripts, uint32_t
value,
82 uint32_t range_min, uint32_t range_max);
86 #define MAX_UINT_BITS(length) ((UINT64_C(1) << (length)) - 1)
void ff_cbs_trace_syntax_element(CodedBitstreamContext *ctx, int position, const char *name, const int *subscripts, const char *bitstring, int64_t value)
void(* close)(CodedBitstreamContext *ctx)
bitstream reader API header.
Coded bitstream unit structure.
void ff_cbs_trace_header(CodedBitstreamContext *ctx, const char *name)
static const uint8_t header[24]
AVCodecID
Identify the syntax and semantics of the bitstream.
int ff_cbs_write_unsigned(CodedBitstreamContext *ctx, PutBitContext *pbc, int width, const char *name, const int *subscripts, uint32_t value, uint32_t range_min, uint32_t range_max)
int(* split_fragment)(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, int header)
int(* read_unit)(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit)
const CodedBitstreamType ff_cbs_type_mpeg2
const CodedBitstreamType ff_cbs_type_av1
int(* assemble_fragment)(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag)
int ff_cbs_read_unsigned(CodedBitstreamContext *ctx, GetBitContext *gbc, int width, const char *name, const int *subscripts, uint32_t *write_to, uint32_t range_min, uint32_t range_max)
typedef void(APIENTRY *FF_PFNGLACTIVETEXTUREPROC)(GLenum texture)
GLsizei GLboolean const GLfloat * value
Libavcodec external API header.
Coded bitstream fragment structure, combining one or more units.
const CodedBitstreamType ff_cbs_type_jpeg
Context structure for coded bitstream operations.
const CodedBitstreamType ff_cbs_type_h265
const CodedBitstreamType ff_cbs_type_h264
const CodedBitstreamType ff_cbs_type_vp9
int(* write_unit)(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit)