]> granicus.if.org Git - libvpx/log
libvpx
9 years agoMerge "SSSE3 optimisations of high bit depth masked variance functions" into nextgen
Debargha Mukherjee [Tue, 8 Dec 2015 21:54:03 +0000 (21:54 +0000)]
Merge "SSSE3 optimisations of high bit depth masked variance functions" into nextgen

9 years agoFix to avoid overflow in highbd_masked_variance64.
Peter de Rivaz [Tue, 8 Dec 2015 09:36:22 +0000 (09:36 +0000)]
Fix to avoid overflow in highbd_masked_variance64.

Change-Id: I98731c5f50c4821c604f53480f43110a75205d25

9 years agoSSSE3 optimisations of high bit depth masked variance functions
Julia Robson [Thu, 3 Dec 2015 17:13:25 +0000 (17:13 +0000)]
SSSE3 optimisations of high bit depth masked variance functions

Includes tests which compare output of new SSSE3 functions with
their C equivalents, and fixes to the C code to ensure these tests
pass.

Change-Id: Iec3980cce95a8ee6bf9421fa4793130e92c162e3

9 years agoCode refactoring to remove duplication in masked sub pixel var fns
Julia Robson [Thu, 3 Dec 2015 17:57:35 +0000 (17:57 +0000)]
Code refactoring to remove duplication in masked sub pixel var fns

Change-Id: Idcc93ff94ed2c68367225b6bebfcae0b7952f074

9 years agoMerge "Reduce the memset call in tile decoding" into nextgen
Yunqing Wang [Wed, 2 Dec 2015 00:24:06 +0000 (00:24 +0000)]
Merge "Reduce the memset call in tile decoding" into nextgen

9 years agoAdding SSSE3 accelerations of masked SAD functions
Julia Robson [Mon, 23 Nov 2015 12:50:32 +0000 (12:50 +0000)]
Adding SSSE3 accelerations of masked SAD functions

Includes tests of masked SAD function optimisations against C
versions

Change-Id: I42f198767a113b58ae9456841f4ec71075591720

9 years agoSSSE3 optimisations of masked variance function (8bit ONLY)
Julia Robson [Thu, 19 Nov 2015 18:15:55 +0000 (18:15 +0000)]
SSSE3 optimisations of masked variance function (8bit ONLY)

Includes test which compares output of new SSSE3 functions with their
C equivalents

Change-Id: I4488cd7672cdb57efff93c0b3b8bff07f07ec544

9 years agoChanges so other expts work with 128x128 coding unit size expt
Julia Robson [Thu, 26 Nov 2015 17:32:17 +0000 (17:32 +0000)]
Changes so other expts work with 128x128 coding unit size expt

Changes ensure wedge_partition, interintra and palette expts all
work alongside the ext_coding_unit_size experiment.

Change-Id: I18f17acb29071f6fc6784e815661c73cc21144d6

9 years agoReduce the memset call in tile decoding
Yunqing Wang [Wed, 25 Nov 2015 23:28:03 +0000 (15:28 -0800)]
Reduce the memset call in tile decoding

When the error resilient mode is on, the decoder resets mode info structure
to zero once per frame. This makes decoder about 10x slower if we decode
a single tile at a time. This patch resolves the issue by only memset mode
info of those decoded tiles. Currently, to decode a frame, tile decoding is
less than 2x slower than frame decoding.

Change-Id: Ia3fd88d91a4e74e7bbbc6547d87c24d085a1533e

9 years agoChanges to allow 128x128 to work with copy_mode
Julia Robson [Tue, 24 Nov 2015 11:22:59 +0000 (11:22 +0000)]
Changes to allow 128x128 to work with copy_mode

Change-Id: I1fff46e7733e5e1d15c012d6a204536243c6e090

9 years agoBug fix for high bitdepth using flipped transforms.
Peter de Rivaz [Mon, 23 Nov 2015 19:39:37 +0000 (19:39 +0000)]
Bug fix for high bitdepth using flipped transforms.

Fixes mismatch and performance drop.

Change-Id: Ib99711eb3b78257a8105073e2b6d7031459357bb

9 years agoFlip the result of the inv transform for FLIPADST.
Geza Lore [Fri, 13 Nov 2015 15:16:28 +0000 (15:16 +0000)]
Flip the result of the inv transform for FLIPADST.

This is a port of 4f5108090a6047d5d4d9ce1df302da23b2ef4bc5

This commit also fixes a bug where FLIPADST transforms when combined
with a DST (that is FLIPADST_DST and DST_FLIPADST) did not actually did
a flipped transform but a straight ADST instead. This was due to the C
implementation that it fell back on not implementing flipping.  This is
now fixed as well and FLIPADST_DST and DST_FLIPADST does what it is
supposed to do.

