]> granicus.if.org Git - libvpx/log
libvpx
8 years agoApply mv precision check to reference mv candidate
Jingning Han [Thu, 3 Mar 2016 04:09:54 +0000 (20:09 -0800)]
Apply mv precision check to reference mv candidate

This allows the codec to use effective motion vector as the candidate
to produce the reference motion vector list.

Change-Id: Ib90be705fe28200c13376d6d7741800a61f13043

8 years agoDo sub-pixel motion search in up-sampled reference frames
Yunqing Wang [Tue, 16 Feb 2016 22:33:18 +0000 (14:33 -0800)]
Do sub-pixel motion search in up-sampled reference frames

Up-sampled the reference frames to 8 times in each dimension using
the 8-tap interpolation filter. In sub-pixel motion search, use the
up-sampled reference frames to find the best matching blocks. This
largely improved the motion search precision, and thus, improved
the compression quality. There was no change in decoder side.

Borg test and speed test results:
1. On derflr set,
Overall PSNR gain: 1.306%, and SSIM gain: 1.512%.
Average speed loss on derf set was 6.0%.
2. On stdhd set,
Overall PSNR gain: 0.754%, and SSIM gain: 0.814%.
On hevchd set,
Overall PSNR gain: 0.465%, and SSIM gain: 0.527%.
Speed loss on HD clips was 3.5%.

Change-Id: I300ebaafff57e88914f3dedc8784cb21d316b04f

8 years agoA build fix and some other cosmetic changes
Debargha Mukherjee [Mon, 29 Feb 2016 18:08:23 +0000 (10:08 -0800)]
A build fix and some other cosmetic changes

Fixes some issues introduced by a merge of two patches.
Also decouples the temporal interpolation filter from the switchable
filters for now for ease of experimentation with both separately.

Change-Id: If1c7c08adf00e0cf818fe8d0d3656c26ea65eb32

8 years agoMerge "Some refactoring and cleanups of interp filter" into nextgenv2
Debargha Mukherjee [Mon, 29 Feb 2016 15:55:48 +0000 (15:55 +0000)]
Merge "Some refactoring and cleanups of interp filter" into nextgenv2

8 years agoMerge "Fix compiler warnings" into nextgenv2
Hui Su [Sat, 27 Feb 2016 05:04:01 +0000 (05:04 +0000)]
Merge "Fix compiler warnings" into nextgenv2

8 years agoMerge "Enable improved temporal filter in ext-interp experiment" into nextgenv2
Jingning Han [Sat, 27 Feb 2016 01:22:15 +0000 (01:22 +0000)]
Merge "Enable improved temporal filter in ext-interp experiment" into nextgenv2

8 years agoMerge "Unify frame border extension operation" into nextgenv2
Jingning Han [Sat, 27 Feb 2016 01:22:03 +0000 (01:22 +0000)]
Merge "Unify frame border extension operation" into nextgenv2

8 years agoSome refactoring and cleanups of interp filter
Debargha Mukherjee [Fri, 26 Feb 2016 08:18:03 +0000 (00:18 -0800)]
Some refactoring and cleanups of interp filter

Includes various cosmetic changes and refactoring including
naming the sharp filters differently (since they are no longer
8-tap).

Change-Id: Ida5a19ca0daa9f6a64a6734394c685b2a4a2564a

8 years agoEnable improved temporal filter in ext-interp experiment
Jingning Han [Fri, 26 Feb 2016 20:36:03 +0000 (12:36 -0800)]
Enable improved temporal filter in ext-interp experiment

It improves the coding performance by 0.3%.

Change-Id: I9703abd705ceacdf9e7424428e5120253cadcc18

8 years agoUnify frame border extension operation
Jingning Han [Fri, 26 Feb 2016 17:23:43 +0000 (09:23 -0800)]
Unify frame border extension operation

This commit unifies the encoder and decoder border extension and
motion compensated prediction process. Remove the decoder specific
flow to simplify the development flow.

Change-Id: I9c43bbe6d7c017e6da2db6a62c5bf3d0af7ccfce

8 years agoFix compiler warnings
hui su [Fri, 26 Feb 2016 21:26:54 +0000 (13:26 -0800)]
Fix compiler warnings

Change-Id: Id7240260cec471a3f8d0986b9c8df06efda925f9

8 years agoPort interintra experiment from nextgen.
Geza Lore [Mon, 22 Feb 2016 10:55:32 +0000 (10:55 +0000)]
Port interintra experiment from nextgen.

