472 Commits

Author SHA1 Message Date
Debargha Mukherjee
485af9e580 Merge "Change non-uniform-quant parameters" into nextgenv2 2016-09-29 16:04:58 +00:00
Alex Converse
5847de75c2 Remove multi-entropy coder hacks from the treewriter
Change-Id: I319cb856a16ace343359c2aebc449c1d73bdedee
2016-09-28 15:35:12 -07:00
Alex Converse
33590f8c71 Rename rans_dec_lut to rans_lut
It's used in both encoding and decoding. Matches (historical)
implementation in aom/master.

Change-Id: Ib009b6b6023cfe69e99a0a92f3c70f4416fcdb47
2016-09-28 15:35:04 -07:00
Alex Converse
018150d01b Clang-format ransac.c
Change-Id: I1679da4fb8832133ab1bcb396f4bed4e5448e504
2016-09-28 12:07:00 -07:00
Debargha Mukherjee
9324d38825 Change non-uniform-quant parameters
Also adds hooks to choose different profiles for UV and intra.

Results
lowres: -0.15%
midres: -0.24%

Change-Id: I4af8bc3e9b82b6f8a061dce9f52c89afa6239ae1
2016-09-28 09:09:35 -07:00
Yue Chen
1ab57800f1 Move warping model estimation functions to COMMON folder
These functions will be called by both enc and dec in WARPED_MOTION
experiment.

Change-Id: I4b4a20af111b30822760aee8c9451e9ccbb2dd05
2016-09-27 17:59:45 -07:00
Alex Converse
c8b229772e Merge changes I13eed9cb,I3b213790,I7232f9ae into nextgenv2
* changes:
  Remove VP10 style bitreader and bitwriter wrappers
  Rename av1_ans_test to match aom/master.
  Migrate bitreader to the interface from aom/master
2016-09-26 22:34:57 +00:00
Yaowu Xu
c7d6eaa5fe Merge "rename pred_mv_s8 to pred_mv" into nextgenv2 2016-09-26 21:12:05 +00:00
Alex Converse
4fb213f31f Remove VP10 style bitreader and bitwriter wrappers
Change-Id: I13eed9cb6950ea4fbdd586d43b73ac0cc2d78d33
2016-09-26 14:02:34 -07:00
Sarah Parker
f94296dec6 Merge "Add double precision warping for ransac" into nextgenv2 2016-09-26 19:03:52 +00:00
Yaowu Xu
f5bbbfad1d rename pred_mv_s8 to pred_mv
Change-Id: Ib1088c3fc80952074e098385fe5eb81742e7dc59
2016-09-26 09:13:38 -07:00
Alex Converse
71427df526 Merge "enums.h: Combine related #defines into packed enums." into nextgenv2 2016-09-24 00:38:53 +00:00
Sarah Parker
97fa6da1d2 Add double precision warping for ransac
Change-Id: I32b6e2e6c8454ffb64e4a4ceb87070d175f05fe9
2016-09-23 11:19:27 -07:00
Alex Converse
1d1e0844e9 Merge "Migrate bitwriter to the interface in aom/master" into nextgenv2 2016-09-23 01:18:30 +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
Angie Chiang
6062a8bfee bitstream_debug: build related cleanup
Move experimental config from debug_util.c/h to aom_util.mk to avoid
empty object.

Change-Id: Id7978ed6a342262bddaa4df8b53115e750fa1c2c
2016-09-22 09:37:56 -07:00
Alex Converse
080a2cccba Migrate bitwriter to the interface in aom/master
Change-Id: I73d46229f0feea43cbe933e51da997833cce032b
2016-09-21 11:17:08 -07:00
Debargha Mukherjee
7a9ad9c83f Merge "Misc. refactoring of loop restoration" into nextgenv2 2016-09-21 04:37:17 +00:00
Debargha Mukherjee
5d89a63a7e Misc. refactoring of loop restoration
Streamilines the functions and data structures to make it
easy to add new restore options.

