- 15 Dec, 2023 6 commits
-
-
Leo Izen authored
This test verifies the parser's handling of multiframe JXL files that have an entropy-encoded permuted table of contents for each frame. The testcase is actually six JXL codestreams concatenated together, and the parser needs to be able to find the boundaries. Signed-off-by: Leo Izen <leo.izen@gmail.com>
-
Wenbin Chen authored
Set used pointer to NULL in case it leaks the storage. Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
-
Wenbin Chen authored
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
-
Wenbin Chen authored
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
-
Wenbin Chen authored
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
-
Martin Storsjö authored
<OS>_VERSION_MAX_ALLOWED indicates what version is available in the SDK, while <OS>_VERSION_MIN_REQUIRED is the version we can assume is available, i.e. similar to what is set with e.g. -miphoneos-version-min on the command line. This fixes build errors like these: src/libavdevice/avfoundation.m:788:37: error: 'AVCaptureDeviceTypeContinuityCamera' is only available on macOS 14.0 or newer [-Werror,-Wunguarded-availability-new] [deviceTypes addObject: AVCaptureDeviceTypeContinuityCamera]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:551:38: note: 'AVCaptureDeviceTypeContinuityCamera' has been marked as being introduced in macOS 14.0 here, but the deployment target is macOS 13.0.0 AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeContinuityCamera API_AVAILABLE(macos(14.0), ios(17.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos); ^ Alternatively, we could use these more modern APIs, if enclosed in suitable @available() checks.
-
- 14 Dec, 2023 21 commits
-
-
Nuo Mi authored
Fixes: out of array access Fixes: 62603/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5837632490569728 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Pierre-Anthony Lemieux authored
Intended to replace https://patchwork.ffmpeg.org/project/ffmpeg/patch/20230802000135.26482-3-michael@niedermayer.cc/ with a more accurate block decoding magnitude bound. Fixes: 62433/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5828618092937216 Fixes: 58299/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5828618092937216 Previous-version-reviewed-by: Tomas Härdin <git@haerdin.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: Timeout Fixes: 62286/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VMIX_fuzzer-5155237134204928 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Anton Khirnov authored
This should be slightly (probably negligibly) more accurate for scheduling, but mainly it improves the final reported time. Reported-by: Paul B Mahol
-
Anton Khirnov authored
Reported-by: microchip
-
Anton Khirnov authored
Will be useful in following commit.
-
Anton Khirnov authored
It is unused since d119ae2f
-
Anton Khirnov authored
It should not be accessed outside of ffmpeg_mux*
-
Anton Khirnov authored
It is not used outside of ffmpeg_demux.
-
Anton Khirnov authored
-
Anton Khirnov authored
It is not used outside of ffmpeg_demux.
-
Anton Khirnov authored
It is not used outside of ffmpeg_demux.
-
Anton Khirnov authored
Reduces the need to use the output_files global array.
-
Anton Khirnov authored
Reduces the need to use the input_files global array.
-
Anton Khirnov authored
The AVFilterGraph is fully owned by the filtering thread and should never be accessed outside of it.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Will become useful in following commits.
-
Anton Khirnov authored
This way we can propagate arbitrary data from the demuxer all the way into the muxer, using a single struct.
-
- 13 Dec, 2023 6 commits
-
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
In preparation for making it public. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
- Fixes YA formats, because previous code always assumed alpha as the 4th component. - Fixes PAL format (as long as 0 is black, as in a systematic palette), because previous code assumed it as limited Y. - Fixes XYZ format because it does not need nonzero chroma components - Fixes xv30be as the bitstream mode got merged to the non-bitstream mode. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 12 Dec, 2023 7 commits
-
-
Thilo Borgmann authored
Since OSX 10.10 the availability macros expand into a 6 digit number instead of a 4 digit number. Fixes compilation for OSX version [10.0, 12.0[.
-
James Almer authored
Should fix valgrind warnings about Conditional jump or move depends on uninitialised value. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
Fixes checkasm failures on win64. Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
It's more appropiate given what it keeps a count of. Signed-off-by: James Almer <jamrial@gmail.com>
-
Anton Khirnov authored
Change the main loop and every component (demuxers, decoders, filters, encoders, muxers) to use the previously added transcode scheduler. Every instance of every such component was already running in a separate thread, but now they can actually run in parallel. Changes the results of ffmpeg-fix_sub_duration_heartbeat - tested by JEEB to be more correct and deterministic.
-
Anton Khirnov authored
See the comment block at the top of fftools/ffmpeg_sched.h for more details on what this scheduler is for. This commit adds the scheduling code itself, along with minimal integration with the rest of the program: * allocating and freeing the scheduler * passing it throughout the call stack in order to register the individual components (demuxers/decoders/filtergraphs/encoders/muxers) with the scheduler The scheduler is not actually used as of this commit, so it should not result in any change in behavior. That will change in future commits.
-
Anton Khirnov authored
As for the analogous decoding change, this is only a preparatory step to a fully threaded architecture and does not yet make encoding truly parallel. The main thread will currently submit a frame and wait until it has been fully processed by the encoder before moving on. That will change in future commits after filters are moved to threads and a thread-aware scheduler is added. This code suffers from a known issue - if an encoder with a sync queue receives EOF it will terminate after processing everything it currently has, even though the sync queue might still be triggered by other threads. That will be fixed in following commits.
-