The interintra experiment, which combines an inter prediction and an
inter prediction have been ported from the nextgen branch. The
experiment is merged into ext_inter, so there is no separate configure
option to enable it.

Change-Id: I0cc20cefd29e9b77ab7bbbb709abc11512320325

8 years agoMerge "Hooks to use 32x32 masked transforms for ext-tx" into nextgenv2
Debargha Mukherjee [Fri, 26 Feb 2016 20:54:37 +0000 (20:54 +0000)]
Merge "Hooks to use 32x32 masked transforms for ext-tx" into nextgenv2

8 years agoMerge "Implemented DST 8x8 with SSE2 intrinsics." into nextgenv2
Yi Luo [Fri, 26 Feb 2016 19:10:00 +0000 (19:10 +0000)]
Merge "Implemented DST 8x8 with SSE2 intrinsics." into nextgenv2

8 years agoMerge "Use sharp filter for alter reference frame generation" into nextgenv2
Jingning Han [Fri, 26 Feb 2016 16:24:59 +0000 (16:24 +0000)]
Merge "Use sharp filter for alter reference frame generation" into nextgenv2

8 years agoMerge "Enable context based motion vector entropy coding" into nextgenv2
Jingning Han [Fri, 26 Feb 2016 16:24:49 +0000 (16:24 +0000)]
Merge "Enable context based motion vector entropy coding" into nextgenv2

8 years agoMerge "Extend vpxssim to handle more HBD combinations" into nextgenv2
Yaowu Xu [Fri, 26 Feb 2016 15:57:40 +0000 (15:57 +0000)]
Merge "Extend vpxssim to handle more HBD combinations" into nextgenv2

8 years agoUse sharp filter for alter reference frame generation
Jingning Han [Wed, 24 Feb 2016 23:33:10 +0000 (15:33 -0800)]
Use sharp filter for alter reference frame generation

This commit uses 12-tap sharp filter to generate alter reference
frame. It improves the compression performance by
derf    0.45%
hevcmr  0.35%
stdhd   0.79%

No encoding time change is observed.

Change-Id: Ia5dc26d5aae6b9b0cb782e5a28dc5066eeeb2ec8

8 years agoMerge "Add test for screen content coding tools in end to end test" into nextgenv2
Hui Su [Thu, 25 Feb 2016 03:47:03 +0000 (03:47 +0000)]
Merge "Add test for screen content coding tools in end to end test" into nextgenv2

8 years agoAdd test for screen content coding tools in end to end test
hui su [Wed, 24 Feb 2016 20:33:19 +0000 (12:33 -0800)]
Add test for screen content coding tools in end to end test

Test screen content coding tools (currently only palette) at
speed 1 and two-pass.

Change-Id: I3c467aee1cd9c366c65a3abfdccfafa0416b59b7

8 years agoImplemented DST 8x8 with SSE2 intrinsics.
Yi Luo [Wed, 24 Feb 2016 00:59:38 +0000 (16:59 -0800)]
Implemented DST 8x8 with SSE2 intrinsics.

Implemented fdst8_sse2() function against C version: fdst8().
Added seven DST related hybrid transform types in vp10_fht8x8_sse2().
Replaced vp10_fht8x8_c() with vp10_fht8x8_sse2() in fwd_txfm_8x8().
Speedup: 18.1%, 11.5%, 22.0% based on speed test from
city_cif.y4m, garden_sif.y4m, mobile_cif.y4m.

Change-Id: Ia4aa1ea44c7a33e494f64ce843037f8703f975e3

8 years agoHooks to use 32x32 masked transforms for ext-tx
Debargha Mukherjee [Sat, 13 Feb 2016 00:44:33 +0000 (16:44 -0800)]
Hooks to use 32x32 masked transforms for ext-tx

Adds hooks to use 32x32 ext-tx. Also adds scan orders for the masked
transforms for 32x32.
Make macro USE_MSKTX_FOR_32X32 1 in blockd.h to support 32x32 masked
transforms for ext-tx.

Change-Id: Ie6564830266651fcafae2d536c274dafd664ce17

8 years agoAdds an utility macro ROUNDZ_POWER_OF_TWO
Debargha Mukherjee [Wed, 24 Feb 2016 19:25:20 +0000 (11:25 -0800)]
Adds an utility macro ROUNDZ_POWER_OF_TWO

This macro works for the shift parameter being 0.
The ROUND_POWER_OF_TWO macro does not.

