platform/upstream/libvpx.git
11 years agoMigrating MB decoding into decode_sb/atom
Jingning Han [Tue, 30 Apr 2013 19:08:32 +0000 (12:08 -0700)]
Migrating MB decoding into decode_sb/atom

The decode_mb only carries I8X8_PRED decoding, which will be covered
by the regular MB intra modes when SB8X8 is on. To be removed later.

Change-Id: I3b9ee55917a30b42518b81987bc10c22b1a19e7f

11 years agoMerge "Cleaning up encoder segmentation code." into experimental
Dmitry Kovalev [Wed, 1 May 2013 00:49:55 +0000 (17:49 -0700)]
Merge "Cleaning up encoder segmentation code." into experimental

11 years agoMerge "Use more restrictive block radius for 8x8 block MV references." into experimental
Ronald S. Bultje [Wed, 1 May 2013 00:41:57 +0000 (17:41 -0700)]
Merge "Use more restrictive block radius for 8x8 block MV references." into experimental

11 years agoUse more restrictive block radius for 8x8 block MV references.
Ronald S. Bultje [Wed, 1 May 2013 00:34:02 +0000 (17:34 -0700)]
Use more restrictive block radius for 8x8 block MV references.

Change-Id: If02e006aa8a89da9de23da92362bd2e7718ea07c

11 years agoMerge "sb8x8 integration in rd loop." into experimental
Ronald S. Bultje [Wed, 1 May 2013 00:29:46 +0000 (17:29 -0700)]
Merge "sb8x8 integration in rd loop." into experimental

11 years agosb8x8 integration in rd loop.
Ronald S. Bultje [Tue, 30 Apr 2013 23:13:20 +0000 (16:13 -0700)]
sb8x8 integration in rd loop.

Work-in-progress, not yet ready for review. TODO items:
- bitstream writing (encoder) and reading (decoder)
- decoder reconstruction

Change-Id: I5afb7284e7e0480847b47cd0097cb469433c9081

11 years agoMerge "Expand UMV border to 96 pixels" into experimental
John Koleszar [Tue, 30 Apr 2013 22:34:58 +0000 (15:34 -0700)]
Merge "Expand UMV border to 96 pixels" into experimental

11 years agoMerge "Removed code no longer being used." into experimental
Yaowu Xu [Tue, 30 Apr 2013 19:26:09 +0000 (12:26 -0700)]
Merge "Removed code no longer being used." into experimental

11 years agoMerge "Migrating SPLITMV_4X4 decoding into decode_atom" into experimental
Jingning Han [Tue, 30 Apr 2013 19:17:56 +0000 (12:17 -0700)]
Merge "Migrating SPLITMV_4X4 decoding into decode_atom" into experimental

11 years agoRemoved code no longer being used.
Yaowu Xu [Tue, 30 Apr 2013 19:09:27 +0000 (12:09 -0700)]
Removed code no longer being used.

Change-Id: Iab9a88f250614a790b6ad96bf3150a74210910df

11 years agoMerge "Adding vp9_update_frame_size function." into experimental
Dmitry Kovalev [Tue, 30 Apr 2013 19:00:35 +0000 (12:00 -0700)]
Merge "Adding vp9_update_frame_size function." into experimental

11 years agoAdding vp9_update_frame_size function.
Dmitry Kovalev [Tue, 30 Apr 2013 18:14:27 +0000 (11:14 -0700)]
Adding vp9_update_frame_size function.

Moving common code from encoder and decoder to vp9_update_frame_size.

Change-Id: I6ca758b7d05ffd52821bd3f7ad68089da11e4165

11 years agoMerge "General cleanup inside vp9_bitstream.c." into experimental
Dmitry Kovalev [Tue, 30 Apr 2013 18:07:05 +0000 (11:07 -0700)]
Merge "General cleanup inside vp9_bitstream.c." into experimental

11 years agoMigrating SPLITMV_4X4 decoding into decode_atom
Jingning Han [Tue, 30 Apr 2013 17:16:09 +0000 (10:16 -0700)]
Migrating SPLITMV_4X4 decoding into decode_atom

Separate the decoding process of 4x4 block based coding (both intra
and inter) from decode_mb and move it into decode_atom_. This allows
to further move the rest per 16x16 block decoding of decode_mb into
decode_sb, and hence eventually deprecating decode_mb when SB8X8 is
enabled.

