summaryrefslogtreecommitdiff
path: root/libavcodec/opus_rc.c
Commit message (Collapse)AuthorAge
* lavc/opus_rc: Cast a const pointer to uint8_t *.Carl Eugen Hoyos2018-12-22
| | | | | Silences a warning with clang on arm: libavcodec/opus_rc.c:170:17: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'void *' discards qualifiers
* opus_rc: fix CDF encoding of zeroesRostislav Pehlivanov2017-07-20
| | | | | | 0th CDF value is where probabilities are. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* opus_rc: fix encoder desyncs on very low bitratesRostislav Pehlivanov2017-07-10
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* opus_rc: add entropy encoding functionsRostislav Pehlivanov2017-02-14
| | | | | | | Mostly used the RFC document, the decoding functions and the reference encoder's implmenentation as a reference. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* opus_rc: rename total_bits_used to total_bits and #define some constantsRostislav Pehlivanov2017-02-04
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* opus: move the entropy decoding functions to opus_rc.cRostislav Pehlivanov2016-11-08
The intention is to have both encoding and decoding functions in opus_rc.c. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>