18311 Commits

Author SHA1 Message Date
Yaowu Xu
f87b9021f1 Fix a compiler warning of unused variable
Change-Id: I4a2faa32cc0847fe14dd8f40156163f4713055ca
2016-09-06 14:52:49 +00:00
Yaowu Xu
037845507d Avoid re-use same temp variables
In highbd_quantize_intrin_sse2.c.

Change-Id: Iaf6360e456f1fb2f8ff06461afbfecfc0103dda3
2016-09-06 14:52:19 +00:00
Yaowu Xu
34b0ee61b2 quantize.c: int->uint32_t for absolute values
Change-Id: I784f32e0e86d873655e46cf68c5c124a698af361
2016-09-06 14:51:47 +00:00
Yaowu Xu
1f9356a536 aom_dsp: AV1_IADST8x16_1D to AOM_IADST8x16_1D
Change-Id: Iba415ab2d4adb3350b4747a58f69db7d02bbab68
2016-09-06 14:51:32 +00:00
Debargha Mukherjee
2f12340ff0 Enable rectangular transforms for UV
Uses an array to map block sizes, y tx sizes, and subsampling
factors to various transform sizes for UV.

Results improve by 0.1-0.2%

Change-Id: Icb58fd96bc7c01a72cbf1332fe2be4d55a0feedc
2016-09-05 15:06:19 -07:00
Sarah Parker
f97b7860d5 Fix formatting in internal stats for vp10
This corrects a formatting error introduced in:
I1e9d548ce445d29002f0c59ebfd3957a6f15e702
where spaces were used as delimiters instead of tabs.

The corresponding fixes for vp9 and vp8 are in
Ibc4eb8fd82e6b926ba259a679dc98557cadba9b1.

Change-Id: Ica3d625d6672b3c47e0e208b45eede29b9004030
2016-09-03 12:02:01 -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
Yaowu Xu
ecee7f29d0 Merge "Change to use AOM copyright notice" into nextgenv2 2016-09-02 22:13:24 +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
Yunqing Wang
99c6637dfa Merge "Remove unused buffer allocation functions" into nextgenv2 2016-09-02 17:52:48 +00:00
Yaowu Xu
0efe92f177 Merge "aomcx_set_ref -> aom_cx_set_ref" into nextgenv2 2016-09-02 17:41:44 +00:00
Yaowu Xu
0764955002 Merge "Change to use aom copyright notice" into nextgenv2 2016-09-02 17:41:21 +00:00
Angie Chiang
0bfe491967 Merge "Add frame info in bitstream debug tool" into nextgenv2 2016-09-02 17:05:48 +00:00
Yunqing Wang
8aa228019c Remove unused buffer allocation functions
Removed unused buffer allocation functions.

Change-Id: Ib779dde9ad6a511d88b7f7cba2604902eff7aa05
2016-09-02 09:23:53 -07: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
Geza Lore
a1ddae59eb Minor transform code cleanup
- Localize static lookup tables in the sole functions that use them.
- Remove dead high bit-depth IDST functions.
- Apply clang-format

Change-Id: Ibbd7db4259f9ea64d695b2f13f5c118aac8f1cf9
2016-09-02 09:58:09 +01:00
Debargha Mukherjee
a782a3b68f Merge "Some cleanups for unnecessary macros" into nextgenv2 2016-09-02 08:37:36 +00:00
Sarah Parker
e529986568 Add global motion experiment to rdopt
This patch completes the global motion experiment
implementation. It modifies the format of the motion
parameters to use the mv union to facilitate faster
copying and checks for parameters equal to 0 that occur
frequently in rdopt. The rd decisions for the global motion experiment
have also been added to rdopt.
Change-Id: Idfb9f0c6d23e538221763881099c5a2a3891f5a9
2016-09-01 19:51:11 -07:00
Yaowu Xu
9c323bc272 Port two daala_dering changes from AOMedia
03394bd Remove dead code from av1_dering_search.
337b23a Changing the weights of the first CRF filter in deringing

Change-Id: I1216c146dc3f72f24ceec3d3c65c4dd6cd73623e
2016-09-02 00:39:52 +00:00
Yaowu Xu
3b95d59a1b rename two mk files to make naming consistent
av1cx.mk -> av1_cx.mk
av1dx.mk -> av1_dx.mk

Change-Id: I698bd65b933c433066d5dfeb94cee680095508e4
2016-09-02 00:39:32 +00:00
Yaowu Xu
14292bbb10 Merge "Add explict conversion from int64_t to int" into nextgenv2 2016-09-02 00:39:19 +00:00
Angie Chiang
cb9a9ebd81 Add frame info in bitstream debug tool
Change-Id: Iead3edd8563d7900481eb199e8b003d2d3df075b
2016-09-01 16:24:49 -07:00
Yaowu Xu
9702fcbb16 Add explict conversion from int64_t to int
The values after right shifts should fit into 32bit int. The commit
fixes MSVC build warning when new-quant is enabled.