Change-Id: I678cb8007d8a57b792d7a23020edb0c74fbf4237

11 years agoMerge "Renaming refresh_entropy_probs to refresh_frame_context." into experimental
Dmitry Kovalev [Tue, 30 Apr 2013 17:21:24 +0000 (10:21 -0700)]
Merge "Renaming refresh_entropy_probs to refresh_frame_context." into experimental

11 years agoMerge "Consistent names for quant-related functions and variables." into experimental
Dmitry Kovalev [Tue, 30 Apr 2013 17:19:48 +0000 (10:19 -0700)]
Merge "Consistent names for quant-related functions and variables." into experimental

11 years agoMerge "Fix incorrect 32x64, 16x32 subpel variance" into experimental
John Koleszar [Tue, 30 Apr 2013 15:43:07 +0000 (08:43 -0700)]
Merge "Fix incorrect 32x64, 16x32 subpel variance" into experimental

11 years agoMerge "Separate I4X4_PRED coding from macroblock modules" into experimental
Jingning Han [Tue, 30 Apr 2013 04:51:59 +0000 (21:51 -0700)]
Merge "Separate I4X4_PRED coding from macroblock modules" into experimental

11 years agoSeparate I4X4_PRED coding from macroblock modules
Jingning Han [Mon, 29 Apr 2013 19:43:38 +0000 (12:43 -0700)]
Separate I4X4_PRED coding from macroblock modules

Separate the functionality of I4X4_PRED from decode_mb. Use
decode_atom_intra instead, to enable recursive partition of superblock
down to 8x8.

Change-Id: Ifc89a3be82225398954169d0a839abdbbfd8ca3b

11 years agoMake sure 32x32 coefficients fit in int16_t.
Ronald S. Bultje [Tue, 30 Apr 2013 00:38:25 +0000 (17:38 -0700)]
Make sure 32x32 coefficients fit in int16_t.

Fixes mismatches on yt.

Change-Id: I65444137578b29a4984af5c01b2874c5ab086acc

11 years agoExpand UMV border to 96 pixels
John Koleszar [Mon, 29 Apr 2013 20:44:54 +0000 (13:44 -0700)]
Expand UMV border to 96 pixels

Ensures that the full 64 pixel border is available for prediction (need a minimum of
64+INTERP_EXTEND on all sides, and 32+INTERP_EXTEND on UV). Value also must be a
multiple of 32 to keep UV stride alignment. The smaller border was causing the prediction
to read outside the frame, which can cause a mismatch.

TODO: Get rid of this explicit border and use edge emulation instead.

Change-Id: I3f68453a088ec0ab4349d0f5cc02b573be06d7c4

11 years agoMerge "fixed new intra code for rectanglar blocks" into experimental
Yaowu Xu [Mon, 29 Apr 2013 23:16:27 +0000 (16:16 -0700)]
Merge "fixed new intra code for rectanglar blocks" into experimental

11 years agoCleaning up encoder segmentation code.
Dmitry Kovalev [Mon, 29 Apr 2013 23:07:17 +0000 (16:07 -0700)]
Cleaning up encoder segmentation code.

Moving code from vp9_pack_bitstream to new function encode_segmentation.

Change-Id: I1f1e59a1f038618ad95162b7db4b6f8164850ea8

11 years agoMerge "Enabled i4x4 to use right above pixels" into experimental
Yaowu Xu [Mon, 29 Apr 2013 23:05:19 +0000 (16:05 -0700)]
Merge "Enabled i4x4 to use right above pixels" into experimental

11 years agoMerge "Use same intra prediction for all block size" into experimental
Yaowu Xu [Mon, 29 Apr 2013 23:02:35 +0000 (16:02 -0700)]
Merge "Use same intra prediction for all block size" into experimental

11 years agofixed new intra code for rectanglar blocks
Yaowu Xu [Mon, 29 Apr 2013 22:49:00 +0000 (15:49 -0700)]
fixed new intra code for rectanglar blocks

Also fixed two minor subtle boundary conditions in intra prediction
code, and replaced memcpy/memset with vpx_ prefixed version.

Change-Id: I9cddff3be831228b628f1f2f065a61feacbcbee6

11 years agoEnabled i4x4 to use right above pixels
Yaowu Xu [Fri, 26 Apr 2013 00:52:09 +0000 (17:52 -0700)]
Enabled i4x4 to use right above pixels

