This is Andrew's Opus range decoder from his GSoC repo. This only includes the functions required for SILK decoding. There are a few more that are specific to CELT that are not included.
I have incldued Andrew's original code as a reference test in opusrac.c. I assume there will be optimizations suggested during review, so I thought it a good idea to have a known working reference. I have only made cosmetic changes so far. I have also added a FATE test for the range decoder. Should we instead use the (2-clause BSD licensed) libopus rac as a reference? Andrew D'Addesio (1): Native Opus range decoder Nathan Caldwell (1): fate: Add Opus RAC test libavcodec/Makefile | 1 + libavcodec/opusrac.c | 120 +++++++++++++++++++++++++++++++++++++++++++++ libavcodec/opusrac.h | 90 ++++++++++++++++++++++++++++++++++ tests/fate/libavcodec.mak | 5 ++ 4 files changed, 216 insertions(+) create mode 100644 libavcodec/opusrac.c create mode 100644 libavcodec/opusrac.h -- 1.7.9.5 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
