Go to the source code of this file.
Macros
#define
SUBSCRIPTS(subs, ...) (subs > 0 ? ((
int[subs + 1]){ subs, __VA_ARGS__ }) :
NULL)
Functions
Variables
Macro Definition Documentation
◆ HEADER
◆ CHECK
Value: do { \
err = (call); \
if (err < 0) \
return err; \
} while (0)
Definition at line 186 of file cbs_vp9.c.
◆ FUNC_NAME
#define FUNC_NAME
(
rw,
codec,
)
cbs_ ## codec ##
_ ## rw ##
_ ##
name
◆ FUNC_VP9
◆ FUNC
◆ SUBSCRIPTS
#define SUBSCRIPTS
(
subs,
...
)
(subs > 0 ? ((
int[subs + 1]){ subs, __VA_ARGS__ }) :
NULL)
◆ fs
◆ ss
◆ READ
◆ READWRITE [1/2]
◆ RWContext [1/2]
◆ f [1/2]
◆ xf [1/2]
◆ xs [1/2]
◆ increment [1/2]
#define increment
(
name,
)
◆ fle [1/2]
Value: do { \
SUBSCRIPTS(subs, __VA_ARGS__), ¤t->name)); \
} while (0)
Definition at line 314 of file cbs_vp9.c.
◆ delta_q [1/2]
Value: do { \
uint8_t delta_coded; \
xf(1,
name.delta_coded, delta_coded, 0, ); \
if (delta_coded) \
else \
delta_q = 0; \
} while (0)
Definition at line 319 of file cbs_vp9.c.
◆ prob [1/2]
Value: do { \
uint8_t prob_coded; \
xf(1,
name.prob_coded, prob_coded, subs, __VA_ARGS__); \
if (prob_coded) \
xf(8,
name.prob,
prob, subs, __VA_ARGS__); \
else \
prob = 255; \
} while (0)
Definition at line 325 of file cbs_vp9.c.
◆ fixed [1/2]
Value: do { \
av_unused uint32_t fixed_value; \
} while (0)
Definition at line 331 of file cbs_vp9.c.
◆ infer [1/2]
◆ byte_alignment [1/2]
◆ WRITE
◆ READWRITE [2/2]
◆ RWContext [2/2]
◆ f [2/2]
Value: do { \
current->name)); \
} while (0)
Definition at line 296 of file cbs_vp9.c.
◆ xf [2/2]
Value: do { \
var, 0, (1 <<
width) - 1)); \
} while (0)
Definition at line 300 of file cbs_vp9.c.
◆ xs [2/2]
◆ increment [2/2]
#define increment
(
name,
)
◆ fle [2/2]
◆ delta_q [2/2]
Value: do { \
xf(1,
name.delta_coded, !!current->name, 0, ); \
if (current->name) \
xs(4,
name.delta_q, current->name, 0, ); \
} while (0)
Definition at line 319 of file cbs_vp9.c.
◆ prob [2/2]
Value: do { \
xf(1,
name.prob_coded, current->name != 255, subs, __VA_ARGS__); \
if (current->name != 255) \
xf(8,
name.prob, current->name, subs, __VA_ARGS__); \
} while (0)
Definition at line 325 of file cbs_vp9.c.
◆ fixed [2/2]
◆ infer [2/2]
Value: do { \
if (current->name != (
value)) { \
"%s does not match inferred value: " \
"%"PRId64", but should be %"PRId64".\n", \
} \
} while (0)
Definition at line 336 of file cbs_vp9.c.
◆ byte_alignment [2/2]
Function Documentation
◆ cbs_vp9_read_s()
const char *
name,
)
static
◆ cbs_vp9_write_s()
const char *
name,
)
static
◆ cbs_vp9_read_increment()
uint32_t
range_min,
uint32_t
range_max,
const char *
name,
uint32_t *
write_to
)
static
◆ cbs_vp9_write_increment()
uint32_t
range_min,
uint32_t
range_max,
const char *
name,
uint32_t
value
)
static
◆ cbs_vp9_read_le()
const char *
name,
uint32_t *
write_to
)
static
◆ cbs_vp9_write_le()
const char *
name,
uint32_t
value
)
static
◆ cbs_vp9_split_fragment()
◆ cbs_vp9_read_unit()
◆ cbs_vp9_write_unit()
◆ cbs_vp9_assemble_fragment()
◆ cbs_vp9_flush()
Variable Documentation
◆ cbs_vp9_unit_types
◆ ff_cbs_type_vp9
#define AV_LOG_WARNING
Something somehow does not look correct.
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
#define SUBSCRIPTS(subs,...)
static int cbs_vp9_write_increment(CodedBitstreamContext *ctx, PutBitContext *pbc, uint32_t range_min, uint32_t range_max, const char *name, uint32_t value)
static int cbs_vp9_split_fragment(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, int header)
static void cbs_vp9_flush(CodedBitstreamContext *ctx)
static int cbs_vp9_write_le(CodedBitstreamContext *ctx, PutBitContext *pbc, int width, const char *name, const int *subscripts, uint32_t value)
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)
#define CBS_UNIT_TYPE_INTERNAL_REF(type, structure, ref_field)
static int cbs_vp9_assemble_fragment(CodedBitstreamContext *ctx, CodedBitstreamFragment *frag)
static int cbs_vp9_read_s(CodedBitstreamContext *ctx, GetBitContext *gbc, int width, const char *name, const int *subscripts, int32_t *write_to)
static const CodedBitstreamUnitTypeDescriptor cbs_vp9_unit_types[]
static int cbs_vp9_read_unit(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit)
void(* flush)(AVBSFContext *ctx)
static int cbs_vp9_write_unit(CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc)
int ff_cbs_read_simple_unsigned(CodedBitstreamContext *ctx, GetBitContext *gbc, int width, const char *name, uint32_t *write_to)
static int cbs_vp9_read_increment(CodedBitstreamContext *ctx, GetBitContext *gbc, uint32_t range_min, uint32_t range_max, const char *name, uint32_t *write_to)
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_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)
#define CBS_UNIT_TYPE_END_OF_LIST
static int cbs_vp9_read_le(CodedBitstreamContext *ctx, GetBitContext *gbc, int width, const char *name, const int *subscripts, uint32_t *write_to)
#define prob(name, subs,...)
int ff_cbs_write_simple_unsigned(CodedBitstreamContext *ctx, PutBitContext *pbc, int width, const char *name, uint32_t value)
static int cbs_vp9_write_s(CodedBitstreamContext *ctx, PutBitContext *pbc, int width, const char *name, const int *subscripts, int32_t value)
Generated on Thu Sep 26 2024 23:16:04 for FFmpeg by
doxygen
1.8.17