- Aug 09, 2019
-
-
Ezequiel Garcia authored
... this needs a lot of cleanup, and code de-duplication, by potential reusing some of v4l2_m2m infra. In any case, it's a step forward. Signed-off-by:
Ezequiel Garcia <ezequiel@collabora.com>
-
Ezequiel Garcia authored
This supports H264 decoding v4 uAPI patchset: https://patchwork.linuxtv.org/project/linux-media/list/?series=526 Signed-off-by:
Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by:
Ezequiel Garcia <ezequiel@collabora.com>
-
Need to fix the STREAMOFF/STREAMON issue in a proper way. This is update VP8 decoding v3 uAPI patchset: https://patchwork.linuxtv.org/patch/57455/ Signed-off-by:
Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by:
Ezequiel Garcia <ezequiel@collabora.com>
-
Ezequiel Garcia authored
... and disable HEVC. Signed-off-by:
Ezequiel Garcia <ezequiel@collabora.com>
-
Ezequiel Garcia authored
Signed-off-by:
Ezequiel Garcia <ezequiel@collabora.com>
-
Ezequiel Garcia authored
Signed-off-by:
Ezequiel Garcia <ezequiel@collabora.com>
-
- Dec 28, 2018
-
-
Jonas Karlman authored
-
- Dec 15, 2018
-
-
Jernej Skrabec authored
Signed-off-by:
Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
Jernej Skrabec authored
Signed-off-by:
Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
Jonas Karlman authored
Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
Jonas Karlman authored
Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
- Dec 03, 2018
-
-
Jonas Karlman authored
Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
- Nov 03, 2018
- Nov 02, 2018
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Found-by: fate Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 3cc3cb66) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: Timeout Fixes: 10625/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSRLE_fuzzer-5659651283091456 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 203ccb87) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Nov 01, 2018
-
-
Marton Balint authored
Without this FTP just hangs on eof... Signed-off-by:
Marton Balint <cus@passwd.hu> (cherry picked from commit 6a034adf)
-
Marton Balint authored
Libx264 uses strtok which is not thread safe. Strtok is used in x264_param_default_preset in param_apply_tune in x264/common/base.c. Therefore the flag must be removed. x264 fixed the issue, once the fix is pushed to stable, an #if can be added to re-enable the flag based on X264_BUILD number. Fixes ticket #7446. Signed-off-by:
Marton Balint <cus@passwd.hu> (cherry picked from commit b02490a4)
-
- Oct 22, 2018
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: assertion failure Fixes: 10785/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5672160496975872 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 305e5231) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: Integer overflow Fixes: 10890/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5636062181851136 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit b737317a) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: 10300/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-6292205497483264 Fixes: signed integer overflow: -2147483648 - 1 cannot be represented in type 'int' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit f72b9904) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: signed integer overflow: -2144033225 + -5208934 cannot be represented in type 'int' Fixes: 10633/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RA_144_fuzzer-5679133791617024 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit c6282141) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: integer overflow compute_pkt_fields() Fixes: compute_pkt_usan Reported-by:
Thomas Guilbert <tguilbert@chromium.org> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 079d1a71) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: signed integer overflow: 7738135736989908991 - -7954308516317364223 cannot be represented in type 'long' Fixes: find_stream_info_usan Reported-by:
Thomas Guilbert <tguilbert@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 4e19cfcf) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Oct 18, 2018
-
-
Aman Gupta authored
This reverts commit aec3daa8. This is an incomplete fix, and did not quality for a backport.
-
- Oct 16, 2018
-
-
Aman Gupta authored
Fixes crash noticed in the cbs_userdata patchset. ====ERROR: AddressSanitizer: heap-buffer-overflow on address 0x609000026c89 at pc 0x00010725d37b bp 0x7ffeea04e750 sp 0x7ffeea04e748 READ of size 4 at 0x609000026c89 thread T0 #0 0x10725d37a in ff_cbs_read_unsigned get_bits.h:274 #1 0x1072d2767 in ff_cbs_read_a53_user_data cbs_misc_syntax_template.c:119 #2 0x1078251a7 in h264_metadata_filter h264_metadata_bsf.c:595 #3 0x105c1321d in output_packet ffmpeg.c:853 0x609000026c89 is located 1 bytes to the right of 8-byte region [0x609000026c80,0x609000026c88) allocated by thread T0 here: #0 0x10aef08d7 in wrap_posix_memalign (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x578d7) #1 0x10aca95e6 in av_malloc mem.c:87 #2 0x10ac545fe in av_buffer_allocz buffer.c:72 #3 0x107263b27 in cbs_h264_read_nal_unit cbs_h264_syntax_template.c:722 #4 0x10725b688 in cbs_read_fragment_content cbs.c:155 Signed-off-by:
Aman Gupta <aman@tmm1.net> (cherry picked from commit 41ed2c38)
-
Aman Gupta authored
Signed-off-by:
Aman Gupta <aman@tmm1.net> (cherry picked from commit b6c3a027)
-
Aman Gupta authored
[ffmpeg] AVBSFContext: Decomposition unimplemented for unit 4 (type 10). Signed-off-by:
Aman Gupta <aman@tmm1.net> (cherry picked from commit 64c50c0e)
-
- Oct 14, 2018
-
-
Timo Rothenpieler authored
Signed-off-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
- Oct 12, 2018
-
-
James Almer authored
The GetBitContext is effectively empty in them. Signed-off-by:
James Almer <jamrial@gmail.com> (cherry picked from commit 9a09f4c5)
-
- Oct 09, 2018
-
-
Avi Halachmi (:avih) authored
- Allow to add deps in any order rather than "in linking order". - Expand deps chains as required rather than just once. - Validate that there are no cycles. - Validate that [after expansion] deps are limited to other fflibs. - Remove expectation for a specific output order of unique(). Previously when adding items to <fflib>_deps, developers were required to add them in linking order. This can be awkward and bug-prone, especially when a list is not empty, e.g. when adding conditional deps. It also implicitly expected unique() to keep the last instance of recurring items such that these lists maintain their linking order after removing duplicate items. This patch mainly allows to add deps in any order by keeping just one master list in linking order, and then reordering all the <fflib>_deps lists to align with the master list order. This master list is LIBRARY_LIST itself, where otherwise its order doesn't matter. The patch also removes a limit where these deps lists were expanded only once. This could have resulted in incomplete expanded lists, or forcing devs to add already-deducable deps to avoid this issue. Note: it is possible to deduce the master list order automatically from the deps lists, but in this case it's probably not worth the added complexity, even if minor. Maintaining one list should be OK. Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Oct 08, 2018
-
-
Avi Halachmi (:avih) authored
x4 - x25 faster. check_deps() recursively enables/disables components, and its loop is iterated nearly 6000 times. It's particularly slow in bash - currently consuming more than 50% of configure runtime, and about 20% with other shells. This commit applies few local optimizations, most effective first: - Use $1 $2 ... instead of pushvar/popvar, and same at enable_deep* - Abort early in one notable case - empty deps, to avoid costly no-op. - Smaller changes which do add up: - Handle ${cfg}_checking locally instead of via enable[d]/disable - ${cfg}_checking: test done before inprogress - x2 faster in 50%+ - one eval instead of several at the empty-deps early abort path. - The "actual work" part is unmodified - just its surroundings. Biggest speedups (relative and absolute) are observed with bash. Tested-by:
Michael Niedermayer <michael@niedermayer.cc> Tested-by:
Helmut K. C. Tessarek <tessarek@evermeet.cx> Tested-by:
Dave Yeo <daveryeo@telus.net> Tested-by:
Reino Wijnsma <rwijnsma@xs4all.nl> Signed-off-by:
James Almer <jamrial@gmail.com> (cherry picked from commit 45499e55)
-
Avi Halachmi (:avih) authored
x4 - x10 faster. Inside print_enabled components, the filter_list case invokes sed about 350 times to parse the same source file and extract different info for each arg. This is never instant, and on systems where fork is slow (notably MSYS2/Cygwin on windows) it takes many seconds. Change it to use sed once on the source file and set env vars with the parse results, then use these results inside the loop. Additionally, the cases of indev_list and outdev_list are very infrequent, but nevertheless they're faster, and arguably cleaner, with shell parameter substitutions than with command substitutions. Tested-by:
Michael Niedermayer <michael@niedermayer.cc> Tested-by:
Helmut K. C. Tessarek <tessarek@evermeet.cx> Tested-by:
Dave Yeo <daveryeo@telus.net> Tested-by:
Reino Wijnsma <rwijnsma@xs4all.nl> Signed-off-by:
James Almer <jamrial@gmail.com> (cherry picked from commit 923586a5)
-
Avi Halachmi (:avih) authored
x50 - x200 faster. Currently configure spends 50-70% of its runtime inside a single function: flatten_extralibs[_wrapper] - which does string processing. During its run, nearly 20K command substitutions (subshells) are used, including its callees unique() and resolve(), which is the reason for its lengthy run. This commit avoids all subshells during its execution, speeding it up by about two orders of magnitude, and reducing the overall configure runtime by 50-70% . resolve() is rewritten to avoid subshells, and in unique() and flatten_extralibs() we "inline" the filter[_out] functionality. Note that logically, "unique" functionality has more than one possible output (depending on which of the recurring items is kept). As it turns out, other parts expect the last recurring item to be kept (which was the original behavior of uniqie()). This patch preservs its output order. Tested-by:
Michael Niedermayer <michael@niedermayer.cc> Tested-by:
Helmut K. C. Tessarek <tessarek@evermeet.cx> Tested-by:
Dave Yeo <daveryeo@telus.net> Tested-by:
Reino Wijnsma <rwijnsma@xs4all.nl> Signed-off-by:
James Almer <jamrial@gmail.com> (cherry picked from commit 58b81ac6)
-
- Oct 07, 2018
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 0a41a8bf) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Found-by: kierank Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit ad89e203) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-