aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* doc/examples/qsv_transcode: Initialize pointer before freeMichael Niedermayer2024-04-251-1/+1
| | | | | | | | Fixees: CID1517023 Uninitialized pointer read Sponsored-by: Sovereign Tech Fund Reviewed-by: "Xiang, Haihao" <haihao.xiang@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/examples/qsv_transcode: Simplify str_to_dict() loopMichael Niedermayer2024-04-251-2/+1
| | | | | | | | Fixes: CID1517022 Logically dead code Sponsored-by: Sovereign Tech Fund Reviewed-by: "Xiang, Haihao" <haihao.xiang@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/examples/vaapi_transcode: Simplify loopMichael Niedermayer2024-04-251-3/+1
| | | | | | | | Fixes: CID1428858(1/2) Logically dead code Sponsored-by: Sovereign Tech Fund Reviewed-by: "mypopy@gmail.com" <mypopy@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/examples/qsv_transcode: Simplify loopMichael Niedermayer2024-04-251-3/+1
| | | | | | | | Fixes: CID1428858(2/2) Logically dead code Sponsored-by: Sovereign Tech Fund Reviewed-by: "Xiang, Haihao" <haihao.xiang@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/nvenc: add high bit depth encoding for HEVCDiego Felix de Souza2024-04-252-5/+8
| | | | | | | | | | Adding 10-bit encoding support for HEVC if the input is 8-bit. In case of 8-bit input content, NVENC performs an internal CUDA 8 to 10-bit conversion of the input prior to encoding. Currently, only AV1 supports encoding 8-bit content as 10-bit. Signed-off-by: Diego Felix de Souza <ddesouza@nvidia.com> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* fate/iamf: add a demux textJames Almer2024-04-242-0/+414
| | | | | | Using the same input sample as iamf-5_1-copy, in order to compare both test's output Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffmpeg_mux_init: add missing IAMF Param Definition copiesJames Almer2024-04-242-1/+26
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffmpeg_mux_init: remove leftover debug log messagesJames Almer2024-04-241-2/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/iamf: fix mix_gain_class nameJames Almer2024-04-241-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/iamf: add a remux test with stream group copyingJames Almer2024-04-242-1/+417
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavc/vp9: Fix regression introduced in 0ba05857Haihao Xiang2024-04-241-1/+1
| | | | | | | | | It is possible that ff_progress_frame_await() is called but ff_progress_frame_report() isn't called when a hardware acceleration method is used, so a thread for vp9 decoding might get stuck. Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* doc/APIchanges: fix date for the latest entryJames Almer2024-04-241-1/+1
| | | | | | And add the commit hash while at it. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/demux: extract extradata from packets when context update is requestedJames Almer2024-04-241-0/+13
| | | | | | | | | | | If the demuxer doesn't set extradata in the stream's codecpar, a need_context_update request will delete the previously extracted extradata in the stream's internal AVCodecContext. As we can't ensure the old extradata is valid for the stream in its post context update request state, try to get extradata from the new packet instead of attempting to preserve the old in some form. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/codec_par: always clear extradata_size in ↵James Almer2024-04-241-0/+1
| | | | | | | | avcodec_parameters_to_context() Missed in d383ae43c266b160348db04f2fd17ccf30286784. Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffmpeg_mux_init: allow mapping a stream group from one of the inputsJames Almer2024-04-232-5/+177
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/opt: add support for children objects in av_opt_serializeJames Almer2024-04-236-26/+96
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/tests/opt: test av_opt_find2()James Almer2024-04-232-0/+56
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/test/opt: test the AV_OPT_SERIALIZE_SKIP_DEFAULTS flagJames Almer2024-04-232-0/+6
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/cbs_h2645: Check NAL spaceMichael Niedermayer2024-04-241-0/+4
| | | | | | | Found-by-reviewing: CID1419833 Untrusted loop bound Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_thumbnail_cuda: Set ret before checking itMichael Niedermayer2024-04-241-1/+1
| | | | | | | | Fixes: CID1418336 Logically dead code Sponsored-by: Sovereign Tech Fund Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/signature_lookup: Dont copy uninitialized stuff aroundMichael Niedermayer2024-04-241-2/+2
| | | | | | | | Fixes: CID1403238 Uninitialized pointer read Fixes: CID1403239 Uninitialized pointer read Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/signature_lookup: Fix 2 differences to the refernce SWMichael Niedermayer2024-04-241-2/+2
| | | | | | | Fixes: CID1403227 Division or modulo by float zero Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools: add target_enc_fuzzer.cMichael Niedermayer2024-04-243-0/+209
| | | | | | Sponsored-by: Sovereign Tech Fund Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc: use HOSTEXESUF when calling print_optionsTimo Rothenpieler2024-04-241-1/+1
| | | | | This is neccesary on WSL, and has no averse effects in normal environments.
* Remove .travis.ymlMartin Storsjö2024-04-241-30/+0
| | | | | | | Travis is no longer relevant for attempting to run CI jobs in our setup. Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat/movenc: remove one level of indentationJames Almer2024-04-231-31/+26
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/aac/aacdec: remove double colonJames Almer2024-04-231-2/+2
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fftools: Fix implicit-const-int-float-conversion warningZhao Zhili2024-04-232-2/+2
| | | | Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avcodec/mediacodecenc: add AV_CODEC_CAP_ENCODER_FLUSH supportZhao Zhili2024-04-231-2/+13
| | | | Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avcodec/mediacodecenc: Add global header supportZhao Zhili2024-04-232-17/+155
| | | | | | | | | The extradata is generated by encoding a dummy frame, then reset the encoder state by mediacodec flush(). It only works for pixel format other than AV_PIX_FMT_MEDIACODEC, since I'm not sure how to create a dummy frame safely with AV_PIX_FMT_MEDIACODEC. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avcodec/mediacodecenc: Remove write only variableZhao Zhili2024-04-231-7/+3
| | | | Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avcodec/mediacodecenc: Fix return empty packet when bsf is usedZhao Zhili2024-04-231-1/+1
| | | | Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avcodec/mediacodec_wrapper: Fix unused variable warningZhao Zhili2024-04-231-0/+1
|
* avcodec/mediacodec_wrapper: link to NDK mediacodec API directlyZhao Zhili2024-04-232-130/+36
| | | | Drop support of Android version before 5.0.
* configure: Lower Android API level requirement of mediandkZhao Zhili2024-04-231-1/+1
| | | | | | | AImage_delete is introduced in API level 24, while AMediaFormat_new is introduced in API level 21. We only need API level 21 to support NDK mediacodec. This change doesn't break or change of android_camera_indev since camera2ndk still needs API level 24.
* aacdec: initialize float/fixed SBR tables only when either is neededLynne2024-04-233-14/+21
|
* aacsbr: constify the only SBR tableLynne2024-04-232-11/+163
|
* aacdec: remove AAC-specific MIPS optimizationsLynne2024-04-2318-3494/+1
| | | | | | The code was written in 2012, but seems to have been broken for just as long. Compilation is broken on every MIPS/MIPS64 system with an FPU (which the code depends on).
* aac: move aacdec.c to aac/aacdec.cLynne2024-04-235-2508/+2443
|
* aacdec: move aacdec.h into libavcodec/aacLynne2024-04-2310-14/+14
|
* aacdec: merge previously-templated codeLynne2024-04-232-2432/+2388
|
* aacdec: move LATM decode functions into a separate fileLynne2024-04-232-314/+351
|
* aacdec: fully detemplate decoder coreLynne2024-04-237-135/+95
|
* aacdec: move fixed/float DSP initialization to templated init functionsLynne2024-04-236-38/+31
|
* aacdec: reuse TNS and LTP tables between fixed and float decodersLynne2024-04-232-55/+9
| | | | The fixed decoder derives the values from floats anyway.
* aacdec: move prediction to separate filesLynne2024-04-239-230/+306
|
* aacdec: move CCE decoding to a separate templated fileLynne2024-04-234-100/+109
| | | | | Unfortunately, although it's a purely decode function, it does need to be templated.
* aacdec: move fixed-point clipping to a separate functionLynne2024-04-233-14/+20
|
* aacdec: split off channel coupling into a new fileLynne2024-04-239-168/+253
|
* aacdec: deduplicate table initizalizationLynne2024-04-235-19/+4
| | | | All tables now initialized by aac/aacdec_fixed|float