Change-Id: I7442b4600b6812bed13e655ccf68f9ea56cc83a2

11 years agoUse same intra prediction for all block size
Yaowu Xu [Tue, 23 Apr 2013 18:06:11 +0000 (11:06 -0700)]
Use same intra prediction for all block size

The commmit changed to use same intra prediction function for all
block sizes.

Some details on the changes:
1. All directional modes except DC/TM/V/H now have built-in filtering
for all pixels with filter taps either (1, 2, 1)/4 or (1, 1)/2.
2. Above edge get automatic extended to double width (bw*2), which
makes a lot of the prediciton mode computation simpler.
3. Same intra prediction function is called with different size
for i4x4_pred and all other larger size.

Overall, the change helped keyframe only coding for both cif size
and std-hd size test sets by .5% consistently on all encodings.
For normal coding with single/auto key frame, the change now also
is consistently net positive for all encodings. The overall gains
is about .15% on std-hd set.

Change-Id: I01ceb31fbc73d49776262e6bdc06853b03bbd1d1

11 years agoFix incorrect 32x64, 16x32 subpel variance
John Koleszar [Mon, 29 Apr 2013 19:59:30 +0000 (12:59 -0700)]
Fix incorrect 32x64, 16x32 subpel variance

Incorrect strides caused use of uninitialized stack data.

Change-Id: Ifc12174285311bcf0453987d4283e91141f979ef

11 years agoMerge "Use foreach_transformed_block with tokenize_b" into experimental
John Koleszar [Mon, 29 Apr 2013 19:53:04 +0000 (12:53 -0700)]
Merge "Use foreach_transformed_block with tokenize_b" into experimental

11 years agoMerge "Merge encode_sb and encode_sb64 in a recursive encode_sb/b function." into...
Ronald S. Bultje [Mon, 29 Apr 2013 19:41:55 +0000 (12:41 -0700)]
Merge "Merge encode_sb and encode_sb64 in a recursive encode_sb/b function." into experimental

11 years agoMerge "Fix mi_row argument to update_stats()." into experimental
Ronald S. Bultje [Mon, 29 Apr 2013 19:41:53 +0000 (12:41 -0700)]
Merge "Fix mi_row argument to update_stats()." into experimental

11 years agoMerge "Factor out assigning correct partitioning seg_context pointers." into experimental
Ronald S. Bultje [Mon, 29 Apr 2013 19:41:50 +0000 (12:41 -0700)]
Merge "Factor out assigning correct partitioning seg_context pointers." into experimental

11 years agoMerge "Use recursive function in resetting txfm_size for skip-blocks." into experimental
Ronald S. Bultje [Mon, 29 Apr 2013 19:41:47 +0000 (12:41 -0700)]
Merge "Use recursive function in resetting txfm_size for skip-blocks." into experimental

11 years agoMerge "Use recursive function in choosing segmentation map coding method." into exper...
Ronald S. Bultje [Mon, 29 Apr 2013 19:33:18 +0000 (12:33 -0700)]
Merge "Use recursive function in choosing segmentation map coding method." into experimental

11 years agoUse foreach_transformed_block with tokenize_b
John Koleszar [Mon, 29 Apr 2013 18:57:48 +0000 (11:57 -0700)]
Use foreach_transformed_block with tokenize_b

Updates the tokenizer to use the common block walker used by the
detokenizer, to support non-4:2:0 and more than 3 planes.

Change-Id: If1854117a9c7c1427349209fa2b3051ce6459dcb

11 years agoMerge encode_sb and encode_sb64 in a recursive encode_sb/b function.
Ronald S. Bultje [Sun, 28 Apr 2013 15:59:13 +0000 (08:59 -0700)]
Merge encode_sb and encode_sb64 in a recursive encode_sb/b function.

Change-Id: Ifd1f7319e398381ca7d55aaacc68c39a1319d651

11 years agoFix mi_row argument to update_stats().
Ronald S. Bultje [Sat, 27 Apr 2013 22:59:37 +0000 (15:59 -0700)]
Fix mi_row argument to update_stats().

This doesn't change output, because the argument isn't actually used
ATM. However, we should fix it for consistency.

Change-Id: I7b7326a8e92c0d411c999ec2c781204b516ed53d

11 years agoFactor out assigning correct partitioning seg_context pointers.
Ronald S. Bultje [Sat, 27 Apr 2013 22:52:22 +0000 (15:52 -0700)]
Factor out assigning correct partitioning seg_context pointers.

