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

9 years agoChange to use proper type in vp10_token_state
Yaowu Xu [Wed, 4 May 2016 18:59:10 +0000 (11:59 -0700)]
Change to use proper type in vp10_token_state

"qc" in vp10_token_state is used to save quantized coefficients, this
commit changes the type from short to tran_low_t to properly reflect
the value range for highbitdepth build.

This fixes an out-of-range bug when optimize_b is used in highbitdepth
build.

Change-Id: I914c6fd3d3f4b9d061f9ed7cc5f08a883ab59dcd

9 years agoAdd 1D tx set that corresponds to reduced ext tx inter sets
Sarah Parker [Wed, 4 May 2016 18:34:45 +0000 (11:34 -0700)]
Add 1D tx set that corresponds to reduced ext tx inter sets

This is the set of 1D transforms that are used in each
ext_tx_used_inter set. The 1D sets will help speed up
the ext tx pruning functions.

Change-Id: Ib46ad26be2df60b3bfcd2f22d96e7f38ae286df5

9 years agoFix vp10_accumulate_frame_counts once and for all.
Geza Lore [Wed, 4 May 2016 10:30:36 +0000 (11:30 +0100)]
Fix vp10_accumulate_frame_counts once and for all.

This ensures the multi-threaded and single-threaded encoder/decoder
always uses the same probability contexts.

Change-Id: I6f1e7c6bd8808c390c1dc0a628ae97db3acedf6d

9 years agoMerge "Compute end of frame data precisely with ext-tile." into nextgenv2
Debargha Mukherjee [Tue, 3 May 2016 22:42:42 +0000 (22:42 +0000)]
Merge "Compute end of frame data precisely with ext-tile." into nextgenv2

9 years agoMerge "Refactoring and uv fix for wedge" into nextgenv2
Debargha Mukherjee [Tue, 3 May 2016 22:36:24 +0000 (22:36 +0000)]
Merge "Refactoring and uv fix for wedge" into nextgenv2

9 years agoMerge "Test tile row independence." into nextgenv2
Debargha Mukherjee [Tue, 3 May 2016 21:50:29 +0000 (21:50 +0000)]
Merge "Test tile row independence." into nextgenv2

9 years agoMerge "Configure tiles in tests when using ext-tile." into nextgenv2
Debargha Mukherjee [Tue, 3 May 2016 21:49:47 +0000 (21:49 +0000)]
Merge "Configure tiles in tests when using ext-tile." into nextgenv2

9 years agoMerge "Replace hard coded values in mv_has_subpel" into nextgenv2
Jingning Han [Tue, 3 May 2016 19:25:19 +0000 (19:25 +0000)]
Merge "Replace hard coded values in mv_has_subpel" into nextgenv2

9 years agoCompute end of frame data precisely with ext-tile.
Geza Lore [Tue, 3 May 2016 17:25:01 +0000 (18:25 +0100)]
Compute end of frame data precisely with ext-tile.

Decoding superframes correctly requires computing the end of the
frame contents in the bitstream precisely. This patch enables
ext-tile to do so.

Also extended superframe_test to test with multiple tiles if using
ext-tile.

Change-Id: I04bb8cde8755a3d764ee3c36aa8b7a6c5c9db742

9 years agoTest tile row independence.
Geza Lore [Tue, 3 May 2016 12:55:25 +0000 (13:55 +0100)]
Test tile row independence.

Tile rows should now be independent, so make pbi->inv_tile_order
invert the decoding order of tile rows as well as tile columns.
This should improve test coverage. Also added more tile configurations
to the tile_independence_tests.

Change-Id: I14b0f2fa9241c1acaf9e2a07071952cb33feca77

9 years agoConfigure tiles in tests when using ext-tile.
Geza Lore [Tue, 3 May 2016 10:53:55 +0000 (11:53 +0100)]
Configure tiles in tests when using ext-tile.

With ext-tile enabled, the encoder test driver needs to configure the
tile sizes wit different values to encode using a single tile, and to
decode all tiles. This should fix most unit test failures.

Change-Id: I0a0d26737414669791f3bd8d80c537db09f06072

9 years agoMerge "Add dual_filter into the experimental flag list" into nextgenv2
Jingning Han [Tue, 3 May 2016 17:29:31 +0000 (17:29 +0000)]
Merge "Add dual_filter into the experimental flag list" into nextgenv2

9 years agoMerge "Enable VP10 HBD PSNR checking unit test" into nextgenv2
Yi Luo [Tue, 3 May 2016 16:20:23 +0000 (16:20 +0000)]
Merge "Enable VP10 HBD PSNR checking unit test" into nextgenv2

