summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* lavu/tx: mention FFT output is not normalizedLynne2020-02-08
| | | | | | | Not even FFTW's output is normalized. This should prevent at least some users from complaining that doing a forward transform followed by an inverse transform has a mismatching output to the original input.
* checkasm: sbrdsp: Fix a spurious test failure by calculating a better ↵Martin Storsjö2020-02-08
| | | | | | epsilon for sum_square Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter/vf_alphamerge: add AVClass to private contextPaul B Mahol2020-02-08
|
* avfilter/vf_paletteuse: Fix potential double-free of AVFrameAndreas Rheinhardt2020-02-08
| | | | | | | | | | | | | | | | | | apply_palette() would free an AVFrame given to it only via an AVFrame * (and not via AVFrame **) in three of its four exists (namely in the normal path and in two error paths). So upon error the caller has no way to know whether the frame has already been freed or not; load_apply_palette(), the only caller, opted to free the frame in this scenario. This commit changes this by making apply_palette not freeing the frame at all, which is left to load_apply_palette(). Fixes Coverity issue #1452434. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mlpdec: use get_bits_long for huff lsbsJai Luthra2020-02-08
| | | | | | | lsb bits may go beyond 25 bits, so to be safe use get_bits_long Signed-off-by: Jai Luthra <me@jailuthra.in> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_alphamerge: add timeline supportPaul B Mahol2020-02-08
|
* avfilter/vf_fade: improve type option descriptionPaul B Mahol2020-02-08
|
* avfilter/vf_fade: add missing .flags for type optionPaul B Mahol2020-02-08
|
* avfilter/vf_maskedclamp: make C version consistent with ASM onePaul B Mahol2020-02-08
| | | | In case of undefined behaviour.
* fate/adpcm: add adpcm_ima_ssi testsZane van Iperen2020-02-08
| | | | | Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* aviflter/vf_xfade: add pixelize transitionPaul B Mahol2020-02-07
|
* avfilter/vf_xfade: add dissolve transitionPaul B Mahol2020-02-07
|
* avfilter/af_crystalizer: add slice threading supportPaul B Mahol2020-02-07
|
* ac3enc: drop a global variableAnton Khirnov2020-02-07
| | | | | | | | Log the warning message once per encoder instance instead. Reviewed-by: Kieran Kunhya <kierank@obe.tv> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: fix order of linking for libglslangPaul B Mahol2020-02-07
|
* avfilter: add afirsrc filterPaul B Mahol2020-02-07
|
* avcodec/cavsdsp: Fix undefined left shifts of negative numbersAndreas Rheinhardt2020-02-07
| | | | | | | | | | | | Affected the ffmpeg-filter_colorkey FATE-test (but only if the C version of idct8_add is used and not e.g. the x86 SSE2 version). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Fixes: left shift of negative value -107 Fixes: 20398/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CAVS_fuzzer-5725389278412800 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_acrossover: free all output frames on errorPaul B Mahol2020-02-07
|
* avfilter/af_acrossover: add slice threading supportPaul B Mahol2020-02-07
|
* lavd/avfoundation.m: Add an option to drop late frames.Thilo Borgmann2020-02-07
| | | | Retains current behaviour by the default value.
* avformat: add demuxer for Simon & Schuster Interactive's VAG formatZane van Iperen2020-02-06
| | | | | | | | | Adds support for the custom VAG container used by some Simon & Schuster Interactive games such as Real War, and Real War: Rogue States. Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec: add decoder for Simon & Schuster Interactive's ADPCM variantZane van Iperen2020-02-06
| | | | | | | | | Adds support for the ADPCM variant used by some Simon & Schuster Interactive games such as Real War, and Real War: Rogue States. Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hevc: add support for Frame Duplication (Doubling/Tripling)Praveen Karadugattu2020-02-06
| | | | Parse picture_struct SEI value.
* avfilter/af_acrossover: improve filter outputPaul B Mahol2020-02-06
| | | | Makes sum always flat. Also faster.
* avfilter/Makefile: add vulkan.h to the list of skipped headersJames Almer2020-02-06
| | | | | | Should fix make checkheaders 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>
* avformat/hlsenc: allow a custom SDT and PAT periodMarton Balint2020-02-05
| | | | | | | The default is not to write SDT and PAT periodically, only in the beginning of every segment. After this patch the user might override this if needed. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/matroskaenc: Check functions that can failAndreas Rheinhardt2020-02-05
| | | | | | | | Sometimes it has not been checked whether opening the dynamic buffer for writing Tags fails; this might have led to segfaults. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libswscale/x86/yuv2rgb: Change inline assembly into nasm codeTing Fu2020-02-05
| | | | | | | | The original inline assembly and nasm code have the same fps when called by command. NASM code almost has no impact on the perfromance. Signed-off-by: Ting Fu <ting.fu@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_xfade: add horzopen/close transitionPaul B Mahol2020-02-05
|
* avfilter/vf_xfade: add vertopen/close transitionPaul B Mahol2020-02-05
|
* avcodec/av1_parse: don't look for trailing bits in Tile List OBUsJames Almer2020-02-05
| | | | | | The spec states there aren't any. Signed-off-by: James Almer <jamrial@gmail.com>
* vf_ssim: Fix loading doubles to float registers on i386Martin Storsjö2020-02-05
| | | | | | | This fixes the tests filter-refcmp-ssim-yuv and filter-refcmp-ssim-rgb on i386 after breaking in fcc0424c933742c8fc852371e985d16b6eb4bfe9. Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec/Makefile: combine dvdsub dependencies into one entry per moduleJames Almer2020-02-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* configure: don't enable $ARCH_external if $ARCH is disabledJames Almer2020-02-04
| | | | | | | | | | The check_x86asm() checks would force enable these variables on success, bypassing any --disable-* command line option. This is important in the case of AVX512, where the relevant define is used to choose between different values for memory alignment and strides in some allocations. Signed-off-by: James Almer <jamrial@gmail.com>
* lavfi: bump minor version for the Vulkan filtersLynne2020-02-04
|
* doc/APIchanges: update with Vulkan commit infoLynne2020-02-04
|
* lavu: bump minor version for the Vulkan patchsetLynne2020-02-04
|
* lavu/hwcontext_cuda: refactor context initialisationPhilip Langdale2020-02-04
| | | | | There's enough going on here now that it should not be duplicated between cuda_device_create and cuda_device_derive.
* lavfi: add an chromaber_vulkan filterLynne2020-02-04
| | | | | | | This commit adds a chromatic aberration filter for Vulkan that attempts to emulate a lens chromatic aberration effect. For a YUV frame it will instead shift the chroma channels, providing a simple approximation.
* lavfi: add an avgblur_vulkan filterLynne2020-02-04
| | | | | | This commit adds a fast avgblur Vulkan filter. This will reset Intel GPUs on Linux due to a known, two-year-old driver bug (!834 on mesa's gitlab).
* lavfi: add an overlay_vulkan filterLynne2020-02-04
| | | | This commit adds a basic, non-converting overlay filter for Vulkan.
* lavfi: add an scale_vulkan filterLynne2020-02-04
| | | | This commit adds a basic, non-converting Vulkan scaling filter.
* lavfi: add Vulkan filtering frameworkLynne2020-02-04
| | | | | | | | | This commit adds a Vulkan filtering infrastructure for libavfilter. It attempts to abstract as much as possible of the Vulkan API from filters. The way the hwcontext and the framework are designed permits for parallel, non-CPU-blocking filtering throughout, with the exception of up/downloading and mapping.
* lavfi/vf_hwupload: Add support for HW -> HW transfersPhilip Langdale2020-02-04
| | | | | | | | | | | | | | | | As we find ourselves wanting a way to transfer frames between HW devices (or more realistically, between APIs on the same device), it's desirable to have a way to describe the relationship. While we could imagine introducing a `hwtransfer` filter, there is almost no difference from `hwupload`. The main new feature we need is a way to specify the target device. Having a single device for the filter chain is obviously insufficient if we're dealing with two devices. So let's add a way to specify the upload target device, and if none is specified, continue with the existing behaviour. We must also correctly preserve the sw_format on such a transfer.
* lavu: add Vulkan hwcontext codeLynne2020-02-04
| | | | | | | | | | This commit adds the necessary code to initialize and use a Vulkan device within the hwcontext libavutil framework. Currently direct mapping to VAAPI and DRM frames is functional, and transfers to CUDA and native frames are supported. Lets hope the future Vulkan video decode extension fits well within this framework.
* lavu/hwcontext: Add support for HW -> HW transfersPhilip Langdale2020-02-04
| | | | | | | | | | | | | | | | | | | | We are beginning to consider scenarios where a given HW Context may be able to transfer frames to another HW Context without passing via system memory - this would usually be when two contexts represent different APIs on the same device (eg: Vulkan and CUDA). This is modelled as a transfer, as we have today, but where both the src and the dst are hardware frames with hw contexts. We need to be careful to ensure the contexts are compatible - particularly, we cannot do transfers where one of the frames has been mapped via a derived frames context - we can only do transfers for frames that were directly allocated by the specified context. Additionally, as we have two hardware contexts, the transfer function could be implemented by either (or indeed both). To handle this uncertainty, we explicitly look for ENOSYS as an indicator to try the transfer in the other direction before giving up.
* fate/adpcm: add adpcm_argo testsZane van Iperen2020-02-04
| | | | | Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/dvdsubenc: accept palette from optionsMichael Kuron2020-02-04
| | | | | | | | Previously, the default palette would always be used. Now, we can accept a custom palette, just like dvdsubdec does. Signed-off-by: Michael Kuron <michael.kuron@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/dvdsubdec: Move palette parsing to new functionMichael Kuron2020-02-04
| | | | | Signed-off-by: Michael Kuron <michael.kuron@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>