There are 3 functions in the SR_MODE experiment that should be updated,
but given that the build of SR_MODE is broken at the upstream tip of
nextgen, I could not test these, so I have put in assertions and FIXME
notes at the problematic places.

Change-Id: I5b8175b85f944f2369b183a26256e08d97f4bdef

9 years agoIncrease extension for ext-coding-unti-size expt
Debargha Mukherjee [Tue, 17 Nov 2015 00:57:50 +0000 (16:57 -0800)]
Increase extension for ext-coding-unti-size expt

Change-Id: Ifc7fe5df6831cb7190b9b6e84125de13b9e0146f

9 years agoRemove last4-ref config option
Debargha Mukherjee [Sat, 14 Nov 2015 00:22:28 +0000 (16:22 -0800)]
Remove last4-ref config option

Change-Id: I12ab2f8b039e328210ae8eadc663f751e19c0c09

9 years agoMerge last4_ref with multi-ref experiment
Debargha Mukherjee [Fri, 13 Nov 2015 21:28:39 +0000 (13:28 -0800)]
Merge last4_ref with multi-ref experiment

Change-Id: I9778670ff6d02fb021099b17f292edadf87603e6

9 years agoMerge "Remove dst1 config option and merge with ext-tx" into nextgen
Debargha Mukherjee [Fri, 13 Nov 2015 21:01:21 +0000 (21:01 +0000)]
Merge "Remove dst1 config option and merge with ext-tx" into nextgen

9 years agoRemove dst1 config option and merge with ext-tx
Debargha Mukherjee [Fri, 13 Nov 2015 18:46:02 +0000 (10:46 -0800)]
Remove dst1 config option and merge with ext-tx

Change-Id: I0152ed352ae2a0a725a508b5c209ef2c1dc2302d

9 years agoSSE2 optim of vp9_subtract_block for 128x128 units
Julia Robson [Thu, 12 Nov 2015 12:15:09 +0000 (12:15 +0000)]
SSE2 optim of vp9_subtract_block for 128x128 units

Extending the SSE2 implementation of vp9_subtract_block to work
with the 128x128 coding unit experiment

Change-Id: Ib3cc16bf5801ef2c7eecc19d3cc07a8c50631580

9 years agoMerge "Adding encoder support for 128x128 coding units" into nextgen
Debargha Mukherjee [Fri, 13 Nov 2015 18:52:09 +0000 (18:52 +0000)]
Merge "Adding encoder support for 128x128 coding units" into nextgen

9 years agoMerge "Eliminate copying for FLIPADST in fwd transforms." into nextgen
Debargha Mukherjee [Fri, 13 Nov 2015 18:23:49 +0000 (18:23 +0000)]
Merge "Eliminate copying for FLIPADST in fwd transforms." into nextgen

9 years agoEliminate copying for FLIPADST in fwd transforms.
Geza Lore [Fri, 13 Nov 2015 13:29:53 +0000 (13:29 +0000)]
Eliminate copying for FLIPADST in fwd transforms.

This is a port of 01bb4a318dc0f9069264b7fd5641bc3014f47f32

This commit also fixes a bug where FLIPADST transforms when combined
with a DST (that is FLIPADST_DST and DST_FLIPADST) did not actually did
a flipped transform but a straight ADST instead. This was due to the C
implementation that it fell back on not implementing flipping.  This is
now fixed as well and FLIPADST_DST and DST_FLIPADST does what it is
supposed to do.

Change-Id: I89c67ca1d5e06808a1567c51e7d6bec4998182bd

9 years agoAdding encoder support for 128x128 coding units
Debargha Mukherjee [Fri, 13 Nov 2015 01:14:32 +0000 (17:14 -0800)]
Adding encoder support for 128x128 coding units

Changes to allow the encoder to make use of 128x128 coding units.

Change-Id: I340bd38f9d9750cb6346d83885efb00443852910

9 years agoSome fixes on context size for the 128x128 expt
Debargha Mukherjee [Fri, 13 Nov 2015 15:06:19 +0000 (07:06 -0800)]
Some fixes on context size for the 128x128 expt

Change-Id: I56f050502e3a750ce74b196d033b780218df2c1f

9 years agoMerge "Cherry pick the rest of 661802, the important part" into nextgen
Johann Koenig [Fri, 13 Nov 2015 00:47:05 +0000 (00:47 +0000)]
Merge "Cherry pick the rest of 661802, the important part" into nextgen