Change-Id: I6e787915a92e0abdea86adaa3e1106aa9c165034

11 years agoUse recursive function in resetting txfm_size for skip-blocks.
Ronald S. Bultje [Sat, 27 Apr 2013 22:26:39 +0000 (15:26 -0700)]
Use recursive function in resetting txfm_size for skip-blocks.

This is shorter than fully writing out all cases (52 vs. 84 LOC), and
is easier to extend.

Change-Id: Ic75f86f15cf037543c3dc6234d9ac088205a0ed1

11 years agoUse recursive function in choosing segmentation map coding method.
Ronald S. Bultje [Sat, 27 Apr 2013 22:14:42 +0000 (15:14 -0700)]
Use recursive function in choosing segmentation map coding method.

This is shorter than fully writing out all cases (55 vs. 84 LOC), and
is easier to extend.

Change-Id: Ibad1bf6463198cad9188c5507181d4b03d393e6d

11 years agoMerge "Immigrate tokenize_mb into tokenize_sb" into experimental
Jingning Han [Mon, 29 Apr 2013 18:28:56 +0000 (11:28 -0700)]
Merge "Immigrate tokenize_mb into tokenize_sb" into experimental

11 years agoMerge "Change above/left_context to use an 8x8 basis." into experimental
Ronald S. Bultje [Mon, 29 Apr 2013 18:28:25 +0000 (11:28 -0700)]
Merge "Change above/left_context to use an 8x8 basis." into experimental

11 years agoImmigrate tokenize_mb into tokenize_sb
Jingning Han [Mon, 29 Apr 2013 18:05:22 +0000 (11:05 -0700)]
Immigrate tokenize_mb into tokenize_sb

Unify the tokenize_ function and enable configurable block size for
superblock 8x8. We are immigrating the functionalities of
macroblock handles into superblock ones, and eventually will remove
encode_mb and decode_mb. To be continued on detokenize_ module.

Change-Id: I9f81e8c2291082535cf5e0c4b662eb24fb7c8a7f

11 years agoChange above/left_context to use an 8x8 basis.
Ronald S. Bultje [Mon, 29 Apr 2013 17:37:25 +0000 (10:37 -0700)]
Change above/left_context to use an 8x8 basis.

Output changes slightly because of a minor bug in (at least) the sb32x16
block2above tx16x16 tables that previously existed in vp9_blockd.c.

Change-Id: I624af28ac200a8322d64454cf05c79e9502968cc

11 years agoMerge "Turning model based reverse update on for coefs" into experimental
Deb Mukherjee [Mon, 29 Apr 2013 17:13:06 +0000 (10:13 -0700)]
Merge "Turning model based reverse update on for coefs" into experimental

11 years agoTurning model based reverse update on for coefs
Deb Mukherjee [Fri, 26 Apr 2013 18:13:26 +0000 (11:13 -0700)]
Turning model based reverse update on for coefs

Turns model based reverse updates on for coefficients in an
effort to reduce the memory requirement for counters.

With this patch the counters needed will be reduced by about
75% since only 3 counts are needed instead of 12.

The impact in performance is:
derf300: -0.252%
stdhd250: -0.046%

However retraining should alleviate some of the drop in
performance.

Change-Id: I6f2b3e13f6d5520aa3400b0b228fb5e8b4a43caa

11 years agoUnify decode_sb for >16x16 in vp9_decodframe.c
John Koleszar [Sat, 27 Apr 2013 00:52:35 +0000 (17:52 -0700)]
Unify decode_sb for >16x16 in vp9_decodframe.c

First patch to make sb decoding based on the transform size. This patch
is working for the sb modes, combining the parts of decode_mb that fit
into this framework will come as a second patch.

Change-Id: I26123416a7a87e096bbdb5eb944ce5bb198384f8

11 years agoMerge "Minor tweak to implicit segmentation experiment." into experimental
Paul Wilkins [Sat, 27 Apr 2013 18:58:13 +0000 (11:58 -0700)]
Merge "Minor tweak to implicit segmentation experiment." into experimental

11 years agoAdd forward probability model update for partition
Jingning Han [Sat, 27 Apr 2013 04:52:53 +0000 (21:52 -0700)]
Add forward probability model update for partition

Enable forward model update for partition syntax coding.

Change-Id: If47b423b6d12f34614c57f25d235dc9ba688efc5

