summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avutil/log: Don't include avutil.hAndreas Rheinhardt2022-02-24
| | | | | | | | | | | | It has been included since af5f434f8c0fb3b4ee3b206ebc1946ca660a8abe for deprecation reasons, but removing it has been forgotten after it had served is purpose. So remove it. For convenience, include version.h instead as LIBAVUTIL_VERSION_INT is supposed to be used when creating AVClasses. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/avio: Don't include common.hAndreas Rheinhardt2022-02-24
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* doc/muxers: note video_track_timecale in movGyan Doshi2022-02-24
|
* avfilter/f_ebur128: multiply is usually faster than dividePaul B Mahol2022-02-24
| | | | Also guard against overflow when subtracting from unsigned.
* avfilter/f_ebur128: use unsigned for hist_entry.countPaul B Mahol2022-02-24
| | | | Also when summing multiple hist_entry.count use uint64_t for accumulator.
* avfilter/af_loudnorm: increase max allowed LRAPaul B Mahol2022-02-23
|
* avformat/avisynth: remove framedata variableStephen Hutchinson2022-02-23
| | | | | | | | It's just a simple index. Addresses Coverity issue 1500290 Signed-off-by: Stephen Hutchinson <qyot27@gmail.com>
* avformat/avisynth: remove unused variable 'frameprop'Stephen Hutchinson2022-02-23
| | | | | | | Since the check got simplified and stdbool was no longer necessary to include, neither is that variable. Silences a warning. Signed-off-by: Stephen Hutchinson <qyot27@gmail.com>
* avfilter/avf_showfreqs: stop using audio fifoPaul B Mahol2022-02-23
| | | | Also stop rewriting pts.
* avformat/nutdec: Add check for avformat_new_streamJiasheng Jiang2022-02-23
| | | | | | | Check for failure of avformat_new_stream() and propagate the error code. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/magicyuvenc: Remove unused context variableAndreas Rheinhardt2022-02-23
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/magicyuvenc: Don't modify input frameAndreas Rheinhardt2022-02-23
| | | | | | | | It need not be writable at all. Instead, use temporary buffers for decorrelation. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/magicyuvenc: Add const where appropriateAndreas Rheinhardt2022-02-23
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/magicyuvenc: Avoid unnecessary av_frame_clone()Andreas Rheinhardt2022-02-23
| | | | | | | | | It is unnecessary and unchecked; the intention seems to be to ensure that the frame's data is writable, but it does not provide this. This will be fixed in a latter commit. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fftools/ffprobe: Remove redundant checksAndreas Rheinhardt2022-02-23
| | | | | | | A decoder is only opened if there is a decoder for the codec, so every AVCodecContext here has AVCodecContext.codec set. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fftools/ffprobe: Flush decoder after drainingAndreas Rheinhardt2022-02-23
| | | | | | | | | This is a prerequisite to continue using the decoder at all to decode the next interval (if any). This fixes a regression introduced in commit 2a88ebd096f3c748a2d99ed1b60b22879b3c567c and reported in ticket #8657. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/af_surround: use outlink variable already availablePaul B Mahol2022-02-22
|
* avfilter/af_afftfilt: stop resetting ptsPaul B Mahol2022-02-22
| | | | Also stop using audio fifo.
* avfilter/af_surround: do not rewrite pts any morePaul B Mahol2022-02-22
| | | | Also stop using fifo and excessive peeking.
* avfilter/af_afir: remove pts rewriting codePaul B Mahol2022-02-22
| | | | This is not needed at all.
* lavd/avfoundation: Fix mixed declaration and codeThilo Borgmann2022-02-22
|
* avdevice/avfoundation: check strdupZhao Zhili2022-02-22
|
* avdevice/avfoundation: fix memleakZhao Zhili2022-02-22
|
* avfilter/framepool: fix alignment requirements for audio and video filtersPaul B Mahol2022-02-22
|
* libavcodec/qsvenc_hevc: encode RGB format rawvideoWenbin Chen2022-02-22
| | | | | | | | | | | Add support for hevc_qsv to input RGB format frame. It will transform frame to yuv inside MediaSDK instead of using auto scale. Now hevc_qsv supports directly encoding BGRA and X2RGB10 format. The X2RGB10 correspond to the A2RGB20 format and BGRA correspond to RGB4 format in MediaSDK. Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* libavcodec/qsvdec: use the parameter from decodeHeader to configure surfaceWenbin Chen2022-02-22
| | | | | | | | | | | MSDK recognizes both yuv420p10 and yuv420p9 as MFX_FOURCC_P010, but parameters are different. When decode yuv420p9 video, ffmpeg-qsv will use yuv420p10le to configure surface which is different with param from DecoderHeader and this will lead to error. Now change it use param from decoderHeader to configure surface. Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* lavu/vulkan: avoid using strlen as a loop conditionLynne2022-02-22
| | | | Whatever.
* avfilter/vf_gblur_vulkan: add sizeV optionWu Jianhua2022-02-22
| | | | | | | | | | | | | | This commit added a sizeV option, integrated some identical operations to a separate function, and updated the CGS for horizontal and vertical respectively. The following command is on how to apply sizeV option: ffmpeg -init_hw_device vulkan -i input.264 -vf \ hwupload,gblur_vulkan=size=127:sigma=20:sizeV=3:sigmaV=0.5,hwdownload,format=yuv420p \ -y out.264 Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
* avfilter/scale_vulkan: use RET for checking return valueWu Jianhua2022-02-22
| | | | Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
* avfilter/vf_blend_vulkan: add multiply blend modeWu Jianhua2022-02-22
| | | | | | | | | | | | | | | | | | | Use the commands below to test: (href: https://trac.ffmpeg.org/wiki/Blend) I. make an image for test ffmpeg -f lavfi -i color=s=256x256,geq=r='H-1-Y':g='H-1-Y':b='H-1-Y' -frames 1 \ -y -pix_fmt yuv420p test.jpg II. blend in sw ffmpeg -i test.jpg -vf "split[a][b];[b]transpose[b];[a][b]blend=all_mode=multiply,\ pseudocolor=preset=turbo" -y multiply_sw.jpg III. blend in vulkan ffmpeg -init_hw_device vulkan -i test.jpg -vf "split[a][b];[b]transpose[b];\ [a]hwupload[a];[b]hwupload[b];[a][b]blend_vulkan=all_mode=multiply,hwdownload,\ format=yuv420p,pseudocolor=preset=turbo" -y multiply_vulkan.jpg Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
* avfilter/vf_dblur: add float formats supportPaul B Mahol2022-02-21
|
* avfilter/vf_lagfun: add float formats supportPaul B Mahol2022-02-21
|
* avcodec/mips: Fix checkheadersAndreas Rheinhardt2022-02-21
| | | | | | | | | | mips has several headers that are only meant for inclusion in another non-arch specific file; they do not even try to be standalone. So don't test them in checkheaders. Also fix vp9dsp_mips.h, an ordinary header missing some includes. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/aarch64/idct: Add missing stddefAndreas Rheinhardt2022-02-21
| | | | | | Fixes checkheaders on aarch64. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/cabac_functions: Add missing headersAndreas Rheinhardt2022-02-21
| | | | | | | Fixes make checkheaders on PPC, for which no arch-specific header exists that indirectly includes attributes.h. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avdevice/decklink_(common_c|dec|enc).h: Fix checkheadersAndreas Rheinhardt2022-02-21
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/x86/emms: Don't unnecessarily include lavu/cpu.hAndreas Rheinhardt2022-02-21
| | | | | | | | | | | | | | | | | Only include it if it is needed, namely if __MMX__ is undefined. X86 is currently the only arch where lavu/cpu.h is basically automatically included (for internal development): #if ARCH_X86 is true, lavu/internal.h (which is basically included everywhere) includes lavu/x86/emms.h which can mask missing inclusions of lavu/cpu.h if the developer works on x86/x64. This has happened in 8e825ec3ab09d877f12dcf05d76902a8bb9c8b11 and also earlier (see 6d2365882f281f9452b31b91edb2e6a2d4f5ff08). By including said header only if necessary ordinary developer machines will behave like non-x86 arches, so that missing inclusions of cpu.h won't go unnoticed any more. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/vf_limiter: refactor slice functionsPaul B Mahol2022-02-21
|
* avfilter/vf_maskedminmax: add float pixel formatsPaul B Mahol2022-02-21
|
* avfilter/vf_maskedminmax: refactor slice functionPaul B Mahol2022-02-21
|
* avfilter/vf_maskedmerge: add float pixel formatsPaul B Mahol2022-02-21
|
* avfilter/vf_maskedmerge: refactor slice functionPaul B Mahol2022-02-21
|
* avfilter/vf_monochrome: use lrintf for roundingPaul B Mahol2022-02-20
|
* avcodec/wavpack: do not process only first non-zero field of int32info chunkPaul B Mahol2022-02-20
| | | | Fixes bitexact decoding with high bit depth samples.
* avfilter/f_ebur128: add support for any number of channelsPaul B Mahol2022-02-20
|
* lavfi/vf_fps: check flow before sending more framesNicolas George2022-02-20
| | | | | | Analyzed by Paul B Mahol <onemda@gmail.com>. Fixes OOM in #9081.
* lavfi: add ff_inoutlink_check_flow()Nicolas George2022-02-20
|
* avformat/imf: document IMFVirtualTrackResourcePlaybackCtxPierre-Anthony Lemieux2022-02-20
|
* avformat/imf: fix packet pts, dts and muxingPierre-Anthony Lemieux2022-02-20
| | | | | | | | | | The IMF demuxer does not set the DTS and PTS of packets accurately in all scenarios. Moreover, audio packets are not trimmed when they exceed the duration of the underlying resource. imf-cpl-with-repeat FATE ref file is regenerated. Addresses https://trac.ffmpeg.org/ticket/9611
* avformat/imf: open resources only when first neededPierre-Anthony Lemieux2022-02-20
| | | | | | | | IMF CPLs can reference thousands of files, which can result in system limits for the number of open files to be exceeded. The following patch opens and closes files as needed. Addresses https://trac.ffmpeg.org/ticket/9623