1938 Commits

Author SHA1 Message Date
Alex Converse
acef60bd2c Migrate bitreader to the interface from aom/master
Change-Id: I7232f9ae3d97e730f66e4b80f550192e3ef7230b
2016-09-26 12:19:11 -07:00
Alex Converse
71427df526 Merge "enums.h: Combine related #defines into packed enums." into nextgenv2 2016-09-24 00:38:53 +00:00
Urvang Joshi
cb586f3ba9 enums.h: Combine related #defines into packed enums.
enums for BLOCK_SIZE, TX_SIZE and PREDICTION_MODE.

Note: These were converted to #defines earlier to save on memory:
https://chromium-review.googlesource.com/#/c/269854/

But we, instead, use attribute 'packed' (see here:
https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#Common-Type-Attributes)
to ensure that these enums use the smallest possible integer type,
and so use smallest memory when used in structs/arrays etc.

Change-Id: If1fc136686b28847109c9f3a06f8728165e7e475
2016-09-22 09:44:51 -07:00
Alex Converse
080a2cccba Migrate bitwriter to the interface in aom/master
Change-Id: I73d46229f0feea43cbe933e51da997833cce032b
2016-09-21 11:17:08 -07:00
Yi Luo
fbf5681aae Add a TODO for aom_highbd_fdct16x16_1_sse2 tests
- Here function, aom_fdct16x16_1_sse2 is mistakely tested. It can pass
  AOM_BITS_8, AOM_BITS_10, but not AOM_BITS_12. We should fix this test
  when aom_highbd_fdct16x16_1_sse2 is available.

Change-Id: I5cac6ee5404ff6d833940e1ecc34663b29d7a41c
2016-09-19 16:26:08 -07:00
Alex Converse
1ac1ae73dc Move ANS to aom_dsp.
That's where it lives in aom/master.

Change-Id: I38f405827d9c2d0b06ef5f3bfd7cadc35d5991ef
2016-09-19 09:51:27 -07:00
clang-format
67948d312d apply clang-format
Change-Id: If22018f8911d9d7ee99c2127bdfcc56e42b0e2d7
2016-09-15 16:41:21 -07:00
Jim Bankoski
f7f043774b aomdec.sh : Make this test create files if needed to test decoder.
If test files don't already exist it calls aomenc to create them.

cherry-picked #ee9ac321 from aom/master

Change-Id: I0e0f33cb60b3492e9106d6c9e2c51f64f71ebb63
2016-09-09 16:39:21 -07:00
Jim Bankoski
5d105b40c3 simple_encoder: make it so we can run it in tests.
Added a limit, resolving a todo and added a limit parameter so that we
can do a very simple fast encode in 1 pass.

Change-Id: I265cd912d970d560a0b00b86e6c7ec7b6fef1e7b
2016-09-09 15:54:51 -07:00
Jim Bankoski
e78a964e29 simple_decoder.sh: Support encoding in decode test scripts.
Adding AV1 input files to the test set is not feasible because the
bitstream is in constant flux. Add test input encoding and hook
it up in simple_decoder.sh to start.

cherry-picked #b591df89 from aom/master

Change-Id: Ie4c06a7c458cdc2ab003d27fb92418c77c87fc88
2016-09-09 15:49:56 -07:00
Yaowu Xu
ca38a67a5c Merge "twopass_encoder: sample and test script fixed." into nextgenv2 2016-09-09 22:39:16 +00:00
Yaowu Xu
250a52ed06 Merge "set_maps: add back script and fix." into nextgenv2 2016-09-09 22:39:07 +00:00
Debargha Mukherjee
8e80f422d6 Merge "Add SSE2 versions of av1_fht8x16 and av1_fht16x8" into nextgenv2 2016-09-09 20:51:03 +00: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
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
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
Geza Lore
1a800f6539 Add SSE2 versions of av1_fht8x16 and av1_fht16x8
Encoder speedup ~2% with ext-tx + rect-tx

Change-Id: Id56ddf102a887de31d181bde6d8ef8c4f03da945
2016-09-09 11:29:41 -07:00
Yaowu Xu
81fb4cf1ee simplify test code
Change-Id: Ib5491fb8f5dd7edf27c74abdd21b1f0a42aafd1f
2016-09-09 16:40:58 +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
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
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
Yaowu Xu
01bade1064 Removed tests and data not in use
Change-Id: If688da3089ad33f18751fa2f8c46b6f5dc708bd2
2016-09-03 00:06:09 +00:00
Urvang Joshi
51dcf564b8 Merge "test_intra_pred_speed.cc : Fix visual studio build." into nextgenv2 2016-09-02 23:12:34 +00:00
Urvang Joshi
31744ec4f2 test_intra_pred_speed.cc : Fix visual studio build.
Visual studio doesn't like nested macros, apparently. This patch should
fix it.

Change-Id: Ifa56fae5be0b3dfd3fecd88a8a443e39135f96ab
2016-09-02 15:11:59 -07:00
Yaowu Xu
2ab7ff05f1 Change to use AOM copyright notice
Change-Id: I2b2b70e756b7eb9611b7b33b7d5f19b3b30e0a50
2016-09-02 19:52:03 +00:00
Yaowu Xu
890c4f2497 aomcx_set_ref -> aom_cx_set_ref
Change-Id: I60dd645451d6d65465f099a16ac855fb0b5a57a9
2016-09-02 08:54:47 -07:00
Yaowu Xu
9c01aa1b0c Change to use aom copyright notice
This minimize code differences between AOM master and nextgenv2

Change-Id: If144865bdf3ef0818e7aac11018b9e786444c550
2016-09-02 08:22:07 -07:00
Urvang Joshi
340593e530 Add ALT_INTRA experiment.
When the experiment is ON, we use Paeth predictor instead of TM
predictor.

For derf set, this gives about 0.09% improvement overall, and 0.55%
improvement if all frames are forced to be intra-only.

Also, if the EXT_INTRA experiment is also on, the improvement overall
is 0.056%, and improvement if all frames are forced to be intra-only is
0.465%.

Change-Id: Id74e107ede70a8d2107fa14fcb3f44b23a437274
2016-09-01 12:03:20 -07:00
Yaowu Xu
f883b42cab Port renaming changes from AOMedia
Cherry-Picked the following commits:
0defd8f Changed "WebM" to "AOMedia" & "webm" to "aomedia"
54e6676 Replace "VPx" by "AVx"
5082a36 Change "Vpx" to "Avx"
7df44f1 Replace "Vp9" w/ "Av1"
967f722 Remove kVp9CodecId
828f30c Change "Vp8" to "AOM"
030b5ff AUTHORS regenerated
2524cae Add ref-mv experimental flag
016762b Change copyright notice to AOMedia form
81e5526 Replace vp9 w/ av1
9b94565 Add missing files
fa8ca9f Change "vp9" to "av1"
ec838b7  Convert "vp8" to "aom"
80edfa0 Change "VP9" to "AV1"
d1a11fb Change "vp8" to "aom"
7b58251 Point to WebM test data
dd1a5c8 Replace "VP8" with "AOM"
ff00fc0 Change "VPX" to "AOM"
01dee0b Change "vp10" to "av1" in source code
cebe6f0 Convert "vpx" to "aom"
17b0567 rename vp10*.mk to av1_*.mk
fe5f8a8 rename files vp10_* to av1_*

Change-Id: I6fc3d18eb11fc171e46140c836ad5339cf6c9419
2016-08-31 18:19:03 -07:00
Yaowu Xu
c27fc14b02 Port folder renaming changes from AOM
Manually cherry-picked commits:
ceef058 libvpx->libaom part2
3d26d91 libvpx -> libaom
cfea7dd vp10/ -> av1/
3a8eff7 Fix a build issue for a test
bf4202e Rename vpx to aom

Change-Id: I1b0eb5a40796e3aaf41c58984b4229a439a597dc
2016-08-31 17:26:24 -07:00
Yunqing Wang
a722a114d6 Change buffer_alloc_sz and frame_size type to size_t
1. Changed buffer_alloc_sz and frame_size type to size_t.
2. Added a TODO for video resolution limits. On 32 bit systems, the maximum
resolution supported in the encoder is 4k(3840x2160). The malloc() would
fail if encoding >4k video on a 32 bit system.

Change-Id: Ibd91b28fd63d1b04e8ac9a5270a17629f239188a
2016-08-31 14:56:21 -07:00
Yunqing Wang
ed07056f1a Fix Visual Studio build warnings
Fixed a list of VS warnings. Warning message:
..\test\vp10_convolve_test.cc(34): warning C4244: 'initializing' : conversion
from 'ptrdiff_t' to 'int', possible loss of data

Change-Id: I9a1d3978a79fbb7b1ac028c5713ac72b6ff99172
2016-08-30 09:40:24 -07:00
Pascal Massimino
04ed7ad57b fix uint32_t <-> size_t mismatch in tests
Change-Id: Ifde4d57957219560e01ebd1657f1c0721f041054
2016-08-29 09:09:09 +02:00
Jingning Han
91ae5d954a Fix VS build warnings in blend_a64_mask_test.cc
Change-Id: Id4c764198549a60d98e5c4a74083972b97da5b81
2016-08-26 11:25:08 -07:00
Urvang Joshi
3bcf3f07ac test_intra_pred_speed fix: use dspr2 version when HAVE_DSPR2
Change-Id: Ie7c78e19e077516615c71669022f505f8b3c80ca
2016-08-23 11:29:44 -07:00
clang-format
21a0c2c9d7 apply clang-format
after:
253c001 Port dering experiment from aom
7208145 Adding 8x16/16x8/32x16/16x32 transforms

Change-Id: Id93e0d7b72a128701d8dec35fc2fac473944d0c1
2016-08-18 15:10:22 -07:00
James Zern
0996fc6be3 Merge "fix mips msa build w/CONFIG_EXT_TX" into nextgenv2 2016-08-18 01:44:39 +00:00
Yi Luo
bfeb90f92a Merge "Delete DCT 64x64 functions to save code size" into nextgenv2 2016-08-17 16:31:28 +00:00
James Zern
1c25b7f29e fix mips msa build w/CONFIG_EXT_TX
vp10_fht{16x16,8x8,4x4}_msa and the iht were disabled with this config
in:
4ab19ea Fix assertion failures in mips+msa setting

Change-Id: Ic675258b89ca490e8021c887b705c68428925129
2016-08-16 17:30:17 -07:00
Yi Luo
166dd79368 Delete DCT 64x64 functions to save code size
- gcc x86_64 build binary is about 47 KB smaller.

Change-Id: I9e5f41fc9c5c75aec453f8b8567e228a6a6cd71d
2016-08-16 17:16:05 -07:00
Yaowu Xu
253c001f8f Port dering experiment from aom
Mannually cherry-picked:
1579133 Use OD_DIVU for small divisions in temporal_filter.
0312229 Replace divides by small values with multiplies.
9c48eec Removing divisions from od_dir_find8()
0950ed8 Merge "Port active map / cyclic refresh fixes to vp10."
efefdad Port active map / cyclic refresh fixes to vp10.
1eaf748 Port switch to 9-bit rate cost to aom.
0b1606e Only build deringing code when --enable-dering.
e2511e1 Deringing cleanup: don't hardcode the number of levels
8fe5c5d Rename dering_in to od_dering_in to sync with Daala
4eb1380 Makes second filters for 45-degree directions horizontal
7f4c3f5 Removes the superblock variance contribution to the threshold
3dc56f9 Simplifying arithmetic by using multiply+shift
cf2aaba Return 0 explicitly for OD_ILOG(0).
49ca22a Use the Daala implementation of OD_ILOG().
8518724 Fix compiler warning in od_dering.c.
485d6a6 Prevent multiple inclusion of odintrin.h.
51b7a99 Adds the Daala deringing filter as experimental

Note that a few of the changes were already in libvpx codebse.

Change-Id: I1c32ee7694e5ad22c98b06ff97737cd792cd88ae
2016-08-16 13:47:18 +00:00
Yaowu Xu
0818a7c828 Port commits related to clpf and qm experiments
Manually cherry-picked following commits from AOMedia git repository:
bb2727c Sort includess for "clpf.h"
c297fd0 Add quantisation matrix range parameters.
0527894 Add encoder option and signaling for quant matrix control.
4106232 Turn off trellis coding for quantization matrices.
4017fca Modify tests to allow quantization matrices.
1c122c2 Add quant and dequant functions for new quant matrices.
95a8999 Enable CLPF
f72782b Fix a build issue
73bae50 Add quantisation matrices and selection functions
33208d2 Added support for constrained low pass filter (CLPF)

Change-Id: I60fc1ee1ac40e6b9d1d00affd97547ee5d5dd6be
2016-08-16 13:46:49 +00:00
James Zern
245c5a865b vp10_fwd_txfm2d_test: use sizeof(var)
rather than sizeof(type)

Change-Id: I63755e4ca3810bec2d31013bebcc363c5c9f56ed
2016-08-12 14:58:07 -07:00
clang-format
3a826f1d3d test/: apply clang-format
Change-Id: I1138fbeff5f63beb5c0de2c357793da12502d453
2016-08-12 12:40:41 -07:00
Yi Luo
712e66dafa reconintra_predictors_test: use new[] operator
fixes mix of malloc & delete[]

Change-Id: I89a1de0614234bf8b3dbe4aacfe71f75f39d08ff
2016-08-12 12:34:23 -07:00
Yi Luo
8e0360a130 Optimization for HBD filter intra predictors (SSE4.1)
- Add unit tests to verify the bit-exact.
- Speed unit test, function improvement: about 8%-23%.
- On E5-2680, park_joy_1080p_12, 25 frames, --kf-max-dist=1
  encoding time improves from <1% to 3.5%

Change-Id: Ic16368885bb253db0200c3a6db143ab1a0b7fc26
2016-08-11 17:34:51 -07:00
James Zern
239bb16fef lossless_test: mark tests as Large
Change-Id: I619b365d636737da8b1a322bab3be973de53200d
2016-08-09 20:39:44 -07:00
James Zern
b5818b7722 cpu_speed_test: mark speed 0 as Large
TestTuneScreen / TestScreencastQ0 are the worst offenders

Change-Id: I579a93289aa431afbfea8a280ddcb1011ab1a8cf
2016-08-09 20:32:51 -07:00