9 years agoChanges to use defined constants rather than hard-coded numbers
Julia Robson [Thu, 5 Nov 2015 17:49:50 +0000 (17:49 +0000)]
Changes to use defined constants rather than hard-coded numbers

Also fixes a valgrind error when optimizations are disabled.
Done in preparation for the work on the extended coding unit size
experiment.

Change-Id: Ib074c5a02c94ebed7dd61ff0465d26fa89834545

9 years agoCherry pick the rest of 661802, the important part
Johann [Thu, 12 Nov 2015 23:41:24 +0000 (15:41 -0800)]
Cherry pick the rest of 661802, the important part

Change-Id: I85f1d2c07b89c874ea6c30df32dda9ecaa8d2c3f

9 years agoMerge "Fixing issue with calculation of block_idx" into nextgen
Debargha Mukherjee [Thu, 12 Nov 2015 23:39:35 +0000 (23:39 +0000)]
Merge "Fixing issue with calculation of block_idx" into nextgen

9 years agoCherry pick 661802 to fix 64bit arm build
Johann [Mon, 1 Dec 2014 19:06:49 +0000 (11:06 -0800)]
Cherry pick 661802 to fix 64bit arm build

Remove default cortex-a8 tuning.

Probably not even the dominant platform the library is being built for.
Add --cpu= option description to help. The option already exists.

Don't allow passing just --cpu as a no-op.

BUG=826

Change-Id: Iaa3f4f693ec78b18927b159b480daafeba0549c0

9 years agoFixing issue with calculation of block_idx
Julia Robson [Mon, 9 Nov 2015 11:50:36 +0000 (11:50 +0000)]
Fixing issue with calculation of block_idx

For tall rectangular blocks, the block_idx of the lower transform
block was being mis-calculated.

Does not affect results the way this function is being used now.

Change-Id: I470464d19be0bf0f42003d0cc29793bc42db8f52

9 years agoAdded decoder support for 128x128 coding units
Julia Robson [Mon, 2 Nov 2015 14:28:38 +0000 (14:28 +0000)]
Added decoder support for 128x128 coding units

Change-Id: Icf3c6b64caaf8a86cd27231aa27baf5fd99c0fde

9 years agoChanges to use defined constants rather than hard-coded numbers
Julia Robson [Mon, 2 Nov 2015 12:24:57 +0000 (12:24 +0000)]
Changes to use defined constants rather than hard-coded numbers

These changes have been made in preparation for the work on the
extended coding unit size experiment.

Change-Id: I83f289812426bb9aba6c4a5fedd2b0e0a4fe17cb

9 years agoFixed final style issues
Sarah Parker [Wed, 14 Oct 2015 22:49:22 +0000 (15:49 -0700)]
Fixed final style issues

WIP.

Change-Id: Iafcbcfdc2139e77eb2c6849a52a9dc94ea498d66

9 years agoRemove some unused variables
Debargha Mukherjee [Thu, 15 Oct 2015 19:50:15 +0000 (12:50 -0700)]
Remove some unused variables

Change-Id: I3ab263b4c42cc3bfd598a1fc280fbaffba2d4461

9 years agoAdded extended coding unit size experiment
Julia Robson [Wed, 7 Oct 2015 15:54:10 +0000 (16:54 +0100)]
Added extended coding unit size experiment

Change-Id: I45e2efe22c8e2f23e3305d00906bc08229a85c17

9 years agoMerge "Speed up of wedge search" into nextgen
Debargha Mukherjee [Tue, 6 Oct 2015 00:33:50 +0000 (00:33 +0000)]
Merge "Speed up of wedge search" into nextgen

9 years agoSpeed up of wedge search
Debargha Mukherjee [Sat, 3 Oct 2015 17:57:44 +0000 (10:57 -0700)]
Speed up of wedge search

Speeds up wedge search by pre-calculating single predictions
before computing the wedge combination.

About 20% speed up achieved.

Change-Id: I72f76568559d1899c8ac0afaa133d433ba388e6d

9 years agoMerge "tx64 prob tweaks." into nextgen
Debargha Mukherjee [Sat, 3 Oct 2015 17:59:54 +0000 (17:59 +0000)]
Merge "tx64 prob tweaks." into nextgen

9 years agotx64 prob tweaks.
Debargha Mukherjee [Mon, 28 Sep 2015 16:41:19 +0000 (09:41 -0700)]
tx64 prob tweaks.

A little improvement in results on hevchd

Change-Id: Ib71a57c4bec34bf688e1d53dbf73eb4525e7805b

9 years agoReimplementatio of dst1 for speed
Debargha Mukherjee [Fri, 2 Oct 2015 18:06:55 +0000 (11:06 -0700)]
Reimplementatio of dst1 for speed