11 years agoGeneral cleanup inside vp9_bitstream.c.
Dmitry Kovalev [Fri, 26 Apr 2013 23:46:17 +0000 (16:46 -0700)]
General cleanup inside vp9_bitstream.c.

Change-Id: I0c57b90055a018d53c32b5e39d8e899a9a4d1c1b

11 years agoMerge "Grow MODE_INFO array to use an 8x8 basis." into experimental
Ronald S. Bultje [Fri, 26 Apr 2013 21:46:50 +0000 (14:46 -0700)]
Merge "Grow MODE_INFO array to use an 8x8 basis." into experimental

11 years agoRenaming refresh_entropy_probs to refresh_frame_context.
Dmitry Kovalev [Fri, 26 Apr 2013 21:39:58 +0000 (14:39 -0700)]
Renaming refresh_entropy_probs to refresh_frame_context.

Change-Id: I5429c02246d198eb1b6aadbc3313b26bf3436062

11 years agoMerge "Merge branch 'master' into experimental" into experimental
Johann [Fri, 26 Apr 2013 20:35:28 +0000 (13:35 -0700)]
Merge "Merge branch 'master' into experimental" into experimental

11 years agoMerge branch 'master' into experimental
Johann [Fri, 26 Apr 2013 18:40:43 +0000 (11:40 -0700)]
Merge branch 'master' into experimental

Conflicts:
vp9/common/vp9_findnearmv.c
vp9/common/vp9_rtcd_defs.sh
vp9/decoder/vp9_decodframe.c
vp9/decoder/x86/vp9_dequantize_sse2.c
vp9/encoder/vp9_rdopt.c
vp9/vp9_common.mk

Resolve file name changes in favor of master. Resolve rdopt changes in
favor of experimental, preserving the newer experiments.

Change-Id: If51ed8f457470281c7b20a5c1a2f4ce2cf76c20f

11 years agoConsistent names for quant-related functions and variables.
Dmitry Kovalev [Fri, 26 Apr 2013 19:30:20 +0000 (12:30 -0700)]
Consistent names for quant-related functions and variables.

Change-Id: I3a6d601e90e8740b9c26dd0afbfe9d467b75d367

11 years agoGrow MODE_INFO array to use an 8x8 basis.
Ronald S. Bultje [Fri, 26 Apr 2013 18:57:17 +0000 (11:57 -0700)]
Grow MODE_INFO array to use an 8x8 basis.

Change-Id: I087e08e7909a406b71715b8525c104208daa6889

11 years agoMerge "Code cleanup inside vp9_decodframe.c." into experimental
Dmitry Kovalev [Fri, 26 Apr 2013 18:35:25 +0000 (11:35 -0700)]
Merge "Code cleanup inside vp9_decodframe.c." into experimental

11 years agoMerge changes I7ff2fa72,I7907230d into experimental
John Koleszar [Fri, 26 Apr 2013 18:26:18 +0000 (11:26 -0700)]
Merge changes I7ff2fa72,I7907230d into experimental

* changes:
  Remove BLOCKD structure
  Remove destination pointers from BLOCKD

11 years agoMerge "Restore vp9_asm_enc_offsets.c" into experimental
John Koleszar [Fri, 26 Apr 2013 17:49:45 +0000 (10:49 -0700)]
Merge "Restore vp9_asm_enc_offsets.c" into experimental

11 years agoRemove BLOCKD structure
John Koleszar [Tue, 23 Apr 2013 23:22:47 +0000 (16:22 -0700)]
Remove BLOCKD structure

All members can be referenced from their per-plane counterparts, and
removes assumptions about 24 blocks per macroblock.

Change-Id: I7ff2fa72d22c29163eb558981c8193765a8113d9

11 years agoRemove destination pointers from BLOCKD
John Koleszar [Thu, 25 Apr 2013 18:15:38 +0000 (11:15 -0700)]
Remove destination pointers from BLOCKD

Access these members from MACROBLOCKD instead.

Change-Id: I7907230dd473ff12ebe182b9280d8b7f12a888c4

11 years agoRestore vp9_asm_enc_offsets.c
John Koleszar [Fri, 26 Apr 2013 13:52:43 +0000 (06:52 -0700)]
Restore vp9_asm_enc_offsets.c

