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

8 years agoMerge "Adjust gm parameter computation to avoid mismatch" into nextgenv2
Sarah Parker [Wed, 3 Aug 2016 21:42:30 +0000 (21:42 +0000)]
Merge "Adjust gm parameter computation to avoid mismatch" into nextgenv2

8 years agoMerge "Cherry pick from AOMedia" into nextgenv2
Yaowu Xu [Wed, 3 Aug 2016 19:25:22 +0000 (19:25 +0000)]
Merge "Cherry pick from AOMedia" into nextgenv2

8 years agoMerge "Cherry pick from AOM:" into nextgenv2
Yaowu Xu [Wed, 3 Aug 2016 19:25:17 +0000 (19:25 +0000)]
Merge "Cherry pick from AOM:" into nextgenv2

8 years agomore cleanup of vp8 and vp9
Yaowu Xu [Wed, 3 Aug 2016 18:33:39 +0000 (11:33 -0700)]
more cleanup of vp8 and vp9

Change-Id: Ic90ebe6136f4b75645ba699d49c0bcb3764ddccf

8 years agoAdjust gm parameter computation to avoid mismatch
Sarah Parker [Tue, 2 Aug 2016 19:28:41 +0000 (12:28 -0700)]
Adjust gm parameter computation to avoid mismatch

The gm parameters need to have WARPED_PRECISION_BITS precision
until they are written to the bitstream because functions in
reconinter use these parameters before they are written to
the bitstream. Previously, the parameters weren't being converted
to WARPED_PRECISION_BITS until they were read from the bitstream
which causes an encode/decode mismatch.

Change-Id: I31e76e9d6f7d24df21af287a72f8c01f1997304d

8 years agoMerge "Fix a bug and a function name in EXT_INTRA experiment" into nextgenv2
Yue Chen [Wed, 3 Aug 2016 17:04:14 +0000 (17:04 +0000)]
Merge "Fix a bug and a function name in EXT_INTRA experiment" into nextgenv2

8 years agoCherry pick from AOMedia
Yaowu Xu [Fri, 29 Jul 2016 23:45:53 +0000 (16:45 -0700)]
Cherry pick from AOMedia

5b5fbad VP9LfSync->VP10LfSync
b752848 vp8_yv12 -> vpx_yv12
e5068cd VP9->VPX for reference frame flags

Change-Id: Ia36860499c81a5aca8cd6190e7370ec404c0df0f

8 years agoFix a bug and a function name in EXT_INTRA experiment
Yue Chen [Tue, 2 Aug 2016 22:18:44 +0000 (15:18 -0700)]
Fix a bug and a function name in EXT_INTRA experiment

(1) Apply ALLOW_FILTER_INTRA_MODES flag to the correct place, otherwise
there are bitstream mismatchs when it is 0.
(2) Rename pick_ext_intra_iframe() to pick_ext_intra_interframe().

Change-Id: Ic88c930de1d3f819750f0892df52bde55ae32a91

8 years agoCherry pick from AOM:
Yaowu Xu [Fri, 29 Jul 2016 22:38:55 +0000 (15:38 -0700)]
Cherry pick from AOM:

68e7e4d0 Remove VP9_CAP_POSTPROC
0738390c Remove vp9_temporal denoise
b89861a4 Remove vp9-postproc

Change-Id: I4ecaa0ac83a519c8174a494378fc23df610ff2a8

8 years agoDisable tests not applicable to VP10
Yaowu Xu [Mon, 1 Aug 2016 20:32:40 +0000 (13:32 -0700)]
Disable tests not applicable to VP10

As VP10 does not support multiple layers yet, we disable the ported
tests from VP9.

Change-Id: Ib7577c27e402ede481213b7a64ebee7576a025a5

8 years agoMerge "Use all possible intra ref pixels for blocks on frame boundary" into nextgenv2
Hui Su [Mon, 1 Aug 2016 17:29:09 +0000 (17:29 +0000)]
Merge "Use all possible intra ref pixels for blocks on frame boundary" into nextgenv2

8 years agoMerge "Cherry pick renaming changes from AOMedia branch" into nextgenv2
Yaowu Xu [Mon, 1 Aug 2016 17:16:06 +0000 (17:16 +0000)]
Merge "Cherry pick renaming changes from AOMedia branch" into nextgenv2

