]> granicus.if.org Git - libvpx/log
libvpx
8 years agoMerge "Use speed 2 on superframe test." into nextgenv2
Alex Converse [Sat, 26 Mar 2016 00:49:06 +0000 (00:49 +0000)]
Merge "Use speed 2 on superframe test." into nextgenv2

8 years agoUse speed 2 on superframe test.
Alex Converse [Fri, 25 Mar 2016 23:11:17 +0000 (16:11 -0700)]
Use speed 2 on superframe test.

No need to do avoid shortcuts when all we are testing is the superframe
syntax. Decreases the run time up the VP10 version of the test from 22
seconds to 3 seconds on my machine.

Change-Id: If0c3551cbb8af8b803e02629e803e5f09da76cd1

8 years agoMerge "Fix failing test: VP10/SuperframeTest.TestSuperframeIndexIsOptional/0" into...
Alex Converse [Sat, 26 Mar 2016 00:14:21 +0000 (00:14 +0000)]
Merge "Fix failing test: VP10/SuperframeTest.TestSuperframeIndexIsOptional/0" into nextgenv2

8 years agoFix failing test: VP10/SuperframeTest.TestSuperframeIndexIsOptional/0
Alex Converse [Fri, 25 Mar 2016 23:07:00 +0000 (16:07 -0700)]
Fix failing test: VP10/SuperframeTest.TestSuperframeIndexIsOptional/0

Failing since: 66f2f65 Merge MISC_FIXES

Change-Id: I8135d6a9d74972c595f1b6294fb842e68f91e50e

8 years agoA major speed up for obmc experiment
Yue Chen [Thu, 24 Mar 2016 19:05:19 +0000 (12:05 -0700)]
A major speed up for obmc experiment

Skip checking obmc when regular inter predictor is not so good (the
rd-cost for Y residual is greater than the total rd of the best mode
so far.)

Performance change compared to full rd search:
  +0.006% lowres, -0.056% midres
Encoding time :
  1.14X baseline (was 1.42X)

Change-Id: I11350f955a20e1a2331be458537a915e09fbedf3

8 years agoMerge "Fix memory leak and slopiness around the uncompressed ANS buffer." into nextgenv2
Alex Converse [Fri, 25 Mar 2016 20:08:00 +0000 (20:08 +0000)]
Merge "Fix memory leak and slopiness around the uncompressed ANS buffer." into nextgenv2

8 years agoMerge "Recover tile coding performance" into nextgenv2
Yunqing Wang [Fri, 25 Mar 2016 19:18:58 +0000 (19:18 +0000)]
Merge "Recover tile coding performance" into nextgenv2

8 years agoFix memory leak and slopiness around the uncompressed ANS buffer.
Alex Converse [Fri, 25 Mar 2016 18:07:39 +0000 (11:07 -0700)]
Fix memory leak and slopiness around the uncompressed ANS buffer.

Change-Id: Ic9ed1f88f5550b69a45a0fdc71aae5864db7e178

8 years agoMerge "Speed up ext-intra" into nextgenv2
Hui Su [Fri, 25 Mar 2016 17:52:33 +0000 (17:52 +0000)]
Merge "Speed up ext-intra" into nextgenv2

8 years agoRecover tile coding performance
Yunqing Wang [Fri, 25 Mar 2016 16:05:25 +0000 (09:05 -0700)]
Recover tile coding performance

After porting tile coding from VP9 to VP10, some performance
degradation was seen because of the difference between VP9 and
Vp10 baseline. This patch disabled some features in VP10 while
tile coding is turned on. Also, an encoder control API was added
back for this use case.

Change-Id: I8f736db8388408a8cc35320a2f80abb02906571c

8 years agoSpeed up ext-intra
hui su [Thu, 24 Mar 2016 23:38:04 +0000 (16:38 -0700)]
Speed up ext-intra

Skip filtered intra modes search in inter frame when DC mode is
worse than the best mode so far.

With ext-intra enabled, the overall speed is increased by 20~40%;
performance drop is 0.03% on lowres and 0.05% on midres.

Change-Id: I75d2503b067cf5e46e3533b97fb01497e125baa7

8 years agoMerge "4x4 hybrid transform type V_DCT to H_FLIPADST SSE2 optimization" into nextgenv2
Yi Luo [Fri, 25 Mar 2016 00:07:17 +0000 (00:07 +0000)]
Merge "4x4 hybrid transform type V_DCT to H_FLIPADST SSE2 optimization" into nextgenv2

