Go to the source code of this file.
|
| #define | HEADER(name) |
| |
| #define | CHECK(call) |
| |
| #define | SUBSCRIPTS(subs, ...) (subs > 0 ? ((int[subs + 1]){ subs, __VA_ARGS__ }) : NULL) |
| |
| #define | u(width, name, range_min, range_max) xu(width, name, current->name, range_min, range_max, 0, ) |
| |
| #define | us(width, name, range_min, range_max, subs, ...) xu(width, name, current->name, range_min, range_max, subs, __VA_ARGS__) |
| |
| #define | ubs(width, name, subs, ...) xu(width, name, current->name, 0, MAX_UINT_BITS(width), subs, __VA_ARGS__) |
| |
| #define | fixed(width, name, value) |
| |
| #define | READ |
| |
| #define | READWRITE read |
| |
| #define | RWContext GetBitContext |
| |
| #define | FUNC(name) cbs_apv_read_ ## name |
| |
| #define | ub(width, name) |
| |
| #define | xu(width, name, var, range_min, range_max, subs, ...) |
| |
| #define | infer(name, value) |
| |
| #define | byte_alignment(rw) (get_bits_count(rw) % 8) |
| |
| #define | WRITE |
| |
| #define | READWRITE write |
| |
| #define | RWContext PutBitContext |
| |
| #define | FUNC(name) cbs_apv_write_ ## name |
| |
| #define | ub(width, name) |
| |
| #define | xu(width, name, var, range_min, range_max, subs, ...) |
| |
| #define | infer(name, value) |
| |
| #define | byte_alignment(rw) (put_bits_count(rw) % 8) |
| |
◆ HEADER
◆ CHECK
Value: do { \
err = (call); \
if (err < 0) \
return err; \
} while (0)
Definition at line 59 of file cbs_apv.c.
◆ SUBSCRIPTS
| #define SUBSCRIPTS |
( |
|
subs, |
|
|
|
... |
|
) |
| (subs > 0 ? ((int[subs + 1]){ subs, __VA_ARGS__ }) : NULL) |
◆ us
| #define us |
( |
|
width, |
|
|
|
name, |
|
|
|
range_min, |
|
|
|
range_max, |
|
|
|
subs, |
|
|
|
... |
|
) |
| xu(width, name, current->name, range_min, range_max, subs, __VA_ARGS__) |
◆ ubs
◆ fixed
Value: do { \
av_unused uint32_t fixed_value =
value; \
} while (0)
Definition at line 75 of file cbs_apv.c.
◆ READ
◆ READWRITE [1/2]
◆ RWContext [1/2]
◆ FUNC [1/2]
| #define FUNC |
( |
|
name | ) |
cbs_apv_read_ ## name |
◆ ub [1/2]
◆ xu [1/2]
| #define xu |
( |
|
width, |
|
|
|
name, |
|
|
|
var, |
|
|
|
range_min, |
|
|
|
range_max, |
|
|
|
subs, |
|
|
|
... |
|
) |
| |
Value: do { \
&
value, range_min, range_max)); \
} while (0)
Definition at line 130 of file cbs_apv.c.
◆ infer [1/2]
◆ byte_alignment [1/2]
◆ WRITE
◆ READWRITE [2/2]
◆ RWContext [2/2]
◆ FUNC [2/2]
| #define FUNC |
( |
|
name | ) |
cbs_apv_write_ ## name |
◆ ub [2/2]
Value: do { \
uint32_t
value = current->name; \
} while (0)
Definition at line 125 of file cbs_apv.c.
◆ xu [2/2]
| #define xu |
( |
|
width, |
|
|
|
name, |
|
|
|
var, |
|
|
|
range_min, |
|
|
|
range_max, |
|
|
|
subs, |
|
|
|
... |
|
) |
| |
Value: do { \
value, range_min, range_max)); \
} while (0)
Definition at line 130 of file cbs_apv.c.
◆ 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 137 of file cbs_apv.c.
◆ byte_alignment [2/2]
◆ cbs_apv_get_num_comp()
◆ cbs_apv_derive_tile_info()
◆ cbs_apv_split_fragment()
◆ cbs_apv_read_unit()
◆ cbs_apv_write_unit()
◆ cbs_apv_assemble_fragment()
◆ cbs_apv_free_metadata()
◆ CBS_FUNC()
◆ cbs_apv_unit_types
Initial value:= {
{
.unit_type.range = {
},
.nb_offsets = 1,
.offsets = { 0x42 -
sizeof(void*) },
},
},
}
Definition at line 435 of file cbs_apv.c.
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 CBS_UNIT_TYPE_COMPLEX(type, structure, free_func)
int CBS_FUNC() read_simple_unsigned(CodedBitstreamContext *ctx, GetBitContext *gbc, int width, const char *name, uint32_t *write_to)
static void cbs_apv_free_metadata(AVRefStructOpaque unused, void *content)
int CBS_FUNC() 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)
const CodedBitstreamType CBS_FUNC(type_apv)
int CBS_FUNC() write_simple_unsigned(CodedBitstreamContext *ctx, PutBitContext *pbc, int width, const char *name, uint32_t value)
@ CBS_CONTENT_TYPE_INTERNAL_REFS
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
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
@ APV_PBU_ACCESS_UNIT_INFORMATION
int CBS_FUNC() 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)
void CBS_FUNC() trace_header(CodedBitstreamContext *ctx, const char *name)
#define CBS_UNIT_TYPE_POD(type_, structure)
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
#define SUBSCRIPTS(subs,...)
#define CBS_UNIT_TYPE_END_OF_LIST
#define AVERROR_INVALIDDATA
Invalid data found when processing input.