Yaowu Xu
8706182376
Convert to int before adding negative numbers
...
This is avoid that -1 overflows uint32_t.
cherry-picked #c48106da from aom/master
Change-Id: Ic3d99b1985cdb0a28cc83f8291422f5aba5a5a6d
2016-09-09 12:43:02 -07:00
Yaowu Xu
aa8729c55f
Convert "var" to uint64_t
...
This is to avoid overflow at uint32_t.
cherry-picked #000098a0 from aom/master
Change-Id: I549d2d13d0577fd05d57303a438fbc8034755e45
2016-09-09 12:42:12 -07:00
Jim Bankoski
a65e7beea8
twopass_encoder: sample and test script fixed.
...
Added a limit function and removed a todo and fixed script so that
it can actually be run on av1.
cherry-picked #1801d35d from aom/master
Change-Id: Ib8d1d1b5c7dbe0169e4e6c7d89d28801d7699c37
2016-09-09 12:38:37 -07:00
Jim Bankoski
a7a3909f55
set_maps: add back script and fix.
...
cherry-picked #a5c5f856 from aom/master
Change-Id: Ie50a81063b5e14f4b5f3b5adcb822dba6b3ee93d
2016-09-09 12:33:09 -07:00
Yaowu Xu
6feda0602a
Clarify valid value ranges
...
This commit adds asserts to clarify value ranges in sum computations,
also corrects type conversion used in related calculations.
cherry-picked #738d5b19 from aom/master
Change-Id: Ib6d574ec23e5c28ccd994dac26f973eb3920430d
2016-09-09 11:58:53 -07:00
Yaowu Xu
57d92577d4
change to use correct type
...
This commit changes to use uint32_t for cost (always non-negative),
and promote to int64_t before calculation of the savings.
This fixes an integer overflow.
cherry-picked #a3028ddf from aom/master
Change-Id: I71c2580d188cc79d2d8069241d0353cf331b5c83
2016-09-09 11:52:34 -07:00
Jim Bankoski
19a06bccdf
resize_util.sh : resize util was removed.
...
The app this script called was removed in this patch.
50cbe24
remove more vp8 and vp9 only code
cherry-picked #1c17dd6f from aom/master
Change-Id: Ib622eff6a3a35c5dab26908b094ace969f128c11
2016-09-09 11:51:13 -07:00
Thomas Daede
ac0a380ea2
Make deadline mode not depend on frame duration.
...
Backwards compatible with old API.
cherry-picked #02ae3dd3 from aom/master.
Change-Id: I65aa43f84bb9491e8cca73fe444094c2622b0187
2016-09-09 11:50:33 -07:00
Thomas Daede
f56859f198
Fix decoding Daala deringing and CLPF filters with tiling.
...
cherry-picked #14ed7a61 from aom/master
Change-Id: I077b0e97186bdd292f925e08966a2ca3cf8c250d
2016-09-09 11:47:56 -07:00
Yaowu Xu
af048635bb
Change to use correct type
...
This commit changes to use int instead of unsigned for a variable used in
inverse quantization.
Change-Id: I8f0ff5f80c9e68d52425265ef177357c65ead1e2
2016-09-09 18:47:15 +00:00
Jim Bankoski
23938a73c0
aomenc: Remove tests unsupported in av1.
...
Change-Id: I9379eedd577c8bfb7b82f1c996e4ee4c62ce686b
2016-09-09 18:46:57 +00:00
Yaowu Xu
3a45d57574
vp8_multi_resolution_encoder.sh: remove file
...
Change-Id: I3be6480b98cdde4c24b6cdfbebf362072153bcca
2016-09-09 18:46:40 +00:00
Yaowu Xu
1ff9579773
restore vp9 and vpx in libwebm
...
renaming should not have been applied to third_party.
Change-Id: I95be7ec4b7558298cd49ec4c5d1ed15a17ad222b
2016-09-09 18:46:13 +00:00
Yaowu Xu
70287defe1
Merge "simplify test code" into nextgenv2
2016-09-09 18:45:54 +00:00
Debargha Mukherjee
d610d209c9
Merge "Fix some var_tx related rd_costing mismatches" into nextgenv2
2016-09-09 17:46:38 +00:00
Sarah Parker
e51ee021dc
Merge "Swap order of affine parameters" into nextgenv2
2016-09-09 17:08:11 +00:00
Yaowu Xu
81fb4cf1ee
simplify test code
...
Change-Id: Ib5491fb8f5dd7edf27c74abdd21b1f0a42aafd1f
2016-09-09 16:40:58 +00:00
Debargha Mukherjee
797cc30f23
Merge "Rd fixes and cleanups" into nextgenv2
2016-09-09 01:52:59 +00:00
James Zern
ea3621ab95
Merge "aom_mem,align_addr: use ~ to create mask" into nextgenv2
2016-09-09 01:41:31 +00:00
Yaowu Xu
fe24b956e9
aom_cx_set_ref: add example showing setting reference frame
...
Manually cherry-picked from AOM:
16944e59
aom_cx_set_ref: Example showing setting a reference frame
8f4c0ec8
examples.mk - Invalid comment fixed
Change-Id: Ifa87611561b089aebef2c132099baf265c845b10
2016-09-08 17:36:44 -07:00
Yaowu Xu
628d3c5839
variance_impl_avx2.c: align a table for better readability
...
Change-Id: I8cd99f9807dbfe6f70147615d2fd6775a7d98c16
2016-09-08 17:36:44 -07:00
James Zern
7b9407a81b
s/INTERP_FILTER/InterpFilter/
...
this matches style guidelines and stabilizes successive runs of
clang-format across the tree. remaining types should be address in
successive commits.
Change-Id: I6ad3f69cf0a22cb9a9b895b272195f891f71170f
2016-09-09 00:32:31 +00:00
Debargha Mukherjee
096ae4cb68
Rd fixes and cleanups
...
A minor cleanup and an enhancement to return y_skip correctly
from sub8x8 intra mode search.
Change-Id: I87256d3cc5f57a2fd7b837d461cc1a7f06e01a1b
2016-09-08 15:48:05 -07:00
Peter de Rivaz
c0b4d7ae2c
Fix some var_tx related rd_costing mismatches
...
This makes the code in select_tx_size_fix_type match the
corresponding code in pack_inter_mode_mvs.
Change-Id: I69bcc0dc6fdd733091fafe9188a3f7397e1e613f
2016-09-08 12:04:55 -07:00
James Zern
20b859833c
aom_mem,align_addr: use ~ to create mask
...
removes the need for an intermediate cast to int, which was missing in
the call added in:
73a3fd4
aom_mem: Refactor code
quiets a visual studio warning:
C4146: unary minus operator applied to unsigned type, result still
unsigned
Change-Id: I76c4003416759c6c76b78f74de7c0d2ba5071216
2016-09-08 10:45:15 -07:00
James Zern
9fa47587d9
fix 'dist' & other decode-only builds
...
common/av1_fwd_txfm.[hc] are encode-only; add a TODO to relocate them
Change-Id: I28cf8d0b22632b04066bcb72f3d2252ee7eb153e
2016-09-08 14:53:42 +00:00
James Zern
ba98061af3
av1_inv_txfm_test: fix decode-only build
...
fdct's are only enabled with --enable-av1-encoder
Change-Id: Iaf1dfdf713f2ecd1d215ba7ec635f353c02fa4d0
2016-09-07 16:33:35 -07:00
Debargha Mukherjee
d125b7a0cd
Merge "Parameter adjustments to loop restoration" into nextgenv2
2016-09-07 21:26:34 +00:00
Debargha Mukherjee
035c5f34eb
Parameter adjustments to loop restoration
...
Some minor adjustments to tile size and bilateral filters.
About 0.1% improvement for midres and hdres, very small change for
lowres.
Change-Id: Ia94f68a926867dfd67da1a8795fd8de0ddd8e2d6
2016-09-07 13:51:01 -07:00
Sarah Parker
c4bcb50635
Swap order of affine parameters
...
This allows for a clean subtraction of 1 along the transform
matrix diagonal and also makes the order of the parameter list
a little more intuitive.
Change-Id: I6a5d754af41b8d1292f241f9b21473160517d24f
2016-09-07 13:41:03 -07:00
Sarah Parker
3410a88373
Merge "Add parameter search to global motion computation" into nextgenv2
2016-09-07 20:39:37 +00:00
Sarah Parker
e3b8ff50f2
Fix hbd naming mistake in warped_motion.h
...
This changes a remaining VP9_HIGHBITDEPTH to AOM_HIGHBITDEPTH
Change-Id: I35efaf9528de660fb69104792a563dba5c41f329
2016-09-07 12:20:16 -07:00
Debargha Mukherjee
f579555423
Merge "Minor transform code cleanup" into nextgenv2
2016-09-07 16:59:42 +00:00
Debargha Mukherjee
ff4e315d13
Merge "Harmonize and fix coeff context computation" into nextgenv2
2016-09-07 16:54:21 +00:00
Pascal Massimino
4d5fda029c
Merge "aom_mem.c: remove unnecessary inline" into nextgenv2
2016-09-07 09:34:37 +00:00
James Zern
cd24516347
aom_mem.c: remove unnecessary inline
...
these aren't overly speed critical, best to leave it to the compiler. as
a side-effect this fixes Visual Studio compilation (should have been
INLINE)
Change-Id: Ic81fb5ac76bc19c61efb2f1a965c0f79e9e45ebd
2016-09-06 23:36:59 -07:00
James Zern
5d986e5a30
odintrin.h: add missing extern "C"
...
fixes test linkage
Change-Id: I15a7b32551fddc5e78e3035e9d2e94a57ff9f1d2
2016-09-06 23:31:26 -07:00
Sarah Parker
cda2345787
Merge "Adjust types in hbd error computation to avoid overflow" into nextgenv2
2016-09-07 03:28:07 +00:00
Sarah Parker
ca92da752b
Adjust types in hbd error computation to avoid overflow
...
Change-Id: I8e08ebc8cbb2d1a1f97c8ef0c9237d8dfe0df208
2016-09-06 19:43:01 -07:00
Sarah Parker
ecb0afc838
Add parameter search to global motion computation
...
Change-Id: I66ea5a819ab54ecb5327eee20f798d7d7f0833d3
2016-09-06 19:33:52 -07:00
Sarah Parker
1d22837fbd
Merge "Fix formatting in internal stats for vp10" into nextgenv2
2016-09-07 00:53:14 +00:00
Yaowu Xu
a668cce3b5
Merge "Use AOMedia's Patents and LICENSE files" into nextgenv2
2016-09-07 00:34:34 +00:00
Yaowu Xu
cf92ae9f16
Merge "README.libvpx -> README.libaom" into nextgenv2
2016-09-07 00:34:25 +00:00
Yaowu Xu
0dc4cbb059
sad_avx2.c: add hints for clang-foramt
...
Change-Id: I721c52e69395a99b3a0395dc229de1cbb32670e9
2016-09-07 00:29:13 +00:00
Yaowu Xu
151864fcff
Use AOMedia's Patents and LICENSE files
...
Change-Id: Icb53448442a8f341af3799d873e2fd6f3db5fbe2
2016-09-06 16:09:03 -07:00
Yaowu Xu
848668bee7
README.libvpx -> README.libaom
...
Change-Id: Ie7dd4aeee084ef9520f68663aa566ea32350e227
2016-09-06 14:35:52 -07:00
Urvang Joshi
497f27ed9d
aom_realloc correction.
...
aom_realloc was allocating 1 byte more than needed every time.
Fixed this, and took this opportunity to do a small refactoring.
Change-Id: I38fcb62b698894acbbab43466c1decd12f906789
2016-09-06 21:27:20 +00:00
Urvang Joshi
73a3fd4710
aom_mem: Refactor code
...
Change-Id: I2da9cd5da48ae97e770bccfd1233bcc70b484688
2016-09-06 21:27:03 +00:00
Yaowu Xu
e14a42a453
Merge "Move CHECK_MEM_ERROR implementation to aom/internal." into nextgenv2
2016-09-06 21:26:52 +00:00
Alex Converse
f5550733e8
Move CHECK_MEM_ERROR implementation to aom/internal.
...
Allow using it in aom_dsp.
Change-Id: Ide7d58b6d11f8a45d473fc13bf730ba5bccb5516
2016-09-06 21:23:36 +00:00