9 years agoAdd dual_filter into the experimental flag list
Jingning Han [Mon, 2 May 2016 15:55:40 +0000 (08:55 -0700)]
Add dual_filter into the experimental flag list

Change-Id: I3f240fb46716b70e7c0ddd40660f55e1285875cd

9 years agoReplace hard coded values in mv_has_subpel
Jingning Han [Tue, 3 May 2016 16:08:06 +0000 (09:08 -0700)]
Replace hard coded values in mv_has_subpel

Change-Id: Id437740c2db1a3a56c1ad29d8b51bb763c044c1d

9 years agoRefactoring and uv fix for wedge
Debargha Mukherjee [Mon, 2 May 2016 20:35:02 +0000 (13:35 -0700)]
Refactoring and uv fix for wedge

lowres: -1.72%

Change-Id: I4c883097caac72fab8e01945454579891617145e

9 years agoMerge "Fix vp10 highbd psnr calculation" into nextgenv2
Angie Chiang [Tue, 3 May 2016 01:29:51 +0000 (01:29 +0000)]
Merge "Fix vp10 highbd psnr calculation" into nextgenv2

9 years agoMerge "Add the 64-bit CPU cycle count utility function" into nextgenv2
Yi Luo [Tue, 3 May 2016 00:51:28 +0000 (00:51 +0000)]
Merge "Add the 64-bit CPU cycle count utility function" into nextgenv2

9 years agoAdd the 64-bit CPU cycle count utility function
Yi Luo [Thu, 21 Apr 2016 22:59:05 +0000 (15:59 -0700)]
Add the 64-bit CPU cycle count utility function

Change-Id: Ie87245bbdf5735bc9729199eeb07899d81dbf267
(cherry picked from commit b547a2f38cfab81f6cbe392b9eb48ab0c12b80cf)

9 years agoFix vp10 highbd psnr calculation
Angie Chiang [Mon, 2 May 2016 21:03:33 +0000 (14:03 -0700)]
Fix vp10 highbd psnr calculation

BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1209
Change-Id: Ia189ec4c1cc9bbcb79a45d1904567d943e2b3bb6

9 years agoEnable VP10 HBD PSNR checking unit test
Yi Luo [Mon, 2 May 2016 18:29:58 +0000 (11:29 -0700)]
Enable VP10 HBD PSNR checking unit test

We enable this unit test to protect the high bit depth picture
quality from degrading under VP10 optimization and new experimental
tools.

Change-Id: I6297a44cf01954773e06549ab2a68c319fc848a8

9 years agoMerge "Bug fixes for obmc/ext-inter/ext-tile experiment" into nextgenv2
Yue Chen [Mon, 2 May 2016 18:09:08 +0000 (18:09 +0000)]
Merge "Bug fixes for obmc/ext-inter/ext-tile experiment" into nextgenv2

9 years agoMerge "HBD hybrid transform 8x8 SSE4.1 optimization" into nextgenv2
Yi Luo [Mon, 2 May 2016 17:34:50 +0000 (17:34 +0000)]
Merge "HBD hybrid transform 8x8 SSE4.1 optimization" into nextgenv2

9 years agoMerge "Fix encoder failure in segmentation mode" into nextgenv2
Jingning Han [Mon, 2 May 2016 15:39:12 +0000 (15:39 +0000)]
Merge "Fix encoder failure in segmentation mode" into nextgenv2

9 years agoBug fixes for obmc/ext-inter/ext-tile experiment
Yue Chen [Sat, 30 Apr 2016 00:45:53 +0000 (17:45 -0700)]
Bug fixes for obmc/ext-inter/ext-tile experiment

Fix 1: in ext-inter + obmc config, properly identify if the left
predictor used for obmc is a compound one in the case that the
neighbor uses wedgeinterinter pred and we will dump the ALTREF part.
This will fix the seg fault in unit test:
VP10/AltRefForcedKeyTestLarge.Frame1IsKey/0

Fix 2: in ext-tile + obmc experiment, handle the case that the
above block does not fit in the same row tile with the current one,
so as to prevent potential crashes.

Change-Id: I1c177d4f4ad15e10d11d8756e146496437753eea

9 years agoFix encoder failure in segmentation mode
Jingning Han [Sat, 30 Apr 2016 00:32:44 +0000 (17:32 -0700)]
Fix encoder failure in segmentation mode

This commit fixes an encoder segment fault in the codebase, when
the segmentation feature is turned on. The issue was introduced in

5cce322 Porting ext_partition experiment from nextgen

Change-Id: Ifb4c06c5a6976114a8bd061d40d0338a136abaaf