]> granicus.if.org Git - libvpx/log
libvpx
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 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

8 years agoMerge "configure: test for -Wfloat-conversion" into nextgenv2
James Zern [Mon, 8 Aug 2016 21:48:14 +0000 (21:48 +0000)]
Merge "configure: test for -Wfloat-conversion" into nextgenv2

8 years agoMerge "Optimization EXT_INTRA's filtered intra predictor (SSE4.1)" into nextgenv2
Yi Luo [Mon, 8 Aug 2016 20:55:43 +0000 (20:55 +0000)]
Merge "Optimization EXT_INTRA's filtered intra predictor (SSE4.1)" into nextgenv2

8 years agoAdd reconstruction using gm parameters
Sarah Parker [Wed, 3 Aug 2016 19:29:27 +0000 (12:29 -0700)]
Add reconstruction using gm parameters

This patch only includes inter frame reconstruction using gm
parameters when GLOBAL_MOTION and/or VP9_HIGHBITDEPTH are enabled.
GM is not currently used when EXT_INTER or DUAL_FILTER is enabled.
This will be added in a followup patch. For now, these experiments
will take precedence over GLOBAL_MOTION when they are all enabled.

Change-Id: I930ddda529c44d7245dbb56db3c9c5524cf45473

8 years agoOptimization EXT_INTRA's filtered intra predictor (SSE4.1)
Yi Luo [Tue, 2 Aug 2016 16:57:08 +0000 (09:57 -0700)]
Optimization EXT_INTRA's filtered intra predictor (SSE4.1)

- Add unit tests to verify the bit-exact result.
- In speed test, function speed (for each mode/tx_size)
  improves about 23%~35%.
- On E5-2680, park_joy_1080p, 10 frames, --kf-max-dist=1,
  encoding time improves about 1%~2%.

Change-Id: Id89f313d44eea562c02e775a6253dc4df7e046a9

8 years agoMerge "Speed filter intra mode search in EXT_INTRA experiment" into nextgenv2
Yue Chen [Sat, 6 Aug 2016 00:17:33 +0000 (00:17 +0000)]
Merge "Speed filter intra mode search in EXT_INTRA experiment" into nextgenv2

8 years agoconfigure: test for -Wfloat-conversion
James Zern [Fri, 22 Jul 2016 20:13:56 +0000 (13:13 -0700)]
configure: test for -Wfloat-conversion

supported by clang, gcc-4.9+

Change-Id: I893766de7307fef9a8b68c0cfae137c9d3b0dbe8
(cherry picked from commit 889ed5b158fc280927f2de9172d48245c3b735a7)

8 years agoMerge "warped_motion: remove unused vp10_integerize_model" into nextgenv2
James Zern [Sat, 6 Aug 2016 00:02:14 +0000 (00:02 +0000)]
Merge "warped_motion: remove unused vp10_integerize_model" into nextgenv2

8 years agoSpeed filter intra mode search in EXT_INTRA experiment
Yue Chen [Fri, 5 Aug 2016 17:37:24 +0000 (10:37 -0700)]
Speed filter intra mode search in EXT_INTRA experiment

(1) Key frame: skip filter intra modes whose directional pred
    version is relatively bad (rd >= 1.125 * best_rd)
(2) Inter frame: do not check filter intra modes if best_intra_rd
    >= 1.25 * best_rd

Encoding time overhead is reduced by:
4.9% (9.2%->4.3%, soccer_cif)
Coding gains drop by 0.021% on lowres and by 0.076% on midres

Change-Id: I29b6f7d3d3dc4b362c6d63bc447e6a429ba5dc66

8 years agoFix a bug for multi_arf_allowed
Wei-ting Lin [Fri, 5 Aug 2016 20:32:47 +0000 (13:32 -0700)]
Fix a bug for multi_arf_allowed

The ARF Index was wrong when updating the upsampled reference
frame buffer.

Compared to the baseline in which multi_arf_allowed is disabled, the
RD performance drops 2.250% in Avg using Overall PSNR in the derf
dataset. The performance decrease is especially in the following
video sequences:

foreman_cif: drops 7.489%
husky_cif: drops 6.421%
soccer_cif: drops 4.850%

However, it has a significant gain in the following video sequences:

container_cif: increases 8.043%
harbour_cif: increases 1.332%

Change-Id: I02472909eb34bd070d7544f57383e72559fa42b3

8 years agoPalette code: simpler and faster duplicate removal
Urvang Joshi [Thu, 4 Aug 2016 00:02:03 +0000 (17:02 -0700)]
Palette code: simpler and faster duplicate removal

Change-Id: I0c1baa5ca73c1f067d69239d3e31d1050b4706d2

8 years agoMerge "Code refactoring on Macros related to ref frame numbers" into nextgenv2
Zoe Liu [Fri, 5 Aug 2016 16:59:35 +0000 (16:59 +0000)]
Merge "Code refactoring on Macros related to ref frame numbers" into nextgenv2