Change-Id: I8434d2933892e09bbc0d2dafc934d0c3637df347

8 years agoMerge "Fix some compiler warnings." into nextgenv2
Hui Su [Wed, 24 Feb 2016 20:28:37 +0000 (20:28 +0000)]
Merge "Fix some compiler warnings." into nextgenv2

8 years agoMerge "Some fixes in reconintra" into nextgenv2
Debargha Mukherjee [Wed, 24 Feb 2016 20:25:25 +0000 (20:25 +0000)]
Merge "Some fixes in reconintra" into nextgenv2

8 years agoFix some compiler warnings.
hui su [Wed, 24 Feb 2016 19:17:33 +0000 (11:17 -0800)]
Fix some compiler warnings.

"taking the absolute value of unsigned type 'unsigned int' has no effect"

Change-Id: Iea1f67c2a3171a98ca89d5dc7192a5508d086c16

8 years agoMerge remote-tracking branch 'webm/master' into nextgenv2
Yaowu Xu [Wed, 24 Feb 2016 18:53:17 +0000 (10:53 -0800)]
Merge remote-tracking branch 'webm/master' into nextgenv2

8 years agoSome fixes in reconintra
Debargha Mukherjee [Wed, 24 Feb 2016 18:27:56 +0000 (10:27 -0800)]
Some fixes in reconintra

Change-Id: I0b0fa7c9853ce12d39ee21829686b308154b2c61

8 years agoMerge "Rename above and left offset variables." into nextgenv2
Debargha Mukherjee [Wed, 24 Feb 2016 18:48:21 +0000 (18:48 +0000)]
Merge "Rename above and left offset variables." into nextgenv2

8 years agoMerge "Experiment to use image domain dist in baseline." into nextgenv2
Debargha Mukherjee [Wed, 24 Feb 2016 18:30:50 +0000 (18:30 +0000)]
Merge "Experiment to use image domain dist in baseline." into nextgenv2

8 years agoRename above and left offset variables.
Geza Lore [Mon, 22 Feb 2016 10:58:52 +0000 (10:58 +0000)]
Rename above and left offset variables.

These variable names were legacy from a previous version of this
function and in the current version they were confusingly backwards.

Change-Id: I4f6c1628f296fd5b650fd9c5e2d56d7daf66a3f6

8 years agoEnable context based motion vector entropy coding
Jingning Han [Tue, 23 Feb 2016 17:25:24 +0000 (09:25 -0800)]
Enable context based motion vector entropy coding

This commit enables a context based motion vector entropy coding
conditioned on dynamic reference motion vector list. This (along with
the previous CL) imporves the coding gains due to dynamic motion
vector referencing based entropy coding:
derf   0.1%
hevcmr 0.2%
stdhd  0.7%
hevchr 0.4%

No encoding time change was observed.

Change-Id: I179c723844079195f6952a12582996a3ca9e9914

8 years agoMerge "Optimizing obmc rd decision by checking the real rd cost" into nextgenv2
Yue Chen [Tue, 23 Feb 2016 23:05:06 +0000 (23:05 +0000)]
Merge "Optimizing obmc rd decision by checking the real rd cost" into nextgenv2

8 years agoOptimizing obmc rd decision by checking the real rd cost
Yue Chen [Thu, 18 Feb 2016 20:35:14 +0000 (12:35 -0800)]
Optimizing obmc rd decision by checking the real rd cost

Instead of using model_rd_for_sb() to estimate the cost and make the
decision on bmc/obmc, we use super_block_yrd/uvrd() to calculate and
compare the real rd costs of bmc and obmc.

Average bit-rate reduction(%) of obmc experiment:
derflr/derfhd/hevcmr/hevchd
2.353/TBD/TBD/TBD
Before the optimization, the coding gain was:
1.582/1.109/1.600/1.164

Note: there is still some mysterious bug because that compared to
the previous version, the performance at low bit rate drops a lot.

Change-Id: I8dbee04a272190f10516a3953c1ae690f8136766

8 years agoFix palette mode
hui su [Tue, 23 Feb 2016 17:29:58 +0000 (09:29 -0800)]
Fix palette mode

It was broken by commit 3787b17439d00d3684646e97c18d231860dae8b9

Change-Id: I2be0f6243e8716b9ca4c0321de381419108d1abe

8 years agoMerge "Port "Better workaround for Bug 1089." to vp10 (nextgenv2)." into nextgenv2
Alex Converse [Tue, 23 Feb 2016 17:53:56 +0000 (17:53 +0000)]
Merge "Port "Better workaround for Bug 1089." to vp10 (nextgenv2)." into nextgenv2

