summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* doc/filters: link framesync options for msad/identity/vifPaul B Mahol2022-12-071-0/+6
|
* avfilter/vf_vif: add missing framesync optionsPaul B Mahol2022-12-071-1/+2
|
* avutil/tests/dict: Explicitly test av_dict_iterate()Andreas Rheinhardt2022-12-071-5/+25
| | | | | | | | This commit tests it in a way that automatically checks that using av_dict_iterate() is equivalent to using av_dict_get() with key "" and AV_DICT_IGNORE_SUFFIX. Signed-off-by: Andreas Rheinhardt <[email protected]>
* avutil: use av_dict_iterateMarvin Scholz2022-12-072-7/+7
| | | | Signed-off-by: Andreas Rheinhardt <[email protected]>
* avfilter/vf_chromanr: split inner loopsPaul B Mahol2022-12-071-12/+36
| | | | Makes overall faster processing in default case.
* avfilter/avf_showvolume: make rms meter actually get rms of whole framePaul B Mahol2022-12-061-15/+14
|
* avcodec/nvenc: notify users about rc_lookahead clippingTimo Rothenpieler2022-12-051-0/+3
|
* avcodec/nvenc: explicitly disable lookahead if lacking sufficient surfacesTimo Rothenpieler2022-12-051-0/+1
| | | | | It could already be enabled by the preset, so it needs explicitly disabled in this case.
* avfilter/vf_thumbnail: allow to change stats log levelPaul B Mahol2022-12-052-3/+13
|
* avfilter/vf_thumbnail: optimize planar processing pathPaul B Mahol2022-12-051-3/+6
|
* avfilter/vf_bm3d: switch to TX from lavuPaul B Mahol2022-12-042-169/+166
|
* avcodec/wavpack: Fix overflow in p=31Michael Niedermayer2022-12-041-1/+1
| | | | | | | | | | | Untested with "non fuzzed" samples as i have no such file The reference 5.6.0 decoder appears to also have undefined behavior in the lossless codepath for this Fixes: shift exponent 32 is too large for 32-bit type 'int' Fixes: 50930/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WAVPACK_fuzzer-6319201949712384 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_libplacebo: ensure filter hwdevice is a vulkan oneTimo Rothenpieler2022-12-041-1/+10
| | | | | Before this, the filter blindly casts to AVVulkanDeviceContext and passes invalid values to libplacebo if it's not.
* avfilter/vf_exposure: ensure that scale is always > 0Paul B Mahol2022-12-041-1/+3
|
* avfilter/avf_showcwt: write also to alpha plane if availablePaul B Mahol2022-12-041-11/+31
|
* avfilter/af_afftdn: fix invalid duplicated use of sizeof()Paul B Mahol2022-12-031-7/+7
|
* lavu/tx: zero-out imaginary of last coefficient in forward RDFTsLynne2022-12-031-1/+1
| | | | | We didn't do this, because it's zero anyway, but it prevents users from using uninitialized memory in calculations.
* avcodec/cfhdenc: stop crashing on heights not multiple of 8Paul B Mahol2022-12-031-10/+13
| | | | Fixes overreads and artifacts for some heights not multiple of 16.
* fate: add QOI/XBM/XWD image2pipe testsPaul B Mahol2022-12-034-0/+12
|
* avcodec/ass: specify a permissive encodingOneric2022-12-0325-25/+25
| | | | | | | | | | | | | | | The Encoding field (and the \fe tag) allows to limit font selection to only those fonts declaring support for the specified codepage in their OS/2's table "Code Page Character Range" field. Particularly, Encoding=0 means only font's declaring support for "ANSI", or rather "Latin (Western European)", are allowed to be selected. Specifying Encoding=1 allows all fonts to be considered. We do not want to limit font selection, so specify Encoding=1. NB: at the time of writing libass only partially supports this field, thus hiding the issue in any libass-based renderer. A VSFilter-based DirectShow filter or XySubFilter will reveal the issue when a font not declaring support for latin characters is specified in a style.
* avcodec/ass: accurately preserve coloursOneric2022-12-0325-0/+25
| | | | | | | | | | | | | | | | | | Colour values used in ASS files without a "YCbCr Matrix" header set to "None" are subject to colour mangling, due to how ASS was historically conceived. A more in-depth description can be found in the documetation inside libass' public ass_types.h header. The important part is, if this header is not set to "None", the final output colours can deviate from the literal value specified in the file. When converting from non-ASS formats we do not want any colour shift to happen, so let's set the appropiate header. NB: ffmpeg's subtitle filter, does not follow libass' documentation regarding colour mangling, thus hiding the bug. Anything based on VSFilter, XySubFilter or e.g. mpv do and might show the issue. (Of course native ASS subs, which _do_ rely on colour mangling won't work properly with the subtitle filter, but this can be fixed another time)
* avcodec/ass: fix commentOneric2022-12-031-1/+1
| | | | | | | | | There is no v4 ASS. There are versions 1 to 4 of SSA (with only v4 being supported by softsub renderers), ASS which declares itself as v4+ or v4.00+, and the rarely used v4++/v4.00++, which isn't fully supported by libass. As reflected by the [V4+ Styles] section header, FFmpeg uses ASS, not SSA v4, so adjust the comment accordingly.
* avfilter/af_astats: accessing outlink in uninit is not validPaul B Mahol2022-12-031-2/+5
|
* lavc/videotoolboxenc: fix warningsRick Kern2022-12-031-2/+4
| | | | | | This handles an unhandled error, and removes an unnecessary variable. Signed-off-by: Rick Kern <[email protected]>
* avcodec/x86/v210enc: change '0b' binary constant prefix to 'b' suffixJames Darnley2022-12-031-2/+2
| | | | For compatability with yasm from 0.7.0
* avfilter/avf_showcwt: fix logic mistakePaul B Mahol2022-12-031-1/+1
|
* avcodec/libsvtav1: don't force a default value for deprecated optionsJames Almer2022-12-021-11/+16
| | | | | | | | Stick to the library's default value instead. Should address AOMediaCodec/SVT-AV1 issue #2011. Signed-off-by: James Almer <[email protected]>
* avcodec/smcenc: improve compression ratio a littlePaul B Mahol2022-12-021-12/+13
| | | | Actually reverts previous change.
* avcodec/smcenc: fix errors with using intra after inter skipPaul B Mahol2022-12-021-3/+5
|
* avcodec/smcenc: fix silly typoPaul B Mahol2022-12-011-1/+1
|
* tools/target_dec_fuzzer: Adjust threshold for RSCCMichael Niedermayer2022-12-011-0/+1
| | | | | | | | Fixes: Timeout Fixes: 53681/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6627455180079104 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/wavpack: Check for end of input in wv_unpack_dsd_high()Michael Niedermayer2022-12-011-0/+4
| | | | | | | | Fixes: Timeout Fixes: 50793/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WAVPACK_fuzzer-4980185027444736 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/af_apsyclip: add copy_props() callPaul B Mahol2022-12-011-0/+1
|
* avcodec/cfhdenc: height < 4 is not supportedPaul B Mahol2022-12-011-0/+5
|
* avfilter/af_astats: print stats in case nb_samples is 0Paul B Mahol2022-12-011-2/+2
| | | | Happens with special function only.
* avcodec/smcenc: fixes for width not multiple of 4Paul B Mahol2022-12-011-9/+10
|
* avcodec/x86/v210enc: remove unneeded instructionJames Darnley2022-12-011-1/+0
|
* avcodec/x86/v210enc: expand and correct commentsJames Darnley2022-12-011-4/+4
|
* avcodec/v210enc: add new 10-bit function for avx512 avx512iclJames Darnley2022-12-012-0/+111
| | | | | | | | avx512 on Skylake-X (Xeon D-2123IT): 1.19x faster (970±91.2 vs. 817±104.4 decicycles) compared with avx2 avx512icl on Ice Lake (Xeon Silver 4316): 2.52x faster (1350±5.3 vs. 535±9.5 decicycles) compared with avx2
* avcodec/x86/v210enc: replace register use with named registerJames Darnley2022-12-011-1/+1
|
* checkasm/v210enc: test the entire width of 10-bit planar input arraysJames Darnley2022-12-011-2/+4
|
* avformat/fifo: use av_dict_iterateMarvin Scholz2022-12-011-2/+2
| | | | Signed-off-by: Andreas Rheinhardt <[email protected]>
* avformat/matroskaenc: use av_dict_iterateMarvin Scholz2022-12-011-1/+1
| | | | Signed-off-by: Andreas Rheinhardt <[email protected]>
* avformat/http: use av_dict_iterateMarvin Scholz2022-12-011-3/+3
| | | | Signed-off-by: Andreas Rheinhardt <[email protected]>
* avformat/asfenc: use av_dict_iterateMarvin Scholz2022-12-011-2/+2
| | | | Signed-off-by: Andreas Rheinhardt <[email protected]>
* avformat/apetag: use av_dict_iterateMarvin Scholz2022-12-011-2/+2
| | | | Signed-off-by: Andreas Rheinhardt <[email protected]>
* avformat/nutenc: use av_dict_iterateMarvin Scholz2022-12-011-6/+6
| | | | Signed-off-by: Andreas Rheinhardt <[email protected]>
* avformat/id3v2enc: use av_dict_iterateMarvin Scholz2022-12-011-5/+5
| | | | Signed-off-by: Andreas Rheinhardt <[email protected]>
* avformat/ffmetaenc: use av_dict_iterateMarvin Scholz2022-12-011-2/+2
| | | | Signed-off-by: Andreas Rheinhardt <[email protected]>
* avformat/wtvenc: use av_dict_iterateMarvin Scholz2022-12-011-4/+4
| | | | Signed-off-by: Andreas Rheinhardt <[email protected]>