The previous commit 15255ee "Move dequant from BLOCKD to per-plane MACROBLOCKD"
removed the vp9_asm_enc_offsets.c file, but didn't update the various secondary
build systems that special case these files. Restore it for now, to ensure any
in-progress changes and builds continue working, to allow time to more carefully
coordinate removal of these files.

Change-Id: I24b78db3fb874d5fbd226548b7366a05ed98e536

11 years agocode cleanup for arm_cpudetect.c
changjun.yang [Fri, 26 Apr 2013 07:16:42 +0000 (15:16 +0800)]
code cleanup for arm_cpudetect.c

Change-Id: I5c49a983ced45197e1035fa5615d71b0bdad4109

11 years agoMerge "quantize: make 4x4, 8x8 common with larger transforms" into experimental
John Koleszar [Fri, 26 Apr 2013 16:08:49 +0000 (09:08 -0700)]
Merge "quantize: make 4x4, 8x8 common with larger transforms" into experimental

11 years agoRemoved bmi from blockd
Scott LaVarnway [Fri, 26 Apr 2013 14:19:43 +0000 (10:19 -0400)]
Removed bmi from blockd

This originally was "Removed update_blockd_bmi()".  Now,
this patch removed bmi from blockd and uses the bmi found
in mode_info_context.  Eliminates unnecessary bmi copies between
blockd and mode_info_context.

Change-Id: I287a4972974bb363f49e528daa9b2a2293f4bc76

11 years agoMerge "Normalize more intrinsic filenames"
Johann [Fri, 26 Apr 2013 06:30:41 +0000 (23:30 -0700)]
Merge "Normalize more intrinsic filenames"

11 years agoNormalize more intrinsic filenames
Johann [Fri, 26 Apr 2013 06:26:20 +0000 (23:26 -0700)]
Normalize more intrinsic filenames

vp9_dequantize_x86 has only sse2 functions.

vp9_dct_sse2_intrinsics has no namespace collision and can drop
_intrinsics.

vp9_idct_mmx.h is unused.

Change-Id: Ic16e31fb372a1d1e841a62ecb4189fe8f95808ec

11 years agoCode cleanup inside vp9_decodframe.c.
Dmitry Kovalev [Thu, 25 Apr 2013 21:25:40 +0000 (14:25 -0700)]
Code cleanup inside vp9_decodframe.c.

Change-Id: I8447565feeadda1a4a06df907b0156728b1ad5bf

11 years agoquantize: make 4x4, 8x8 common with larger transforms
John Koleszar [Thu, 25 Apr 2013 21:44:44 +0000 (14:44 -0700)]
quantize: make 4x4, 8x8 common with larger transforms

There were 4 variants of the quantize loop in vp9_quantize.c, now
there is 1.

Change-Id: Ic853393411214b32d46a6ba53769413bd14e1cac

11 years agoRemove duplicate code in RD handle_inter_mode() function.
Ronald S. Bultje [Thu, 25 Apr 2013 21:17:08 +0000 (14:17 -0700)]
Remove duplicate code in RD handle_inter_mode() function.

Change-Id: I552d53f7e7331e9246d8a32d6c6dcc0cfa0cbeb0

11 years agoRemove implicit assumption that mode_info_stride == mb_cols + 1.
Ronald S. Bultje [Wed, 24 Apr 2013 19:28:27 +0000 (12:28 -0700)]
Remove implicit assumption that mode_info_stride == mb_cols + 1.

Change-Id: I3030d7adac73109aeaa1ecc0f78ac968c092d9aa

11 years agoRemove write-only variables that store refframe, signbias and mv.
Ronald S. Bultje [Wed, 24 Apr 2013 18:28:57 +0000 (11:28 -0700)]
Remove write-only variables that store refframe, signbias and mv.

These were superseeded by prev_mip.

Change-Id: Ide240475350ce003d68aa990eddc2ee30920663a

11 years agoUse b_width/height_log2 instead of mb_ where appropriate.
Ronald S. Bultje [Wed, 24 Apr 2013 16:18:16 +0000 (09:18 -0700)]
Use b_width/height_log2 instead of mb_ where appropriate.

Basic assumption: when talking about transform units, use b_; when
talking about macroblock indices, use mb_.

Change-Id: Ifd163f595d4924ff892de4eb0401ccd56dc81884

11 years agoMerge "Change default iOS dev path"
Johann [Thu, 25 Apr 2013 20:29:40 +0000 (13:29 -0700)]
Merge "Change default iOS dev path"

