aboutsummaryrefslogtreecommitdiffstats
path: root/include/gapk/codecs.h
AgeCommit message (Collapse)AuthorFilesLines
2017-12-31Install GAPK headers to '${includedir}/osmocom/gapk/'Vadim Yanitskiy1-71/+0
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-0/+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-28Add AMR codec supportHarald Welte1-0/+1
After merging this change, there is support for the AMR codec (by means of libopencore-amr, which is already used for EFR). In terms of gapk formats, we introdude * the "amr-opencore" format, which serves both as the canonical format, and as the input format to opencore-amrnb itself. * the "rtp-amr" format, which is the payload of RFC4867 octet-aligned mode You can use the following command for a real-time RTP playback for AMR frames: ./gapk -I 0.0.0.0/30000 -f rtp-amr -A default -g rawpcm-s16le
2017-05-28more API documentationHarald Welte1-0/+9
2017-05-28prepare gapk for dealing with variable-length framesHarald Welte1-1/+1
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-0/+5
2010-11-11codec: Add fields in struct codec_desc to support encoding/decodingSylvain Munaut1-0/+13
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-10-29codec: Add preliminary codecs definitions for HR/FR/EFRSylvain Munaut1-0/+41
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>