8 years agoExperiment to use image domain dist in baseline.
Geza Lore [Tue, 16 Feb 2016 09:54:29 +0000 (09:54 +0000)]
Experiment to use image domain dist in baseline.

Change-Id: Ib29f510289716b5ab5c7d74d32a450c190308a83

8 years agoMerge "Cleanup psnr.h" into nextgenv2
Yaowu Xu [Tue, 23 Feb 2016 17:13:34 +0000 (17:13 +0000)]
Merge "Cleanup psnr.h" into nextgenv2

8 years agoMerge "Merge 12sharp filter into ext-interp" into nextgenv2
Angie Chiang [Tue, 23 Feb 2016 01:26:23 +0000 (01:26 +0000)]
Merge "Merge 12sharp filter into ext-interp" into nextgenv2

8 years agoMerge "Add shift stage in FASTSSIM computation" into nextgenv2
Yaowu Xu [Tue, 23 Feb 2016 00:43:17 +0000 (00:43 +0000)]
Merge "Add shift stage in FASTSSIM computation" into nextgenv2

8 years agoMerge 12sharp filter into ext-interp
Angie Chiang [Tue, 16 Feb 2016 23:05:56 +0000 (15:05 -0800)]
Merge 12sharp filter into ext-interp

Change-Id: I7df48e7f3b57f212798ef4be86f28aed928fc3e0

8 years agoExtend vpxssim to handle more HBD combinations
Yaowu Xu [Tue, 23 Feb 2016 00:05:19 +0000 (16:05 -0800)]
Extend vpxssim to handle more HBD combinations

Change-Id: I38426d946b74c9090a265d34b89e2db6693927c2

8 years agoCleanup psnr.h
Yaowu Xu [Mon, 22 Feb 2016 23:24:25 +0000 (15:24 -0800)]
Cleanup psnr.h

Change-Id: Id026e72ee655ee5bd645a89e378da0d462be367d

8 years agoMerge "sync dec/enc mv clamp behavior in prediction" into nextgenv2
Angie Chiang [Mon, 22 Feb 2016 23:30:10 +0000 (23:30 +0000)]
Merge "sync dec/enc mv clamp behavior in prediction" into nextgenv2

8 years agoAdd shift stage in FASTSSIM computation
Yaowu Xu [Mon, 22 Feb 2016 20:58:38 +0000 (12:58 -0800)]
Add shift stage in FASTSSIM computation

This commits adds a shift stage for FASTSSIM computaton when source
bit depth is different from working bit depth, to make sure metric
results are calculated in bit_depth consistent with source.

Change-Id: I997799634076ef7b00fd051710544681ed536185

8 years agoMerge "Add shift stage for PSNRHVS computation" into nextgenv2
Yaowu Xu [Mon, 22 Feb 2016 21:55:59 +0000 (21:55 +0000)]
Merge "Add shift stage for PSNRHVS computation" into nextgenv2

8 years agosync dec/enc mv clamp behavior in prediction
Angie Chiang [Mon, 22 Feb 2016 18:48:11 +0000 (10:48 -0800)]
sync dec/enc mv clamp behavior in prediction

Change-Id: I12ce1da18b3db7bd2f36e0424a264b3c36fbed61

8 years agoMerge "Fix 12 TAP convolution bug" into nextgenv2
Angie Chiang [Mon, 22 Feb 2016 19:03:05 +0000 (19:03 +0000)]
Merge "Fix 12 TAP convolution bug" into nextgenv2

8 years agoMerge "Move psnrhvs function declaration to psnr.h" into nextgenv2
Yaowu Xu [Mon, 22 Feb 2016 18:46:39 +0000 (18:46 +0000)]
Merge "Move psnrhvs function declaration to psnr.h" into nextgenv2

8 years agoMerge "Extend HBDMetricTest" into nextgenv2
Yaowu Xu [Mon, 22 Feb 2016 18:46:25 +0000 (18:46 +0000)]
Merge "Extend HBDMetricTest" into nextgenv2

8 years agoAdd shift stage for PSNRHVS computation
Yaowu Xu [Mon, 22 Feb 2016 18:22:42 +0000 (10:22 -0800)]
Add shift stage for PSNRHVS computation

This commit adds the ability to shift down the working buffer when
source bit_depth is different than working bit_depth. It does so
by shift down to be consistent with source bit_depth.

