summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* tools/target_bsf_fuzzer: simplify the loop feeding packets to the filterJames Almer2022-02-281-25/+16
| | | | | | | And use a single AVPacket for the entire process. This more closely follows the suggested API usage in the doxy. Signed-off-by: James Almer <[email protected]>
* avformat/av1: reduce the scope of some variablesJames Almer2022-02-281-6/+7
| | | | Signed-off-by: James Almer <[email protected]>
* avformat/av1: support av1C extradata in ff_av1_parse_seq_header()James Almer2022-02-281-1/+34
| | | | | | Fixes dash manifest creation for av1 streams with av1C formatted extradata. Signed-off-by: James Almer <[email protected]>
* avformat: always compile isom_tagsJames Almer2022-02-281-5/+6
| | | | | | | It's needed for avformat_get_mov_video_tags() and avformat_get_mov_audio_tags(), both public symbols defined in avformat.h Signed-off-by: James Almer <[email protected]>
* qsvenc: avoid dereferencing the null pointerTong Wu2022-02-281-1/+1
| | | | | | | The variable AVFrame *frame could be a null pointer, now add a null pointer check to avoid dereferencing the null pointer. Signed-off-by: Tong Wu <[email protected]>
* qsv: add return value check for MFXQueryIMPLTong Wu2022-02-281-1/+4
| | | | | | | add a return value check for function MFXQueryIMPL to handle the error message. Signed-off-by: Tong Wu <[email protected]>
* libavcodec/qsvenc: add mbbrc to hevc_qsvWenbin Chen2022-02-282-2/+8
| | | | | | | | Add mbbrc to hevc_qsv For detailed description, please see "mbbrc" part in: https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#mfxextcodingoption2 Signed-off-by: Wenbin Chen <[email protected]>
* libavcodec/qsvenc: add more ChromaFormat support to mjpeg_qsvWenbin Chen2022-02-281-1/+2
| | | | | | | | ChromaForamt for mjpeg-qsv is always set to yuv420, and this will be wrong when encode other pixel format (for example yuyv422). ChromaFormat is changed to be adaptive to pix_fmt. Signed-off-by: Wenbin Chen <[email protected]>
* libavcodec/vaapi_encode: Add async_depth to vaapi_encoder to increase ↵Wenbin Chen2022-02-283-15/+71
| | | | | | | | | | | | | | | | performance Fix: #7706. After commit 5fdcf85bbffe7451c2, vaapi encoder's performance decrease. The reason is that vaRenderPicture() and vaSyncBuffer() are called at the same time (vaRenderPicture() always followed by a vaSyncBuffer()). Now I changed them to be called in a asynchronous way, which will make better use of hardware. Async_depth is added to increase encoder's performance. The frames that are sent to hardware are stored in a fifo. Encoder will sync output after async fifo is full. Signed-off-by: Wenbin Chen <[email protected]> Signed-off-by: Haihao Xiang <[email protected]>
* libavcodec/vaapi_encode: Add new API adaption to vaapi_encodeWenbin Chen2022-02-282-5/+30
| | | | | | | | | | Add vaSyncBuffer to VAAPI encoder. Old version API vaSyncSurface wait surface to complete. When surface is used for multiple operation, it waits all operations to finish. vaSyncBuffer only wait one channel to finish. Signed-off-by: Wenbin Chen <[email protected]> Signed-off-by: Haihao Xiang <[email protected]>
* avfilter/vf_amplify: improve performancePaul B Mahol2022-02-271-13/+9
|
* avfilter/af_dynaudnorm: allocate new frame instead of making it writablePaul B Mahol2022-02-271-8/+27
| | | | Later case does not use frame pool at all.
* avfilter/af_dynaudnorm: allow to filter subset of channelsPaul B Mahol2022-02-272-4/+24
|
* avfilter/af_dynaudnorm: make frame writable if it may be changedPaul B Mahol2022-02-271-8/+19
|
* avfilter/af_acrusher: add timeline supportPaul B Mahol2022-02-271-1/+2
|
* avfilter/af_vibrato: add timeline supportPaul B Mahol2022-02-271-1/+1
|
* avfilter/af_tremolo: add timeline supportPaul B Mahol2022-02-271-0/+1
|
* avfilter/af_afftdn: add more verbose options aliasesPaul B Mahol2022-02-272-16/+31
|
* avfilter/af_afftdn: remove ThreadData struct codePaul B Mahol2022-02-271-9/+2
|
* avfilter/af_afftdn: add support for writable input framesPaul B Mahol2022-02-271-17/+17
|
* configure: stop allowing disabling lzoJames Almer2022-02-263-10/+3
| | | | | | The module is now always compiled in. Signed-off-by: James Almer <[email protected]>
* avutil: make lzo always compileJames Almer2022-02-261-3/+2
| | | | | | | | Having optionally installed headers is a bad idea as there's no way to know if they are present or not (unless a define is added to avconfig.h, but that's just ugly). Signed-off-by: James Almer <[email protected]>
* avfilter/af_aspectralstats: stop using fifo and rewritting ptsPaul B Mahol2022-02-261-86/+46
|
* avfilter/af_afftdn: stop using fifo and rewritting ptsPaul B Mahol2022-02-261-49/+29
|
* avcodec/libopenjpegenc: Don't clone AVFrame unnecessarilyAndreas Rheinhardt2022-02-251-41/+42
| | | | | Reviewed-by: Michael Bradshaw <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
* avcodec/h263dec: Avoid copying data when flipping imageAndreas Rheinhardt2022-02-251-10/+4
| | | | | | | Also remove an unchecked av_frame_make_writable(). Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
* avformat/argo_cvg:: Fix order of operations in error check in ↵Michael Niedermayer2022-02-251-1/+1
| | | | | | argo_cvg_write_trailer() Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/argo_asf: Fix order of operations in error check in ↵Michael Niedermayer2022-02-251-1/+1
| | | | | | argo_asf_write_trailer() Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/movtextdec: add () to CMP() macro to avoid unexpected behaviorMichael Niedermayer2022-02-251-1/+1
| | | | | Reviewed-by: Andreas Rheinhardt <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/matroskadec: Check durationMichael Niedermayer2022-02-251-0/+2
| | | | | | | | | Fixes: -nan is outside the range of representable values of type 'long' Fixes: 44614/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6216204841254912 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Andreas Rheinhardt <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* tools/target_dem_fuzzer: Check fmt before dereferencingMichael Niedermayer2022-02-251-1/+1
| | | | | | | | Fixes: NULL pointer dereference Fixes: 44884/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-4656748688965632 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/f_ebur128: set video outlink timebase and frameratePaul B Mahol2022-02-251-0/+3
|
* avfilter/f_ebur128: also set max peak for all channels in frame metadataPaul B Mahol2022-02-251-0/+5
|
* avfilter/af_dynaudnorm: cleanup gaussian_filter() functionPaul B Mahol2022-02-251-2/+6
|
* swscale: Take the destination range into account for yuv->rgb->yuv conversionsMartin Storsjö2022-02-254-3/+36
| | | | | | | | | | | | The range parameters need to be set up before calling sws_init_context (which selects which fastpaths can be used; this gets called by sws_getContext); solely passing them via sws_setColorspaceDetails isn't enough. This fixes producing full range YUV range output when doing YUV->YUV conversions between different YUV color spaces. Signed-off-by: Martin Storsjö <[email protected]>
* Remove mentions of a nonexistent avversion.hMartin Storsjö2022-02-252-2/+1
| | | | Signed-off-by: Martin Storsjö <[email protected]>
* avcodec/libsvtav1: update some options and defaultsJames Almer2022-02-243-39/+41
| | | | | | And bump the minimum required version to 0.9.0 Signed-off-by: James Almer <[email protected]>
* avfilter/af_crystalizer: refactor codePaul B Mahol2022-02-241-189/+83
|
* avfilter/vf_tmidequalizer: check that frame is validPaul B Mahol2022-02-241-0/+2
|
* libavcodec, libavdevice: Remove unnecessary includes of version.hMartin Storsjö2022-02-244-5/+0
| | | | | | | | | | | | | | | xvmc.h used FF_API_* macros before, but they were removed in 1c63aed232febf4404659bf006237ee4f7f17c9c, leaving the include unused. The ones in android_camera.c and mediacodec_wrapper.c have been added due to a misunderstanding, fixed in c0bce367e4932f0fb09195e6978ac1a5a60480a4 and 13b77af2f0b56d6c87bb147947337981c21f4245. The one in mediacodec.c seems to never have been used at all. Signed-off-by: Martin Storsjö <[email protected]>
* avfilter/vf_tpad: handle case when no frame was ever receivedPaul B Mahol2022-02-241-13/+16
|
* avfilter/vf_tpad: if there is no frame to clone return earlyPaul B Mahol2022-02-241-0/+5
|
* avcodec/libsvtav1: fix compilation with old SVT-AV1 buildsJames Almer2022-02-241-0/+4
| | | | Signed-off-by: James Almer <[email protected]>
* avcodec/libsvtav1: add a svtav1-params option to pass a list of key=value ↵James Almer2022-02-242-14/+42
| | | | | | parameters Signed-off-by: James Almer <[email protected]>
* Remove unnecessary libavutil/(avutil|common|internal).h inclusionsAndreas Rheinhardt2022-02-24126-178/+260
| | | | | | | | | | Some of these were made possible by moving several common macros to libavutil/macros.h. While just at it, also improve the other headers a bit. Reviewed-by: Martin Storsjö <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
* avutil/avassert: Don't include avutil.hAndreas Rheinhardt2022-02-2415-2/+19
| | | | | Reviewed-by: Martin Storsjö <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
* Remove obsolete version.h inclusionsAndreas Rheinhardt2022-02-248-9/+1
| | | | | | | Forgotten in e7bd47e657bbf9e1ce9915e93bc80cb1a29fb7f3. Reviewed-by: Martin Storsjö <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
* avutil/display: Don't include avutil.hAndreas Rheinhardt2022-02-243-1/+2
| | | | | Reviewed-by: Martin Storsjö <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
* avutil/integer: Don't include common.hAndreas Rheinhardt2022-02-242-2/+4
| | | | | Reviewed-by: Martin Storsjö <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
* avutil/pixelutils: Don't include common.hAndreas Rheinhardt2022-02-241-1/+0
| | | | | Reviewed-by: Martin Storsjö <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>