Encoder with --enable-ext-tx --enable-dst1 is now 4 times faster.

Change-Id: Ia750ad3516698ce94da4ceb566b1c51539537a95

9 years agoMerge "64x64 idct fix." into nextgen
Debargha Mukherjee [Fri, 25 Sep 2015 23:36:42 +0000 (23:36 +0000)]
Merge "64x64 idct fix." into nextgen

9 years agoMerge "Merged LAST2 and LAST3 to one experiment MULTI_REF" into nextgen
Zoe Liu [Fri, 25 Sep 2015 16:47:28 +0000 (16:47 +0000)]
Merge "Merged LAST2 and LAST3 to one experiment MULTI_REF" into nextgen

9 years ago64x64 idct fix.
Debargha Mukherjee [Fri, 25 Sep 2015 12:54:23 +0000 (05:54 -0700)]
64x64 idct fix.

Change-Id: If0e0cd7cbe71e9586657f5e8ffa87dcdebc686ba

9 years agoMerge "tx64x64 experiment fix for high-bitdepth" into nextgen
Debargha Mukherjee [Fri, 25 Sep 2015 03:22:54 +0000 (03:22 +0000)]
Merge "tx64x64 experiment fix for high-bitdepth" into nextgen

9 years agoMerged LAST2 and LAST3 to one experiment MULTI_REF
Zoe Liu [Fri, 25 Sep 2015 00:08:15 +0000 (17:08 -0700)]
Merged LAST2 and LAST3 to one experiment MULTI_REF

Change-Id: I220be17af317520dccb62fa6b19da5c7ce10652d

9 years agoMerge "Added another reference frame LAST4_FRAME" into nextgen
Zoe Liu [Thu, 24 Sep 2015 15:58:22 +0000 (15:58 +0000)]
Merge "Added another reference frame LAST4_FRAME" into nextgen

9 years agotx64x64 experiment fix for high-bitdepth
Debargha Mukherjee [Thu, 24 Sep 2015 12:45:03 +0000 (05:45 -0700)]
tx64x64 experiment fix for high-bitdepth

Change-Id: Ia8d769b43bad0f9ad0684ecf6925e580339c7397

9 years agoAdded another reference frame LAST4_FRAME
Zoe Liu [Sat, 19 Sep 2015 01:00:11 +0000 (18:00 -0700)]
Added another reference frame LAST4_FRAME

Under the experiment of CONFIG_LAST4_REF. On derflr testset, using
highbitdepth (HBD), in average PSNR,

(1) LAST2+LAST3+LAST4 obtained +0.361% against LAST2+LAST3;
(2) LAST2+LAST3+LAST4 obtained +1.567% against baesline.

Change-Id: Ic8b14272de6a569df2b54418fa72b505e1ed3aad

9 years agoAdjust rd calculation in choose_tx_size_from_rd
hui su [Wed, 23 Sep 2015 18:03:27 +0000 (11:03 -0700)]
Adjust rd calculation in choose_tx_size_from_rd

Change-Id: I3649f28196a87663b116b9fe6446b1fbe6eeab4a

9 years agoImproved LAST3's single ref prob context design a little
Zoe Liu [Mon, 21 Sep 2015 19:17:33 +0000 (12:17 -0700)]
Improved LAST3's single ref prob context design a little

On derflr testset, using 12-bit HightBitDepth mode, this CL obtained a
small gain of +0.031% by turning on LAST2+LAST3.

Change-Id: Ib6c9d595e56269634bf29d684eabcd806fc08cc9

9 years agoFixed a couple of bugs for LAST3
Zoe Liu [Mon, 21 Sep 2015 18:50:35 +0000 (11:50 -0700)]
Fixed a couple of bugs for LAST3

Change-Id: I63126a844c255df4a447aac7f630ba54cc7d7d7a

9 years agoAdded a 3rd reference frame LAST3_FRAME
Zoe Liu [Wed, 16 Sep 2015 01:58:36 +0000 (18:58 -0700)]
Added a 3rd reference frame LAST3_FRAME

Under experiment CONFIG_LAST3_REF, which can only be turned on when
the experiment of CONFIG_MULTI_REF is on, i.e. LAST3_FRAME can only
be used when LAST2_FRAME is used. CONFIG_LAST3_REF would most likely
be combined with CONFIG_MULTI_REF once the performance improvement
is further confirmed.

On the testset of derflr, using Average PSNR metrics, with HighBitDepth
(HBD) on:

(1) LAST2 HBD obtained +0.579% against base HBD;
(2) LAST2 + LAST3 HBD obtained +0.591% against LAST2 HBD;
(3) LAST2 + LAST3 HBD obtained +1.173% against base HBD.

