aboutsummaryrefslogtreecommitdiffstats
path: root/src/codec_hr.c
AgeCommit message (Collapse)AuthorFilesLines
2017-12-31benchmark: move benchmark impl to a private headerVadim Yanitskiy1-0/+1
There is no need to expose the implementation details of both BENCHMARK_START and BENCHMARK_STOP macros via public header. This change moves them to a separate private header 'bench.h'.
2017-12-31Add an 'osmo_gapk' prefix to the exposed symbolsVadim Yanitskiy1-1/+1
To avoid a naming conflict between libosmogapk and other projects during linkage, all the exposed symbols should have an unique prefix. Let's use 'osmo_gapk' for that.
2017-12-31Install GAPK headers to '${includedir}/osmocom/gapk/'Vadim Yanitskiy1-2/+2
To be able to use the library, external applications need to know, which symbols are exposed. This information is provided by header files, which are being installed to a system's ${includedir} since this change.
2017-05-28Fix HR codec block sizesHarald Welte1-2/+2
The ETSI reference codec actually uses an array of 20/22 16bit values rather than a "canonical" format. The conversion is what fmt_hr_ref.c is doing. However, codec_hr.c must then subsequently not check for the canonical input/output sizes, but those specific to it.
2017-05-28prepare gapk for dealing with variable-length framesHarald Welte1-4/+12
The existing architecture was modelled around fixed-length codec frame sizes, which of course fails with multi-rate codecs such as AMR.
2017-05-28introduce #defines for canonical length + use themHarald Welte1-1/+1
2014-05-08Add cycle benchmarking supportHarald Welte1-2/+11
This enables benchmarking of the codec. It will print the amount of CPU cycles needed for encoding/decoding a single 20ms frame on average.
2010-11-12[4/4] HR support: Add hooks in gapk to use libgsmhr for encoding/decodingSylvain Munaut1-0/+45
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-10-29codec: Add preliminary codecs definitions for HR/FR/EFRSylvain Munaut1-0/+27
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>