Change-Id: Idfdbfc614d73fe445d62e35e642cc7d75e9dc4ff

8 years agoPort "Better workaround for Bug 1089." to vp10 (nextgenv2).
Alex Converse [Wed, 17 Feb 2016 22:24:46 +0000 (14:24 -0800)]
Port "Better workaround for Bug 1089." to vp10 (nextgenv2).

Don't initialize first pass costs for a number of symbols where first
pass probabilities aren't initialized.

As a side effect, an illegal read in the ANS experiment is fixed.

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

Change-Id: I97438c357bd88f52f5a15c697031cf0c3cc8f510

8 years agoMerge "Unify motion vector cost system" into nextgenv2
Jingning Han [Mon, 22 Feb 2016 17:37:59 +0000 (17:37 +0000)]
Merge "Unify motion vector cost system" into nextgenv2

8 years agoMerge "Account context based prob model for motion vector cost estimate" into nextgenv2
Jingning Han [Mon, 22 Feb 2016 17:37:41 +0000 (17:37 +0000)]
Merge "Account context based prob model for motion vector cost estimate" into nextgenv2

8 years agoMerge "Vectorize motion vector probability models" into nextgenv2
Jingning Han [Mon, 22 Feb 2016 17:37:28 +0000 (17:37 +0000)]
Merge "Vectorize motion vector probability models" into nextgenv2

8 years agoMerge "Store predicted motion vectors" into nextgenv2
Jingning Han [Mon, 22 Feb 2016 17:14:05 +0000 (17:14 +0000)]
Merge "Store predicted motion vectors" into nextgenv2

8 years agoMove psnrhvs function declaration to psnr.h
Yaowu Xu [Mon, 22 Feb 2016 02:49:01 +0000 (18:49 -0800)]
Move psnrhvs function declaration to psnr.h

From "ssim.h"

Change-Id: Ie53378794149ef8a844b4eb47ad4f08579de4b60

8 years agoUnify motion vector cost system
Jingning Han [Fri, 19 Feb 2016 19:53:24 +0000 (11:53 -0800)]
Unify motion vector cost system

This commit unifies the motion vector cost buffers for full pixel
and sub-pixel motion search. The new motion vector coding system
provides 0.5% coding gains for 720p and above sequences and 0.2%
for lower resolution sets.

Change-Id: I927ec81eadc39d11a3c12b375221a1ddd2e8bf24

8 years agoExtend HBDMetricTest
Yaowu Xu [Sun, 21 Feb 2016 05:13:11 +0000 (21:13 -0800)]
Extend HBDMetricTest

This commit extends the HBDMetricTests to handle testing for metric
computation where input source depth is different from working bit
depth.

Change-Id: I5d11101cc9603a3fd09e8439816bb982a0f1b654

8 years agoFix 12 TAP convolution bug
Angie Chiang [Sat, 20 Feb 2016 03:31:38 +0000 (19:31 -0800)]
Fix 12 TAP convolution bug

Priviously, we do 12-tap interpolation even there is no sub pixel,
This could cause a bug becuase decoder doesn't extend border when there
is no sub pixel. In this situation, if we still do interpolation, we
will access the border extension which doesn't exist and cause a
memory error

Change-Id: I55b879722f0a10c5d13261bd9617a75c826a2418

8 years agoAccount context based prob model for motion vector cost estimate
Jingning Han [Fri, 19 Feb 2016 18:41:04 +0000 (10:41 -0800)]
Account context based prob model for motion vector cost estimate

This commit accounts for the context based probability model for
motion vector cost estimate in rate-distortion optimization.

Change-Id: Ia068a9395dcb4ecc348f128b17b8d24734660b83

8 years agoMerge "Initial SSE2 function fdst4_sse2()." into nextgenv2
Yi Luo [Sat, 20 Feb 2016 00:31:31 +0000 (00:31 +0000)]
Merge "Initial SSE2 function fdst4_sse2()." into nextgenv2

8 years agoVectorize motion vector probability models
Jingning Han [Thu, 18 Feb 2016 19:57:44 +0000 (11:57 -0800)]
Vectorize motion vector probability models

This commit converts the scalar motion vector probability model
into vector format for later precise estimate.

Change-Id: I7008d047ecc1b9577aa8442b4db2df312be869dc

8 years agoStore predicted motion vectors
Jingning Han [Thu, 18 Feb 2016 00:10:38 +0000 (16:10 -0800)]
Store predicted motion vectors