Change-Id: I1aa2b2e2d2c9834e5f8e61bf2d8818c7b1516669

9 years agoext-tx extension to intra blocks
Debargha Mukherjee [Wed, 16 Sep 2015 21:39:55 +0000 (14:39 -0700)]
ext-tx extension to intra blocks

derflr: improves to 1.692%

Change-Id: Idf583216b40ed02526b9b39031eaf2fb72fed11d

9 years agoMerge "Redo DST1 in the ext-tx experiment" into nextgen
Debargha Mukherjee [Wed, 16 Sep 2015 18:38:03 +0000 (18:38 +0000)]
Merge "Redo DST1 in the ext-tx experiment" into nextgen

9 years agoRedo DST1 in the ext-tx experiment
Debargha Mukherjee [Fri, 11 Sep 2015 07:54:02 +0000 (00:54 -0700)]
Redo DST1 in the ext-tx experiment

Moved from nextgenv2 branch to test with other experiments.

derflr: +1.629%

Change-Id: Ie7c720053ed8b628177679c4351bb31b54716a71

9 years agoFixed a bug on the number of MAX_MODES in baseline
Zoe Liu [Tue, 15 Sep 2015 21:12:12 +0000 (14:12 -0700)]
Fixed a bug on the number of MAX_MODES in baseline

All the numbers of MAX_MODES have been changed assuming
CONFIG_MULTI_REF. Now correct numbers have been put in for both with and
without the enabling of the experiment MULTI_REF.

Change-Id: I70ffe2f1a89fa572d612dd3d311d3af19fe3a632

9 years agoAdded more LAST2 modes for INTERINTRA
Zoe Liu [Fri, 11 Sep 2015 23:55:24 +0000 (16:55 -0700)]
Added more LAST2 modes for INTERINTRA

Turning on all the other experiments, compared the RD performance
between with and without the use of LAST2_FRAME, on derflr testset,
on Average PSNR:

8-bit: +0.653% (All positive except one,
max: mobile_cif: 2.019%; min: paris_cif: -0.081%)
12-bit HBD: +0.735% (All positive,
max: bridge_far_cif: 2.416%; min: bowing_cif: 0.132%)

Change-Id: Ia0a375667e228c8ba3d2e223abff608206f2f545

9 years agoAdded MACRO for reference frame encoding
Zoe Liu [Fri, 11 Sep 2015 21:57:31 +0000 (14:57 -0700)]
Added MACRO for reference frame encoding

This CL introduces a few macros plus code cleaning on the encoding of
the reference frames. Coding performance remains unchanged.

For the encoding of either the compound reference or the single reference
case, since each bit has different contexts, the tree structure may not
be applied to treat the combined bits as one symbol. It is possible we may
explore the sharing of the same context for all the bits to introduce
the use of tree structure for the next step.

Change-Id: I6916ae53c66be1a0b23e6273811c0139515484df

9 years agoAdded one more reference frame LAST2_FRAME
Zoe Liu [Fri, 21 Aug 2015 02:08:46 +0000 (19:08 -0700)]
Added one more reference frame LAST2_FRAME

Under the experiment CONFIG_MULTI_REF. Current version shows
LAST2 vs base in nextgen on the testset of derflr:

(1) 8-bit: Average PSNR +0.53%
(worst: students_cif: -0.247%; best: mobile_cif: 1.902%)
(2) 12-bit HBD: Average PSNR +0.63%
(worst: pamphlet_cif: -0.213%, best: mobile_cif: 2.101%)

More tuning on the reference frame context design and default
probs are being conducted. This version does not guarantee to
work with other experiments in nextgen. A separate CL will address
the working with all other experiments.

Change-Id: I7f40d2522517afc26ca389c995bad56989587f65

9 years agoSuper resolution mode (+CONFIG_SR_MODE)
Shunyao Li [Wed, 12 Aug 2015 01:29:41 +0000 (18:29 -0700)]
Super resolution mode (+CONFIG_SR_MODE)

CONFIG_SR_MODE=1, enable SR mode
USE_POST_F=1, enable SR post filter
SR_USE_MULTI_F=1, enable SR post filter family
Not compatible with other experiments yet

Change-Id: I116f1d898cc2ff7dd114d7379664304907afe0ec

9 years agoAdd transform size rate for intra skip mode in rdopt
Shunyao Li [Fri, 28 Aug 2015 22:08:06 +0000 (15:08 -0700)]
Add transform size rate for intra skip mode in rdopt

Change-Id: I81fedd99cd39c12b66b93b786cb43234c867b84b

