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

11 years agoMake loopfilter aware of rectangular blocks.
Ronald S. Bultje [Tue, 23 Apr 2013 19:32:32 +0000 (12:32 -0700)]
Make loopfilter aware of rectangular blocks.

Also use explicitely named enum values in sb_type comparisons, rather
than relying on absolute integer values, because enum values may
change in the future.

Change-Id: I72d42971a98157af93413a25ac2c7e6f9b369cec

11 years agoMove src_diff to per-plane MACROBLOCK data
John Koleszar [Tue, 23 Apr 2013 15:26:10 +0000 (08:26 -0700)]
Move src_diff to per-plane MACROBLOCK data

First in a series of commits making certain MACROBLOCK members
addressable per-plane. This commit also refactors the block subtraction
functions vp9_subtract_b, vp9_subtract_sby_c, etc to be
loops-over-planes and variable subsampling aware.

Change-Id: I371d092b914ae0a495dfd852ea1a3d2467be6ec3

11 years agoRemove unused corner_predictor and log2_minus_1 functions.
Ronald S. Bultje [Tue, 23 Apr 2013 18:19:39 +0000 (11:19 -0700)]
Remove unused corner_predictor and log2_minus_1 functions.

Change-Id: Ic659544ca12b1bc191b93ddfa378964bd133bfc9

11 years agoRemove unused stuffing function.
Ronald S. Bultje [Tue, 23 Apr 2013 18:18:42 +0000 (11:18 -0700)]
Remove unused stuffing function.

Change-Id: I2bc8d775f8d698bf8582f4eecabc2329452e8d9b

11 years agoMerge "Eliminated prev_mip memsets/memcpys" into experimental
Scott LaVarnway [Tue, 23 Apr 2013 17:22:13 +0000 (10:22 -0700)]
Merge "Eliminated prev_mip  memsets/memcpys" into experimental

11 years agoFix in token allocation with zerogroup expt
Deb Mukherjee [Tue, 23 Apr 2013 15:51:31 +0000 (08:51 -0700)]
Fix in token allocation with zerogroup expt

Fix to increase allocation of tokens at very high rates.

Change-Id: Ia27aa0316b0fab664230800f9c9947b5c68ecd58

11 years agoRemoving configure option for implicit wtd pred
Deb Mukherjee [Tue, 23 Apr 2013 06:24:06 +0000 (23:24 -0700)]
Removing configure option for implicit wtd pred

Change-Id: Ibe0628905925fc81bbb192651276f417c2aa7552

11 years agoMerge "Removing the implicit compound inter experiment" into experimental
Deb Mukherjee [Tue, 23 Apr 2013 06:22:28 +0000 (23:22 -0700)]
Merge "Removing the implicit compound inter experiment" into experimental

11 years agoRemoving the implicit compound inter experiment
Deb Mukherjee [Mon, 22 Apr 2013 23:29:34 +0000 (16:29 -0700)]
Removing the implicit compound inter experiment

Removing this experiment for now, since it has been broken with
the latest code changes.

Change-Id: I1be2181b56de490fcb577f5905b5e147a8ed82d8

11 years agoMerge "new version of speed 1" into experimental
Jim Bankoski [Mon, 22 Apr 2013 23:42:33 +0000 (16:42 -0700)]
Merge "new version of speed 1" into experimental

11 years agonew version of speed 1
Jim Bankoski [Mon, 22 Apr 2013 22:42:41 +0000 (15:42 -0700)]
new version of speed 1

This version of speed 1 only disables modes at higher resolution that
had distortions >2x the best mode we found...

The hope is that this could be a replacement for speed 0 ...

Change-Id: I7421f1016b8958314469da84c4dccddf25390720

11 years agoMoved dequantization into the token decoder
Scott LaVarnway [Mon, 22 Apr 2013 21:53:07 +0000 (17:53 -0400)]
Moved dequantization into the token decoder

Mostly for cleanup purposes.  Now we should be able to rework
the encoder/decoder to use a common idct/add function.

Change-Id: I1597cc59812f362ecec0a3493b6101a6cc6fa7ff

11 years agoAdding select_txfm_size function + vp9_decode_frame cleanup.
Dmitry Kovalev [Mon, 22 Apr 2013 21:39:21 +0000 (14:39 -0700)]
Adding select_txfm_size function + vp9_decode_frame cleanup.

Change-Id: I7594ca84106ee48f83e6fc3098c0de7a28d5a183

11 years agoAdding get_scan_{4x4, 8x8, 16x16} functions.
Dmitry Kovalev [Mon, 22 Apr 2013 21:08:41 +0000 (14:08 -0700)]
Adding get_scan_{4x4, 8x8, 16x16} functions.

Change-Id: Id4306ef6d65d4a3984aed50b775bdf48d4f6c438

11 years agoMerge "Bugfix from reordering frame probs patch" into experimental
Deb Mukherjee [Mon, 22 Apr 2013 19:59:51 +0000 (12:59 -0700)]
Merge "Bugfix from reordering frame probs patch" into experimental

11 years agoBugfix from reordering frame probs patch
Deb Mukherjee [Mon, 22 Apr 2013 19:43:12 +0000 (12:43 -0700)]
Bugfix from reordering frame probs patch

This fixes an intermittent mismatch issue cause by moving
the lossless mode decoding bit to after the loop filter
setup information. We need to ensure that the lossless bit
is decoded prior to loop filter setup.

Change-Id: I3faa3fff8e1013b7405dac91268350e059ed121e

11 years agoRemove vp9_recon_intra_mbuv
John Koleszar [Sat, 20 Apr 2013 21:17:57 +0000 (14:17 -0700)]
Remove vp9_recon_intra_mbuv

Use common vp9_recon_sbuv instead.

Change-Id: I146f79adfdfda2b52257a52fa783727f12afa246

11 years agoRewrite vp9_recon_sb*
John Koleszar [Sat, 20 Apr 2013 20:50:22 +0000 (13:50 -0700)]
Rewrite vp9_recon_sb*

Rewrite vp9_recon_sb{,y,uv} to be a loop over planes.

Change-Id: Ica2bbbb3105a1d29b2ff2ead07b76cde9683154c