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

11 years agoMerge changes I54acef34,I72d42971 into experimental
Ronald S. Bultje [Tue, 23 Apr 2013 22:29:19 +0000 (15:29 -0700)]
Merge changes I54acef34,I72d42971 into experimental

* changes:
  Make some sb_type comparisons independent of literal enum values.
  Make loopfilter aware of rectangular blocks.

11 years agoMerge "Adding select_txfm_size function + vp9_decode_frame cleanup." into experimental
Dmitry Kovalev [Tue, 23 Apr 2013 20:53:14 +0000 (13:53 -0700)]
Merge "Adding select_txfm_size function + vp9_decode_frame cleanup." into experimental

11 years agoMerge "Remove the unused gf_active_ptr from MACROBLOCK" into experimental
Jingning Han [Tue, 23 Apr 2013 20:52:50 +0000 (13:52 -0700)]
Merge "Remove the unused gf_active_ptr from MACROBLOCK" into experimental

11 years agoRemove the unused gf_active_ptr from MACROBLOCK
Jingning Han [Tue, 23 Apr 2013 19:59:33 +0000 (12:59 -0700)]
Remove the unused gf_active_ptr from MACROBLOCK

The variable gf_active_ptr is not used anywhere, hence is removed.

Change-Id: I6badc20fade48ae12fd19e7e4cd8fe5e051c20ac

11 years agoMerge "Adding get_scan_{4x4, 8x8, 16x16} functions." into experimental
Dmitry Kovalev [Tue, 23 Apr 2013 19:44:51 +0000 (12:44 -0700)]
Merge "Adding get_scan_{4x4, 8x8, 16x16} functions." into experimental

11 years agoResolve declaration and implementation.
Johann [Tue, 23 Apr 2013 17:10:10 +0000 (10:10 -0700)]
Resolve declaration and implementation.

Clean Windows build warnings:
warning C4028: formal parameter <N> different from declaration

This was fixed independently in master and experimental but the fixes
were in opposite directions. One added const to the declaration and the
other removed it from the implementation.

Also update the variable names. This doesn't modify the data so call it
ref, matching the functions in the vicinity, rather than dst.

Change-Id: I2ffc6b4a874cb98c26487b909d20a5e099b5582c

11 years agoImprove sign consistency.
Johann [Tue, 23 Apr 2013 16:55:03 +0000 (09:55 -0700)]
Improve sign consistency.

Fix warning on windows: signed/unsigned mismatch on lines 415, 454

Comparison was between size_t data_sz >= int index_sz on 415 and
unsigned int data_sz >= int index_sz on 454. Both might be changed to
size_t but that would be tracing and replacing all comparisons is
outside the scope of this change.

In the rest of these two functions ensure unsigned values are used
consistently.

Change-Id: I922b399ceca612a92f44b9d1d331c1c6bae9d768

11 years agoMinor indent changes in loopfilter code.
Ronald S. Bultje [Tue, 23 Apr 2013 19:37:05 +0000 (12:37 -0700)]
Minor indent changes in loopfilter code.

Change-Id: I0cdc951558e4d7748f63df8c03b1c9dce086acb0

11 years agoAdd basic building blocks for 8x8 superblocks experiment.
Ronald S. Bultje [Tue, 23 Apr 2013 19:33:18 +0000 (12:33 -0700)]
Add basic building blocks for 8x8 superblocks experiment.

Change-Id: I274a1d2e461e6ffdb106bac4ad6951692ace314e

11 years agoMake some sb_type comparisons independent of literal enum values.
Ronald S. Bultje [Tue, 23 Apr 2013 18:29:12 +0000 (11:29 -0700)]
Make some sb_type comparisons independent of literal enum values.

Change-Id: I54acef342b8e787e05af0febd7cf0d7d10288383