FFmpeg
|
#include "libavutil/avassert.h"
#include "cbs.h"
#include "cbs_internal.h"
#include "cbs_vp8.h"
#include <stdbool.h>
#include "cbs_vp8_syntax_template.c"
Go to the source code of this file.
Data Structures | |
struct | CBSVP8BoolDecoder |
Macros | |
#define | DEFAULT_PROB 0x80 |
#define | HEADER(name) |
#define | CHECK(call) |
#define | FUNC_NAME(rw, codec, name) cbs_##codec##_##rw##_##name |
#define | FUNC_VP8(rw, name) FUNC_NAME(rw, vp8, name) |
#define | FUNC(name) FUNC_VP8(READWRITE, name) |
#define | SUBSCRIPTS(subs, ...) (subs > 0 ? ((int[subs + 1]){subs, __VA_ARGS__}) : NULL) |
#define | f(width, name) xf(width, name, 0, ) |
#define | bc_f(width, name) bc_unsigned_subs(width, DEFAULT_PROB, true, name, 0, ) |
#define | bc_s(width, name) bc_signed_subs(width, DEFAULT_PROB, name, 0, ) |
#define | bc_fs(width, name, subs, ...) bc_unsigned_subs(width, DEFAULT_PROB, true, name, subs, __VA_ARGS__) |
#define | bc_ss(width, name, subs, ...) bc_signed_subs(width, DEFAULT_PROB, name, subs, __VA_ARGS__) |
#define | bc_b(name) bc_unsigned_subs(1, DEFAULT_PROB, false, name, 0, ) |
#define | bc_b_prob(prob, name) bc_unsigned_subs(1, prob, false, name, 0, ) |
#define | READ |
#define | READWRITE read |
#define | RWContext GetBitContext |
#define | CBSVP8BoolCodingRW CBSVP8BoolDecoder |
#define | xf(width, name, subs, ...) |
#define | fixed(width, name, value) |
#define | bc_unsigned_subs(width, prob, enable_trace, name, subs, ...) |
#define | bc_signed_subs(width, prob, name, subs, ...) |
Variables | |
const uint8_t | ff_vp8_token_update_probs [4][8][3][11] |
static const CodedBitstreamUnitTypeDescriptor | cbs_vp8_unit_types [] |
const CodedBitstreamType | ff_cbs_type_vp8 |
#define HEADER | ( | name | ) |
#define CHECK | ( | call | ) |
#define SUBSCRIPTS | ( | subs, | |
... | |||
) | (subs > 0 ? ((int[subs + 1]){subs, __VA_ARGS__}) : NULL) |
#define bc_f | ( | width, | |
name | |||
) | bc_unsigned_subs(width, DEFAULT_PROB, true, name, 0, ) |
#define bc_s | ( | width, | |
name | |||
) | bc_signed_subs(width, DEFAULT_PROB, name, 0, ) |
#define bc_fs | ( | width, | |
name, | |||
subs, | |||
... | |||
) | bc_unsigned_subs(width, DEFAULT_PROB, true, name, subs, __VA_ARGS__) |
#define bc_ss | ( | width, | |
name, | |||
subs, | |||
... | |||
) | bc_signed_subs(width, DEFAULT_PROB, name, subs, __VA_ARGS__) |
#define bc_b | ( | name | ) | bc_unsigned_subs(1, DEFAULT_PROB, false, name, 0, ) |
#define bc_b_prob | ( | prob, | |
name | |||
) | bc_unsigned_subs(1, prob, false, name, 0, ) |
#define RWContext GetBitContext |
#define CBSVP8BoolCodingRW CBSVP8BoolDecoder |
|
static |
Definition at line 43 of file cbs_vp8.c.
Referenced by cbs_vp8_read_unit().
|
static |
Definition at line 57 of file cbs_vp8.c.
Referenced by cbs_vp8_bool_decoder_read_bool().
|
static |
Definition at line 74 of file cbs_vp8.c.
Referenced by cbs_vp8_bool_decoder_read_literal(), and cbs_vp8_bool_decoder_read_signed().
|
static |
Definition at line 102 of file cbs_vp8.c.
Referenced by cbs_vp8_bool_decoder_read_signed(), and cbs_vp8_bool_decoder_read_unsigned().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const uint8_t ff_vp8_token_update_probs[4][8][3][11] |
Definition at line 43 of file vp8data.c.
Referenced by update_token_probs(), and vp78_update_probability_tables().
|
static |
const CodedBitstreamType ff_cbs_type_vp8 |