Change-Id: I51307a217eeba14dbdaa2522be474530316a4faa

8 years agoInitial SSE2 function fdst4_sse2().
Yi Luo [Wed, 17 Feb 2016 22:49:28 +0000 (14:49 -0800)]
Initial SSE2 function fdst4_sse2().

Applied DST sse2 to 4x4 transform.

Fixed DST coefficient packing to satisfy 4x4 transpose requirement.

Change-Id: I9164714c77049523dbbc9e145ebb10d7911fba9d

8 years agoMerge "Properly normalize HBD sse computation" into nextgenv2
Yaowu Xu [Fri, 19 Feb 2016 02:26:47 +0000 (02:26 +0000)]
Merge "Properly normalize HBD sse computation" into nextgenv2

8 years agoProperly normalize HBD sse computation
Yaowu Xu [Thu, 18 Feb 2016 23:42:19 +0000 (15:42 -0800)]
Properly normalize HBD sse computation

This fixes a bug in HBD sum of squared error computation introduced
in  #abd00505d1c658cc106bad51369197270a299f92.

Change-Id: I9d4e8627eb8ea491bac44794c40c7f1e6ba135dc

8 years agoMerge "Speed-up for ext-intra" into nextgenv2
Hui Su [Thu, 18 Feb 2016 23:12:45 +0000 (23:12 +0000)]
Merge "Speed-up for ext-intra" into nextgenv2

8 years agoMerge "cost_coeff speed improvements" into nextgenv2
Debargha Mukherjee [Thu, 18 Feb 2016 19:31:18 +0000 (19:31 +0000)]
Merge "cost_coeff speed improvements" into nextgenv2

8 years agoMerge changes from topic 'vp10-missing-alloc-checks'
James Zern [Thu, 18 Feb 2016 18:56:03 +0000 (18:56 +0000)]
Merge changes from topic 'vp10-missing-alloc-checks'

* changes:
  vp10/resize: add missing alloc checks
  vp10/encoder: add missing alloc checks
  vp10/decoder,resize_mv_buffer: add missing alloc check
  vp10_cyclic_refresh_alloc: correct cleanup on error

8 years agoMerge changes from topic 'vp9-missing-alloc-checks'
James Zern [Thu, 18 Feb 2016 18:53:13 +0000 (18:53 +0000)]
Merge changes from topic 'vp9-missing-alloc-checks'

* changes:
  vp9_svc_layercontext: add missing alloc checks
  vp9_resize: add missing alloc checks
  vp9_encoder: add missing alloc checks
  vp9/decoder,resize_mv_buffer: add missing alloc check
  vp9_cyclic_refresh_alloc: correct cleanup on error

8 years agoMerge changes from topic 'vp8-missing-alloc-checks'
James Zern [Thu, 18 Feb 2016 18:50:58 +0000 (18:50 +0000)]
Merge changes from topic 'vp8-missing-alloc-checks'

* changes:
  vp8_dx_iface: add missing alloc checks
  vp8/onyx_if: add missing alloc checks
  vp8/denoising: add missing alloc check

8 years agoSpeed-up for ext-intra
hui su [Thu, 4 Feb 2016 22:05:22 +0000 (14:05 -0800)]
Speed-up for ext-intra

-Avoid unnecessary calculations
-Use SIMD when possible

Encoder is about 5% faster with the extra intra prediction angles
enabled.

Change-Id: I131056befe327cedab217ad4a40d5f2a11318acc

8 years agoMerge changes from topic 'rm-loopfilter-count-param'
James Zern [Thu, 18 Feb 2016 18:47:48 +0000 (18:47 +0000)]
Merge changes from topic 'rm-loopfilter-count-param'

* changes:
  lpf_8_test: remove unneeded function wrapper
  remove loopfilter 'count' param TODOs
  split vpx_highbd_lpf_horizontal_16 in two
  split vpx_lpf_horizontal_16 in two
  vpx_highbd_lpf_horizontal_4: remove unused count param
  vpx_highbd_lpf_horizontal_8: remove unused count param
  vpx_highbd_lpf_vertical_4: remove unused count param
  vpx_highbd_lpf_vertical_8: remove unused count param
  vpx_lpf_horizontal_4: remove unused count param
  vpx_lpf_horizontal_8: remove unused count param
  vpx_lpf_vertical_4: remove unused count param
  vpx_lpf_vertical_8: remove unused count param
  lpf_8_test: add missing dspr2 tests
  lpf_8_test: add missing vpx_lpf_horizontal_4 tests
  lpf_8_test: add missing vpx_lpf_vertical_4 tests
  lpf_8_test: simplify function wrapper generation

