summaryrefslogtreecommitdiff
path: root/libavcodec/aptx.c
Commit message (Collapse)AuthorAge
* avcodec/internal: Move FF_SIGNBIT and ff_log2_run to mathops.hAndreas Rheinhardt2022-03-21
| | | | | | | It is a more fitting place for them. Also move the definition of ff_log2_run to mathtables.c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/internal: Move FF_CODEC_CAP_* to a new header codec_internal.hAndreas Rheinhardt2022-03-21
| | | | | | | | | | Also move FF_CODEC_TAGS_END as well as struct AVCodecDefault. This reduces the amount of files that have to include internal.h (which comes with quite a lot of indirect inclusions), as e.g. most encoders don't need it. It is furthemore in preparation for moving the private part of AVCodec out of the public codec.h. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* aptx: convert to new channel layout APIAnton Khirnov2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/aptx: split decoder and encoder into separate filesJames Almer2020-02-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/aptx: Check the number of channelsMichael Niedermayer2019-11-01
| | | | | | | | Fixes: store to null pointer of type 'uint32_t' (aka 'unsigned int') Fixes: 18021/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APTX_HD_fuzzer-5761738313564160 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/aptx: Fix multiple shift anomaliesMichael Niedermayer2019-09-30
| | | | | | | | | Fixes: left shift of negative value -24576 Fixes: 17719/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APTX_fuzzer-5710508002377728 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* aptx: indentation (cosmetics only)Aurelien Jacobs2018-02-09
|
* aptx: implement the aptX HD bluetooth codecAurelien Jacobs2018-02-09
|
* aptx: do some clipping to match original codec in extreme casesAurelien Jacobs2018-02-09
|
* aptx: factorize FFABS calculationAurelien Jacobs2018-02-09
|
* aptx: simplify by pre-calculating factor_maxAurelien Jacobs2018-02-09
|
* aptx: add codec cap SMALL_LAST_FRAME and INIT_THREADSAFE as appropriateAurelien Jacobs2017-12-18
|
* aptx: implement the aptX bluetooth codecAurelien Jacobs2017-11-10
The encoder was reverse engineered from binary library and from EP0398973B1 patent (long expired). The decoder was simply deduced from the encoder.