8 years ago4x4 hybrid transform type V_DCT to H_FLIPADST SSE2 optimization
Yi Luo [Wed, 23 Mar 2016 23:22:43 +0000 (16:22 -0700)]
4x4 hybrid transform type V_DCT to H_FLIPADST SSE2 optimization

- Added function fidtx4_sse2().
- Turned on vp10_fht4x4_sse2() for these tx types.
- Updated 4x4 unit test for speed/accuracy.
- 4x4 Unit test passed.
- Running 20K times with random numbers for tx type from
  V_DCT to H_FLIPADST, SSE2 against C, speed improves ~46%.

Change-Id: I828088b7f98dc0f5939a72e3fcd6cb0b8d8dd8bf

8 years agoFix compiling error in highbd transform unit test
Jingning Han [Thu, 24 Mar 2016 19:01:14 +0000 (12:01 -0700)]
Fix compiling error in highbd transform unit test

Change-Id: Id09e1913c1ac965b78df2e67471807019c89f8ab

8 years agoMerge "Fix an enc/dec mismatch issue in DRL experiment" into nextgenv2
Jingning Han [Thu, 24 Mar 2016 19:02:13 +0000 (19:02 +0000)]
Merge "Fix an enc/dec mismatch issue in DRL experiment" into nextgenv2

8 years agoFix an enc/dec mismatch issue in DRL experiment
Jingning Han [Thu, 24 Mar 2016 16:40:27 +0000 (09:40 -0700)]
Fix an enc/dec mismatch issue in DRL experiment

This was broken due the leakage between consecutive CLs.

Change-Id: I08ba8c67a42871d9488729ed854845641aa7ca30

8 years agoPort large scale tile coding features from nextgen.
Geza Lore [Fri, 11 Mar 2016 17:42:49 +0000 (17:42 +0000)]
Port large scale tile coding features from nextgen.

If configured with --enable-ext-tile, the codec uses an alternative
tile coding syntax in the bitstream. Changes include::
 - The maximum number of tile rows and columns is extended to 1024
   each.
 - The minimum tile width/height is 64 pixels (1 superblock).
 - A tile copy mode is added where a tile directly reuse the coded
   data of a previous tile
 - The meaning of the tile-columns and tile-rows codec parameters are
   overloaded to mean tile-width and tile-height in units of 64
   pixels.
 - All tiles should now be independent, including rows within the
   same columns, so large scale parallel, or independent decoding is
   possible.
 - vpxdec also gained the options to decode only a particular tile,
   tile row, or tile column.

Changes without --enable-ext-tile:
 - All tiles should now be independent, including rows within the
   same columns, so large scale parallel, or independent decoding is
   possible.
 - vpxenc default tile configuration changed to use 1 tile column.

Change-Id: I0cd08ad550967ac18622dae5e98ad23d581cb33e

8 years agoMerge "Call vp10_fwd_txfm_4x4 in encode_inter_mb_segment" into nextgenv2
Angie Chiang [Thu, 24 Mar 2016 00:38:03 +0000 (00:38 +0000)]
Merge "Call vp10_fwd_txfm_4x4 in encode_inter_mb_segment" into nextgenv2

8 years agoMerge "Misc. updates for highbd changes" into nextgenv2
Yi Luo [Wed, 23 Mar 2016 22:43:46 +0000 (22:43 +0000)]
Merge "Misc. updates for highbd changes" into nextgenv2

8 years agoMisc. updates for highbd changes
Yi Luo [Wed, 23 Mar 2016 19:10:52 +0000 (12:10 -0700)]
Misc. updates for highbd changes

- Use Makefile to control the build for highbd_fwd_txfm_sse4.c.
- Fixed hybrid transform (HT) types due to recent update.
- Added new unit test cases for highbd HT.

Change-Id: Ifd768a9b429a8c21ed40c1de8152fb5ac71e2f90

8 years agoRefactor motion vector residual coding process
Jingning Han [Mon, 21 Mar 2016 19:55:24 +0000 (12:55 -0700)]
Refactor motion vector residual coding process

This commit separates the predicted motion vector from the nearestmv
motion vector in the coding process for both regular and sub8x8
block sizes.

Change-Id: I703490513b0194e6669ebf719352db015facb3e1

8 years agoCall vp10_fwd_txfm_4x4 in encode_inter_mb_segment
Angie Chiang [Mon, 21 Mar 2016 19:15:00 +0000 (12:15 -0700)]
Call vp10_fwd_txfm_4x4 in encode_inter_mb_segment

Change-Id: Ieabe5534e5f4fb3f2d751a3cfc682208b3913715

