Go to the documentation of this file.
19 #ifndef AVCODEC_CBS_H2645_H
20 #define AVCODEC_CBS_H2645_H
40 const char *
name,
const int *subscripts,
42 uint32_t range_min, uint32_t range_max);
44 const char *
name,
const int *subscripts,
48 const char *
name,
const int *subscripts,
50 uint32_t range_min, uint32_t range_max);
52 const char *
name,
const int *subscripts,
64 size_t data_size,
int data_bit_start);
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
Context structure for coded bitstream operations.
int ff_cbs_write_ue_golomb(CodedBitstreamContext *ctx, struct PutBitContext *pbc, const char *name, const int *subscripts, uint32_t value, uint32_t range_min, uint32_t range_max)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
int ff_cbs_read_se_golomb(CodedBitstreamContext *ctx, struct GetBitContext *gbc, const char *name, const int *subscripts, int32_t *write_to, int32_t range_min, int32_t range_max)
int ff_cbs_h2645_read_more_rbsp_data(struct GetBitContext *gbc)
int ff_cbs_h2645_assemble_fragment(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag)
Coded bitstream fragment structure, combining one or more units.
uint32_t CodedBitstreamUnitType
The codec-specific type of a bitstream unit.
static AVFormatContext * ctx
int ff_cbs_h2645_payload_extension_present(struct GetBitContext *gbc, uint32_t payload_size, int cur_pos)
payload_extension_present() - true if we are before the last 1-bit in the payload structure,...
AVCodecID
Identify the syntax and semantics of the bitstream.
int ff_cbs_h2645_unit_requires_zero_byte(enum AVCodecID codec_id, CodedBitstreamUnitType type, int nal_unit_index)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default value
int ff_cbs_h2645_write_slice_data(CodedBitstreamContext *ctx, struct PutBitContext *pbc, const uint8_t *data, size_t data_size, int data_bit_start)
int ff_cbs_write_se_golomb(CodedBitstreamContext *ctx, struct PutBitContext *pbc, const char *name, const int *subscripts, int32_t value, int32_t range_min, int32_t range_max)
int ff_cbs_h2645_fragment_add_nals(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, const H2645Packet *packet)
int ff_cbs_read_ue_golomb(CodedBitstreamContext *ctx, struct GetBitContext *gbc, const char *name, const int *subscripts, uint32_t *write_to, uint32_t range_min, uint32_t range_max)