8 years agoMerge "Make palette code faster: replace nested for loops by a single memcpy()."...
Urvang Joshi [Fri, 5 Aug 2016 00:20:11 +0000 (00:20 +0000)]
Merge "Make palette code faster: replace nested for loops by a single memcpy()." into nextgenv2

8 years agoMerge "Replace variants of 'vp8' and 'vp9' with 'vpx'" into nextgenv2
Yaowu Xu [Thu, 4 Aug 2016 23:48:59 +0000 (23:48 +0000)]
Merge "Replace variants of 'vp8' and 'vp9' with 'vpx'" into nextgenv2

8 years agoMerge changes Ic5ddba3c,Ibe7a3248 into nextgenv2
Yaowu Xu [Thu, 4 Aug 2016 23:27:35 +0000 (23:27 +0000)]
Merge changes Ic5ddba3c,Ibe7a3248 into nextgenv2

* changes:
  Fix a number of msvc warnings
  Reduce number of frames in lossless tests

8 years agoReplace variants of 'vp8' and 'vp9' with 'vpx'
Yaowu Xu [Thu, 4 Aug 2016 20:57:22 +0000 (13:57 -0700)]
Replace variants of 'vp8' and 'vp9' with 'vpx'

Change-Id: Id6cb96b0b15efdda63348d8bfe59fc0533c85ba1

8 years agoMake palette code faster: replace nested for loops by a single memcpy().
Urvang Joshi [Wed, 3 Aug 2016 23:42:11 +0000 (16:42 -0700)]
Make palette code faster: replace nested for loops by a single memcpy().

Change-Id: Ia14df45a35c98d680822454fbb8d1763884c1852

8 years agoFix a number of msvc warnings
Yaowu Xu [Wed, 3 Aug 2016 21:36:23 +0000 (14:36 -0700)]
Fix a number of msvc warnings

Change-Id: Ic5ddba3ca0c87245617b6dbc78c0f13dc952ce8b

8 years agoReduce number of frames in lossless tests
Yaowu Xu [Thu, 4 Aug 2016 21:36:29 +0000 (14:36 -0700)]
Reduce number of frames in lossless tests

This it to reduce the time necessary for these tests.

Change-Id: Ibe7a3248a6c45baf575af85fdffcffc557dd054b

8 years agovp10_inv_txfm2d_test: normalize max_error type
James Zern [Wed, 3 Aug 2016 02:54:17 +0000 (19:54 -0700)]
vp10_inv_txfm2d_test: normalize max_error type

quiets double -> int conversion warning

Change-Id: Ic860d187bc77e18b277eef28310feee1899cdbe6

8 years agoMerge ".clang-format: disable DerivePointerAlignment" into nextgenv2
James Zern [Thu, 4 Aug 2016 19:21:38 +0000 (19:21 +0000)]
Merge ".clang-format: disable DerivePointerAlignment" into nextgenv2

8 years agoMerge "more cleanup of vp8 and vp9" into nextgenv2
Yaowu Xu [Thu, 4 Aug 2016 18:56:46 +0000 (18:56 +0000)]
Merge "more cleanup of vp8 and vp9" into nextgenv2

8 years agoCode refactoring on Macros related to ref frame numbers
Zoe Liu [Wed, 3 Aug 2016 21:46:43 +0000 (14:46 -0700)]
Code refactoring on Macros related to ref frame numbers

We have renamed following Macros to avoid name confusion:

REFS_PER_FRAME --> INTER_REFS_PER_FRAME
(= ALTREF_FRAME - LAST_FRAME + 1)
MAX_REF_FRAMES --> TOTAL_REFS_PER_FRAME
(= ALTREF_FRAME - INTRA_FRAME + 1)

INTER_REFS_PER_FRAME specifies the maximum number of reference frames
that each Inter frame may use.
TOTAL_REFS_PER_FRAME is equal to INTER_REFS_PER_FRAME + 1, which
counts the INTRA_FRAME.

Further, at the encoder side, since REF_FRAMES specifies the maximum
number of the reference frames that the encoder may store, REF_FRAMES
is usually larger than INTER_REFS_PER_FRAME. For example, in the
ext-refs experiment, REF_FRAMES == 8, which allows the encoder to
store maximum 8 reference frames in the buffer, but
INTER_REFS_PER_FRAME equals to 6, which allows each Inter frame may
use up to 6 frames out of the 8 buffered frames as its references.
Hence, in order to explore the possibility to store more reference
frames in future patches, we modified a couple of array sizes to
accomodate the case that the number of buffered reference frames is
not always equal to the number of the references that are being used
by each Inter frame.

Change-Id: I19e42ef608946cc76ebfd3e965a05f4b9b93a0b3

8 years agowarped_motion: remove unused vp10_integerize_model
James Zern [Wed, 3 Aug 2016 22:52:03 +0000 (15:52 -0700)]
warped_motion: remove unused vp10_integerize_model

this function produces implicit double -> int conversion warnings and
has additional style issues.

Change-Id: I6bc740e778658d6f81ca54888fc6fa822d3b5ee0