]> granicus.if.org Git - libvpx/log
libvpx
8 years agoMerge "Make rectangular txfm in EXT_TX work with VAR_TX" into nextgenv2
Yue Chen [Tue, 23 Aug 2016 23:54:40 +0000 (23:54 +0000)]
Merge "Make rectangular txfm in EXT_TX work with VAR_TX" into nextgenv2

8 years agoPalette code: remove the use of same if condition twice.
Urvang Joshi [Tue, 23 Aug 2016 22:01:41 +0000 (15:01 -0700)]
Palette code: remove the use of same if condition twice.

rd_pick_palette_intra_sby() method is called only when,
cpi->common.allow_screen_content_tools is on. So, no need to check that
again. We just use an assert() instead to still be safe.

Change-Id: I19785c2aac016798c8d331bbe91971b3806b73a8

8 years agoMerge "Rename CONFIG_VPX_HIGHBITDEPTH -> CONFIG_VP9_HIGHBITDEPTH" into nextgenv2
Urvang Joshi [Tue, 23 Aug 2016 19:33:52 +0000 (19:33 +0000)]
Merge "Rename CONFIG_VPX_HIGHBITDEPTH -> CONFIG_VP9_HIGHBITDEPTH" into nextgenv2

8 years agoMake rectangular txfm in EXT_TX work with VAR_TX
Yue Chen [Thu, 11 Aug 2016 23:42:08 +0000 (16:42 -0700)]
Make rectangular txfm in EXT_TX work with VAR_TX

Adapt rectangular txfm experiment to syntax/tokenization/loopfilter
framework of VAR_TX

Change-Id: Idcb005ecf5b3712de3e1cccb0d811ca16d87af24

8 years agoRename CONFIG_VPX_HIGHBITDEPTH -> CONFIG_VP9_HIGHBITDEPTH
Urvang Joshi [Tue, 23 Aug 2016 19:04:18 +0000 (12:04 -0700)]
Rename CONFIG_VPX_HIGHBITDEPTH -> CONFIG_VP9_HIGHBITDEPTH

"vpx-highbitdepth" config doesn't exist.

Change-Id: Ib6d3691454299bb381ecc75b80657fbebf9f59b2

8 years agoMerge "Allow LF_UPDATE type of frames to use BWDREF" into nextgenv2
Wei-ting Lin [Tue, 23 Aug 2016 18:06:56 +0000 (18:06 +0000)]
Merge "Allow LF_UPDATE type of frames to use BWDREF" into nextgenv2

8 years agoMissing fixes for rect-tx
Debargha Mukherjee [Tue, 23 Aug 2016 07:17:00 +0000 (00:17 -0700)]
Missing fixes for rect-tx

Reintroducing some fixes that were dropped inadvertently in
course of rebasing.

Change-Id: I5f51160c586010590d4bfd5cf225fb21347b0a40

8 years agoMerge "Make type conversion explicit" into nextgenv2
Yaowu Xu [Tue, 23 Aug 2016 01:28:04 +0000 (01:28 +0000)]
Merge "Make type conversion explicit" into nextgenv2

8 years agoMerge "Various rect-tx fixes" into nextgenv2
Debargha Mukherjee [Tue, 23 Aug 2016 01:00:39 +0000 (01:00 +0000)]
Merge "Various rect-tx fixes" into nextgenv2

8 years agoMake type conversion explicit
Yaowu Xu [Mon, 22 Aug 2016 16:55:31 +0000 (09:55 -0700)]
Make type conversion explicit

This fixes two MSVC compiler warnings.

Change-Id: I55ad8833676e20c2c4a55885b99a7a9293d9623f

8 years agoMerge "Apply clang-format" into nextgenv2
Yaowu Xu [Tue, 23 Aug 2016 00:00:48 +0000 (00:00 +0000)]
Merge "Apply clang-format" into nextgenv2

8 years agoAllow LF_UPDATE type of frames to use BWDREF
Wei-ting Lin [Mon, 22 Aug 2016 18:19:30 +0000 (11:19 -0700)]
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

8 years agoApply clang-format
Yaowu Xu [Mon, 22 Aug 2016 17:05:19 +0000 (10:05 -0700)]
Apply clang-format

Change-Id: Ie283af5f30324f54b4f749becdb48f937584707d

8 years agoVarious rect-tx fixes
Debargha Mukherjee [Thu, 11 Aug 2016 19:10:55 +0000 (12:10 -0700)]
Various rect-tx fixes