9 years agoMake tests work with new configurations
Debargha Mukherjee [Thu, 27 Aug 2015 19:28:59 +0000 (12:28 -0700)]
Make tests work with new configurations

Disables some test vector tests when Vp8/Vp9 decoders are disabled
in configuration. Also moves some macros to the vpx level in
line with recent refactoring on the master branch.

Change-Id: Iaac8008992110398ae096c36b9726f723164c207

9 years agoSome tweaks to probabilities for ext-tx with dst1
Debargha Mukherjee [Wed, 12 Aug 2015 21:31:31 +0000 (14:31 -0700)]
Some tweaks to probabilities for ext-tx with dst1

derflr: up to 1.429% from a little less than 1.3% when
--enable-dst1 is also enabled with --enable-ext-tx.

Change-Id: I301229f2239b18acb96accc4fc44b64fa6927ace

9 years agocode cleanup in encode_block_intra
hui su [Thu, 30 Jul 2015 18:31:59 +0000 (11:31 -0700)]
code cleanup in encode_block_intra

Change-Id: I376b7e9b243178d79141a96e0aeafcbc15758e97

9 years agoResolve bug of DST1 in ext_tx experiment.
Cheng Chen [Tue, 28 Jul 2015 17:49:55 +0000 (10:49 -0700)]
Resolve bug of DST1 in ext_tx experiment.

Change-Id: I828569e3596f9b9e8487aec7c4056e66cf1fc1f2

9 years agoAdds support for DST1 transforms for inter blocks
Debargha Mukherjee [Thu, 23 Jul 2015 20:14:39 +0000 (13:14 -0700)]
Adds support for DST1 transforms for inter blocks

Adds an additional transform in the ext_tx experiment that
is a 2d DST1-DST1 combination.

To enable use --enable-ext-tx --enable-dst1.

This needs to be later extended to combine DST1 with DCT
or ADST.

Change-Id: I6d29f1b778ef8294bcfb6a512a78fc5eda20723b

9 years agoSpeed up of supertx
Shunyao Li [Fri, 17 Jul 2015 17:44:06 +0000 (10:44 -0700)]
Speed up of supertx

Limited the prediction extension to 8 pixels at each edge
Fixed a bug in the combination of wedge prediction and supertx

~10% speed up in decoder
derflr:     -0.004
derflr+hbd: +0.002
hevcmr:     +0.015

Change-Id: I777518896894a612c9704d3de0e7902bf498b0ea

9 years agoAdd extended transforms for 32x32 and 64x64
Debargha Mukherjee [Fri, 17 Jul 2015 05:13:40 +0000 (22:13 -0700)]
Add extended transforms for 32x32 and 64x64

Framework for alternate transforms for inter 32x32 and larger based
on dwt-dct hybrid is implemented.
Further experiments are to be condcuted with different
variations of hybrid dct/dwt or plain dwt, as well as super-resolution
mode.

Change-Id: I9a2bf49ba317e7668002cf1499211d7da6fa14ad

9 years agoNextgen branch cleanup: remove elevate_newmv_thresh feature
Yunqing Wang [Tue, 14 Jul 2015 21:28:56 +0000 (14:28 -0700)]
Nextgen branch cleanup: remove elevate_newmv_thresh feature

Code cleanup.

Change-Id: Idf00d5359e5f3d943ee39b4a00f8d40325c0f8b3

9 years agoNextgen branch cleanup: remove real-time speed features
Yunqing Wang [Tue, 14 Jul 2015 21:09:35 +0000 (14:09 -0700)]
Nextgen branch cleanup: remove real-time speed features

Removed inter_mode_mask and max_intra_bsize.

Change-Id: I835d31f95af64a524b2fdb685d1d09a6b0ad5c9f

9 years agoMerge "Nextgen branch cleanup: add back some SVC functions" into nextgen
Yunqing Wang [Wed, 8 Jul 2015 23:26:33 +0000 (23:26 +0000)]
Merge "Nextgen branch cleanup: add back some SVC functions" into nextgen

9 years agoNextgen branch cleanup: add back some SVC functions
Yunqing Wang [Wed, 8 Jul 2015 20:37:33 +0000 (13:37 -0700)]
Nextgen branch cleanup: add back some SVC functions

Several SVC functions were added back to ensure Borg test build.

Change-Id: I2cff676407fa74e2255606094ff12bd840287b6d

9 years agoA small code cleanup for the encoder workflow.
Zoe Liu [Wed, 8 Jul 2015 19:12:47 +0000 (12:12 -0700)]
A small code cleanup for the encoder workflow.

Change-Id: I543a69ad5a34cd9a0671b57131cafc541d595d9a