11 years agoFix incorrect dequant used in detokenize
John Koleszar [Thu, 25 Apr 2013 18:54:18 +0000 (11:54 -0700)]
Fix incorrect dequant used in detokenize

The quantizer can vary per-plane, and the dequantization vector is
available in the per-plane part of MACROBLOCKD. The previous code would
incorrectly use the Y quantizer for the whole macroblock.

Change-Id: I3ab418aef9168ea0ddcfa4b7c0be32ae48b536d7

11 years agoRemove predictor pointers from BLOCKD
John Koleszar [Thu, 25 Apr 2013 18:15:38 +0000 (11:15 -0700)]
Remove predictor pointers from BLOCKD

Access these members from MACROBLOCKD instead.

Change-Id: I2574622e577bb9feede47f6b7ccbb11f3e928ca8

11 years agoRemove diff from BLOCKD
John Koleszar [Wed, 24 Apr 2013 22:01:35 +0000 (15:01 -0700)]
Remove diff from BLOCKD

The underlying storage for these buffers is in the per-plane MACROBLOCKD
area, so read it from there directly.

Change-Id: Id6bd835117fdd9dea07db95ad06eff9f12afaaf7

11 years agoMove dequant from BLOCKD to per-plane MACROBLOCKD
John Koleszar [Wed, 24 Apr 2013 21:48:17 +0000 (14:48 -0700)]
Move dequant from BLOCKD to per-plane MACROBLOCKD

This data can vary per-plane, but not per-block.

Change-Id: I1971b0b2c2e697d2118e38b54ef446e52f63c65a

11 years agoRemove BLOCK structure
John Koleszar [Tue, 23 Apr 2013 23:22:47 +0000 (16:22 -0700)]
Remove BLOCK structure

All members can be referenced from their per-plane counterparts, and
removes assumptions about 24 blocks per macroblock.

Change-Id: I593fb0715e74cd84b48facd1c9b18c3ae1185d4b

11 years agoRename vp9_idct_x86.c
Johann [Thu, 25 Apr 2013 18:13:02 +0000 (11:13 -0700)]
Rename vp9_idct_x86.c

Remove similarly named header file. It is obsolete.

Move file to match naming style.

Adjust make file to include the file correctly and remove extra
unnecessary #if guard.

Change-Id: Ifba07ba9938a5df08a9f4eda54a3ac4d6983f7bf

11 years agoAdding is_inter_mode function.
Dmitry Kovalev [Wed, 24 Apr 2013 19:14:58 +0000 (12:14 -0700)]
Adding is_inter_mode function.

Change-Id: I2d32d46002cb92c63050c2b8328865c406103621

11 years agoMerge "Removing unused mi_mv_pred_row and mi_mv_pred_col functions." into experimental
Dmitry Kovalev [Thu, 25 Apr 2013 17:18:07 +0000 (10:18 -0700)]
Merge "Removing unused mi_mv_pred_row and mi_mv_pred_col functions." into experimental

11 years agoMerge "Using ROUND_POWER_OF_TWO macro inside vp9_loopfilter_filters.c." into experimental
Dmitry Kovalev [Thu, 25 Apr 2013 17:17:54 +0000 (10:17 -0700)]
Merge "Using ROUND_POWER_OF_TWO macro inside vp9_loopfilter_filters.c." into experimental

11 years agoMerge "Handling frame references and scale factors in one for loop." into experimental
Dmitry Kovalev [Thu, 25 Apr 2013 17:17:34 +0000 (10:17 -0700)]
Merge "Handling frame references and scale factors in one for loop." into experimental

11 years agoMerge "Move sbsegment out of experimental list" into experimental
Jingning Han [Thu, 25 Apr 2013 16:18:01 +0000 (09:18 -0700)]
Merge "Move sbsegment out of experimental list" into experimental

11 years agoMerge "Moved dequantization into the token decoder" into experimental
Scott LaVarnway [Thu, 25 Apr 2013 15:53:42 +0000 (08:53 -0700)]
Merge "Moved dequantization into the token decoder" into experimental

11 years agoHandling frame references and scale factors in one for loop.
Dmitry Kovalev [Thu, 25 Apr 2013 00:20:53 +0000 (17:20 -0700)]
Handling frame references and scale factors in one for loop.

Using ALLOWED_REFS_PER_FRAME constants instead of hard coded 3, replacing
memcpy with plain struct assignment.