Change-Id: I02f44713b99284092ecfc50ce7ab268e91d2c6f8

8 years agoAdd integerize function back in warped_motion.c
Sarah Parker [Thu, 11 Aug 2016 22:57:09 +0000 (15:57 -0700)]
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

8 years agoMerge "Palette: count Y colors only for screen content." into nextgenv2
Urvang Joshi [Fri, 19 Aug 2016 23:18:39 +0000 (23:18 +0000)]
Merge "Palette: count Y colors only for screen content." into nextgenv2

8 years agoMerge "Handle centroid rounding inside palette.c itself." into nextgenv2
Urvang Joshi [Fri, 19 Aug 2016 22:22:52 +0000 (22:22 +0000)]
Merge "Handle centroid rounding inside palette.c itself." into nextgenv2

8 years agoMerge "Insert extra ARFs' in a gf group" into nextgenv2
Wei-ting Lin [Fri, 19 Aug 2016 22:10:41 +0000 (22:10 +0000)]
Merge "Insert extra ARFs' in a gf group" into nextgenv2

8 years agoMerge "Fix compiler warnings in rdopt when warped motion is enabled" into nextgenv2
James Zern [Fri, 19 Aug 2016 21:39:59 +0000 (21:39 +0000)]
Merge "Fix compiler warnings in rdopt when warped motion is enabled" into nextgenv2

8 years agoPalette: count Y colors only for screen content.
Urvang Joshi [Fri, 19 Aug 2016 19:53:58 +0000 (12:53 -0700)]
Palette: count Y colors only for screen content.

Change-Id: Id4e12708598100df54bdfcf8cdb248161ab6ef88

8 years agoHandle centroid rounding inside palette.c itself.
Urvang Joshi [Wed, 10 Aug 2016 22:56:47 +0000 (15:56 -0700)]
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

8 years agoFix compiler warnings in rdopt when warped motion is enabled
Sarah Parker [Fri, 19 Aug 2016 01:49:56 +0000 (18:49 -0700)]
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

8 years agoMerge "Don't send segment probability updates when the map isn't updated." into nextgenv2
Alex Converse [Fri, 19 Aug 2016 16:52:10 +0000 (16:52 +0000)]
Merge "Don't send segment probability updates when the map isn't updated." into nextgenv2

8 years agoMerge "apply clang-format" into nextgenv2
James Zern [Fri, 19 Aug 2016 07:31:49 +0000 (07:31 +0000)]
Merge "apply clang-format" into nextgenv2

8 years agoInsert extra ARFs' in a gf group
Wei-ting Lin [Tue, 26 Jul 2016 21:41:15 +0000 (14:41 -0700)]
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

8 years agoDisable global motion experiment when incompatible experiments are enabled
Sarah Parker [Thu, 18 Aug 2016 20:03:35 +0000 (13:03 -0700)]
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

8 years agoapply clang-format
clang-format [Thu, 18 Aug 2016 22:10:22 +0000 (15:10 -0700)]
apply clang-format

after:
253c001 Port dering experiment from aom
7208145 Adding 8x16/16x8/32x16/16x32 transforms

Change-Id: Id93e0d7b72a128701d8dec35fc2fac473944d0c1

8 years agoDon't send segment probability updates when the map isn't updated.
Alex Converse [Wed, 17 Aug 2016 21:20:34 +0000 (14:20 -0700)]
Don't send segment probability updates when the map isn't updated.

BUG=webm:1275

Change-Id: I7d4bbaaf2f2146b023e1902fbc535a70e490cf2d

8 years agoMerge "fix mips msa build w/CONFIG_EXT_TX" into nextgenv2
James Zern [Thu, 18 Aug 2016 01:44:39 +0000 (01:44 +0000)]
Merge "fix mips msa build w/CONFIG_EXT_TX" into nextgenv2

8 years agoMerge "Change the B-frame coding structure." into nextgenv2
Wei-ting Lin [Wed, 17 Aug 2016 21:15:15 +0000 (21:15 +0000)]
Merge "Change the B-frame coding structure." into nextgenv2

8 years agoMerge "Switch order of gm parameters for affine model" into nextgenv2
Sarah Parker [Wed, 17 Aug 2016 20:30:52 +0000 (20:30 +0000)]
Merge "Switch order of gm parameters for affine model" into nextgenv2

