Граф коммитов

17389 Коммитов

Автор SHA1 Сообщение Дата
Urvang Joshi 3ea2c234fa gitignore: add some entries
Change-Id: I65507c3d132b2b3ba90cf0a7b1c729da7d3de15f
2016-08-23 11:19:17 -07:00
Wei-ting Lin 7fed5044ca Merge "Allow LF_UPDATE type of frames to use BWDREF" into nextgenv2 2016-08-23 18:06:56 +00:00
Debargha Mukherjee 49b85d3965 Missing fixes for rect-tx
Reintroducing some fixes that were dropped inadvertently in
course of rebasing.

Change-Id: I5f51160c586010590d4bfd5cf225fb21347b0a40
2016-08-23 07:12:51 -07:00
Yaowu Xu 9a89ec5447 Merge "Make type conversion explicit" into nextgenv2 2016-08-23 01:28:05 +00:00
Debargha Mukherjee ccbefec3d8 Merge "Various rect-tx fixes" into nextgenv2 2016-08-23 01:00:39 +00:00
Yaowu Xu 04fe3499a4 Make type conversion explicit
This fixes two MSVC compiler warnings.

Change-Id: I55ad8833676e20c2c4a55885b99a7a9293d9623f
2016-08-23 00:01:00 +00:00
Yaowu Xu 88849e1395 Merge "Apply clang-format" into nextgenv2 2016-08-23 00:00:48 +00:00
Wei-ting Lin 4e8acca925 Allow LF_UPDATE type of frames to use BWDREF
Originally, only bi-pred type of frames can use BWDREF. When
extra alt-refs are inserted in a gf group, the closest alt-ref
serves as ALTREF for the frames within the corresponding
subgroup. Therefore, the original alt-ref can be used as BWDREF
for the LF_UPDATE type of frames.

This patch further swaps the virtual indices of BWDREF and ALTREF
for those frames whose BWDREF is farther than ALTREF. As a result,
the BWDREF is always the closet backward reference frame, and the
ALTREF is the farther one.

It improves the average RD performance by

0.132% in lowres, and
0.030% in midres.

The overall gains for the ext-refs compared to the baseline are

5.486% in lowres, and
4.666% in midres.

Change-Id: I22e4e5f378f19c4c89196a0a5e9214adb46c3428
2016-08-22 17:00:41 -07:00
Yaowu Xu c3cc46d8c2 Apply clang-format
Change-Id: Ie283af5f30324f54b4f749becdb48f937584707d
2016-08-22 16:22:10 -07:00
Debargha Mukherjee 44026851c3 Various rect-tx fixes
Change-Id: I02f44713b99284092ecfc50ce7ab268e91d2c6f8
2016-08-22 14:18:40 -07:00
Sarah Parker 3464aff41f Add integerize function back in warped_motion.c
This function was previously unused and removed in
I6bc740e778658d6f81ca54888fc6fa822d3b5ee0. I am adding it back in
with previously suggested fixes.

Change-Id: Iee0afb39170d25895b11d07e71843eae6913efd1
2016-08-22 12:29:26 -07:00
Urvang Joshi 3c7aa7ce2d Merge "Palette: count Y colors only for screen content." into nextgenv2 2016-08-19 23:18:39 +00:00
Urvang Joshi 28ca8554c5 Merge "Handle centroid rounding inside palette.c itself." into nextgenv2 2016-08-19 22:22:52 +00:00
Wei-ting Lin 7417932401 Merge "Insert extra ARFs' in a gf group" into nextgenv2 2016-08-19 22:10:41 +00:00
James Zern 7b2537b5e9 Merge "Fix compiler warnings in rdopt when warped motion is enabled" into nextgenv2 2016-08-19 21:39:59 +00:00
Urvang Joshi d68c7b6d6d Palette: count Y colors only for screen content.
Change-Id: Id4e12708598100df54bdfcf8cdb248161ab6ef88
2016-08-19 13:02:02 -07:00
Urvang Joshi f746c103a7 Handle centroid rounding inside palette.c itself.
Mostly refactoring, but a very tiny functional change:
Do all rounding in calc_centroids() itself, instead of rounding in two
places inside palette.c

This gives a slight performance improvement for screen content:
0.078% on average.

Change-Id: I7a0e007d30ebf4e59839483a167123f31a222dd4
2016-08-19 12:23:41 -07:00
Sarah Parker 984f073b8a Fix compiler warnings in rdopt when warped motion is enabled
The previous code was giving:
 unused variable ‘tmp_rate’ [-Wunused-variable]
 unused variable ‘tmp_dist’ [-Wunused-variable]
 ‘rate2_nocoeff’ may be used uninitialized in this function [-Wmaybe-uninitialized]

Change-Id: I26326d0e5ffc141ad548654356a877cd3627cea6
2016-08-19 11:10:44 -07:00
James Zern e0ab852f0b vp10_alloc_context_buffers: clear cm->mi* on failure
based on:
8b4c315 vp9_alloc_context_buffers: clear cm->mi* on failure

Change-Id: I3438a052721b960ff178cb647780f11bc33571fe
2016-08-19 10:39:46 -07:00
Alex Converse 32c92c97ea Merge "Don't send segment probability updates when the map isn't updated." into nextgenv2 2016-08-19 16:52:11 +00:00
James Zern b360168783 Merge "apply clang-format" into nextgenv2 2016-08-19 07:31:50 +00:00
Wei-ting Lin 41d5d52d78 Insert extra ARFs' in a gf group
Insert multiple arfs in a gf group to emulate multi-layer backward
reference frames structure. At maximum, two extra ARF's are inserted
in a gf group.

It improves the RD performance by 0.317% in Avg in lowres dataset.

