summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* avfilter/af_acrossover: add option to adjust input gainPaul B Mahol2020-11-28
|
* avfilter/af_acrossover: really fix single-pole allpass coefficientsPaul B Mahol2020-11-28
| | | | Now LR2, LR6, LR10, LR14 and LR18 have really flat sum.
* doc/filters: mention when adenorm filter should be placed in graphPaul B Mahol2020-11-28
|
* avfilter/af_acrossover: remove unecessary allpass callsPaul B Mahol2020-11-28
|
* avcodec/utils: Require a non zero channels unless AV_CODEC_CAP_CHANNEL_CONF ↵Michael Niedermayer2020-11-28
| | | | | | | | | | | | | | | | is set This avoids per codec checks for channels not being 0 Fixes: division by 0 Fixes: 25419/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FASTAUDIO_fuzzer-5632544761184256 Fixes: 25433/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FASTAUDIO_fuzzer-6215671900536832 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Suggested-by: Paul B Mahol <onemda@gmail.com> See: [FFmpeg-devel] [PATCH 1/3] avcodec/fastaudio: Check channel Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec: Set AV_CODEC_CAP_CHANNEL_CONF in more decodersMichael Niedermayer2020-11-28
| | | | | | Suggested-by: Paul B Mahol <onemda@gmail.com> See: [FFmpeg-devel] [PATCH 1/3] avcodec/fastaudio: Check channels Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_aemphasis: add timeline/slice and commands supportPaul B Mahol2020-11-27
|
* avfilter/af_aemphasis: switch to planar sample formatPaul B Mahol2020-11-27
|
* doc/filters: fix several errors/typosPaul B Mahol2020-11-27
|
* avfilter/af_acrossover: add support for float sample formatPaul B Mahol2020-11-27
|
* avcodec: deprecate thread_safe_callbacksAnton Khirnov2020-11-27
| | | | | | | | | They add considerable complexity to frame-threading implementation, which includes an unavoidably leaking error path, while the advantages of this option to the users are highly dubious. It should be always possible and desirable for the callers to make their get_buffer2() implementation thread-safe, so deprecate this option.
* avfilter/af_acrossover: fix single pole allpass coefficientsPaul B Mahol2020-11-27
|
* doc/filters: document adenorm commands supportPaul B Mahol2020-11-27
|
* doc/filters: add acrossover examplesPaul B Mahol2020-11-27
|
* avfilter/af_acrossover: improve quality for odd order butterworthPaul B Mahol2020-11-27
|
* avfilter/avf_showfreqs: implement phase displayPaul B Mahol2020-11-27
|
* hwcontext_vulkan: reduce priority for PACK32 formatsLynne2020-11-27
| | | | Due to some endian-dependent overlap, these should be used last.
* avutil/film_grain_params: add more details to some AVFilmGrainAOMParams fieldsJames Almer2020-11-26
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavu/film_grain_params: fix typo in type enumLynne2020-11-27
| | | | Ref: xkcd #1015
* avformat/mpc8: correct integer overflow in mpc8_parse_seektable()Michael Niedermayer2020-11-27
| | | | | | | | | Fixes: signed integer overflow: -4683718486770919638 * 2 cannot be represented in type 'long' Fixes: 26704/clusterfuzz-testcase-minimized-ffmpeg_dem_MPC8_fuzzer-6327056939614208 Fixes: 27550/clusterfuzz-testcase-minimized-ffmpeg_dem_MPC8_fuzzer-6259212652642304 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mpc8: correct 32bit timestamp truncationMichael Niedermayer2020-11-27
| | | | | | | | Fixes: left shift of 65536 by 15 places cannot be represented in type 'int' Fixes: 26801/clusterfuzz-testcase-minimized-ffmpeg_dem_MPC8_fuzzer-5164313092030464 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: Fix memleak in dref readingMichael Niedermayer2020-11-27
| | | | | | | | | Fixes: leak in mov_read_dref() Fixes: 26698/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-5638785444085760 Fixes: 27554/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-6256643054239744 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add asupercut filterPaul B Mahol2020-11-26
|
* avfilter/af_acrossover: add missing allpass processingPaul B Mahol2020-11-26
|
* avformat/flacenc: Fix memleak when writing attached pictures failsAndreas Rheinhardt2020-11-26
| | | | | | | | | | | | | | | | | The FLAC muxer currently stores an attached picture corresponding to an AVStream in AVStream.priv_data. The AVPacket contained therein is unreferenced after it has been written. The AVPacket structure itself is then freed generically as AVStream.priv_data. And this can lead to memleaks if an attached picture is not written: It might be because the trailer is never written or because writing a previous attached picture failed in case error_recognition is set to explode. Therefore free the packets properly (i.e. with av_packet_free()) in the muxer's deinit function. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avfilter/af_acrossover: add missing inverter as last stepPaul B Mahol2020-11-26
|
* avfilter/af_acrossover: simplify coefficientsPaul B Mahol2020-11-26
|
* avfilter/af_acrossover: add even more ordersPaul B Mahol2020-11-26
|
* avfilter/af_acrossover: use transposed direct II formPaul B Mahol2020-11-26
|
* avfilter/af_acrossover: rewrite code so it performs fasterPaul B Mahol2020-11-26
|
* avfilter/af_acrossover: add higher ordersPaul B Mahol2020-11-26
|
* doc/filters: fix typo in overlay_cudaGyan Doshi2020-11-26
|
* libdav1d: correctly copy ar_coeffs_uv to our structLynne2020-11-26
| | | | | | Our struct is a [2][25], libdav1d's is a [2][25 + 3] so the last 3 v coefficients were missing. Copy each plane's coefficients separately.
* hwcontext_vulkan: optionally enable more functionalityNiklas Haas2020-11-25
| | | | | | These two extensions and two features are both optionally used by libplacebo to speed up rendering, so it makes sense for libavutil to automatically enable them as well.
* hwcontext_vulkan: support additional pixel formatsLynne2020-11-25
| | | | | We support every single packed format possible now. There are some fringe leftover mappings which are uninteresting.
* hwcontext_vulkan: fix incorrect A/0BGR mappingLynne2020-11-25
| | | | | | | | Vulkan formats with a PACK suffix define native endianess. Vulkan formats without a PACK suffix are in bytestream order. Pixel formats with a LE/BE suffix define endianess. Pixel formats without LE/BE suffix are in bytestream order.
* hwcontext_vulkan: simplify plane size calculations and support 4-plane formatsLynne2020-11-25
| | | | Needed to support YUVA.
* hwcontext_vulkan: do not segfault when failing to init a AVHWFramesContextLynne2020-11-25
| | | | | frames_uninit is always called on failure, and the free_exec_ctx function did not zero the pool when freeing it, so it resulted in a double free.
* hwcontext_vulkan: always attempt to map host memory when transferringLynne2020-11-25
| | | | | | | | | | | | | | This relies on the fact that host memory is always going to be required to be aligned to the platform's page size, which means we can adjust the pointers when we map them to buffers and therefore skip an entire copy. This has already had extensive testing in libplacebo without problems, so its safe to use here as well. Speeds up downloads and uploads on platforms which do not pool their memory hugely, but less so on platforms that do. We can pool the buffers ourselves, but that can come as a later patch if necessary.
* hwcontext_vulkan: check for memory size before choosing typeLynne2020-11-25
| | | | | It makes allocation a bit more robust in case some weird device with weird drivers which segments memory in weird ways appears.
* hwcontext_vulkan: correctly access the p->extensions bitmaskLynne2020-11-25
| | | | Its a 64-bit bitfield being put directly into an int.
* hwcontext_vulkan: unify download/upload functionsLynne2020-11-25
| | | | They were identical, save for variable names and order.
* hwcontext_vulkan: add VkExternalMemoryBufferCreateInfo to imported buffersLynne2020-11-25
| | | | Its a validation layer thing.
* hwcontext_vulkan: do not use uninitialized variables on errors in CUDA codeLynne2020-11-25
|
* lavfi/vulkan: allow calling glslang_uninit without a prior initLynne2020-11-25
| | | | | | | Allows us to uninit cleanly. This assert was also somewhat pointless as we assert every other function, so another assert would be triggered long before this one is.
* hwcontext_drm: issue DMA_BUF_IOCTL_SYNC when mapping FDsLynne2020-11-25
| | | | | This improves performance and helps a little when given FDs without any synchronization fences.
* libdav1d: use film grain export flag to export AVFilmGrainParams side dataLynne2020-11-25
| | | | | | | | | | | | | | | | | | | | This patch is relatively straightforward with one exception: the decoder option flag. The option was introduced to troubleshoot but its existence is conflicting and redundant now that we have a codec-generic flag. Hence this patch deprecates it. The way it interacts with AV_CODEC_EXPORT_DATA_FILM_GRAIN is as follows: If filmgrain is unset and AV_CODEC_EXPORT_DATA_FILM_GRAIN is present, disable film grain application and export side data. If filmgrain is set to 0, disable film grain and export side data. If filmgrain is set to 1, apply film grain but export side data if the AV_CODEC_EXPORT_DATA_FILM_GRAIN flag is set. This may result in double film grain application, but the user has requested it by setting both.
* libavcodec: add a new AV_CODEC_EXPORT_DATA_FILM_GRAIN flag and optionLynne2020-11-25
| | | | | | This introduces a new field to allow decoders to export their film grain parameters. Will be used by the next patch.
* libavutil: introduce AVFilmGrainParams side dataLynne2020-11-25
| | | | | | | | This patch introduces a new frame side data type AVFilmGrainParams for use with video codecs which support it. It can save a lot of memory used for duplicate processed reference frames and reduce copies when applying film grain during presentation.
* avfilter/af_arnndn: add timeline supportPaul B Mahol2020-11-25
|