8 years agoMerge "Delete DCT 64x64 functions to save code size" into nextgenv2
Yi Luo [Wed, 17 Aug 2016 16:31:27 +0000 (16:31 +0000)]
Merge "Delete DCT 64x64 functions to save code size" into nextgenv2

8 years agoRemove __func__
Angie Chiang [Mon, 15 Aug 2016 15:38:33 +0000 (08:38 -0700)]
Remove __func__

Change-Id: Ibdf1c2d422b9e644eba76fc200c8c10217394036

8 years agofix mips msa build w/CONFIG_EXT_TX
James Zern [Sat, 13 Aug 2016 17:58:54 +0000 (10:58 -0700)]
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

8 years agoDelete DCT 64x64 functions to save code size
Yi Luo [Tue, 16 Aug 2016 18:47:55 +0000 (11:47 -0700)]
Delete DCT 64x64 functions to save code size

- gcc x86_64 build binary is about 47 KB smaller.

Change-Id: I9e5f41fc9c5c75aec453f8b8567e228a6a6cd71d

8 years agoSwitch order of gm parameters for affine model
Sarah Parker [Tue, 16 Aug 2016 02:11:19 +0000 (19:11 -0700)]
Switch order of gm parameters for affine model

This was originally subtracting 1 from the wrong element in the
parameter set.

Change-Id: I790aafc505f7a8fe7bb00d7d6c62549487a0980f

8 years agoChange the B-frame coding structure.
Wei-ting Lin [Mon, 15 Aug 2016 20:52:18 +0000 (13:52 -0700)]
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

8 years agoPort dering experiment from aom
Yaowu Xu [Mon, 15 Aug 2016 17:27:19 +0000 (10:27 -0700)]
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

8 years agoPort commits related to clpf and qm experiments
Yaowu Xu [Thu, 11 Aug 2016 16:39:47 +0000 (09:39 -0700)]
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

8 years agoMerge "Fix dropped const qualifier in new_quant experiment" into nextgenv2
Sarah Parker [Tue, 16 Aug 2016 03:09:53 +0000 (03:09 +0000)]
Merge "Fix dropped const qualifier in new_quant experiment" into nextgenv2

8 years agoFix dropped const qualifier in new_quant experiment
Sarah Parker [Fri, 12 Aug 2016 00:57:28 +0000 (17:57 -0700)]
Fix dropped const qualifier in new_quant experiment

This was causing a compiler warning from -Wcast-qual.

Change-Id: Ie525ffe20be4f38ced68fb0c4141e36400eb0717

8 years agoMerge changes from topic 'clang-format' into nextgenv2
James Zern [Tue, 16 Aug 2016 02:00:00 +0000 (02:00 +0000)]
Merge changes from topic 'clang-format' into nextgenv2

* changes:
  remove tools/vpx-style.sh
  README: add a note about clang-format

8 years agoMerge "Fix precision bug in warped_motion.c" into nextgenv2
Sarah Parker [Mon, 15 Aug 2016 18:51:37 +0000 (18:51 +0000)]
Merge "Fix precision bug in warped_motion.c" into nextgenv2

8 years agoAdding 8x16/16x8/32x16/16x32 transforms
Debargha Mukherjee [Fri, 22 Jul 2016 15:55:42 +0000 (08:55 -0700)]
Adding 8x16/16x8/32x16/16x32 transforms

Adds forward, inverse transforms and scan orders.

Change-Id: Iab6994f4b0ef65e660b714d111b79b1c8172d6a8

8 years agoFix precision bug in warped_motion.c
Sarah Parker [Fri, 12 Aug 2016 23:44:05 +0000 (16:44 -0700)]
Fix precision bug in warped_motion.c

The projected coordiantes in projectPointsTranslation were
being shifted by the incorrect precision.

Change-Id: If6040bea9e5187020d85c6095d85c7ff5786b7f9

8 years agoremove tools/vpx-style.sh
James Zern [Fri, 5 Aug 2016 03:17:09 +0000 (20:17 -0700)]
remove tools/vpx-style.sh

update ftfy.sh to use clang-format

Change-Id: I8ac740c5b3842beed2b8878fbe506f381f4c57e4
(cherry picked from commit 958ae5af9c892e5328ec0363d1a69afbfe0e0907)

8 years agoREADME: add a note about clang-format
James Zern [Thu, 28 Jul 2016 05:16:51 +0000 (22:16 -0700)]
README: add a note about clang-format