Change-Id: Ib00638a5749e6c38c2455f3e3142b1025e6e0624
2016-09-20 20:46:36 -07:00
Sarah Parker
8f71e396b1 Merge "Fix naming mistake in multiply_mat" into nextgenv2 2016-09-20 23:15:35 +00:00
Alex Converse
3e457ba154 Merge changes I38f40582,Ib7afcffa into nextgenv2
* changes:
  Move ANS to aom_dsp.
  Move and wrap the old vpx boolcoder.
2016-09-20 22:55:18 +00:00
Sarah Parker
8f90d8b59b Fix naming mistake in multiply_mat
This was introduced in a cleanup in
I1e07ccab18558dfdd996547a72a396abe02ed23d

Change-Id: If6ac798d838a1ad392981f4e5970778207c3cb0b
2016-09-20 15:37:15 -07:00
clang-format
bda8d61ed1 apply clang-format after 5cd2ab9
Change-Id: I186e90d99cd54e66d38159b7cb55a881226b1568
2016-09-19 15:56:08 -07:00
Alex Converse
674e9a7ca6 Merge "Use the aom_writer type rather than the tag in calling code." into nextgenv2 2016-09-19 21:50:56 +00: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
Pascal Massimino
e5868cdba9 Merge "Kludge to keep ANS building while porting from aom/master." into nextgenv2 2016-09-18 07:21:58 +00:00
Alex Converse
e54fd03c5a Use the aom_writer type rather than the tag in calling code.
This makes room for typedefing some other struct to aom_writer.

Change-Id: I1e82de1320da00b3e41c90b14f2df45e7628aa89
(cherry picked from commit d69161f8f1eed602e0e5d21f4e6157b674e30cf6)
2016-09-17 14:56:51 -07:00
Alex Converse
9264650838 Kludge to keep ANS building while porting from aom/master.
Change-Id: I9e74bdb94c5640aca025b11b6676e8a8c008f47e
2016-09-17 14:56:48 -07:00
Debargha Mukherjee
4c80804e66 Merge "Enable tile-adaptive restoration" into nextgenv2 2016-09-17 19:10:28 +00:00
Debargha Mukherjee
5cd2ab95c9 Enable tile-adaptive restoration
Includes a major refactoring/enhancement to support
tile-adaptive switchable restoration. The framework can be
readily extended to add more restoration schemes in the
future. Also includes various cleanups and fixes.

Specifically the framework allows restoration to be conducted
on tiles such that each tile can be either left unrestored, or
use bilateral or wiener filtering.

There is a modest improvemnt in coding efficiency (0.1 - 0.2%).

Further enhancements will be added subsequently to improve coding
efficiency and complexity.

Change-Id: I5ebedb04785ce1ef6f324abe209e925c2d6cbe8a
2016-09-17 09:46:28 -07:00
Sarah Parker
f9a961c5d0 Style fixes for global motion experiment
These are in response to a post-commit review in
Ib6664df44090e8cfa4db9f2f9e0556931ccfe5c8

Change-Id: I1e07ccab18558dfdd996547a72a396abe02ed23d
2016-09-16 16:22:24 -07:00
clang-format
67948d312d apply clang-format
Change-Id: If22018f8911d9d7ee99c2127bdfcc56e42b0e2d7
2016-09-15 16:41:21 -07:00
Jingning Han
1aab81843d Sort header files
cherry-picked #ecd07473 from aom/master

Change-Id: Id8f45d9c11406fc301b39801c5228ccd6aa2d5d6
2016-09-09 16:45:02 -07:00
Yaowu Xu
2a88d24907 Merge "Convert to int before adding negative numbers" into nextgenv2 2016-09-09 22:39:32 +00:00
Yaowu Xu
f9490ff58a Merge "Convert "var" to uint64_t" into nextgenv2 2016-09-09 22:39:24 +00:00
Yaowu Xu
34ddb7ab1f Merge "change to use correct type" into nextgenv2 2016-09-09 22:38:44 +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
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
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
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
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
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
Debargha Mukherjee
797cc30f23 Merge "Rd fixes and cleanups" into nextgenv2 2016-09-09 01:52:59 +00: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
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