- 23 Oct, 2018 3 commits
-
-
Luc Trudeau authored
Calling get_uniform(max=1) results in a read_bits(n=0), In get_uniform, the n param is renamed to max to clarify the semantics. Asserts are added to detect calls to get_uniform() and get_bits() that don't actually read anything. Closes #76
-
This is identical to what libaom does. Fixes #65.
-
Ronald S. Bultje authored
Fixes #69.
-
- 22 Oct, 2018 5 commits
-
-
Ronald S. Bultje authored
Also prevent using warped motion when force_integer_mv=1. Fixes #84.
-
-
Ronald S. Bultje authored
Fixes #83.
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
Fixes #82.
-
- 21 Oct, 2018 5 commits
-
-
James Almer authored
-
Martin Storsjö authored
armasm64 fails to assemble this: error A2173: syntax error in expression sub x7, x7, w4, uxth This clearly is a bug in armasm64, and will be reported. For now, this workaround should be harmless though, as we've just loaded the register with ldrh, so the upper parts of the register should be zeroed.
-
Ronald S. Bultje authored
Fixes #60.
-
Ronald S. Bultje authored
These can be used in intrabc coding. Fixes #74.
-
Ronald S. Bultje authored
Fixes #80.
-
- 20 Oct, 2018 8 commits
-
-
Janne Grunau authored
checkasm --bench on a Qualcomm Kryo (Sanpdragon 820): nop: 33.0 avg_w4_8bpc_c: 450.5 avg_w4_8bpc_neon: 20.1 avg_w8_8bpc_c: 438.6 avg_w8_8bpc_neon: 45.2 avg_w16_8bpc_c: 1003.7 avg_w16_8bpc_neon: 112.8 avg_w32_8bpc_c: 3249.6 avg_w32_8bpc_neon: 429.9 avg_w64_8bpc_c: 7213.3 avg_w64_8bpc_neon: 1299.4 avg_w128_8bpc_c: 16791.3 avg_w128_8bpc_neon: 2978.4 w_avg_w4_8bpc_c: 605.7 w_avg_w4_8bpc_neon: 30.9 w_avg_w8_8bpc_c: 545.8 w_avg_w8_8bpc_neon: 72.9 w_avg_w16_8bpc_c: 1430.1 w_avg_w16_8bpc_neon: 193.5 w_avg_w32_8bpc_c: 4876.3 w_avg_w32_8bpc_neon: 715.3 w_avg_w64_8bpc_c: 11338.0 w_avg_w64_8bpc_neon: 2147.0 w_avg_w128_8bpc_c: 26822.0 w_avg_w128_8bpc_neon: 4596.3 mask_w4_8bpc_c: 604.6 mask_w4_8bpc_neon: 37.2 mask_w8_8bpc_c: 654.8 mask_w8_8bpc_neon: 96.0 mask_w16_8bpc_c: 1663.0 mask_w16_8bpc_neon: 272.4 mask_w32_8bpc_c: 5707.6 mask_w32_8bpc_neon: 1028.9 mask_w64_8bpc_c: 12735.3 mask_w64_8bpc_neon: 2533.2 mask_w128_8bpc_c: 31027.6 mask_w128_8bpc_neon: 6247.2
-
Janne Grunau authored
-
James Almer authored
-
Henrik Gramner authored
-
Henrik Gramner authored
Ordering the elements this way is more SIMD-friendly.
-
Henrik Gramner authored
-
The simplified versions catches tg_start != 0 for the first tile group too. Fixes a heap-buffer-overflow in setup_tile when the first tile index is larger than 0 but the number of tiles is correct. Fixes #61, #73.
-
James Almer authored
Fixes stack buffer overflows.
-
- 19 Oct, 2018 11 commits
-
-
Ronald S. Bultje authored
-
Marvin Scholz authored
Sets the meson b_ndebug option to default to if-release, so that asserts are disabled in release builds.
-
Ronald S. Bultje authored
-
-
David Michael Barr authored
Helped-by:
Henrik Gramner <gramner@twoorioles.com>
-
David Michael Barr authored
-
David Michael Barr authored
This will help when writing x86_64 assembly.
-
This fixes warnings like these, if not all bitdepths are enabled: ../src/decode.c: In function ‘dav1d_submit_frame’: ../src/decode.c:2825:5: warning: "CONFIG_10BPC" is not defined [-Wundef] #if CONFIG_10BPC
-
Martin Storsjö authored
Despite what MSDN says, this intrinsic doesn't exist for ARM, only for ARM64.
-
-
Martin Storsjö authored
-
- 18 Oct, 2018 8 commits
-
-
James Almer authored
All the functions are public, and the only prototype in this header is a duplicate.
-
Fix following ubsan error in #68: ../src/env.h:296:24: runtime error: shift exponent -1 is negative [Detaching after fork from child process 22253] #0 0x7ffff76ad6f9 in get_poc_diff /home/janne/src/dav1d/build-usan/../src/env.h:296:24 #1 0x7ffff76ad6f9 in parse_frame_hdr /home/janne/src/dav1d/build-usan/../src/obu.c:757 #2 0x7ffff7696491 in dav1d_parse_obus /home/janne/src/dav1d/build-usan/../src/obu.c:1023:20 #3 0x7ffff7921c7d in dav1d_decode /home/janne/src/dav1d/build-usan/../src/lib.c:193:20 #4 0x424869 in main /home/janne/src/dav1d/build-usan/../tools/dav1d.c:108:20 #5 0x7ffff63dfae6 in __libc_start_main (/lib64/libc.so.6+0x21ae6) #6 0x403489 in _start (/home/janne/src/dav1d/build-usan/tools/dav1d+0x403489) I can't reproduce the ubsan error in the issue.
-
Reject out of range values as errors and avoid undefined shifts. Fixes #67.
-
Fixes #66. Also fixes a leak of the demuxer context.
-
Fixes #66.
-
Fixes #62.
-
Reverts commit f17c5e08 "check IntraBC displacement vector". Fixes #63 and an overlapping memcpy in clusterfuzz-testcase-minimized-dav1d_fuzzer-5675967192760320. Credits to oss-fuzz and Tyson Smith.
-
-