|
static int | shift (int a, int b) |
|
static int | shift_down (int a, int b) |
|
static av_always_inline av_flatten void | put_symbol (RangeCoder *c, uint8_t *state, int v, int is_signed, uint64_t rc_stat[256][2], uint64_t rc_stat2[32][2]) |
|
static av_flatten int | get_symbol (RangeCoder *c, uint8_t *state, int is_signed) |
|
static int | intlist_write (RangeCoder *c, uint8_t *state, int *buf, int entries, int base_2_part) |
|
static int | intlist_read (RangeCoder *c, uint8_t *state, int *buf, int entries, int base_2_part) |
|
static void | predictor_init_state (int *k, int *state, int order) |
|
static int | predictor_calc_error (int *k, int *state, int order, int error) |
|
Simple free lossless/lossy audio codec Based on Paul Francis Harrison's Bonk (http://www.logarithmic.net/pfh/bonk) Written and designed by Alex Beregszaszi
TODO:
- CABAC put/get_symbol
- independent quantizer for channels
- >2 channels support
- more decorrelation types
- more tap_quant tests
- selectable intlist writers/readers (bonk-style, golomb, cabac)
Definition in file sonic.c.