Change-Id: I835401e3befffcbc68e7d2bdd2fd556a19948e91
(cherry picked from commit 15f29ef0922c6584dea69ac75367edb2f6934bb3)

8 years agoMerge "webm{dec,enc}.cc,debug_util.c: apply clang-format" into nextgenv2
James Zern [Fri, 12 Aug 2016 23:40:16 +0000 (23:40 +0000)]
Merge "webm{dec,enc}.cc,debug_util.c: apply clang-format" into nextgenv2

8 years agoMerge "vp10/encoder: apply clang-format" into nextgenv2
James Zern [Fri, 12 Aug 2016 23:36:16 +0000 (23:36 +0000)]
Merge "vp10/encoder: apply clang-format" into nextgenv2

8 years agowebm{dec,enc}.cc,debug_util.c: apply clang-format
clang-format [Fri, 12 Aug 2016 22:10:25 +0000 (15:10 -0700)]
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

8 years agoMerge "vp10/common: apply clang-format" into nextgenv2
James Zern [Fri, 12 Aug 2016 23:23:04 +0000 (23:23 +0000)]
Merge "vp10/common: apply clang-format" into nextgenv2

8 years agoMerge "vp10_fwd_txfm2d_test: use sizeof(var)" into nextgenv2
James Zern [Fri, 12 Aug 2016 23:01:45 +0000 (23:01 +0000)]
Merge "vp10_fwd_txfm2d_test: use sizeof(var)" into nextgenv2

8 years agovp10/encoder: apply clang-format
clang-format [Fri, 12 Aug 2016 03:13:14 +0000 (20:13 -0700)]
vp10/encoder: apply clang-format

Change-Id: I58a42ced5b8a4338524434ff3356850b89aa705a

8 years agovp10/common: apply clang-format
clang-format [Fri, 12 Aug 2016 01:55:00 +0000 (18:55 -0700)]
vp10/common: apply clang-format

Change-Id: I01d8241eba3ccaf4d06c00a51df2d17c126f6f9d

8 years agoMerge "vp10/decoder,vp10/*.[hc]: apply clang-format" into nextgenv2
James Zern [Fri, 12 Aug 2016 22:01:48 +0000 (22:01 +0000)]
Merge "vp10/decoder,vp10/*.[hc]: apply clang-format" into nextgenv2

8 years agovp10_fwd_txfm2d_test: use sizeof(var)
James Zern [Fri, 12 Aug 2016 05:56:16 +0000 (22:56 -0700)]
vp10_fwd_txfm2d_test: use sizeof(var)

rather than sizeof(type)

Change-Id: I63755e4ca3810bec2d31013bebcc363c5c9f56ed

8 years agoMerge "test/: apply clang-format" into nextgenv2
James Zern [Fri, 12 Aug 2016 21:57:04 +0000 (21:57 +0000)]
Merge "test/: apply clang-format" into nextgenv2

8 years agoMerge "reconintra_predictors_test: use new[] operator" into nextgenv2
James Zern [Fri, 12 Aug 2016 21:41:32 +0000 (21:41 +0000)]
Merge "reconintra_predictors_test: use new[] operator" into nextgenv2

8 years agotest/: apply clang-format
clang-format [Fri, 12 Aug 2016 00:46:05 +0000 (17:46 -0700)]
test/: apply clang-format

Change-Id: I1138fbeff5f63beb5c0de2c357793da12502d453

8 years agoApply branch prediction on quantize/quantize_skip functions
Yi Luo [Fri, 12 Aug 2016 19:37:32 +0000 (12:37 -0700)]
Apply branch prediction on quantize/quantize_skip functions

- On E5-2680, park_joy_1080p, 5 frames, baseline encoding time
  reduces about 0.8~1.0%.
- Credit goes to Erik Niemeyer (erik.a.niemeyer@intel.com).

Change-Id: I69f191d5a4e4b96a5f9ffd8286e484b69d565c01

8 years agoreconintra_predictors_test: use new[] operator
Yi Luo [Fri, 12 Aug 2016 18:04:56 +0000 (11:04 -0700)]
reconintra_predictors_test: use new[] operator

fixes mix of malloc & delete[]

Change-Id: I89a1de0614234bf8b3dbe4aacfe71f75f39d08ff