8 years agoMerge "Rename files with vp9_ prefix" into nextgenv2
Yaowu Xu [Mon, 1 Aug 2016 17:15:49 +0000 (17:15 +0000)]
Merge "Rename files with vp9_ prefix" into nextgenv2

8 years agoCherry pick renaming changes from AOMedia branch
Yaowu Xu [Fri, 29 Jul 2016 17:14:19 +0000 (10:14 -0700)]
Cherry pick renaming changes from AOMedia branch

Manually cherry-picked the following changes:
8c8d16de vp9 -> vpx in names
75b57d39 VP9_ -> VPX_ in function names
761a7088 VP9_INTERP_EXTEND -> VPX_INTERP_EXTEND
4273a52c VP9->VPX in border pixel macros
03568c31 VP9_FRAME_MARKER -> VPX_FRAME_MARKER
2334f51d VP9->VPX in fdct function names

Change-Id: Icc18dbf4b416dd0fa21033b3e19ab8a47c893508

8 years agoUse all possible intra ref pixels for blocks on frame boundary
hui su [Thu, 28 Jul 2016 17:44:58 +0000 (10:44 -0700)]
Use all possible intra ref pixels for blocks on frame boundary

Tested on lowres and midres, performance impact is neutral.

BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1269

Change-Id: Idaccaf7da7b460e6201efd436c084be66b5d4ebd

8 years agoMerge "More vp8/vp9 clean up" into nextgenv2
Yaowu Xu [Fri, 29 Jul 2016 16:50:33 +0000 (16:50 +0000)]
Merge "More vp8/vp9 clean up" into nextgenv2

8 years agoRename files with vp9_ prefix
Yaowu Xu [Thu, 28 Jul 2016 18:51:48 +0000 (11:51 -0700)]
Rename files with vp9_ prefix

Change-Id: I9c51ae3a2af698efe32288b807f881385e19822b

8 years agoMore vp8/vp9 clean up
Yaowu Xu [Wed, 27 Jul 2016 22:52:42 +0000 (15:52 -0700)]
More vp8/vp9 clean up

Change-Id: I8101de20e873c19d03c7fd2977bc22003e395807

8 years agoFix a missing space
hui su [Thu, 28 Jul 2016 16:54:50 +0000 (09:54 -0700)]
Fix a missing space

Change-Id: I6a9ab351012b731308d6b4fc78c09744c6afb61a

8 years agoMerge "Separate frame context index for different frame types" into nextgenv2
Jingning Han [Thu, 28 Jul 2016 16:39:44 +0000 (16:39 +0000)]
Merge "Separate frame context index for different frame types" into nextgenv2

8 years agoRemove vp8, vp9 folders
Yaowu Xu [Mon, 25 Jul 2016 22:39:46 +0000 (15:39 -0700)]
Remove vp8, vp9 folders

Change-Id: I09b8acd22d031ece52e1fee18b998349bf1cf06b

8 years agoSeparate frame context index for different frame types
Jingning Han [Wed, 27 Jul 2016 16:12:53 +0000 (09:12 -0700)]
Separate frame context index for different frame types

This commit makes the encoder to use different frame context index
for different frame types. In the baseline setting, it sets the
frame context index of the overlay frame to be different from other
regular inter frames. In the ext-refs setting, it further allows
the backward reference frame to use a different index.

It improves the compression performance for both settings.

Baseline
lowres  0.12%

ext-refs
lowres  0.50%
midres  0.56%

Change-Id: I7c63ddec9fc296c56a86353cf2c661a740b97a97

8 years ago.clang-format: disable DerivePointerAlignment
James Zern [Tue, 26 Jul 2016 23:34:54 +0000 (16:34 -0700)]
.clang-format: disable DerivePointerAlignment

everything outside of third_party should follow 'PointerAlignment:
right' i.e., associate the '*' with the variable

+ add a note about the clang-format that generated this file

Change-Id: I13e3f4f5fb6e22a8fa7fc3d06879c995b7c41a39
(cherry picked from commit e4290800b21478a3f9548c58b4f15c5ba5393073)