Change-Id: Ibc86f5d175fcb3f3a3eddacf593525370f1f854c

11 years agoMerge two similar functions into one
Yaowu Xu [Fri, 19 Apr 2013 23:28:20 +0000 (16:28 -0700)]
Merge two similar functions into one

Function set_mb_row() and set_mb_col() do similar work and are always
called together, this commit merged them into a single function for
clarity and easy maintainence.  This was a TODO item.

Change-Id: I956bd9ed6afb8b2b0469b20fd8bc893b26f8a0f3

11 years agoMerge "Fixing PRED_SWITCHABLE_INTERP case in vp9_get_pred_context function." into...
Dmitry Kovalev [Wed, 24 Apr 2013 22:44:39 +0000 (15:44 -0700)]
Merge "Fixing PRED_SWITCHABLE_INTERP case in vp9_get_pred_context function." into experimental

11 years agoMove sbsegment out of experimental list
Jingning Han [Wed, 24 Apr 2013 22:10:23 +0000 (15:10 -0700)]
Move sbsegment out of experimental list

Move rectangular superblock coding out of experimental list.

Change-Id: I96c37547d122330d666a67b4bf577ae54547857f

11 years agoChange default iOS dev path
Johann [Wed, 24 Apr 2013 21:26:35 +0000 (14:26 -0700)]
Change default iOS dev path

This can be manually overridden with --libc=

Change-Id: I0b857c751d5dc5423f79785e934bc8a714758e75

11 years agoContextual entropy coding of partition syntax
Jingning Han [Tue, 23 Apr 2013 17:12:18 +0000 (10:12 -0700)]
Contextual entropy coding of partition syntax

This commit enables selecting probability models for recursive block
partition information syntax, depending on its above/left partition
information, as well as the current block size. These conditional
probability models are reasonably stationary and consistent across
frames, hence the backward adaptive approach is used to maintain and
update the contextual models.

It achieves coding performance gains (on top of enabling rectangular
block sizes):
derf:   0.242%
yt:     0.391%
hd:     0.376%
stdhd:  0.645%

Change-Id: Ie513d9673337f0d27abd65fb566b711d0844ec2e

11 years agoUsing ROUND_POWER_OF_TWO macro inside vp9_loopfilter_filters.c.
Dmitry Kovalev [Wed, 24 Apr 2013 18:50:49 +0000 (11:50 -0700)]
Using ROUND_POWER_OF_TWO macro inside vp9_loopfilter_filters.c.

Change-Id: Icb671cd011f645a3361684207840d14330ca7488

11 years agoMerge "Change chroma loopfilter to skip inner SB edges for tx16x16 also." into experi...
Ronald S. Bultje [Wed, 24 Apr 2013 18:45:26 +0000 (11:45 -0700)]
Merge "Change chroma loopfilter to skip inner SB edges for tx16x16 also." into experimental

11 years agoMerge "Minor indent changes in loopfilter code." into experimental
Ronald S. Bultje [Wed, 24 Apr 2013 18:45:19 +0000 (11:45 -0700)]
Merge "Minor indent changes in loopfilter code." into experimental

11 years agoMerge "Add basic building blocks for 8x8 superblocks experiment." into experimental
Ronald S. Bultje [Wed, 24 Apr 2013 18:45:13 +0000 (11:45 -0700)]
Merge "Add basic building blocks for 8x8 superblocks experiment." into experimental

11 years agoFixing PRED_SWITCHABLE_INTERP case in vp9_get_pred_context function.
Dmitry Kovalev [Wed, 24 Apr 2013 17:45:32 +0000 (10:45 -0700)]
Fixing PRED_SWITCHABLE_INTERP case in vp9_get_pred_context function.

Adding xd->up_available as additional check for above context.

Change-Id: If5654e4cae184b9c369b7b2e08076cb2951d00ed

11 years agoMerge "Rename quantize_sse2_intrinsics.c"
Johann [Wed, 24 Apr 2013 17:10:55 +0000 (10:10 -0700)]
Merge "Rename quantize_sse2_intrinsics.c"

11 years agoChange chroma loopfilter to skip inner SB edges for tx16x16 also.
Ronald S. Bultje [Tue, 23 Apr 2013 21:12:08 +0000 (14:12 -0700)]
Change chroma loopfilter to skip inner SB edges for tx16x16 also.

Change-Id: I6ea9e110b5c5b07ab7d092886dbd51a6eccc0217