8 years agoMerge "Highbd fht4x4 SSE4.1 optimization for DCT_DCT mode - Setup function vp10_highb...
Yi Luo [Wed, 23 Mar 2016 18:30:39 +0000 (18:30 +0000)]
Merge "Highbd fht4x4 SSE4.1 optimization for DCT_DCT mode - Setup function vp10_highbd_fht4x4_sse4_1 for highbd SSE4.1   intrinsics optimization. - Wrote SSE4.1 functions: load_buffer_4x4(), write_buffer_4x4(),   and fdct4x4_sse4_1(). - Used logic right shift to avoid coeff memory write/read. - Turned on vp10_highbd_fht4x4_sse4_1 for DCT_DCT mode only. - Improved overall encoding performance >2.3% for 50 frames   sequence, park_joy_1080p_12.y4m, in which, --input-bit-depth=12,   --bit-depth=12, 50 frames. - Unit test passed." into nextgenv2

8 years agoMerge "Add "entropy" experiment" into nextgenv2
Hui Su [Wed, 23 Mar 2016 17:50:56 +0000 (17:50 +0000)]
Merge "Add "entropy" experiment" into nextgenv2

8 years agoMerge "Add buf_ans.h to the Makefile." into nextgenv2
Alex Converse [Wed, 23 Mar 2016 16:27:12 +0000 (16:27 +0000)]
Merge "Add buf_ans.h to the Makefile." into nextgenv2

8 years agoMerge "Add some ANS helpers needed to replace the vpx bool coder with pure ANS."...
Alex Converse [Wed, 23 Mar 2016 16:21:58 +0000 (16:21 +0000)]
Merge "Add some ANS helpers needed to replace the vpx bool coder with pure ANS." into nextgenv2

8 years agoMerge "Small speed up for super_block_uvrd" into nextgenv2
Hui Su [Wed, 23 Mar 2016 16:16:46 +0000 (16:16 +0000)]
Merge "Small speed up for super_block_uvrd" into nextgenv2

8 years agoHighbd fht4x4 SSE4.1 optimization for DCT_DCT mode
Yi Luo [Wed, 16 Mar 2016 00:09:38 +0000 (17:09 -0700)]
Highbd fht4x4 SSE4.1 optimization for DCT_DCT mode
- Setup function vp10_highbd_fht4x4_sse4_1 for highbd SSE4.1
  intrinsics optimization.
- Wrote SSE4.1 functions: load_buffer_4x4(), write_buffer_4x4(),
  and fdct4x4_sse4_1().
- Used logic right shift to avoid coeff memory write/read.
- Turned on vp10_highbd_fht4x4_sse4_1 for DCT_DCT mode only.
- Improved overall encoding performance >2.3% for 50 frames
  sequence, park_joy_1080p_12.y4m, in which, --input-bit-depth=12,
  --bit-depth=12, 50 frames.
- Unit test passed.

Change-Id: Idd6dc6e472cbbf235f0ade4f66fbe859a860a004

8 years agoMerge "Porting ext_partition experiment from nextgen" into nextgenv2
Debargha Mukherjee [Wed, 23 Mar 2016 04:58:37 +0000 (04:58 +0000)]
Merge "Porting ext_partition experiment from nextgen" into nextgenv2

8 years agoMake the tile independence test shorter
Debargha Mukherjee [Wed, 23 Mar 2016 00:53:43 +0000 (17:53 -0700)]
Make the tile independence test shorter

Uses 15 frames instead of 30. Also only test speed 0 for VP10.

Change-Id: Icace050edd974622d83bdf843058f63bd8d3a84b

8 years agoAdd some ANS helpers needed to replace the vpx bool coder with pure ANS.
Alex Converse [Mon, 21 Mar 2016 21:56:58 +0000 (14:56 -0700)]
Add some ANS helpers needed to replace the vpx bool coder with pure ANS.

Change-Id: I32b63fca020c410cef16e93379b4e6e281ccbccd

8 years agoMerge "Refactor prediction functions of OBMC" into nextgenv2
Yue Chen [Tue, 22 Mar 2016 21:06:16 +0000 (21:06 +0000)]
Merge "Refactor prediction functions of OBMC" into nextgenv2

8 years agoPorting ext_partition experiment from nextgen
Julia Robson [Thu, 17 Mar 2016 16:50:28 +0000 (16:50 +0000)]
Porting ext_partition experiment from nextgen

This has been ported under ext_partition_types because it is due
to be combined with the coding_unit_size experiment which is
already being ported under ext_partition

