summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* doc: Add an entry to APIchanges about changes to version.h and version_major.hMartin Storsjö2022-03-16
| | | | | | | | Also bump the minor versions of all libraries, to signify the API change of splitting the version.h headers and adding the new version_major.h header. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavfilter: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libswscale: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libswresample: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libpostproc: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavdevice: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Split version.hMartin Storsjö2022-03-16
| | | | | | | | | | | | | | This avoids including version.h in all source files, avoiding unnecessary rebuilds when the version number is bumped. Only version_major.h is included by the main header, which defines availability of e.g. FF_API_* macros, and which is bumped much less often. This isn't done for libavutil/version.h, because that header needs to be included essentially everywhere due to LIBAVUTIL_VERSION_INT being used wherever an AVClass is constructed. Signed-off-by: Martin Storsjö <martin@martin.st>
* avutil/channel_layout: remove duplicate stereo downmix entryJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tools/target_dec_fuzzer: Fix build failure from channels APIMichael Niedermayer2022-03-15
| | | | | | | Regression since 2f8ccca2fa94ce256ff77baa18f462c1abd8d2cc and surrounding commits Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/channel_layout: do not copy alloc new map for extra channel layoutMarton Balint2022-03-15
| | | | | | | Also use av_channel_layout_bprint directly for describing channel layout for extra channels. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/channel_layout: fix av_channel_layout_describe_bprint with custom and ↵Marton Balint2022-03-15
| | | | | | | | | | | | | ambisonic channels bp->len cannot be used to detect if try_describe_ambisonic was successful because the bprint buffer might contain other data as well. Also describing an invalid ambisonic layout should not return 0 but AVERROR(EINVAL) instead, so change try_describe_ambisonic to actually return error on invalid ambisonics. This also allows us to fix the first issue. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/channel_layout: factorize ambisonic order detectionMarton Balint2022-03-15
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/channel_layout: print channels using av_channel_name_bprint in ↵Marton Balint2022-03-15
| | | | | | | | | av_channel_layout_describe_bprint This reduces code duplication an allows printing AMBI%d channel names for custom layouts for non-standard or partial ambisonic layouts. Signed-off-by: Marton Balint <cus@passwd.hu>
* tests: Add fate-bsf-dv-error-markerMichael Niedermayer2022-03-15
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hevc_refs: don't use the frame's AVBufferRef sizes when initializing ↵James Almer2022-03-15
| | | | | | | | | planes Use the actual plane sizes instead. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/buffersink: simplify parsing the input channel layout stringJames Almer2022-03-15
| | | | | | And remove a stray comma in the list of supported separators. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/codec_par: do not copy AVChannelLayout struct directlyMarton Balint2022-03-15
| | | | | | | Later we use av_channel_layout_copy, but that uninits the struct unintentionally freeing the possibly allocated u.map pointer. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/af_biquads: fix possible leak on errorPaul B Mahol2022-03-15
| | | | Recently introduced.
* avfilter/af_join: Don't use memcpy for overlapping regionsAndreas Rheinhardt2022-03-15
| | | | | | | | Reported by ASAN as memcpy-param-overlap when running the filter-join FATE-test. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/channel_layout: Fix leak of stringAndreas Rheinhardt2022-03-15
| | | | | | | Fixes memleaks in the channel_layout FATE-test. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/af_biquads: fix regression with channels option processingPaul B Mahol2022-03-15
|
* avfilter/af_dynaudnorm: fix regression with channels option processingPaul B Mahol2022-03-15
|
* avfilter/af_speechnorm: fix regression in channels option processingPaul B Mahol2022-03-15
|
* avfilter/af_afftdn: refactor noise samplingPaul B Mahol2022-03-15
|
* avfilter/af_afftdn: do not hardcode vector sizePaul B Mahol2022-03-15
|
* avfilter/af_afftdn: use log10 instead to get noise levelsPaul B Mahol2022-03-15
|
* avfilter/af_afftdn: unbreak custom band noise option processingPaul B Mahol2022-03-15
|
* avfilter/af_afftdn: after sampling noise, set full parametersPaul B Mahol2022-03-15
|
* Bump minor versions after the channel layout changesJames Almer2022-03-15
| | | | | | Forgotten in the respective commits adding new API. Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_sofalizer: fix getting speaker positionJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/audiotoolboxenc: add missing AVCodec.ch_layoutsJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca_lbr: set nchannelsJames Almer2022-03-15
| | | | | | Fixes warnings about uninitialized values Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/audiotoolboxenc: use the correct macros for standard channel layoutsJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/audiotoolboxenc: Fix the use of FF_ARRAY_ELEMSMartin Storsjö2022-03-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec/audiotoolboxenc: use the correct function nameJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* mov: Implement spatial audio supportVittorio Giovara2022-03-15
| | | | | | | | As defined by Google's Spatial Audio RFC. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
* opus: export mapping family 2 (Ambisonic) as Ambisonic layoutAnton Khirnov2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* channel_layout: add support for AmbisonicVittorio Giovara2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tools/target_{bsf,dec}_fuzzer: convert to new channel layout-APIJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* doc/examples: convert to new channel layout-APIJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tools: convert to new channel layout-APIJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tests: convert to new channel layout-APIJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* ffplay: convert to new channel layout-APIJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* ffprobe: convert to new channel layout-APIJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* ffmpeg: convert to new channel layout-APIJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avdevice/lavfi: remove call to deprecated function ↵James Almer2022-03-15
| | | | | | av_buffersink_get_channel_layout() Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter: convert to new channel layout APIJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* swresample: convert to new channel layout APIJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavf: Add non diegetic stream disposition flagVittorio Giovara2022-03-15
| | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>