platform/upstream/libvpx.git
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 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 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 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 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 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

11 years agoMerge "Extension of segmentation to 8 segments." into experimental
Paul Wilkins [Wed, 24 Apr 2013 16:44:48 +0000 (09:44 -0700)]
Merge "Extension of segmentation to 8 segments." into experimental

11 years agoMerge "Simplify Segment Coding" into experimental
Paul Wilkins [Wed, 24 Apr 2013 16:43:01 +0000 (09:43 -0700)]
Merge "Simplify Segment Coding" into experimental

11 years agoRename quantize_sse2_intrinsics.c
Johann [Wed, 24 Apr 2013 16:08:56 +0000 (09:08 -0700)]
Rename quantize_sse2_intrinsics.c

The only reason for the _intrinsics part of the file name was for the
interim period where only one of the functions was redone and the base
file name was the same.

Change-Id: I7851154f1633d48821bee885b1cadb2148e65a23

11 years agoMerge "Fix in token allocation with zerogroup expt" into experimental
Deb Mukherjee [Wed, 24 Apr 2013 15:57:25 +0000 (08:57 -0700)]
Merge "Fix in token allocation with zerogroup expt" into experimental

11 years agoMinor tweak to implicit segmentation experiment.
Paul Wilkins [Wed, 24 Apr 2013 15:05:02 +0000 (16:05 +0100)]
Minor tweak to implicit segmentation experiment.

This minor tweak makes segment 0 neutral and used by
key frames and also extends beyond 4 segments.

Change-Id: Ife4744602aba66ac9432746db3113cc5cd88a482

11 years agoExtension of segmentation to 8 segments.
Paul Wilkins [Wed, 24 Apr 2013 12:04:45 +0000 (13:04 +0100)]
Extension of segmentation to 8 segments.

Also some further simplification following removal
of top node code.

There is an issue in regards to the shared file vp8cx.h
in regard to the roi_map as this interface assumes that
there are only 4 segments. I have left the value here as
4 for now meaning that the roi_map interface is broken
for VP9.

Note that this change would have been easier if I hadn't
had to search for hard wire instances of the number 4
and <= 3.

Change-Id: Ia8b6deea4be4dbd20deb1656e689dd43a5f190e8

11 years agoSimplify Segment Coding
Paul Wilkins [Wed, 24 Apr 2013 09:20:52 +0000 (10:20 +0100)]
Simplify Segment Coding

Remove top node optimization.
The improvement this gives is not sufficient to justify
the extra complexity.

Change-Id: I2bb4a12a50ffd52cacfa4a3e8acbb2e522066905

11 years agoSimple implicit segmentation experiment.
Paul Wilkins [Tue, 23 Apr 2013 13:01:55 +0000 (14:01 +0100)]
Simple implicit segmentation experiment.

Change-Id: Iaef16122732c2a81e0927f9862b51b68dc788712

11 years agoMerge "Move skip_block from BLOCK to MACROBLOCK" into experimental
John Koleszar [Wed, 24 Apr 2013 02:21:30 +0000 (19:21 -0700)]
Merge "Move skip_block from BLOCK to MACROBLOCK" into experimental

11 years agoMerge "Move quantizer data from BLOCK to MACROBLOCK" into experimental
John Koleszar [Wed, 24 Apr 2013 02:21:17 +0000 (19:21 -0700)]
Merge "Move quantizer data from BLOCK to MACROBLOCK" into experimental

11 years agoMerge "Code cleanup inside vp9_get_pred_context function." into experimental
Dmitry Kovalev [Wed, 24 Apr 2013 01:03:29 +0000 (18:03 -0700)]
Merge "Code cleanup inside vp9_get_pred_context function." into experimental

11 years agoMerge "Simple cleanup inside vp9_decodframe.c and vp9_entropymode.c." into experimental
Dmitry Kovalev [Wed, 24 Apr 2013 01:02:46 +0000 (18:02 -0700)]
Merge "Simple cleanup inside vp9_decodframe.c and vp9_entropymode.c." into experimental

11 years agoMerge "Removing redundant code in vp9_entropymode.c." into experimental
Dmitry Kovalev [Wed, 24 Apr 2013 01:01:37 +0000 (18:01 -0700)]
Merge "Removing redundant code in vp9_entropymode.c." into experimental

11 years agoMove skip_block from BLOCK to MACROBLOCK
John Koleszar [Tue, 23 Apr 2013 22:25:46 +0000 (15:25 -0700)]
Move skip_block from BLOCK to MACROBLOCK