Change-Id: I47af869ae123ddf0aa99160dac644059d14266ee

8 years agoWrap write_modes functions with macros to avoid ifdefs at all the callsites.
Alex Converse [Tue, 22 Mar 2016 17:01:26 +0000 (10:01 -0700)]
Wrap write_modes functions with macros to avoid ifdefs at all the callsites.

Change-Id: I5a960bf63ec404f0fbfe6a404f436ef4122a219d

8 years agoMerge "mv vp10_fwd_txfm2d_#x# into vp10_rtcd.h" into nextgenv2
Angie Chiang [Tue, 22 Mar 2016 01:07:56 +0000 (01:07 +0000)]
Merge "mv vp10_fwd_txfm2d_#x# into vp10_rtcd.h" into nextgenv2

8 years agoMerge "Passing TXFM_TYPE instead of func pointer" into nextgenv2
Angie Chiang [Tue, 22 Mar 2016 01:07:42 +0000 (01:07 +0000)]
Merge "Passing TXFM_TYPE instead of func pointer" into nextgenv2

8 years agoMerge "Refactor transform type-size search function" into nextgenv2
Yue Chen [Tue, 22 Mar 2016 00:58:44 +0000 (00:58 +0000)]
Merge "Refactor transform type-size search function" into nextgenv2

8 years agoMerge "Refactor sub8x8 reference motion vector search function" into nextgenv2
Jingning Han [Tue, 22 Mar 2016 00:07:45 +0000 (00:07 +0000)]
Merge "Refactor sub8x8 reference motion vector search function" into nextgenv2

8 years agoMerge "Rework the DRL syntax entropy coding system" into nextgenv2
Jingning Han [Tue, 22 Mar 2016 00:07:35 +0000 (00:07 +0000)]
Merge "Rework the DRL syntax entropy coding system" into nextgenv2

8 years agoRefactor prediction functions of OBMC
Yue Chen [Mon, 21 Mar 2016 21:44:48 +0000 (14:44 -0700)]
Refactor prediction functions of OBMC

Merge the functions that generate prediction by above/left predictors
for the encoder and the decoder.

Change-Id: I57e53a8f2eb8d3028c4ed0c9abdcbf00503f95a0

8 years agoRefactor transform type-size search function
Yue Chen [Mon, 21 Mar 2016 18:53:57 +0000 (11:53 -0700)]
Refactor transform type-size search function

Decompose choose_tx_size_from_rd into three functions that determine
the transform coding rd at different stages. Besides the original
function, txfm_yrd() calculates the rd for fixed size and type.
choose_tx_size_fix_type() fixes the type and searches for the size.
It can enable other experiments to do restricted tx searches so as to
reduce the impact on speed.
Similar refactoring is done for select_tx_type_yrd() in VAR_TX.

Performance change in baseline is trivial:
0.014/0.001/-0.020 for lowres/midres/hdres.

Change-Id: I2ecbf6066329be088ec1bfb69013b657b14b8afe

8 years agoAdd buf_ans.h to the Makefile.
Alex Converse [Mon, 21 Mar 2016 21:11:03 +0000 (14:11 -0700)]
Add buf_ans.h to the Makefile.

Change-Id: I6339912d240a1c2c3aa2f7303e7ca4d9721a29f4

8 years agoMerge "Properly set rate_nocoef when pallete mode is used" into nextgenv2
Yaowu Xu [Mon, 21 Mar 2016 20:44:17 +0000 (20:44 +0000)]
Merge "Properly set rate_nocoef when pallete mode is used" into nextgenv2

8 years agoMerge "Adds 1D transforms for ADST/FlipADST to make 16" into nextgenv2
Debargha Mukherjee [Mon, 21 Mar 2016 20:40:20 +0000 (20:40 +0000)]
Merge "Adds 1D transforms for ADST/FlipADST to make 16" into nextgenv2

8 years agoWrite MB tokens using the forward buffered ANS writer.
Alex Converse [Wed, 17 Feb 2016 19:07:20 +0000 (11:07 -0800)]
Write MB tokens using the forward buffered ANS writer.

This allows sharing more code paths with the rest of the code an allows
for easier compatibility with the other experiments.

Change-Id: Id288b533805a4d0657ec2f17542f2e6ad23ebdb4

8 years agoMerge "Add a placeholder forward buffered ANS coder." into nextgenv2
Alex Converse [Mon, 21 Mar 2016 18:41:32 +0000 (18:41 +0000)]
Merge "Add a placeholder forward buffered ANS coder." into nextgenv2