8 years agoMerge "Optimization for HBD filter intra predictors (SSE4.1)" into nextgenv2
Yi Luo [Fri, 12 Aug 2016 16:20:53 +0000 (16:20 +0000)]
Merge "Optimization for HBD filter intra predictors (SSE4.1)" into nextgenv2

8 years agovp10/decoder,vp10/*.[hc]: apply clang-format
clang-format [Fri, 12 Aug 2016 01:53:26 +0000 (18:53 -0700)]
vp10/decoder,vp10/*.[hc]: apply clang-format

Change-Id: Ie4d7ecb2f692c1c43eff1242e1f00e7fbae00e57

8 years agoOptimization for HBD filter intra predictors (SSE4.1)
Yi Luo [Wed, 10 Aug 2016 23:21:16 +0000 (16:21 -0700)]
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

8 years agoMerge "vpx_mem/: apply clang-format" into nextgenv2
James Zern [Fri, 12 Aug 2016 00:18:19 +0000 (00:18 +0000)]
Merge "vpx_mem/: apply clang-format" into nextgenv2

8 years agoMerge "Bitstream debug tool" into nextgenv2
Angie Chiang [Thu, 11 Aug 2016 23:44:08 +0000 (23:44 +0000)]
Merge "Bitstream debug tool" into nextgenv2

8 years agoMerge "A fix in optimize_b for new-quant" into nextgenv2
Debargha Mukherjee [Thu, 11 Aug 2016 22:09:33 +0000 (22:09 +0000)]
Merge "A fix in optimize_b for new-quant" into nextgenv2

8 years agovpx_mem/: apply clang-format
clang-format [Thu, 11 Aug 2016 01:35:20 +0000 (18:35 -0700)]
vpx_mem/: apply clang-format

Change-Id: Ib21077a85ded17823ab62e0b7fdf663ae3dbc05d

8 years agoBitstream debug tool
Angie Chiang [Tue, 26 Jul 2016 21:14:20 +0000 (14:14 -0700)]
Bitstream debug tool

This is a debug tool used to detect bitstream error. On encoder side, it pushes
each bit and probability into a queue before the bit is written into the
Arithmetic coder. On decoder side, whenever a bit is read out from the
Arithmetic coder, it pops up the reference bit and probability from the queue as
well. If the two results do not match, this debug tool will report an error.
This tool can be used to pin down the bitstream error precisely. By combining
gdb's backtrace method, we can detect which module causes the bitstream error.

Change-Id: I133a4371fafdd48c488f2ca47f9e395676c401f2

8 years agovpx_ports/: apply clang-format
clang-format [Thu, 11 Aug 2016 01:23:43 +0000 (18:23 -0700)]
vpx_ports/: apply clang-format

Change-Id: I9654530a34a3d0691baeca9d62184cd7b9ac3b4c

8 years agoA fix in optimize_b for new-quant
Debargha Mukherjee [Wed, 10 Aug 2016 22:24:26 +0000 (15:24 -0700)]
A fix in optimize_b for new-quant

Change-Id: I5a7bd3c2d0c7f6cf714367674f1d75510659b54d

8 years agoFix a bug in RATE_FACTOR_LEVEL definition for ext-refs
Zoe Liu [Thu, 28 Jul 2016 00:24:42 +0000 (17:24 -0700)]
Fix a bug in RATE_FACTOR_LEVEL definition for ext-refs

There was a bug in the original set up for RATE_FACTOR_LEVELS, which
results that rate_factor_deltas for GF_ARF_STD is 2.00, instead of the
intentional value of 1.75, whereas for KF_STD is 0.00, instead of the
intentional value of 2.00.

Nevertheless, if simply fixing the bug as in the first patch, the RD
performance unexpectedly dropped by 0.143% in Avg bitrate using
Overall PSNR, especially for following sequences in lowres:

bridge_close_cif: dropped by 1.468%
container_cif: dropped by 2.140%
husky_cif: dropped by 0.826%
motherdaughter_cif: dropped by 0.798%
rasehorses_240p: dropped by 0.805%
students_cif: dropped by 1.411%

This indicates that we should boost up the value for GF_ARF_STD from
1.75 to at least to 2.00. After doing so, while still keeps 2.00 for
KF_STD, the new patch achieves a small gain of 0.15% for the baseline,
and a smaller gain of 0.06% for the experiment of ext-refs. Most
sequences keep the similar RD performance in lowres, except for the
following ones that obtain a bigger gain:

(1) Baseline:
container_cif: 1.628%
students_cif: 1.015%

(2) ext-refs
tennis_sif: 1.248%

Change-Id: I992f8f6a3e20f1b71ec52a1ddc969af4968b78d5

8 years agoMerge "vpx_scale/: apply clang-format" into nextgenv2
Yaowu Xu [Thu, 11 Aug 2016 14:33:47 +0000 (14:33 +0000)]
Merge "vpx_scale/: apply clang-format" into nextgenv2

8 years agovpx_scale/: apply clang-format
clang-format [Thu, 11 Aug 2016 00:28:05 +0000 (17:28 -0700)]
vpx_scale/: apply clang-format

Change-Id: I514654a0704512fb44c7eef5dd045a5767df953a

8 years agoMerge "vpx_util/: apply clang-format" into nextgenv2
James Zern [Thu, 11 Aug 2016 04:00:22 +0000 (04:00 +0000)]
Merge "vpx_util/: apply clang-format" into nextgenv2

8 years agoMerge changes from topic 'clang-format' into nextgenv2
James Zern [Thu, 11 Aug 2016 03:55:52 +0000 (03:55 +0000)]
Merge changes from topic 'clang-format' into nextgenv2

* changes:
  vpx_dsp/: apply clang-format
  vpx/: apply clang-format
  top-level: apply clang-format
  examples: apply clang-format

8 years agovpx_util/: apply clang-format
clang-format [Thu, 11 Aug 2016 00:02:06 +0000 (17:02 -0700)]
vpx_util/: apply clang-format

Change-Id: I831214d16a5bbfdb86e24dbff8afe4ff4aeebdde

8 years agoCode clean on encoder rate controller
Zoe Liu [Thu, 21 Jul 2016 21:30:24 +0000 (14:30 -0700)]
Code clean on encoder rate controller

Change-Id: Iec29c00e24ac8c4f24d43142db6ae03f1b3945ac

8 years agovpx_dsp/: apply clang-format
clang-format [Tue, 9 Aug 2016 05:59:08 +0000 (22:59 -0700)]
vpx_dsp/: apply clang-format

Change-Id: Ia3f96910409be4ae8a4907a2f0dee73b1af8f93d

8 years agovpx/: apply clang-format
clang-format [Tue, 9 Aug 2016 03:22:13 +0000 (20:22 -0700)]
vpx/: apply clang-format

Change-Id: I727b41153cc7929a143e5c370623277558b66e80

8 years agotop-level: apply clang-format
clang-format [Tue, 9 Aug 2016 02:03:30 +0000 (19:03 -0700)]
top-level: apply clang-format

Change-Id: Iac1d97d84518649404e32b136b8fdd840723303c

8 years agoexamples: apply clang-format
clang-format [Tue, 9 Aug 2016 01:51:16 +0000 (18:51 -0700)]
examples: apply clang-format

Change-Id: I06903104bf822819fae39e42fdb6e44d3f9d7787

8 years agoPalette code: Use built-in qsort() method; create remove_dup() method.
Urvang Joshi [Thu, 4 Aug 2016 23:17:58 +0000 (16:17 -0700)]
Palette code: Use built-in qsort() method; create remove_dup() method.

Change-Id: Id816413307334336a9f473540cf9aa0e789ea9e9

8 years agoMerge "Fix for lossless with rect-tx" into nextgenv2
Debargha Mukherjee [Wed, 10 Aug 2016 19:06:47 +0000 (19:06 +0000)]
Merge "Fix for lossless with rect-tx" into nextgenv2

8 years agoMerge changes I619b365d,I579a9328 into nextgenv2
James Zern [Wed, 10 Aug 2016 19:06:16 +0000 (19:06 +0000)]
Merge changes I619b365d,I579a9328 into nextgenv2

* changes:
  lossless_test: mark tests as Large
  cpu_speed_test: mark speed 0 as Large

8 years agoMerge "Palette code cleanup:" into nextgenv2
Urvang Joshi [Wed, 10 Aug 2016 19:05:11 +0000 (19:05 +0000)]
Merge "Palette code cleanup:" into nextgenv2

8 years agoChange to use proper types
Yaowu Xu [Wed, 10 Aug 2016 01:36:23 +0000 (18:36 -0700)]
Change to use proper types

block: from int64_t to int as it is a block index.
sse: from unsigned int to int64_t to reduce type conversion.

Change-Id: Iec8104ff8a3fd3a77d4e451c12918bd869966c2f

8 years agoFix for lossless with rect-tx
Peter de Rivaz [Wed, 10 Aug 2016 09:19:09 +0000 (10:19 +0100)]
Fix for lossless with rect-tx

Change-Id: Ibb1e5d5137c7717bc6a8683ad78d842c3e5f052e

8 years agolossless_test: mark tests as Large
James Zern [Wed, 10 Aug 2016 03:39:44 +0000 (20:39 -0700)]
lossless_test: mark tests as Large

Change-Id: I619b365d636737da8b1a322bab3be973de53200d

8 years agocpu_speed_test: mark speed 0 as Large
James Zern [Wed, 10 Aug 2016 03:32:51 +0000 (20:32 -0700)]
cpu_speed_test: mark speed 0 as Large

TestTuneScreen / TestScreencastQ0 are the worst offenders

Change-Id: I579a93289aa431afbfea8a280ddcb1011ab1a8cf

8 years agoMerge "vp10_highbd_quantize_fp: use const consistently" into nextgenv2
Yaowu Xu [Wed, 10 Aug 2016 03:13:42 +0000 (03:13 +0000)]
Merge "vp10_highbd_quantize_fp: use const consistently" into nextgenv2

8 years agovp10_highbd_quantize_fp: use const consistently
Yaowu Xu [Wed, 10 Aug 2016 00:59:47 +0000 (17:59 -0700)]
vp10_highbd_quantize_fp: use const consistently

Remove a few extra ones that are consistent with the definitions, this
fixes some MSVC warnings.

Change-Id: I4b26de4cca71f0ac85667bd641c448b44315941b

8 years agoMerge "remove SVC" into nextgenv2
James Zern [Wed, 10 Aug 2016 03:07:07 +0000 (03:07 +0000)]
Merge "remove SVC" into nextgenv2

8 years agoremove SVC
James Zern [Mon, 8 Aug 2016 22:09:30 +0000 (15:09 -0700)]
remove SVC

spatial/temporal scalability are not supported in VP10 currently.
+ remove the unused vp10/encoder/skin_detection.[hc]

this also enables DatarateTestLarge for VP10 which passes with no
experiments enabled. these were removed previously when only the SVC
tests should have been:
134710a Disable tests not applicable to VP10

Change-Id: I9ee7a0dd5ad3d8cc1e8fd5f0a90260fa43da387c

8 years agoMerge "Add interface to compute gm parameters in encodeframe" into nextgenv2
Sarah Parker [Wed, 10 Aug 2016 00:37:28 +0000 (00:37 +0000)]
Merge "Add interface to compute gm parameters in encodeframe" into nextgenv2

8 years agoMerge "remove vp8cx_set_ref.c" into nextgenv2
James Zern [Wed, 10 Aug 2016 00:03:54 +0000 (00:03 +0000)]
Merge "remove vp8cx_set_ref.c" into nextgenv2

8 years agoAdd interface to compute gm parameters in encodeframe
Sarah Parker [Tue, 9 Aug 2016 01:11:05 +0000 (18:11 -0700)]
Add interface to compute gm parameters in encodeframe

This patch just creates the interface for global motion computation
and calls it from encodeframe. Currently, the function
compute_global_motion_feature_based is empty and the work to do
the actual parameter calculation will be added in a future patch.

Change-Id: Ife142742140079e1c1743b66f180aeb2ecea29ae

8 years agoMerge "Fix a bug for multi_arf_allowed" into nextgenv2
Wei-ting Lin [Tue, 9 Aug 2016 21:09:56 +0000 (21:09 +0000)]
Merge "Fix a bug for multi_arf_allowed" into nextgenv2

8 years agoPalette code cleanup:
Urvang Joshi [Thu, 4 Aug 2016 18:00:17 +0000 (11:00 -0700)]
Palette code cleanup:

- Avoid some memcpy()s
- Remove indices array
- Make pre_indices array local
- Avoid rounding twice
- Other small simplifications

Change-Id: Iac3236daaad04f21f54054cdd9504de13b942a07

8 years agoremove vp8cx_set_ref.c
James Zern [Tue, 9 Aug 2016 00:14:04 +0000 (17:14 -0700)]
remove vp8cx_set_ref.c

and the related tests. vpxcx_set_ref is the binary to use for vp10.

Change-Id: I4c4ce7b36b165e6d06b87fd6b53923a1c11e4e6c