|
#define | HEADER(name) |
|
#define | CHECK(call) |
|
#define | FUNC_NAME(rw, codec, name) cbs_ ## codec ## _ ## rw ## _ ## name |
|
#define | FUNC_AV1(rw, name) FUNC_NAME(rw, av1, name) |
|
#define | FUNC(name) FUNC_AV1(READWRITE, name) |
|
#define | SUBSCRIPTS(subs, ...) (subs > 0 ? ((int[subs + 1]){ subs, __VA_ARGS__ }) : NULL) |
|
#define | fb(width, name) xf(width, name, current->name, 0, MAX_UINT_BITS(width), 0, ) |
|
#define | fc(width, name, range_min, range_max) xf(width, name, current->name, range_min, range_max, 0, ) |
|
#define | flag(name) fb(1, name) |
|
#define | su(width, name) xsu(width, name, current->name, 0, ) |
|
#define | fbs(width, name, subs, ...) xf(width, name, current->name, 0, MAX_UINT_BITS(width), subs, __VA_ARGS__) |
|
#define | fcs(width, name, range_min, range_max, subs, ...) xf(width, name, current->name, range_min, range_max, subs, __VA_ARGS__) |
|
#define | flags(name, subs, ...) xf(1, name, current->name, 0, 1, subs, __VA_ARGS__) |
|
#define | sus(width, name, subs, ...) xsu(width, name, current->name, subs, __VA_ARGS__) |
|
#define | fixed(width, name, value) |
|
#define | READ |
|
#define | READWRITE read |
|
#define | RWContext GetBitContext |
|
#define | xf(width, name, var, range_min, range_max, subs, ...) |
|
#define | xsu(width, name, var, subs, ...) |
|
#define | uvlc(name, range_min, range_max) |
|
#define | ns(max_value, name, subs, ...) |
|
#define | increment(name, min, max) |
|
#define | subexp(name, max, subs, ...) |
|
#define | delta_q(name) |
|
#define | leb128(name) |
|
#define | infer(name, value) |
|
#define | byte_alignment(rw) (get_bits_count(rw) % 8) |
|
#define | WRITE |
|
#define | READWRITE write |
|
#define | RWContext PutBitContext |
|
#define | xf(width, name, var, range_min, range_max, subs, ...) |
|
#define | xsu(width, name, var, subs, ...) |
|
#define | uvlc(name, range_min, range_max) |
|
#define | ns(max_value, name, subs, ...) |
|
#define | increment(name, min, max) |
|
#define | subexp(name, max, subs, ...) |
|
#define | delta_q(name) |
|
#define | leb128(name) |
|
#define | infer(name, value) |
|
#define | byte_alignment(rw) (put_bits_count(rw) % 8) |
|
#define | OFFSET(x) offsetof(CodedBitstreamAV1Context, x) |
|
|
static int | cbs_av1_read_uvlc (CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint32_t *write_to, uint32_t range_min, uint32_t range_max) |
|
static int | cbs_av1_write_uvlc (CodedBitstreamContext *ctx, PutBitContext *pbc, const char *name, uint32_t value, uint32_t range_min, uint32_t range_max) |
|
static int | cbs_av1_read_leb128 (CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint64_t *write_to) |
|
static int | cbs_av1_write_leb128 (CodedBitstreamContext *ctx, PutBitContext *pbc, const char *name, uint64_t value) |
|
static int | cbs_av1_read_ns (CodedBitstreamContext *ctx, GetBitContext *gbc, uint32_t n, const char *name, const int *subscripts, uint32_t *write_to) |
|
static int | cbs_av1_write_ns (CodedBitstreamContext *ctx, PutBitContext *pbc, uint32_t n, const char *name, const int *subscripts, uint32_t value) |
|
static int | cbs_av1_read_increment (CodedBitstreamContext *ctx, GetBitContext *gbc, uint32_t range_min, uint32_t range_max, const char *name, uint32_t *write_to) |
|
static int | cbs_av1_write_increment (CodedBitstreamContext *ctx, PutBitContext *pbc, uint32_t range_min, uint32_t range_max, const char *name, uint32_t value) |
|
static int | cbs_av1_read_subexp (CodedBitstreamContext *ctx, GetBitContext *gbc, uint32_t range_max, const char *name, const int *subscripts, uint32_t *write_to) |
|
static int | cbs_av1_write_subexp (CodedBitstreamContext *ctx, PutBitContext *pbc, uint32_t range_max, const char *name, const int *subscripts, uint32_t value) |
|
static int | cbs_av1_tile_log2 (int blksize, int target) |
|
static int | cbs_av1_get_relative_dist (const AV1RawSequenceHeader *seq, unsigned int a, unsigned int b) |
|
static size_t | cbs_av1_get_payload_bytes_left (GetBitContext *gbc) |
|
static int | cbs_av1_split_fragment (CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, int header) |
|
static int | cbs_av1_ref_tile_data (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, GetBitContext *gbc, AV1RawTileData *td) |
|
static int | cbs_av1_read_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit) |
|
static int | cbs_av1_write_obu (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc) |
|
static int | cbs_av1_assemble_fragment (CodedBitstreamContext *ctx, CodedBitstreamFragment *frag) |
|
static void | cbs_av1_flush (CodedBitstreamContext *ctx) |
|
static void | cbs_av1_close (CodedBitstreamContext *ctx) |
|
static void | cbs_av1_free_metadata (void *unit, uint8_t *content) |
|