8 years agoAdds 1D transforms for ADST/FlipADST to make 16
Debargha Mukherjee [Tue, 15 Mar 2016 05:30:09 +0000 (22:30 -0700)]
Adds 1D transforms for ADST/FlipADST to make 16

Makes a set of 16 transforms total, adding all 1D
combinations of ADST and FlipADST, and removng all DST
transforms.

lowres, midres both improve by about 0.1% and hdres by
-0.378% in BDRATE but with fewer transforms that are also
simpler.

Further experiments to continue later.

Change-Id: I7348a4c0e12078fdea5ae3a2d36a89a319ffcc6e

8 years agoProperly set rate_nocoef when pallete mode is used
Yaowu Xu [Mon, 21 Mar 2016 17:28:29 +0000 (10:28 -0700)]
Properly set rate_nocoef when pallete mode is used

Change-Id: Iff04c82b3d3b5cf2c7700717c3c3d678bbbb9f9b

8 years agomv vp10_fwd_txfm2d_#x# into vp10_rtcd.h
Angie Chiang [Fri, 18 Mar 2016 21:09:06 +0000 (14:09 -0700)]
mv vp10_fwd_txfm2d_#x# into vp10_rtcd.h

Change-Id: Iad7352698786791b0fd7c005a7edfd1724b71599

8 years agoPassing TXFM_TYPE instead of func pointer
Angie Chiang [Thu, 17 Mar 2016 00:15:27 +0000 (17:15 -0700)]
Passing TXFM_TYPE instead of func pointer

This is to facilitate sse2 implementation

Change-Id: Id2f53e83c5508c4445d9b1bba00a649cb4da6b74

8 years agoRefactor sub8x8 reference motion vector search function
Jingning Han [Mon, 14 Mar 2016 22:04:58 +0000 (15:04 -0700)]
Refactor sub8x8 reference motion vector search function

Rework the interface to allow codec store the reference motion
vector list information for coding process.

Change-Id: I47e26587f6c0808655e4626f316ec7614a7ad8ed

8 years agoRework the DRL syntax entropy coding system
Jingning Han [Thu, 17 Mar 2016 18:26:52 +0000 (11:26 -0700)]
Rework the DRL syntax entropy coding system

This commit re-designs the probability model for the syntax elements
of the dynamic motion vector referencing system.

Change-Id: Icfb8203c7e8f64e10e99f5890e25e6f6b15fe5d1

8 years agoMerge "Enable dynamic motion vector referencing for newmv mode" into nextgenv2
Jingning Han [Sat, 19 Mar 2016 00:40:04 +0000 (00:40 +0000)]
Merge "Enable dynamic motion vector referencing for newmv mode" into nextgenv2

8 years agoMerge "Add ext_partition_types config option" into nextgenv2
Debargha Mukherjee [Fri, 18 Mar 2016 23:51:55 +0000 (23:51 +0000)]
Merge "Add ext_partition_types config option" into nextgenv2

8 years agoMerge "Refactor bsse and skip_txfm in MACROBLOCK." into nextgenv2
Debargha Mukherjee [Fri, 18 Mar 2016 23:51:40 +0000 (23:51 +0000)]
Merge "Refactor bsse and skip_txfm in MACROBLOCK." into nextgenv2

8 years agoMerge "Refactor save_context restore_context in rd_pick_partition." into nextgenv2
Debargha Mukherjee [Fri, 18 Mar 2016 23:51:06 +0000 (23:51 +0000)]
Merge "Refactor save_context restore_context in rd_pick_partition." into nextgenv2

8 years agoMerge "Refactor mbmi->inter_tx_size to 2D array." into nextgenv2
Debargha Mukherjee [Fri, 18 Mar 2016 23:50:25 +0000 (23:50 +0000)]
Merge "Refactor mbmi->inter_tx_size to 2D array." into nextgenv2

8 years agoMerge "Remove prune three from speed features" into nextgenv2
Sarah Parker [Fri, 18 Mar 2016 21:29:24 +0000 (21:29 +0000)]
Merge "Remove prune three from speed features" into nextgenv2

8 years agoRemove prune three from speed features
Sarah Parker [Fri, 18 Mar 2016 20:06:40 +0000 (13:06 -0700)]
Remove prune three from speed features

Not getting good results for this feature, will try again
when transforms are frozen.

Change-Id: Id12396786cb9369ad34d0bd845f7beba3a037726

8 years agoAdd a placeholder forward buffered ANS coder.
Alex Converse [Wed, 17 Feb 2016 19:07:20 +0000 (11:07 -0800)]
Add a placeholder forward buffered ANS coder.

