summaryrefslogtreecommitdiff
path: root/libavcodec/codec_desc.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2017-11-10 22:09:23 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-11-10 21:32:06 +0000
commita337b36b8bd68cacd0e8903c0b26420cb30fbee8 (patch)
tree24f47394931c6bb78f582a1432d0fdabf1598efa /libavcodec/codec_desc.c
parent81c021c6a2d7848c31984d65f225ba54bdd6f560 (diff)
aptx: implement the aptX bluetooth codec
The encoder was reverse engineered from binary library and from EP0398973B1 patent (long expired). The decoder was simply deduced from the encoder.
Diffstat (limited to 'libavcodec/codec_desc.c')
-rw-r--r--libavcodec/codec_desc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 92bf1d2681..c3688de1d6 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -2859,6 +2859,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
.long_name = NULL_IF_CONFIG_SMALL("ADPCM MTAF"),
.props = AV_CODEC_PROP_LOSSY,
},
+ {
+ .id = AV_CODEC_ID_APTX,
+ .type = AVMEDIA_TYPE_AUDIO,
+ .name = "aptx",
+ .long_name = NULL_IF_CONFIG_SMALL("aptX (Audio Processing Technology for Bluetooth)"),
+ .props = AV_CODEC_PROP_LOSSY,
+ },
/* subtitle codecs */
{