Change-Id: I62c32e1b0f25b978484dd113b319bebcd959bf60
2016-08-18 18:21:13 -07:00
Sarah Parker daa4ba8d19 Disable global motion experiment when incompatible experiments are enabled
This is temporary until the global motion experiment is made to work
with ext_inter and dual_filter.

Change-Id: I73624ca6f536fd98218d7e07bcd7a2c1e6f5aebd
2016-08-18 16:00:38 -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
Alex Converse fd96aec9c6 Don't send segment probability updates when the map isn't updated.
BUG=webm:1275

Change-Id: I7d4bbaaf2f2146b023e1902fbc535a70e490cf2d
2016-08-18 18:02:01 +00:00
James Zern 0996fc6be3 Merge "fix mips msa build w/CONFIG_EXT_TX" into nextgenv2 2016-08-18 01:44:39 +00:00
Wei-ting Lin c0235c2c21 Merge "Change the B-frame coding structure." into nextgenv2 2016-08-17 21:15:15 +00:00
Sarah Parker d4553f5b4d Merge "Switch order of gm parameters for affine model" into nextgenv2 2016-08-17 20:30:52 +00:00
Yi Luo bfeb90f92a Merge "Delete DCT 64x64 functions to save code size" into nextgenv2 2016-08-17 16:31:28 +00:00
Angie Chiang 688a2ed1f5 Remove __func__
Change-Id: Ibdf1c2d422b9e644eba76fc200c8c10217394036
2016-08-16 18:43:41 -07: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
Sarah Parker bec4fbe4be Switch order of gm parameters for affine model
This was originally subtracting 1 from the wrong element in the
parameter set.

Change-Id: I790aafc505f7a8fe7bb00d7d6c62549487a0980f
2016-08-16 15:06:31 -07:00
Wei-ting Lin b20d0777a8 Change the B-frame coding structure.
Originally we can have a BRF right before an overlay frame (in
display order), which might be unnecessary since we already has a
quality backward reference frame (ARF).
This patch avoids such a coding structure and improves the RD
performance by 0.086% in Avg in the lowres dataset, and 0.153 in
Avg in the midres dataset.

In the lowres dataset, significant gains are obtained for the
following sequences:

mobisode2_240p: 0.563%
keiba_240p: 0.440%
bus_cif: 0.336%
soccer_cif: 0.333%

And the performance drops only in the following four video sequences:

motherdaughter_cif: 0.028%
bqsquare_240p: 0.017%
basketballpass_240p: 0.015%
bowing_cif: 0.006%

Change-Id: Ic94f648ba8e52eb0014933d484fb247610a9ae05
2016-08-16 10:52:24 -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
Sarah Parker ac917ec262 Merge "Fix dropped const qualifier in new_quant experiment" into nextgenv2 2016-08-16 03:09:54 +00:00
Sarah Parker 28666204ca Fix dropped const qualifier in new_quant experiment
This was causing a compiler warning from -Wcast-qual.

Change-Id: Ie525ffe20be4f38ced68fb0c4141e36400eb0717
2016-08-15 19:26:31 -07:00
James Zern 58b3813cda Merge changes from topic 'clang-format' into nextgenv2
* changes:
  remove tools/vpx-style.sh
  README: add a note about clang-format
2016-08-16 02:00:01 +00:00
Sarah Parker 9142e515e2 Merge "Fix precision bug in warped_motion.c" into nextgenv2 2016-08-15 18:51:37 +00:00
Debargha Mukherjee 7208145722 Adding 8x16/16x8/32x16/16x32 transforms
Adds forward, inverse transforms and scan orders.

Change-Id: Iab6994f4b0ef65e660b714d111b79b1c8172d6a8
2016-08-15 10:33:24 -07:00
Sarah Parker 99adc57976 Fix precision bug in warped_motion.c
The projected coordiantes in projectPointsTranslation were
being shifted by the incorrect precision.

Change-Id: If6040bea9e5187020d85c6095d85c7ff5786b7f9
2016-08-12 16:44:05 -07:00
James Zern 7dcd4993bb remove tools/vpx-style.sh
update ftfy.sh to use clang-format

Change-Id: I8ac740c5b3842beed2b8878fbe506f381f4c57e4
(cherry picked from commit 958ae5af9c892e5328ec0363d1a69afbfe0e0907)
2016-08-12 16:41:19 -07:00
James Zern 92ed0c9146 README: add a note about clang-format
Change-Id: I835401e3befffcbc68e7d2bdd2fd556a19948e91
(cherry picked from commit 15f29ef0922c6584dea69ac75367edb2f6934bb3)
2016-08-12 16:41:19 -07:00
James Zern 814986b84e Merge "webm{dec,enc}.cc,debug_util.c: apply clang-format" into nextgenv2 2016-08-12 23:40:17 +00:00
James Zern 09e3f49854 Merge "vp10/encoder: apply clang-format" into nextgenv2 2016-08-12 23:36:17 +00:00
clang-format 01f4c71719 webm{dec,enc}.cc,debug_util.c: apply clang-format
top-level *.cc were missed in the original change
debug_util.c was checked in with some warnings

Change-Id: I72999bf94d734ffc127bf6f96a8d17f9c313d5a0
2016-08-12 16:23:55 -07:00
James Zern 4efb9771ff Merge "vp10/common: apply clang-format" into nextgenv2 2016-08-12 23:23:04 +00:00
James Zern ca502bf018 Merge "vp10_fwd_txfm2d_test: use sizeof(var)" into nextgenv2 2016-08-12 23:01:45 +00:00
clang-format d9f9a34bb1 vp10/encoder: apply clang-format
Change-Id: I58a42ced5b8a4338524434ff3356850b89aa705a
2016-08-12 15:08:05 -07:00