This buffered ANS coder supports coding the symbols in forward (decode)
order. Rather than windowing or growing the buffer, right now this
coder merely asserts that the buffer will never overflow.

This approach should allow ANS to be used as a drop in replacement for
other entropy coders rather than requiring complicated reversal logic
throughout the codebase.

Change-Id: I6689271233d0e22fea94c51950415dad5af96598

8 years agoTwo minor logic fixes
Yaowu Xu [Fri, 18 Mar 2016 18:38:56 +0000 (11:38 -0700)]
Two minor logic fixes

Change-Id: I1d5624fb2f34f87a55613036851034ec7c2d0b76

8 years agoEnable dynamic motion vector referencing for newmv mode
Jingning Han [Tue, 15 Mar 2016 22:58:03 +0000 (15:58 -0700)]
Enable dynamic motion vector referencing for newmv mode

This commit enables the dynamic motion vector predictor for NEWMV
mode. It allows the codec to select the best motion vector predictor
in a rate-distortion optimization framework for motion vector
residual coding. The compression performance is improved:
lowres  0.14%
midres  0.27%
hdres   0.24%

Change-Id: I6a601c74eb6cb0b71a613336d40363359f2edecd

8 years agoSmall speed up for super_block_uvrd
hui su [Thu, 17 Mar 2016 18:20:59 +0000 (11:20 -0700)]
Small speed up for super_block_uvrd

Eearly termination if U plane RD cost is large enough.

No notable compression performance changes.

Change-Id: Ieeefc5859cb55d94391b502b4bd840bc8bcb2578

8 years agoRefactor bsse and skip_txfm in MACROBLOCK.
Geza Lore [Wed, 3 Feb 2016 11:42:29 +0000 (11:42 +0000)]
Refactor bsse and skip_txfm in MACROBLOCK.

Simple refactoring to 2 dimensional arrays, in preparation for 128
wide superblocks.

Change-Id: I40d447bd9fbd4f755534ea3cc82fc8f4676cea07

8 years agoRefactor mbmi->inter_tx_size to 2D array.
Geza Lore [Wed, 16 Mar 2016 18:03:57 +0000 (18:03 +0000)]
Refactor mbmi->inter_tx_size to 2D array.

This is in preparation of increasing the superblock size.

Change-Id: I9197e397399fbe8aec1178a45ea0337dd90412d7

8 years agoAdd ext_partition_types config option
Julia Robson [Fri, 18 Mar 2016 15:22:42 +0000 (15:22 +0000)]
Add ext_partition_types config option

Change-Id: I91d280a64d1da77be31004ea91d08d1a70529e42

8 years agoMerge "Minor bug fix in ex-intra experiment" into nextgenv2
Hui Su [Fri, 18 Mar 2016 05:01:56 +0000 (05:01 +0000)]
Merge "Minor bug fix in ex-intra experiment" into nextgenv2

8 years agoMinor bug fix in ex-intra experiment
hui su [Thu, 17 Mar 2016 23:26:22 +0000 (16:26 -0700)]
Minor bug fix in ex-intra experiment

No performance change observed from borg tests.

Change-Id: I20c232c5dde8cfc84452a4c7185389bd8b812ffd

8 years agoMerge "Fix hbd segfault for prune_one and prune_two" into nextgenv2
Sarah Parker [Thu, 17 Mar 2016 22:40:47 +0000 (22:40 +0000)]
Merge "Fix hbd segfault for prune_one and prune_two" into nextgenv2

8 years agoRefactor: call inv_txfm_add
Angie Chiang [Tue, 15 Mar 2016 00:38:15 +0000 (17:38 -0700)]
Refactor: call inv_txfm_add

Change-Id: I52c209a5db1b4a6525c04b70291a08ab5a68c6fe

8 years agoRefactor:Merge inverse_transform_block_inter/intra
Angie Chiang [Tue, 15 Mar 2016 00:00:53 +0000 (17:00 -0700)]
Refactor:Merge inverse_transform_block_inter/intra

Merge inverse_transform_block_inter inverse_transform_block_intra
to inverse_transform_block

Change-Id: I0f561830e639e3bf8d831c28a7c784cb0c4c8b09

8 years agoMerge "add dct 64x64 transform" into nextgenv2
Angie Chiang [Thu, 17 Mar 2016 18:15:11 +0000 (18:15 +0000)]
Merge "add dct 64x64 transform" into nextgenv2

