Arithmetic decoder for Dirac.
More...
|
|
av_cold void | ff_dirac_init_arith_tables (void) |
| |
|
void | ff_dirac_init_arith_decoder (DiracArith *c, GetBitContext *gb, int length) |
| |
|
|
const uint16_t | ff_dirac_prob [256] |
| |
| const uint8_t | ff_dirac_next_ctx [DIRAC_CTX_COUNT] |
| |
|
int16_t | ff_dirac_prob_branchless [256][2] |
| |
Arithmetic decoder for Dirac.
- Author
- Marco Gerards marco.nosp@m.@gnu.nosp@m..org
§ ff_dirac_next_ctx
| const uint8_t ff_dirac_next_ctx[DIRAC_CTX_COUNT] |
Initial value:= {
[CTX_ZPZN_F1] = CTX_ZP_F2,
[CTX_ZPNN_F1] = CTX_ZP_F2,
[CTX_ZP_F2] = CTX_ZP_F3,
[CTX_ZP_F3] = CTX_ZP_F4,
[CTX_ZP_F4] = CTX_ZP_F5,
[CTX_ZP_F5] = CTX_ZP_F6,
[CTX_ZP_F6] = CTX_ZP_F6,
[CTX_NPZN_F1] = CTX_NP_F2,
[CTX_NPNN_F1] = CTX_NP_F2,
[CTX_NP_F2] = CTX_NP_F3,
[CTX_NP_F3] = CTX_NP_F4,
[CTX_NP_F4] = CTX_NP_F5,
[CTX_NP_F5] = CTX_NP_F6,
[CTX_NP_F6] = CTX_NP_F6,
[CTX_DELTA_Q_F] = CTX_DELTA_Q_F,
}