9 years agoMerge "intrabc: Allow odd pel displacement for non-444" into nextgen
Alex Converse [Wed, 8 Jul 2015 04:06:23 +0000 (04:06 +0000)]
Merge "intrabc: Allow odd pel displacement for non-444" into nextgen

9 years agoMerge "Optimize bilateral filter to improve speed" into nextgen
Shunyao Li [Tue, 7 Jul 2015 20:17:12 +0000 (20:17 +0000)]
Merge "Optimize bilateral filter to improve speed" into nextgen

9 years agoNextgen branch cleanup: remove svc code
Yunqing Wang [Mon, 6 Jul 2015 21:39:03 +0000 (14:39 -0700)]
Nextgen branch cleanup: remove svc code

Spatial/temporal svc code was removed.

Change-Id: Ie25c7a58ee5feb662d4de526406d8cd834d19977

9 years agoNextgen branch cleanup: remove unused functions
Yunqing Wang [Mon, 6 Jul 2015 19:05:26 +0000 (12:05 -0700)]
Nextgen branch cleanup: remove unused functions

Removed unused real-time functions.

Change-Id: I0cbcee67fb8f495f87c6330e04ed6d56ed8e2625

9 years agoNextgen branch cleanup: remove nonrd code
Yunqing Wang [Mon, 6 Jul 2015 17:03:23 +0000 (10:03 -0700)]
Nextgen branch cleanup: remove nonrd code

Code cleanup.

Change-Id: I4d8d7fa2fc61a58b819c9a18bf25cda53e3fd88c

9 years agointrabc: Allow odd pel displacement for non-444
Alex Converse [Wed, 24 Jun 2015 18:17:50 +0000 (11:17 -0700)]
intrabc: Allow odd pel displacement for non-444

intrabc:
screen_content: -0.618 derflr: +0.015

intrabc+tx_skip+palette:
screen_content: -0.124 derflr: -0.048

Change-Id: Iabea4be19dce2f6fdab8f639e585a424c90c81b4

9 years agoOptimize bilateral filter to improve speed
Shunyao Li [Mon, 29 Jun 2015 18:54:17 +0000 (11:54 -0700)]
Optimize bilateral filter to improve speed

Optimization of bilateral filter:
1) Pre-calculate the bilateral filters at all the
levels at the initialization.
2) Convert 1D matrix to 2D matrix, avoid too many
multiplications in the bilateral filter loop.
3) Fix a bug in "loop_bilateral_filter_highbd".
The right-shifted range index can be larger than 255.

Change-Id: I42f6177e896706948e2403bd9edce46e3eb5cbf8

9 years agoMerge "intrabc: displacement vector prediction" into nextgen
Alex Converse [Thu, 25 Jun 2015 20:53:51 +0000 (20:53 +0000)]
Merge "intrabc: displacement vector prediction" into nextgen

9 years agointrabc: displacement vector prediction
Alex Converse [Mon, 27 Apr 2015 16:40:48 +0000 (09:40 -0700)]
intrabc: displacement vector prediction

Predict displacement vector with the same logic as NEARESTMV. If no
neighbors are available fall back to the current one block left or up
prediction.

vp9+intrabc+tx_skip+palette: -0.489
vp9+intrabc: -0.771

Change-Id: If67d08b54f1a3b847cf7ab8c7b800c55baa1a86b

9 years agoFix for copy-mode with segmentation
Peter de Rivaz [Wed, 24 Jun 2015 08:18:36 +0000 (09:18 +0100)]
Fix for copy-mode with segmentation

Change-Id: Icfc97826e494b856aa80fbefe4811dff99f3a0b4

9 years agoMerge "Removing some compiler warnings" into nextgen
Debargha Mukherjee [Tue, 23 Jun 2015 19:13:08 +0000 (19:13 +0000)]
Merge "Removing some compiler warnings" into nextgen

9 years agoAdded support for extended partitions with copy_mode
Peter de Rivaz [Tue, 23 Jun 2015 11:00:05 +0000 (12:00 +0100)]
Added support for extended partitions with copy_mode

Change-Id: I815374bd89e3faf2bac1b4155dbbe7366f0a1d29

9 years agoMerge "Fix a bug induced by qctx-tprobs experiment" into nextgen
hui su [Tue, 23 Jun 2015 17:54:35 +0000 (17:54 +0000)]
Merge "Fix a bug induced by qctx-tprobs experiment" into nextgen

9 years agoMerge "Bug fix in tx-skip" into nextgen
hui su [Tue, 23 Jun 2015 17:42:41 +0000 (17:42 +0000)]
Merge "Bug fix in tx-skip" into nextgen