8 years agoFix hbd segfault for prune_one and prune_two
Sarah Parker [Wed, 16 Mar 2016 23:06:19 +0000 (16:06 -0700)]
Fix hbd segfault for prune_one and prune_two

Change-Id: I71da102550aa7d81961e5f10c71058d5fa8dc6c4

8 years agoRefactor save_context restore_context in rd_pick_partition.
Geza Lore [Wed, 27 Jan 2016 15:29:17 +0000 (15:29 +0000)]
Refactor save_context restore_context in rd_pick_partition.

This is a cosmetic patch that removes a great deal of conditional
compilation around CONFIG_VAR_TX from the partition search function.

Change-Id: I9dcef9d4fe6847b793c77bdf565a5cacbdfacd59

8 years agoMerge "Properly save and restore skip related variables" into nextgenv2
Yaowu Xu [Thu, 17 Mar 2016 14:41:03 +0000 (14:41 +0000)]
Merge "Properly save and restore skip related variables" into nextgenv2

8 years agoadd dct 64x64 transform
Angie Chiang [Mon, 14 Mar 2016 19:02:27 +0000 (12:02 -0700)]
add dct 64x64 transform

Change-Id: I131c4d1216cd156e520b8a91c4438c2d3c6602cb

8 years agoMerge "Optimize HBD up-sampled prediction functions" into nextgenv2
Yunqing Wang [Wed, 16 Mar 2016 23:52:08 +0000 (23:52 +0000)]
Merge "Optimize HBD up-sampled prediction functions" into nextgenv2

8 years agoProperly save and restore skip related variables
Yaowu Xu [Wed, 16 Mar 2016 22:05:04 +0000 (15:05 -0700)]
Properly save and restore skip related variables

Change-Id: Id52744e140585c08d047fb395b75ac9318a0b4c3

8 years agoAdd "entropy" experiment
hui su [Thu, 7 Jan 2016 22:29:26 +0000 (14:29 -0800)]
Add "entropy" experiment

This patch added two features to improve entropy coding efficiency
for coefficient tokens.

1. Choose 1 of 4 default probability tables based on q-index for
key-frames.
It is ported from nextgen branch:
https://chromium-review.googlesource.com/#/c/280586/

2. Do backward update after each superblock (64X64) row using
subframe token counts.

Coding gain: 0.1% on lowres; 0.42% on midres; 0.36% on hdres.
Much larger gain for key-frames: 2.6%, 2.3%, 1.7%.

Design doc: go/huisu-entropy

Change-Id: Ia3b6a615636be09247d70e4c520405637561532b

8 years agoMerge "remove filter_cache" into nextgenv2
Angie Chiang [Wed, 16 Mar 2016 17:21:53 +0000 (17:21 +0000)]
Merge "remove filter_cache" into nextgenv2

8 years agoFactor out zeroing above and left context.
Geza Lore [Tue, 15 Mar 2016 10:29:00 +0000 (10:29 +0000)]
Factor out zeroing above and left context.

Change-Id: I6e5d8cff869c7415a924f845c9e6ccaabe2b7a9b

8 years agoFix build without supertx.
Geza Lore [Wed, 16 Mar 2016 13:08:13 +0000 (13:08 +0000)]
Fix build without supertx.

Change-Id: Ib60821487710f6cf06aaa8ddcbdd5487ba1cbe4f

8 years agoMerge "Properly set the estimate of rate_nocoef" into nextgenv2
Yaowu Xu [Tue, 15 Mar 2016 23:23:11 +0000 (23:23 +0000)]
Merge "Properly set the estimate of rate_nocoef" into nextgenv2

8 years agoProperly set the estimate of rate_nocoef
Yaowu Xu [Tue, 15 Mar 2016 19:36:21 +0000 (12:36 -0700)]
Properly set the estimate of rate_nocoef

This commit fixes the computation of rate_nocoef for situation when
rate_y is uninitialized at INT_MAX for  x->skip is true.

Change-Id: If3dde4e4ee16667f4408067d3bb3084f916272f1

8 years agoremove filter_cache
Angie Chiang [Sat, 12 Mar 2016 00:01:46 +0000 (16:01 -0800)]
remove filter_cache

PSNR test
        lowres  hdres
lowbd   -0.013  0.067
highbd  -0.044  0.039

Change-Id: Iefdb1e966bd004b2027456778185b675e8fb9b81

8 years agoMerge "Add "entropy" experiment flag" into nextgenv2
Hui Su [Tue, 15 Mar 2016 20:46:09 +0000 (20:46 +0000)]
Merge "Add "entropy" experiment flag" into nextgenv2

