Go to the source code of this file.
Data Structures
Macros
#define
SUBSCRIPTS(subs, ...) (subs > 0 ? ((
int[subs + 1]){subs, __VA_ARGS__}) :
NULL)
Functions
Variables
Macro Definition Documentation
◆ DEFAULT_PROB
#define DEFAULT_PROB 0x80
◆ HEADER
◆ CHECK
Value: do { \
int err = (call); \
if (err < 0) \
return err; \
} while (0)
Definition at line 222 of file cbs_vp8.c.
◆ FUNC_NAME
#define FUNC_NAME
(
rw,
codec,
◆ FUNC_VP8
◆ FUNC
◆ SUBSCRIPTS
#define SUBSCRIPTS
(
subs,
...
)
(subs > 0 ? ((
int[subs + 1]){subs, __VA_ARGS__}) :
NULL)
◆ bc_f
◆ bc_s
◆ bc_fs
◆ bc_ss
◆ bc_b
◆ bc_b_prob
#define bc_b_prob
(
prob,
◆ READ
◆ READWRITE
◆ RWContext
◆ CBSVP8BoolCodingRW
◆ xf
◆ fixed
Value: do { \
uint32_t fixed_value; \
} while (0)
Definition at line 264 of file cbs_vp8.c.
◆ bc_unsigned_subs
#define bc_unsigned_subs
(
width,
enable_trace,
subs,
...
)
◆ bc_signed_subs
#define bc_signed_subs
(
width,
subs,
...
)
Function Documentation
◆ cbs_vp8_bool_decoder_init()
◆ cbs_vp8_bool_decoder_fill_value()
◆ cbs_vp8_bool_decoder_read_bool()
const uint8_t
prob,
uint8_t *
output
)
static
◆ cbs_vp8_bool_decoder_read_literal()
const uint8_t
prob,
uint32_t
num_bits,
uint32_t *
output
)
static
◆ cbs_vp8_bool_decoder_read_unsigned()
uint8_t
prob,
const char *
name,
uint32_t *
write_to,
bool
trace_enable
)
static
◆ cbs_vp8_bool_decoder_read_signed()
uint8_t
prob,
const char *
name,
)
static
◆ cbs_vp8_read_unsigned_le()
const char *
name,
uint32_t *
write_to,
uint32_t
range_min,
uint32_t
range_max
)
static
◆ cbs_vp8_split_fragment()
◆ cbs_vp8_read_unit()
◆ cbs_vp8_write_unit()
◆ cbs_vp8_assemble_fragment()
Variable Documentation
◆ ff_vp8_token_update_probs
const uint8_t ff_vp8_token_update_probs[4][8][3][11]
◆ cbs_vp8_unit_types
◆ ff_cbs_type_vp8
Initial value:= {
.priv_data_size = 0,
}
Definition at line 374 of file cbs_vp8.c.
static int cbs_vp8_bool_decoder_read_unsigned(CodedBitstreamContext *ctx, CBSVP8BoolDecoder *bool_decoder, int width, uint8_t prob, const char *name, const int *subscripts, uint32_t *write_to, bool trace_enable)
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
static int cbs_vp8_bool_decoder_read_signed(CodedBitstreamContext *ctx, CBSVP8BoolDecoder *bool_decoder, int width, uint8_t prob, const char *name, const int *subscripts, int32_t *write_to)
#define CBS_UNIT_TYPE_INTERNAL_REF(type, structure, ref_field)
#define MAX_UINT_BITS(length)
static int cbs_vp8_assemble_fragment(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag)
static const CodedBitstreamUnitTypeDescriptor cbs_vp8_unit_types[]
#define SUBSCRIPTS(subs,...)
static int cbs_vp8_read_unsigned_le(CodedBitstreamContext *ctx, GetBitContext *gbc, int width, const char *name, const int *subscripts, uint32_t *write_to, 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 default value
static int cbs_vp8_read_unit(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit)
#define CBS_UNIT_TYPE_END_OF_LIST
#define prob(name, subs,...)
static int cbs_vp8_write_unit(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc)
static int cbs_vp8_split_fragment(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, int header)
Generated on Thu Sep 26 2024 23:16:04 for FFmpeg by
doxygen
1.8.17