9 years agoFix a bug induced by qctx-tprobs experiment
hui su [Tue, 23 Jun 2015 17:20:27 +0000 (10:20 -0700)]
Fix a bug induced by qctx-tprobs experiment

Change-Id: I8d31b8e6037464c36b514fddccd5d7edee024a47

9 years agoRemoving some compiler warnings
Debargha Mukherjee [Mon, 22 Jun 2015 22:26:25 +0000 (15:26 -0700)]
Removing some compiler warnings

Change-Id: I572594a9c00ba5a2b8000d3b4c86ec5757aa586c

9 years agoAdded palette support to extended partitions
Peter de Rivaz [Mon, 22 Jun 2015 19:34:26 +0000 (20:34 +0100)]
Added palette support to extended partitions

Change-Id: Ide11bd3fcc9fb26b27ae39cdf216a2c32b853348

9 years agoPalette high bit depth functionality
Julia Robson [Tue, 2 Jun 2015 13:31:38 +0000 (14:31 +0100)]
Palette high bit depth functionality

Changes to allow high bit depth and palette to be enabled at the
same time by using a 16 bit (instead of 8bit) palette when high
bit depth is enabled and modifying related functions accordingly.

Change-Id: I97d30b4d9338d3a51db02c94bc568eba60a8905d

9 years agoMerge "Add q-index as context for initial token probs" into nextgen
hui su [Mon, 22 Jun 2015 17:44:25 +0000 (17:44 +0000)]
Merge "Add q-index as context for initial token probs" into nextgen

9 years agoMerge "Fix for supertx decode with segments" into nextgen
Debargha Mukherjee [Mon, 22 Jun 2015 17:28:30 +0000 (17:28 +0000)]
Merge "Fix for supertx decode with segments" into nextgen

9 years agoMerge "Fix supertx HORZ and VERT partitioning." into nextgen
Debargha Mukherjee [Mon, 22 Jun 2015 17:11:38 +0000 (17:11 +0000)]
Merge "Fix supertx HORZ and VERT partitioning." into nextgen

9 years agoBug fix in tx-skip
hui su [Mon, 22 Jun 2015 16:54:42 +0000 (09:54 -0700)]
Bug fix in tx-skip

This patch avoids using tx_size larger than 16x16 in lossless mode.
Big block quantization (32x32 or larger) is not lossless.

Change-Id: I69cd84d4f3fd06d641048d6096da1bfde18ad24e

9 years agoAdd q-index as context for initial token probs
hui su [Sun, 31 May 2015 16:41:12 +0000 (09:41 -0700)]
Add q-index as context for initial token probs

There are 4 entropy tables to select for initial entropy table,
depending on the frame base q-index. The entropy tables are
trained with derf, yt, and stdhd sets. About 0.2% gain on
the following test sets:

derflr       0.227%
yt           0.277%
stdhd        0.233%
hevclr       0.221%
hevcmr       0.155%
hevchr       0.182%

Change-Id: I3fde846c47fc020e80c814897690b4cda1da569c

Change-Id: I460408372586c823974f945ed9fd8dcb0360fbaf

9 years agoFix for supertx decode with segments
Peter de Rivaz [Thu, 18 Jun 2015 18:15:15 +0000 (19:15 +0100)]
Fix for supertx decode with segments

Change-Id: I5e07b0b9fafd2578ecfacf20fb70b07fd6977d98

9 years agoFix supertx HORZ and VERT partitioning.
Peter de Rivaz [Wed, 17 Jun 2015 20:19:39 +0000 (21:19 +0100)]
Fix supertx HORZ and VERT partitioning.

Change-Id: I9a44d70dc2514baf679025335badc2744eeb4b88

9 years agoAdded ext_partitions to supertx
Peter de Rivaz [Wed, 17 Jun 2015 08:41:15 +0000 (09:41 +0100)]
Added ext_partitions to supertx

Change-Id: I0e2a0253e5a8dcdb5b765836a3301299409e9d0a

9 years agoFix seg fault in count_segs_sb with ext_partitions
Peter de Rivaz [Mon, 15 Jun 2015 10:03:38 +0000 (11:03 +0100)]
Fix seg fault in count_segs_sb with ext_partitions

Change-Id: I609f429006e7d2b849fe0a509f5d9f5123ecf0ec

9 years agoFixing skip simplifcation with SuperTX experiment
Pieter Kapsenberg [Mon, 15 Jun 2015 21:51:16 +0000 (14:51 -0700)]
Fixing skip simplifcation with SuperTX experiment

Combination of MISC_ENTROPY and SUPERTX resulted in compilation error

Change-Id: Ibcf28216712d93f00f38f3786fce8fcdca3f835e