Change-Id: Ic89dd86fb981a1206653943658af2b6b2925a676
2016-09-01 22:33:56 +00:00
Yaowu Xu
c8b2fd8022 Merge ".gitignore: corrent entries from vpx to aom" into nextgenv2 2016-09-01 22:33:19 +00:00
Urvang Joshi
0d515b29b1 Merge "Add ALT_INTRA experiment." into nextgenv2 2016-09-01 21:45:32 +00:00
Yaowu Xu
75c9abd28f .gitignore: corrent entries from vpx to aom
Change-Id: I8af6a9723c31c0f868e9bd75dcc079413a3700c4
2016-09-01 13:57:13 -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
f7ae12d7fd add an explicit conversion from size_t to int
Function ans_read_int() takes int as parameter, this commit uses an
explicit conversion to avoid MSVC building warning.

Change-Id: Ia405e1d5a86c0f42932fa1da29417ccbf2dd58e7
2016-09-01 08:59:46 -07:00
Yaowu Xu
958303c4c6 Replace inline with INLINE
This fixes msvc build errors.

Change-Id: I1344685e891db61ba569d818e0f2167b2978c299
2016-09-01 08:45:22 -07:00
Debargha Mukherjee
3b52b3ac27 Some cleanups for unnecessary macros
Remove some macros that are no longer necessary for experimentation.

Change-Id: I959bf441c8333607df4aa1ee18841f189ade8112
2016-09-01 00:30:32 -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
b1fb998c46 Merge "Change buffer_alloc_sz and frame_size type to size_t" into nextgenv2 2016-08-31 23:56:02 +00: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
0de5d5d221 Merge "Fix Visual Studio build warnings" into nextgenv2 2016-08-31 18:50:07 +00:00
Yunqing Wang
53db7d0caa Merge "Remove unused buffer allocation functions" into nextgenv2 2016-08-31 18:49:29 +00:00
Zoe Liu
03a11f6ceb Fix a bug in calculating the compound ref frame cost
The previous ext-refs experiment did not consider the cost of the 2nd
reference frame on mode decision in the compound mode. With the fix,
using Overall PSNR, compared to the previous ext-refs RD performance
before the bug fix, all against the baseline, the improvements are:

"ext-refs" before fix: lowres -5.665%  midres: -4.833%
"ext-refs" after fix:  lowres -5.776%  midres: -5.000%
Improvement by the fix: lowres -0.111%  midres: -0.167%

Change-Id: I2eceedf2d4046b169514e049fd01baaf0bbb50c6
2016-08-31 09:43:31 -07:00
Zoe Liu
2033078a18 Merge "Fix a bug in deciding ref frame context in ext-refs" into nextgenv2 2016-08-31 16:42:43 +00:00
Wei-Ting
966e609e95 Make an unmeaningful change to be added into the list
Change-Id: I578589a955bd3f3d7ff61723b574361661453f67
2016-08-30 15:42:32 -07:00
Zoe Liu
27af52300e Fix a bug in deciding ref frame context in ext-refs
Change-Id: Ie58b98baa870c5d2a5b7193f8fe4f84fd7ec6c16
2016-08-30 10:20:04 -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
Debargha Mukherjee
df73dd0dc3 Merge "clpf experiment build fix" into nextgenv2 2016-08-30 05:45:33 +00:00
Sarah Parker
4dc0f1b186 Implement global motion parameter computation
This computes global motion parameters between 2 frames by
matching corresponding points using FAST feature and then
fitting a model using RANSAC.

Change-Id: Ib6664df44090e8cfa4db9f2f9e0556931ccfe5c8
2016-08-29 16:59:43 -07:00
Yunqing Wang
e9947a8d2d Remove unused buffer allocation functions
Removed unused buffer allocation functions.

Change-Id: I5aa265a7698a2d2df736ddb89c6d93a5ee34895b
2016-08-29 15:02:09 -07:00
Debargha Mukherjee
162f5f792b Merge "Tiling in loop restoration + cosmetics" into nextgenv2 2016-08-29 20:46:13 +00:00
Debargha Mukherjee
100846a8ac clpf experiment build fix
Change-Id: I729e14916ecb58b5a75756078ab96a2d340bc0d6
2016-08-29 12:28:00 -07:00
Aamir Anis
e40e6e576a Tiling in loop restoration + cosmetics
Frame can be split into rectangular tiles for application of separate
bilateral or Wiener filters per tile. Some variable names changed for
better readability.

Change-Id: I13ebc4d0b0baf368e524db5ce276f03ed76af9c8
2016-08-29 11:24:11 -07:00