]> granicus.if.org Git - libvpx/log
libvpx
9 years agoMerge "Unify the use of inter predictor in encoder and decoder" into nextgenv2
Jingning Han [Thu, 12 May 2016 21:27:07 +0000 (21:27 +0000)]
Merge "Unify the use of inter predictor in encoder and decoder" into nextgenv2

9 years agoUnify the use of inter predictor in encoder and decoder
Jingning Han [Thu, 12 May 2016 19:50:12 +0000 (12:50 -0700)]
Unify the use of inter predictor in encoder and decoder

This commit unifies the inter predictor used in the encoder and
decoder side for super-tx experiment. This resolves an enc/dec
mismatch found in nextgenv2 nightly-run unit test.

Change-Id: I16ab8d6063edf9d2fba79473f470f1a592cc10a0

9 years agoMerge "Add decoder APIs and unit tests in tile-coding experiment" into nextgenv2
Yunqing Wang [Thu, 12 May 2016 19:05:58 +0000 (19:05 +0000)]
Merge "Add decoder APIs and unit tests in tile-coding experiment" into nextgenv2

9 years agoMerge "Add flip option for vp10_fwd_txfm2d_#x#_c" into nextgenv2
Angie Chiang [Thu, 12 May 2016 18:08:27 +0000 (18:08 +0000)]
Merge "Add flip option for vp10_fwd_txfm2d_#x#_c" into nextgenv2

9 years agoMerge "Fix highbd masked variance function declaration" into nextgenv2
Jingning Han [Thu, 12 May 2016 01:29:37 +0000 (01:29 +0000)]
Merge "Fix highbd masked variance function declaration" into nextgenv2

9 years agoAdd decoder APIs and unit tests in tile-coding experiment
Yunqing Wang [Thu, 5 May 2016 23:42:57 +0000 (16:42 -0700)]
Add decoder APIs and unit tests in tile-coding experiment

In the tile-coding experiment,
1. In tile decoder, added 2 set control APIs:
   VP10_SET_DECODE_TILE_ROW and VP10_SET_DECODE_TILE_COL. It allowed
   users to set the range of decoding at frame level.
2. Added a unit test while tile-coding experiment is on. It tested
   both tile encoder and decoder to make sure the encoded frame
   can be decoded as a whole frame or as independent tiles.

Change-Id: I73fd0632b685047cb9376008127cde72efa3fb2b

9 years agoFix highbd masked variance function declaration
Jingning Han [Wed, 11 May 2016 22:50:58 +0000 (15:50 -0700)]
Fix highbd masked variance function declaration

Fix the variable type mismatch between highbd_calc_masked_var_t and
the actual function definiton. This clears the related compiler
warnings in highbd with ext-inter experiment.

Change-Id: I0423318b16c867ed84700084ad21ca6e42edb321

9 years agoMerge "Cost wedge sign/index properly in rdopt." into nextgenv2
Debargha Mukherjee [Wed, 11 May 2016 20:55:40 +0000 (20:55 +0000)]
Merge "Cost wedge sign/index properly in rdopt." into nextgenv2

9 years agoMerge "Remove vp10_fwd_txfm2d_sse4_test.cc" into nextgenv2
Angie Chiang [Wed, 11 May 2016 19:04:02 +0000 (19:04 +0000)]
Merge "Remove vp10_fwd_txfm2d_sse4_test.cc" into nextgenv2

9 years agoCost wedge sign/index properly in rdopt.
Geza Lore [Wed, 11 May 2016 12:40:05 +0000 (13:40 +0100)]
Cost wedge sign/index properly in rdopt.

Lowres improves by about 0.1%

lowres: -2.164 BDRATE

Change-Id: I393bbb92700bfbb8763ace424f4edc2d672a74b4

9 years agoMerge "Adjust smoothing function for wedge to be sharper" into nextgenv2
Debargha Mukherjee [Wed, 11 May 2016 18:02:07 +0000 (18:02 +0000)]
Merge "Adjust smoothing function for wedge to be sharper" into nextgenv2

9 years agoMerge "Add single motion search for OBMC predictor" into nextgenv2
Yue Chen [Wed, 11 May 2016 17:20:32 +0000 (17:20 +0000)]
Merge "Add single motion search for OBMC predictor" into nextgenv2

9 years agoAdjust smoothing function for wedge to be sharper
Debargha Mukherjee [Wed, 11 May 2016 06:10:26 +0000 (23:10 -0700)]
Adjust smoothing function for wedge to be sharper