This data is fixed at the MB level, so move it to the common part
of MACROBLOCK.

Change-Id: Idd8c87118e501cdf0a202bd84c28b502a8234edf

11 years agoMove quantizer data from BLOCK to MACROBLOCK
John Koleszar [Tue, 23 Apr 2013 22:22:18 +0000 (15:22 -0700)]
Move quantizer data from BLOCK to MACROBLOCK

Quantizers can vary per plane, but not per block. Move these values to
the per-plane part of MACROBLOCK.

Change-Id: I320a55e38b7b28b29aec751a4aca5ccd0c9b9326

11 years agoMerge "Remove coeff from BLOCK" into experimental
John Koleszar [Wed, 24 Apr 2013 00:42:12 +0000 (17:42 -0700)]
Merge "Remove coeff from BLOCK" into experimental

11 years agoMerge "Convert coeff to per-plane MACROBLOCK data" into experimental
John Koleszar [Wed, 24 Apr 2013 00:41:59 +0000 (17:41 -0700)]
Merge "Convert coeff to per-plane MACROBLOCK data" into experimental

11 years agoMerge "Enable rectangular support for comp inter-intra" into experimental
Jingning Han [Wed, 24 Apr 2013 00:16:16 +0000 (17:16 -0700)]
Merge "Enable rectangular support for comp inter-intra" into experimental

11 years agoRemove coeff from BLOCK
John Koleszar [Tue, 23 Apr 2013 21:38:52 +0000 (14:38 -0700)]
Remove coeff from BLOCK

Lookup the data per-plane from the MACROBLOCK struct.

Change-Id: I9253c4d3cf886aa9ab4aeab23a2156bfcf994ede

11 years agoRemoving unused mi_mv_pred_row and mi_mv_pred_col functions.
Dmitry Kovalev [Tue, 23 Apr 2013 23:34:22 +0000 (16:34 -0700)]
Removing unused mi_mv_pred_row and mi_mv_pred_col functions.

Change-Id: If8ba37bf0b86e8dea88c27d911e8ddb0f6d5a3c5

11 years agoConvert coeff to per-plane MACROBLOCK data
John Koleszar [Tue, 23 Apr 2013 16:51:09 +0000 (09:51 -0700)]
Convert coeff to per-plane MACROBLOCK data

This commit moves the coeff storage from the MACROBLOCK struct to its
per-plane part. The next commit will remove the coeff member from the
BLOCK structure so that it is consistently accessed per-plane.

Also refactors vp9_sb_block_error_c and vp9_sb_uv_block_error_c to be
variable subsampling aware.

Change-Id: I18c30f87f27c3a012119b6c1970d5fa499804455

11 years agoMerge "Move src_diff to per-plane MACROBLOCK data" into experimental
John Koleszar [Tue, 23 Apr 2013 23:24:08 +0000 (16:24 -0700)]
Merge "Move src_diff to per-plane MACROBLOCK data" into experimental

11 years agoCode cleanup inside vp9_get_pred_context function.
Dmitry Kovalev [Tue, 23 Apr 2013 23:18:09 +0000 (16:18 -0700)]
Code cleanup inside vp9_get_pred_context function.

Change-Id: Id06b7a299a26ed944a401faae51907537f722a7e

11 years agoRemoving redundant code in vp9_entropymode.c.
Dmitry Kovalev [Tue, 23 Apr 2013 22:56:27 +0000 (15:56 -0700)]
Removing redundant code in vp9_entropymode.c.

Change-Id: Ia7266b8d3aa3d5cff2db0c3b2f014def045759af

11 years agoSimple cleanup inside vp9_decodframe.c and vp9_entropymode.c.
Dmitry Kovalev [Tue, 23 Apr 2013 22:50:56 +0000 (15:50 -0700)]
Simple cleanup inside vp9_decodframe.c and vp9_entropymode.c.

Change-Id: I62dde981f5201c5fbc22001609ee4b5fd0a9bdf5

11 years agoEnable rectangular support for comp inter-intra
Jingning Han [Tue, 23 Apr 2013 22:07:35 +0000 (15:07 -0700)]
Enable rectangular support for comp inter-intra

This commit enables rectangular block prediction of compound
inter-intra mode. It combines the mb/sb32/sb64 prediction functions
into a unified version with configurable block width and height.
This fixes the enc/dec mismatch of the codebase when
comp-interintra-pred is enabled.

Change-Id: I1d0db2f1f184007802df04fcd12b9dadb3189ff0