8 years agocost_coeff speed improvements
Julia Robson [Wed, 17 Feb 2016 15:52:31 +0000 (15:52 +0000)]
cost_coeff speed improvements

Preliminary tests indicated that these changes make cost_coeffs
approximately 20% faster which is a 2% improvement overall

Change-Id: Iaf013ba75884415cd824e98349f654ffb1c3ef33

8 years agovp8_dx_iface: add missing alloc checks
James Zern [Wed, 17 Feb 2016 22:56:17 +0000 (14:56 -0800)]
vp8_dx_iface: add missing alloc checks

Change-Id: Id9f4022b0cb4b5d0b3dd8759fd491da4e2ba5cb1

8 years agovp8/onyx_if: add missing alloc checks
James Zern [Wed, 17 Feb 2016 22:55:50 +0000 (14:55 -0800)]
vp8/onyx_if: add missing alloc checks

Change-Id: I9b0aa340518f45e16fa9754afd87347aabf968d7

8 years agoMerge "Add tests for Highbitdepth PSNR metric computations" into nextgenv2
Yaowu Xu [Thu, 18 Feb 2016 01:01:00 +0000 (01:01 +0000)]
Merge "Add tests for Highbitdepth PSNR metric computations" into nextgenv2

8 years agoMerge "Move PSNR related functions into vpx_dsp/psnr.c" into nextgenv2
Yaowu Xu [Thu, 18 Feb 2016 01:00:54 +0000 (01:00 +0000)]
Merge "Move PSNR related functions into vpx_dsp/psnr.c" into nextgenv2

8 years agovp8/denoising: add missing alloc check
James Zern [Wed, 17 Feb 2016 22:54:57 +0000 (14:54 -0800)]
vp8/denoising: add missing alloc check

Change-Id: I51ede902cd9d7bafa41f7caa3f9adf77f9df5903

8 years agovp10/resize: add missing alloc checks
James Zern [Wed, 17 Feb 2016 22:27:51 +0000 (14:27 -0800)]
vp10/resize: add missing alloc checks

Change-Id: I96669ddbcdda508a295c68ecf103d10f364e0ad5

8 years agovp9_svc_layercontext: add missing alloc checks
James Zern [Wed, 17 Feb 2016 20:41:37 +0000 (12:41 -0800)]
vp9_svc_layercontext: add missing alloc checks

Change-Id: Ieb305c178c64b3864f0e8fc1a13c29799e1ae8f5

8 years agovp9_resize: add missing alloc checks
James Zern [Wed, 17 Feb 2016 20:41:08 +0000 (12:41 -0800)]
vp9_resize: add missing alloc checks

Change-Id: I87ef6dec7cd2e8f9a40135e5ca11b13520ebd6d7

8 years agoBetter workaround for Bug 1089.
Alex Converse [Wed, 17 Feb 2016 21:39:44 +0000 (13:39 -0800)]
Better workaround for Bug 1089.

Don't initialize first pass costs for a number of symbols where first
pass probabilities aren't initialized.

This brings a 1.22x first pass speedup.

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

Change-Id: I97438c357bd88f52f5a15c697031cf0c3cc8f510

8 years agovp10/encoder: add missing alloc checks
James Zern [Wed, 17 Feb 2016 22:27:23 +0000 (14:27 -0800)]
vp10/encoder: add missing alloc checks

Change-Id: I5f81250d054bfd1cc69308a491b8fd21b77e4ee1

8 years agovp10/decoder,resize_mv_buffer: add missing alloc check
James Zern [Wed, 17 Feb 2016 22:26:16 +0000 (14:26 -0800)]
vp10/decoder,resize_mv_buffer: add missing alloc check

Change-Id: I8eef989847fcf3c4b9a16b02db477e1007625145

8 years agovp10_cyclic_refresh_alloc: correct cleanup on error
James Zern [Wed, 17 Feb 2016 22:25:41 +0000 (14:25 -0800)]
vp10_cyclic_refresh_alloc: correct cleanup on error

previously only the CYCLIC_REFRESH allocation was being freed

Change-Id: I600eb496ec4b62accf1a6483c8170eabb046787d

8 years agovp9_encoder: add missing alloc checks
James Zern [Wed, 17 Feb 2016 20:39:39 +0000 (12:39 -0800)]
vp9_encoder: add missing alloc checks