Improves performance by 0.2%

lowres: -2.052% BDRATE

Also increases precision of the shift parameters (for further
investigation into different wedge shifts).

Change-Id: I59fcab9baa002e52a6487ed8d617185840a678ed

9 years agoCompute end of frame precisely with selective tile decoding.
Geza Lore [Wed, 11 May 2016 10:07:15 +0000 (11:07 +0100)]
Compute end of frame precisely with selective tile decoding.

Change-Id: I0ee480d437411bebe240bedff204682833efb131

9 years agoAdd single motion search for OBMC predictor
Yue Chen [Fri, 22 Apr 2016 22:09:12 +0000 (15:09 -0700)]
Add single motion search for OBMC predictor

Weighted single motion search is implemented for obmc predictor.
When NEWMV mode is used, to determine the MV for the current block,
we run weighted motion search to compare the weighted prediction
with (source - weighted prediction using neighbors' MVs), in which
the distortion is the actual prediction error of obmc prediction.

Coding gain: 0.404/0.425/0.366 for lowres/midres/hdres
Speed impact: +14% encoding time
              (obmc w/o mv search 13%-> obmc w/ mv search 27%)

Change-Id: Id7ad3fc6ba295b23d9c53c8a16a4ac1677ad835c

9 years agoAdd flip option for vp10_fwd_txfm2d_#x#_c
Angie Chiang [Wed, 11 May 2016 00:53:06 +0000 (17:53 -0700)]
Add flip option for vp10_fwd_txfm2d_#x#_c

Will add unit test to test/vp10_fwd_txfm2d_test.cc later

Change-Id: I626900c67fca4eee2ad0ae1828188527a04a5362

9 years agoRemove vp10_fwd_txfm2d_sse4_test.cc
Angie Chiang [Wed, 11 May 2016 00:06:40 +0000 (17:06 -0700)]
Remove vp10_fwd_txfm2d_sse4_test.cc

Functions vp10_fwd_txfm2d_#x#_sse4_1 tested in this file
will be tested in vp10_fhts#x#_test.cc
Remove this to avoid duplication

Change-Id: Iaf21ab85b9a164fcf2a4574b3e13217e43b6255e

9 years agoMerge "Move count buffers from stack to heap" into nextgenv2
Yaowu Xu [Tue, 10 May 2016 23:58:59 +0000 (23:58 +0000)]
Merge "Move count buffers from stack to heap" into nextgenv2

9 years agoMerge "Remove unused highbd_fdct32x32 function" into nextgenv2
Jingning Han [Tue, 10 May 2016 23:16:40 +0000 (23:16 +0000)]
Merge "Remove unused highbd_fdct32x32 function" into nextgenv2

9 years agoMerge "Remove unused highbd_ihalfcenter32_c function" into nextgenv2
Jingning Han [Tue, 10 May 2016 23:16:35 +0000 (23:16 +0000)]
Merge "Remove unused highbd_ihalfcenter32_c function" into nextgenv2

9 years agoMerge "Fix high bit-depth build with ext-inter and dual-filter exps" into nextgenv2
Jingning Han [Tue, 10 May 2016 23:16:26 +0000 (23:16 +0000)]
Merge "Fix high bit-depth build with ext-inter and dual-filter exps" into nextgenv2

9 years agoMove count buffers from stack to heap
Yaowu Xu [Tue, 10 May 2016 21:42:27 +0000 (14:42 -0700)]
Move count buffers from stack to heap

This fixes the stack overflow issue on MSVC build.

Change-Id: Icb0a78e5992a097d2192979ec2432546eaa452dd

9 years agoRemove unused highbd_fdct32x32 function
Jingning Han [Tue, 10 May 2016 21:31:40 +0000 (14:31 -0700)]
Remove unused highbd_fdct32x32 function

The encoder is using vp10_fwd_txfm2d_32x32 now.

Change-Id: I719f18ec0b065f1e062d01fd300533dd2f17c712

9 years agoRemove unused highbd_ihalfcenter32_c function
Jingning Han [Tue, 10 May 2016 21:27:16 +0000 (14:27 -0700)]
Remove unused highbd_ihalfcenter32_c function

Change-Id: I4390fcbdf353d79dadc021d83d40891e518997dc

9 years agoFix high bit-depth build with ext-inter and dual-filter exps
Jingning Han [Tue, 10 May 2016 21:16:25 +0000 (14:16 -0700)]
Fix high bit-depth build with ext-inter and dual-filter exps

Change-Id: Ie4a884899d73cafea439ecab6ff4de54652b8c28

9 years agoMove new quant experiment in quant_common.c from nextgen
Sarah Parker [Thu, 5 May 2016 23:35:27 +0000 (16:35 -0700)]
Move new quant experiment in quant_common.c from nextgen

NEW_QUANT allows bin widths to be modified as a factor of the nominal
quantization step size. This adds functions to get dequantization
values based on the dequantization offset and 3 knots for a single
quantization profile.

Change-Id: I41f10599997e943cb3391c7a0847d8485b9d8b43

9 years agoMerge "Wedge rd improvements" into nextgenv2
Debargha Mukherjee [Tue, 10 May 2016 20:34:00 +0000 (20:34 +0000)]
Merge "Wedge rd improvements" into nextgenv2

9 years agoWedge rd improvements
Debargha Mukherjee [Fri, 6 May 2016 18:38:15 +0000 (11:38 -0700)]
Wedge rd improvements

Improves speed by about 10-15% by combining y-only rd with
modeling function in a better way.
Also, coding efficiency improves by about 0.1%

lowres: -1.805% BDRATE with ext-inter

Change-Id: I6ef1f8942ec6806252f3fcf749ae4f30dffe42b1

9 years agoMerge "Fix some ans const warnings." into nextgenv2
Alex Converse [Tue, 10 May 2016 18:26:53 +0000 (18:26 +0000)]
Merge "Fix some ans const warnings." into nextgenv2

9 years agoMerge "Fix build without dual-filter" into nextgenv2
Yaowu Xu [Tue, 10 May 2016 18:10:44 +0000 (18:10 +0000)]
Merge "Fix build without dual-filter" into nextgenv2

9 years agoMerge "Remove "const" for parameters passed by value" into nextgenv2
Yaowu Xu [Tue, 10 May 2016 18:05:27 +0000 (18:05 +0000)]
Merge "Remove "const" for parameters passed by value" into nextgenv2

9 years agoMerge "Use multiple tiles in V10 tile independence tests." into nextgenv2
Debargha Mukherjee [Tue, 10 May 2016 18:01:08 +0000 (18:01 +0000)]
Merge "Use multiple tiles in V10 tile independence tests." into nextgenv2

9 years agoMerge "Break tile row dependencies." into nextgenv2
Debargha Mukherjee [Tue, 10 May 2016 18:00:34 +0000 (18:00 +0000)]
Merge "Break tile row dependencies." into nextgenv2

9 years agoMerge "Fix interintra predictor buffer overflow." into nextgenv2
Debargha Mukherjee [Tue, 10 May 2016 17:59:33 +0000 (17:59 +0000)]
Merge "Fix interintra predictor buffer overflow." into nextgenv2

9 years agoRemove "const" for parameters passed by value
Yaowu Xu [Mon, 9 May 2016 18:50:15 +0000 (11:50 -0700)]
Remove "const" for parameters passed by value

This commit removes const from parameters that are passed by value
for consistency in code style.

Change-Id: I2947c4e9cc6e809c4b9b4c162046e45127b8a41c

9 years agoMerge "Refine VP10 REFRESH_FRAME_CONTEXT_MODE" into nextgenv2
Yunqing Wang [Tue, 10 May 2016 15:53:48 +0000 (15:53 +0000)]
Merge "Refine VP10 REFRESH_FRAME_CONTEXT_MODE" into nextgenv2

9 years agoMerge "Change inverse HT function argument from TXFM_2D_CFG* to int" into nextgenv2
Yi Luo [Tue, 10 May 2016 15:38:11 +0000 (15:38 +0000)]
Merge "Change inverse HT function argument from TXFM_2D_CFG* to int" into nextgenv2

9 years agoMerge "Make type conversions explicit" into nextgenv2
Yaowu Xu [Tue, 10 May 2016 14:33:04 +0000 (14:33 +0000)]
Merge "Make type conversions explicit" into nextgenv2

9 years agoFix build without dual-filter
Geza Lore [Tue, 10 May 2016 09:24:53 +0000 (10:24 +0100)]
Fix build without dual-filter

Change-Id: I91946940c1540c9f935161da89155ed304055fda

9 years agoUse multiple tiles in V10 tile independence tests.
Geza Lore [Mon, 9 May 2016 15:23:35 +0000 (16:23 +0100)]
Use multiple tiles in V10 tile independence tests.

Change-Id: I6e5c1cbe1bf40d2f7a0d8bd821cac8ce626ce3b8

9 years agoBreak tile row dependencies.
Geza Lore [Tue, 10 May 2016 10:13:10 +0000 (11:13 +0100)]
Break tile row dependencies.

When not using ext-tile, there were still dependencies between tile
rows due to various tools (eg intra predictors) relying on the above
row or above mode info, which can be in the above tile. This is now
broken (the same way as it was when ext-tile is enabled) by fixing
the appropriate predicates.

Change-Id: I107dd0d8481775a792f14e05cfbbd761f16cdc1e

9 years agoFix interintra predictor buffer overflow.
Geza Lore [Mon, 9 May 2016 15:09:41 +0000 (16:09 +0100)]
Fix interintra predictor buffer overflow.

When constructing the intra predictor for rectangular interintra blocks,
the last row/column of the first square is copied back into the source
image (which is the current reconstructed image buffer) before
predicting the second square. The code used to use the height instead
of width for vertical rectangles, and vice versa for horizontal
rectangles, leading to overwriting the block on the right/below. This
leads to an encode/decode mismatch if the right/below block is in a
different tile and is encoded before the current block, which did happen
with multi-threaded encoding tests. This is now fixed.

Change-Id: I073a2a447a98b842b1394d72cc774a78cb296921

9 years agoPrint mismatch location for failing tests.
Geza Lore [Mon, 9 May 2016 12:19:34 +0000 (13:19 +0100)]
Print mismatch location for failing tests.

Change-Id: Ied6929bf5ac41ca25ee4df4ef19edada5bf1e8cd

9 years agoChange inverse HT function argument from TXFM_2D_CFG* to int
Yi Luo [Tue, 10 May 2016 01:34:16 +0000 (18:34 -0700)]
Change inverse HT function argument from TXFM_2D_CFG* to int

This change has no performance impact. It prepares the proper
function interface for better performance optimization.

Change-Id: I12e2f2deaf7f3adc603de0a74852116468c762f6

9 years agoMerge "HBD hybrid transform 16x16 SSE4.1 optimization" into nextgenv2
Yi Luo [Mon, 9 May 2016 23:58:05 +0000 (23:58 +0000)]
Merge "HBD hybrid transform 16x16 SSE4.1 optimization" into nextgenv2

9 years agoMerge "Fix ans+ref_mv build." into nextgenv2
Alex Converse [Mon, 9 May 2016 23:55:48 +0000 (23:55 +0000)]
Merge "Fix ans+ref_mv build." into nextgenv2

9 years agoMerge "Fix unit test failure due to ext-inter and dual filter" into nextgenv2
Jingning Han [Mon, 9 May 2016 23:54:07 +0000 (23:54 +0000)]
Merge "Fix unit test failure due to ext-inter and dual filter" into nextgenv2

9 years agoFix some ans const warnings.
Alex Converse [Mon, 9 May 2016 23:50:03 +0000 (16:50 -0700)]
Fix some ans const warnings.

Change-Id: I508d497803d0c1085aa6a8b26d7a574cb27dd6e2

9 years agoMerge "Edit ext-tx so it isn't doing redundant prunes" into nextgenv2
Sarah Parker [Mon, 9 May 2016 22:57:37 +0000 (22:57 +0000)]
Merge "Edit ext-tx so it isn't doing redundant prunes" into nextgenv2

9 years agoFix ans+ref_mv build.
Alex Converse [Mon, 9 May 2016 22:35:58 +0000 (15:35 -0700)]
Fix ans+ref_mv build.

Use vp10_read/write instead of vpx_read/write.

Change-Id: I2b7f17e9cdbea14ff48f4bd9776dd3e6aff17a2b

9 years agoMerge "Remove the ANS rename on pack_mb_tokens()." into nextgenv2
Alex Converse [Mon, 9 May 2016 22:16:34 +0000 (22:16 +0000)]
Merge "Remove the ANS rename on pack_mb_tokens()." into nextgenv2

9 years agoMerge "Fix dual filter type for high bit-depth" into nextgenv2
Jingning Han [Mon, 9 May 2016 22:06:09 +0000 (22:06 +0000)]
Merge "Fix dual filter type for high bit-depth" into nextgenv2

9 years agoRefine VP10 REFRESH_FRAME_CONTEXT_MODE
Yunqing Wang [Mon, 9 May 2016 21:20:50 +0000 (14:20 -0700)]
Refine VP10 REFRESH_FRAME_CONTEXT_MODE

In VP10, REFRESH_FRAME_CONTEXT_OFF mode is only set when the error
resillient mode is on. Instead of being used to decide how to update
the frame contexts, it is used to decide if or not to reset the
frame contexts.

To verify, ran borg test on lowres set. The result is neutral.
Overall PSNR: -0.006%; SSIM: -0.006%.

Change-Id: Ic48265cf7488e80c6f5aab3eef7ba1c273506419

9 years agoEdit ext-tx so it isn't doing redundant prunes
Sarah Parker [Mon, 9 May 2016 18:32:42 +0000 (11:32 -0700)]
Edit ext-tx so it isn't doing redundant prunes

The original pruning function was not taking into account
that certain tx sizes/block sizes use a reduced tx set.

Prune 1: -0.3% performance drop, 20% speedup on foreman video
Prune 2: -0.48% perfomance drop, 30% speedup on foreman video

Change-Id: I557e919d97a89f787b47b3c8579a080db57f91d0

9 years agoTurn on the use of upsampled refs for ext-refs
Zoe Liu [Mon, 9 May 2016 18:16:28 +0000 (11:16 -0700)]
Turn on the use of upsampled refs for ext-refs

Without this patch, the experiment of ext-refs showed almost no coding
gains compared to the baseline. This is because when ext-refs is on, the
use of upsampled reference is off.

With this patch, the ext-refs experiment works with the upsampled
references and shows coding gains in Overall PSNR as follows, with ~5%
slow down for encoding time:

lowres: Avg - -0.965;  BDRate - -0.844
derflr: Avg - -0.847;  BDRate - -0.669

Note that the previous patch a912c6ec314d816767a4c3eb4e5e1bddcc4c1186
that "Make LAST_FRAME always point to the newly coded frame in ext-refs"
made ext-refs work with the upsampled refereces.

Change-Id: Id79248d71760109fb9198af4f45718b17455555f

9 years agoRemove the ANS rename on pack_mb_tokens().
Alex Converse [Mon, 9 May 2016 19:02:01 +0000 (12:02 -0700)]
Remove the ANS rename on pack_mb_tokens().

This fixes the ans+var_tx combination.

Change-Id: I4c34edb1deac4475c97ce1907c1d6bdf23ce3fc0

9 years agoHBD hybrid transform 16x16 SSE4.1 optimization
Yi Luo [Mon, 9 May 2016 17:36:40 +0000 (10:36 -0700)]
HBD hybrid transform 16x16 SSE4.1 optimization

- Tx_type: DCT_DCT, DCT_ADST, ADST_DCT, ADST_ADST.
- Update vp10_fht16x16_test.cc to do bit-exact test against
  latest C version.
- HBD encoder speed improves ~1.8%.

Change-Id: Icfc799a212e5289bcf6cedcae3722032133a2bc6

9 years agoFix unit test failure due to ext-inter and dual filter
Jingning Han [Mon, 9 May 2016 15:59:47 +0000 (08:59 -0700)]
Fix unit test failure due to ext-inter and dual filter

Make the inter predictor use the right filter type to avoid
enc/dec mismatch.

Change-Id: I2aa416d50450188ec2057dca3338fa258314e562

9 years agoMerge "Add SSE2 versions of 128x128 vpx_sad*" into nextgenv2
Geza Lore [Mon, 9 May 2016 10:30:58 +0000 (10:30 +0000)]
Merge "Add SSE2 versions of 128x128 vpx_sad*" into nextgenv2

9 years agoMerge "Unbreak VP9 threading tests." into nextgenv2
Geza Lore [Mon, 9 May 2016 10:30:46 +0000 (10:30 +0000)]
Merge "Unbreak VP9 threading tests." into nextgenv2

9 years agoFix dual filter type for high bit-depth
Jingning Han [Sun, 8 May 2016 17:36:51 +0000 (10:36 -0700)]
Fix dual filter type for high bit-depth

This commit fixes the compiler error in high bit-depth inter
predictor when dual filter type experiment is turned on.

Change-Id: I404a76a246477f2fcffc38a3275007d5dfe229cd

9 years agoMerge "Reduce sizes of some of the tests" into nextgenv2
Jingning Han [Mon, 9 May 2016 02:14:38 +0000 (02:14 +0000)]
Merge "Reduce sizes of some of the tests" into nextgenv2

9 years agoMake type conversions explicit
Yaowu Xu [Fri, 6 May 2016 21:34:26 +0000 (14:34 -0700)]
Make type conversions explicit

This eliminates MSVC compiler warnings.

Change-Id: Id6ace2586ed7c6248366905b133448fe8ecbd53d

9 years agoMerge "Make parameter types consistent" into nextgenv2
Yaowu Xu [Sat, 7 May 2016 20:33:25 +0000 (20:33 +0000)]
Merge "Make parameter types consistent" into nextgenv2

9 years agoMerge "Change initializations to be compatible with MSVC" into nextgenv2
Yaowu Xu [Sat, 7 May 2016 20:33:11 +0000 (20:33 +0000)]
Merge "Change initializations to be compatible with MSVC" into nextgenv2

9 years agoMake LAST_FRAME always point to the newly coded frame in ext-refs
Zoe Liu [Fri, 6 May 2016 00:32:51 +0000 (17:32 -0700)]
Make LAST_FRAME always point to the newly coded frame in ext-refs

This patch changes the encoder only for the ext-refs experiment. For
each newly coded frame to refresh the LAST_FRAME, the decoder is
notified that the LAST4_FRAME is to be refreshed, and read out the
updated reference frame buffer vitural indexes for the next coded
frame in a way that:
LAST4_FRAME => LAST_FRAME,
LAST_FRAME  => LAST2_FRAME,
LAST2_FRAME => LAST3_FRAME, and
LAST3_FRAME => LAST4_FRAME.

Compared against the original ext-refs experiment in TOT, a small gain
is achieved in overall PSNR:
lowres Avg: -0.154
lowres BDRate: -0.044

Change-Id: I648810c146a3cd915b408274a9373b7d38324864

9 years agoDual prediction filter type for motion compensated reference
Jingning Han [Mon, 2 May 2016 17:52:05 +0000 (10:52 -0700)]
Dual prediction filter type for motion compensated reference

Make the bit-stream level support per direction filter type coding
for motion compensated reference.

Change-Id: I61a2360b301075f6734cfd9711b7ae68f214174d

9 years agoReduce sizes of some of the tests
Debargha Mukherjee [Sat, 7 May 2016 00:23:01 +0000 (17:23 -0700)]
Reduce sizes of some of the tests

Change-Id: I846410bd61253d0271c6315d266c6edc2808621d

9 years agoMerge "Normalize naming/testing convention in vp10_fht8x8_test.cc" into nextgenv2
Yi Luo [Fri, 6 May 2016 23:48:16 +0000 (23:48 +0000)]
Merge "Normalize naming/testing convention in vp10_fht8x8_test.cc" into nextgenv2

9 years agoMake parameter types consistent
Yaowu Xu [Fri, 6 May 2016 21:21:06 +0000 (14:21 -0700)]
Make parameter types consistent

This fixes compiler warnings from MSVC.

Change-Id: Iaac0e994869561371295578a893f766493ce0544

9 years agoNormalize naming/testing convention in vp10_fht8x8_test.cc
Yi Luo [Thu, 5 May 2016 23:32:12 +0000 (16:32 -0700)]
Normalize naming/testing convention in vp10_fht8x8_test.cc

Use clear and correct type/function names.
Add ASM_REGISTER_STATE_CHECK wrapper for SSE4.1 function.
Conform macro EXPECT_EQ(expected, actual) convention.

Change-Id: I26c6430bea98a4fcb9727eb411b86a3b7abce933

9 years agoChange initializations to be compatible with MSVC
Yaowu Xu [Fri, 6 May 2016 21:20:15 +0000 (14:20 -0700)]
Change initializations to be compatible with MSVC

Change-Id: If5473dadc40d3caea61953fbd112a01939dc1183

9 years agoMerge "Change initializations of variables with type "int_mv"" into nextgenv2
Yaowu Xu [Fri, 6 May 2016 20:21:39 +0000 (20:21 +0000)]
Merge "Change initializations of variables with type "int_mv"" into nextgenv2

9 years agoMerge "Clean up ext-interp experiment" into nextgenv2
Jingning Han [Fri, 6 May 2016 17:16:56 +0000 (17:16 +0000)]
Merge "Clean up ext-interp experiment" into nextgenv2

9 years agoMerge "Rename pick_filter_intra." into nextgenv2
Alex Converse [Fri, 6 May 2016 16:57:53 +0000 (16:57 +0000)]
Merge "Rename pick_filter_intra." into nextgenv2

9 years agoChange initializations of variables with type "int_mv"
Yaowu Xu [Fri, 6 May 2016 01:31:59 +0000 (18:31 -0700)]
Change initializations of variables with type "int_mv"

This is to make MSVC happy and eliminate build errors.

Change-Id: Ic81e7c7516923913e6e7a652b691953e4a1af8aa

9 years agoMerge "Replace inline with INLINE" into nextgenv2
Yaowu Xu [Fri, 6 May 2016 16:48:54 +0000 (16:48 +0000)]
Merge "Replace inline with INLINE" into nextgenv2

9 years agoAdd SSE2 versions of 128x128 vpx_sad*
Geza Lore [Fri, 6 May 2016 13:18:00 +0000 (14:18 +0100)]
Add SSE2 versions of 128x128 vpx_sad*

Encoder speedup with all experiments enabled approx 15%.

Change-Id: Ib3c771d8da00989ddc9112b71b48ce7c5594e91a

9 years agoUnbreak VP9 threading tests.
Geza Lore [Fri, 6 May 2016 12:27:52 +0000 (13:27 +0100)]
Unbreak VP9 threading tests.

Change-Id: If4eb7094986513ee2e49f7456a2248ad1c54d833

9 years agoReplace inline with INLINE
Yaowu Xu [Fri, 6 May 2016 01:28:04 +0000 (18:28 -0700)]
Replace inline with INLINE

This fixes build issues under MSVC

Change-Id: I6db6a43cba2e8ddb099b676f1ae019fe2742f366

9 years agoRename pick_filter_intra.
Alex Converse [Wed, 4 May 2016 20:08:20 +0000 (13:08 -0700)]
Rename pick_filter_intra.

The word 'pick' is usually used in functions that make decisions where
the bitstream allows multiple legal choices, and not to limit the
bitstream format itself.

Change-Id: Ia60709c29e004475e1aa8861aefded27ebaf4712

9 years agoClean up ext-interp experiment
Jingning Han [Thu, 5 May 2016 23:25:31 +0000 (16:25 -0700)]
Clean up ext-interp experiment

Remove the unused sub-experiments within the ext-interp experiment.

Change-Id: I716e3392412d02c56f9395a86c9cab02f580fa59

9 years agoRemove misc-fixes flag from the experimental list
Jingning Han [Thu, 5 May 2016 23:10:21 +0000 (16:10 -0700)]
Remove misc-fixes flag from the experimental list

This flag is not in effect in the codebase. The related contents
have been merged.

Change-Id: I7125ccbedf39e4683d117ecb72ffdd7547c23fc4

9 years agoMerge "Add 1D tx set that corresponds to reduced ext tx inter sets" into nextgenv2
Sarah Parker [Thu, 5 May 2016 23:06:14 +0000 (23:06 +0000)]
Merge "Add 1D tx set that corresponds to reduced ext tx inter sets" into nextgenv2

9 years agoAdd config flag for new_quant experiment
Sarah Parker [Thu, 5 May 2016 20:41:24 +0000 (13:41 -0700)]
Add config flag for new_quant experiment

Change-Id: I3575f688ad473d9750a16c7dae74f5f97d026b26

9 years agoMerge "Add the experiment of bidir-pred" into nextgenv2
Zoe Liu [Thu, 5 May 2016 22:04:56 +0000 (22:04 +0000)]
Merge "Add the experiment of bidir-pred" into nextgenv2

9 years agoAdd the experiment of bidir-pred
Zoe Liu [Thu, 5 May 2016 21:32:48 +0000 (14:32 -0700)]
Add the experiment of bidir-pred

This experiment will implement the use of a backward prediction
reference without temporal filtering. No overlay frame will be
transmitted, instead, the flag of show_existing_frame will be turned
on.

Change-Id: I361a3004344e2ca6b63723f660635c0d790ee036

9 years agoMerge "Remove a redundant variable definition from sub8x8 RD loop" into nextgenv2
Jingning Han [Thu, 5 May 2016 21:17:31 +0000 (21:17 +0000)]
Merge "Remove a redundant variable definition from sub8x8 RD loop" into nextgenv2

9 years agoMerge "Fix mismatch with ext-interp." into nextgenv2
Debargha Mukherjee [Thu, 5 May 2016 21:06:51 +0000 (21:06 +0000)]
Merge "Fix mismatch with ext-interp." into nextgenv2

9 years agoMerge "Refactor supertx rd search" into nextgenv2
Debargha Mukherjee [Thu, 5 May 2016 21:06:18 +0000 (21:06 +0000)]
Merge "Refactor supertx rd search" into nextgenv2

9 years agoRemove a redundant variable definition from sub8x8 RD loop
Jingning Han [Thu, 5 May 2016 19:41:05 +0000 (12:41 -0700)]
Remove a redundant variable definition from sub8x8 RD loop

Change-Id: I464cbb75fbd3872f66ca024dd803605542a9d887

9 years agoFix mismatch with ext-interp.
Geza Lore [Thu, 5 May 2016 17:06:21 +0000 (18:06 +0100)]
Fix mismatch with ext-interp.

The encoder signals the interp filter type in the frame header if all
blocks use the same filter (see bitstream.c:fix_interp_filter). This
decision is made based on the counts, but with ext-interp, the counts
are actually only incremented for blocks that fail vp10_is_interp_needed
(see for example encodeframe.c:update_state), otherwise a default value
is used (EIGHTTAP_REGULAR). The decoder however first checks if the
interp filter is signaled at the frame level, and uses that filter type
for all blocks, even if the default value should have been used.

This patch makes the decoder first check with vp10_is_interp_needed
to see if the default value should be used and then checks the frame
level signaling, which reconciles the difference between encoder and
decoder.

Change-Id: I87857ade42dea06b0d5ec2a029e9219268334dbb

9 years agoImprove multi-threaded encode/decode test.
Geza Lore [Wed, 4 May 2016 10:25:01 +0000 (11:25 +0100)]
Improve multi-threaded encode/decode test.

The test used to test that multi-threaded encode/decode resulted in
the same reconstructed image as single-threaded encode/decode. This
however did not mean that the multi-threaded encoder produced the same
bitstream as the single-threaded encoder, as the multi-threaded encoder
could use different forward probability updates and still produce a
bitstream that is sub optimal but yields the same reconstructed image.
The test now asserts that the bitstream is the same as well as the
reconstructed image. Also added more cpu-use values for testing VP10.

Change-Id: I324ed33a702c488b39e077f750d81a1ad1d7ea87

9 years agoRefactor supertx rd search
Geza Lore [Wed, 27 Jan 2016 17:21:04 +0000 (17:21 +0000)]
Refactor supertx rd search

General code cleanup, but also use the same supertx condition for
ext-partition-types as for conventional partitions.

Change-Id: If86eb18b3c07b9c60434eec2c98b97ce93665b67

9 years agoMerge "Fix vp10_accumulate_frame_counts once and for all." into nextgenv2
Geza Lore [Thu, 5 May 2016 10:19:41 +0000 (10:19 +0000)]
Merge "Fix vp10_accumulate_frame_counts once and for all." into nextgenv2

9 years agoMerge "Change to call build_masked_compound_highbd()" into nextgenv2
Yaowu Xu [Thu, 5 May 2016 04:09:26 +0000 (04:09 +0000)]
Merge "Change to call build_masked_compound_highbd()" into nextgenv2

9 years agoMerge "Refactor intra filter type context fetch function" into nextgenv2
Jingning Han [Thu, 5 May 2016 03:32:06 +0000 (03:32 +0000)]
Merge "Refactor intra filter type context fetch function" into nextgenv2

9 years agoChange to call build_masked_compound_highbd()
Yaowu Xu [Wed, 4 May 2016 22:58:15 +0000 (15:58 -0700)]
Change to call build_masked_compound_highbd()

from combine_interintra_highbd(). This fixes a crash in encoder in
highbitdepth build.

Change-Id: I0aa4cc30200703ff21e9990163bb26ace41aabbc

9 years agoRefactor intra filter type context fetch function
Jingning Han [Wed, 4 May 2016 19:37:39 +0000 (12:37 -0700)]
Refactor intra filter type context fetch function

Factor out common codes from vp10_get_pred_context_intra_interp().
This prevents a potential invalid access of pointers xd->left_mbmi
and xd->above_mbmi.

The coding statistics are identical.

Change-Id: I72dbf9380da7359b997bbe925010faab8e9e7f8d

9 years agoRemove the use of non-declared "plane"
Yaowu Xu [Wed, 4 May 2016 19:39:37 +0000 (12:39 -0700)]
Remove the use of non-declared "plane"

The variable is not defined, it is not needed by the called function
either.

Change-Id: Ia601c03231afc0ae68a10ae1f35e8fc4121c3d28