8 years agoMerge "Refactor 1D transforms" into nextgenv2
Debargha Mukherjee [Tue, 15 Mar 2016 19:08:06 +0000 (19:08 +0000)]
Merge "Refactor 1D transforms" into nextgenv2

8 years agoAdd "entropy" experiment flag
hui su [Tue, 15 Mar 2016 18:44:01 +0000 (11:44 -0700)]
Add "entropy" experiment flag

For experiments to improve compression efficiency of entropy coding.

Change-Id: Idf30dc554bd7eea3a79d21d18515c3e6b8f64b26

8 years agoMerge "Fix copy/zero macros." into nextgenv2
Debargha Mukherjee [Tue, 15 Mar 2016 17:45:31 +0000 (17:45 +0000)]
Merge "Fix copy/zero macros." into nextgenv2

8 years agoMerge "Turn off 32x32 transform type selection" into nextgenv2
Jingning Han [Tue, 15 Mar 2016 16:59:37 +0000 (16:59 +0000)]
Merge "Turn off 32x32 transform type selection" into nextgenv2

8 years agoFix copy/zero macros.
Geza Lore [Fri, 11 Mar 2016 18:33:00 +0000 (18:33 +0000)]
Fix copy/zero macros.

Change-Id: I2df3b6ecd35406ee05c2aa4e49be779e73e1bdc6

8 years agoRefactor 1D transforms
Debargha Mukherjee [Tue, 15 Mar 2016 05:30:09 +0000 (22:30 -0700)]
Refactor 1D transforms

In preparation for adding more 1D variants with ADST/FlipADST/etc.

BDRATE actually improves by 0.21% on lowres.

Change-Id: I2fa4720c69fe001fa666119a284dfc6b17fffab2

8 years agoOptimize HBD up-sampled prediction functions
Yunqing Wang [Tue, 15 Mar 2016 01:59:11 +0000 (18:59 -0700)]
Optimize HBD up-sampled prediction functions

Optimized 2 up-sampled reference prediction functions in high-bit
depth case. This reduced the HBD encoding time by 3%.

Change-Id: I8663ffb5234f5e70168c0fc9ca676309fe8e98f2

8 years agoMerge "Fix typos in unit tests" into nextgenv2
Hui Su [Tue, 15 Mar 2016 01:15:06 +0000 (01:15 +0000)]
Merge "Fix typos in unit tests" into nextgenv2

8 years agoMerge "Speed up rd selection in OBMC experiment" into nextgenv2
Yue Chen [Tue, 15 Mar 2016 00:14:06 +0000 (00:14 +0000)]
Merge "Speed up rd selection in OBMC experiment" into nextgenv2

8 years agoFix typos in unit tests
hui su [Mon, 14 Mar 2016 23:32:41 +0000 (16:32 -0700)]
Fix typos in unit tests

Change-Id: Idff52b337ab2d494c0c26e0d2c71ab3ee8208691

8 years agoSpeed up rd selection in OBMC experiment
Yue Chen [Mon, 14 Mar 2016 19:05:27 +0000 (12:05 -0700)]
Speed up rd selection in OBMC experiment

Instead of testing all interpfilter-BMC/OBMC combinations, we choose
the best interpolation filter based on regular inter prediction.

Reduction in encoding time: ~10%
Drop in performance gain: 0.08% lowres, 0.04% midres

Change-Id: Ifc19097a918ac76b529db9af4c60e2c70e93f7ad

8 years agoTurn off 32x32 transform type selection
Jingning Han [Fri, 11 Mar 2016 20:05:18 +0000 (12:05 -0800)]
Turn off 32x32 transform type selection

Temporarily disable transform type selection for 32x32 transform
block size. This speeds up the encoding process. For bus at CIF
150 frames, the encoding time goes from 896s -> 762s (11% faster).
The compression performance for lowres set is improved by 0.15%,
and -0.029% for hdres.

Change-Id: If239b272970eb302150bec13b8cf192fbe045332

8 years agoMerge "Add high-precision sub-pixel search as a speed feature" into nextgenv2
Yunqing Wang [Sat, 12 Mar 2016 02:26:36 +0000 (02:26 +0000)]
Merge "Add high-precision sub-pixel search as a speed feature" into nextgenv2

8 years agoMerge "Fix sub8x8 interpolation full pixel bug" into nextgenv2
Angie Chiang [Sat, 12 Mar 2016 01:45:27 +0000 (01:45 +0000)]
Merge "Fix sub8x8 interpolation full pixel bug" into nextgenv2