Change-Id: I08939ab22446b86fae884daaebd1f14c49b21897

8 years agoAdd tests for Highbitdepth PSNR metric computations
Yaowu Xu [Wed, 17 Feb 2016 20:38:54 +0000 (12:38 -0800)]
Add tests for Highbitdepth PSNR metric computations

Change-Id: I07324155f73bbdbe25bb7a7ccd587ebf9010ac7a

8 years agoMove PSNR related functions into vpx_dsp/psnr.c
Yaowu Xu [Wed, 17 Feb 2016 16:42:56 +0000 (08:42 -0800)]
Move PSNR related functions into vpx_dsp/psnr.c

This makes all metric computation to locate at some place, also gets
rid of duplicate code between vp9 and vp10.

Change-Id: I24a2707d183a2419cd18a8343010adae185ffcd4

8 years agovp9/decoder,resize_mv_buffer: add missing alloc check
James Zern [Wed, 17 Feb 2016 20:38:40 +0000 (12:38 -0800)]
vp9/decoder,resize_mv_buffer: add missing alloc check

Change-Id: I3bc92175b07d5ef495bd75128638c340f3c2238f

8 years agovp9_cyclic_refresh_alloc: correct cleanup on error
James Zern [Wed, 17 Feb 2016 20:36:49 +0000 (12:36 -0800)]
vp9_cyclic_refresh_alloc: correct cleanup on error

previously only the CYCLIC_REFRESH allocation was being freed

Change-Id: I6e1783d077c5ca83c8d62ea9642f1fb03f2e5bf3

8 years agoMerge "Fix enc/dec mismatch in dynamic mv referenceing experiment" into nextgenv2
Jingning Han [Wed, 17 Feb 2016 19:03:13 +0000 (19:03 +0000)]
Merge "Fix enc/dec mismatch in dynamic mv referenceing experiment" into nextgenv2

8 years agoMerge "Extends ext-tx to support 32x32 masked transforms" into nextgenv2
Debargha Mukherjee [Wed, 17 Feb 2016 18:33:10 +0000 (18:33 +0000)]
Merge "Extends ext-tx to support 32x32 masked transforms" into nextgenv2

8 years agoExtends ext-tx to support 32x32 masked transforms
Debargha Mukherjee [Sat, 13 Feb 2016 00:44:33 +0000 (16:44 -0800)]
Extends ext-tx to support 32x32 masked transforms

Adds new 32x32 masked 1-d transforms that combine 1-D length-16
DCT with length-16 identity transforms.

To be continued in subsequent patches.

Change-Id: I0b4f66492d44c079b3c3b531ba48a97201de1484

8 years agoFix enc/dec mismatch in dynamic mv referenceing experiment
Jingning Han [Wed, 17 Feb 2016 17:27:08 +0000 (09:27 -0800)]
Fix enc/dec mismatch in dynamic mv referenceing experiment

This commit fixes an enc/dec mismatch in the dynamic motion vector
referencing experiment introduced in 837ef00.

Change-Id: I9fbe116fce118a80ef0f96bf41ce1f802547c2ee

8 years agoMerge branch 'master' into nextgenv2
Yaowu Xu [Wed, 17 Feb 2016 15:23:58 +0000 (07:23 -0800)]
Merge branch 'master' into nextgenv2

8 years agolpf_8_test: remove unneeded function wrapper
James Zern [Sat, 13 Feb 2016 19:05:24 +0000 (11:05 -0800)]
lpf_8_test: remove unneeded function wrapper

the count parameter has been removed from all loopfilter functions

Change-Id: I87ba72006b59c65c46ca40bcb1c29171dfe0598a

8 years agoremove loopfilter 'count' param TODOs
James Zern [Sat, 13 Feb 2016 02:17:54 +0000 (18:17 -0800)]
remove loopfilter 'count' param TODOs

Change-Id: I25ce7314372ce2f521526ea7864ffc4ab62e4519

8 years agosplit vpx_highbd_lpf_horizontal_16 in two
James Zern [Sat, 13 Feb 2016 02:12:57 +0000 (18:12 -0800)]
split vpx_highbd_lpf_horizontal_16 in two

replace with vpx_highbd_lpf_horizontal_edge_16 and
vpx_highbd_lpf_horizontal_edge_8 to avoid passing a count parameter

Change-Id: I551f8cec0fce57032cb2652584bb802e2248644d