platform/upstream/libvpx.git
11 years agoMerge "Adding alpha plane to YV12_BUFFER_CONFIG structure." into experimental
Dmitry Kovalev [Wed, 15 May 2013 23:49:53 +0000 (16:49 -0700)]
Merge "Adding alpha plane to YV12_BUFFER_CONFIG structure." into experimental

11 years agoAdding alpha plane to YV12_BUFFER_CONFIG structure.
Dmitry Kovalev [Wed, 15 May 2013 23:29:20 +0000 (16:29 -0700)]
Adding alpha plane to YV12_BUFFER_CONFIG structure.

Change-Id: I8b2687138df636b2b78c8cc5156e3882b0009de0

11 years agoMerge "Preparing vp9_deblock and vp9_denoise to alpha support." into experimental
Dmitry Kovalev [Wed, 15 May 2013 22:40:52 +0000 (15:40 -0700)]
Merge "Preparing vp9_deblock and vp9_denoise to alpha support." into experimental

11 years agoMerge "Moving several static functions from vp9_reconinter.h to vp9_reconinter.c...
Dmitry Kovalev [Wed, 15 May 2013 22:39:43 +0000 (15:39 -0700)]
Merge "Moving several static functions from vp9_reconinter.h to vp9_reconinter.c." into experimental

11 years agoWIP: 16x16 idct/recon merge
Scott LaVarnway [Wed, 15 May 2013 17:16:02 +0000 (13:16 -0400)]
WIP: 16x16 idct/recon merge

This patch eliminates the intermediate diff buffer usage by
combining the short idct and the add residual into one function.
The encoder can use the same code as well.

Change-Id: Iea7976b22b1927d24b8004d2a3fddae7ecca3ba1

11 years agoMoving several static functions from vp9_reconinter.h to vp9_reconinter.c.
Dmitry Kovalev [Wed, 15 May 2013 00:49:41 +0000 (17:49 -0700)]
Moving several static functions from vp9_reconinter.h to vp9_reconinter.c.

Change-Id: I5da9c16bab26f6ff0c9d3a2a29ef6c84f5093161

11 years agoWIP: 32x32 idct/recon merge
Scott LaVarnway [Tue, 14 May 2013 15:58:13 +0000 (11:58 -0400)]
WIP: 32x32 idct/recon merge

This patch eliminates the intermediate diff buffer usage by
combining the short idct and the add residual into one function.
The encoder can use the same code as well.

Change-Id: I4ea09df0e162591e420d869b7431c2e7f89a8c1a

11 years agoEnable recursive partition down to 4x4
Jingning Han [Sat, 11 May 2013 00:06:37 +0000 (17:06 -0700)]
Enable recursive partition down to 4x4

This commit allows the rate-distortion optimization recursion
at encoder to go down to 4x4 block size. It deprecates the use
of I4X4_PRED and SPLITMV syntax elements from bit-stream
writing/reading. Will remove the unused probability models in
the next patch.

The partition type search and bit-stream are now capable of
supporting the rectangular partition of 8x8 block, i.e., 8x4
and 4x8. Need to revise the rate-distortion parts to get these
two partition tested in the rd loop.

Change-Id: I0dfe3b90a1507ad6138db10cc58e6e237a06a9d6

11 years agoPreparing vp9_deblock and vp9_denoise to alpha support.
Dmitry Kovalev [Tue, 14 May 2013 18:01:57 +0000 (11:01 -0700)]
Preparing vp9_deblock and vp9_denoise to alpha support.

Change-Id: I299feefa64b93bd62263aea1ff1e41e85faeb6ca

11 years agoMerge "Do joint motion search iteratively" into experimental
Yunqing Wang [Tue, 14 May 2013 17:18:11 +0000 (10:18 -0700)]
Merge "Do joint motion search iteratively" into experimental

11 years agoMerge "changed to use adst for D63_PRED" into experimental
Yaowu Xu [Tue, 14 May 2013 16:30:17 +0000 (09:30 -0700)]
Merge "changed to use adst for D63_PRED" into experimental

11 years agoMerge "Revert "Preparing vp9_deblock and vp9_denoise to alpha support."" into experim...
John Koleszar [Tue, 14 May 2013 13:47:44 +0000 (06:47 -0700)]
Merge "Revert "Preparing vp9_deblock and vp9_denoise to alpha support."" into experimental

11 years agoRevert "Preparing vp9_deblock and vp9_denoise to alpha support."
John Koleszar [Tue, 14 May 2013 13:46:11 +0000 (06:46 -0700)]
Revert "Preparing vp9_deblock and vp9_denoise to alpha support."

This reverts commit a933311131bfc77ffd1c64b29f7e1688a1c4b192

Change-Id: I2321f88011178381adbcffeda1bcc6a430ab8f1d

11 years agochanged to use adst for D63_PRED
Yaowu Xu [Mon, 13 May 2013 23:51:47 +0000 (16:51 -0700)]
changed to use adst for D63_PRED

To be consistent with other prediciton modes

Change-Id: If9e1464e5c807f0b36047a046c4ac59d91b1b868

11 years agoMerge "Using loop through all planes inside scale_and_extend_frame function." into...
Dmitry Kovalev [Tue, 14 May 2013 04:50:39 +0000 (21:50 -0700)]
Merge "Using loop through all planes inside scale_and_extend_frame function." into experimental

11 years agoMerge "Preparing vp9_deblock and vp9_denoise to alpha support." into experimental
Dmitry Kovalev [Tue, 14 May 2013 04:48:37 +0000 (21:48 -0700)]
Merge "Preparing vp9_deblock and vp9_denoise to alpha support." into experimental

11 years agoMerge "Moving vp9_decode_frame declaration to vp9_decodframe.h." into experimental
Dmitry Kovalev [Tue, 14 May 2013 04:47:10 +0000 (21:47 -0700)]
Merge "Moving vp9_decode_frame declaration to vp9_decodframe.h." into experimental

11 years agoMerge "Adding encode_quantization function." into experimental
Dmitry Kovalev [Tue, 14 May 2013 04:46:54 +0000 (21:46 -0700)]
Merge "Adding encode_quantization function." into experimental

11 years agoMerge "Code cleanup inside vp9_firstpass.c." into experimental
Dmitry Kovalev [Tue, 14 May 2013 04:46:14 +0000 (21:46 -0700)]
Merge "Code cleanup inside vp9_firstpass.c." into experimental

11 years agoMerge "Removing simple loopfilter and code duplication from loopfilter code." into...
Dmitry Kovalev [Tue, 14 May 2013 01:25:15 +0000 (18:25 -0700)]
Merge "Removing simple loopfilter and code duplication from loopfilter code." into experimental

11 years agoRemoving simple loopfilter and code duplication from loopfilter code.
Dmitry Kovalev [Tue, 14 May 2013 01:09:11 +0000 (18:09 -0700)]
Removing simple loopfilter and code duplication from loopfilter code.

Change-Id: Ib19352e391408507f2237985501406900a355964

11 years agoAdding encode_quantization function.
Dmitry Kovalev [Tue, 14 May 2013 01:05:20 +0000 (18:05 -0700)]
Adding encode_quantization function.

Change-Id: Ib7448f7f325ba34a3cba8ab3129028e31e593cf5

11 years agoUsing loop through all planes inside scale_and_extend_frame function.
Dmitry Kovalev [Mon, 13 May 2013 23:02:29 +0000 (16:02 -0700)]
Using loop through all planes inside scale_and_extend_frame function.

Change-Id: I493bcf7bac930e9937a9b57e4b7c803da22728bd

11 years agoMoving vp9_decode_frame declaration to vp9_decodframe.h.
Dmitry Kovalev [Mon, 13 May 2013 21:42:45 +0000 (14:42 -0700)]
Moving vp9_decode_frame declaration to vp9_decodframe.h.

Change-Id: Ia7a772718a4b11b413c36d4280df8668e19c9084

11 years agoPreparing vp9_deblock and vp9_denoise to alpha support.
Dmitry Kovalev [Mon, 13 May 2013 21:03:29 +0000 (14:03 -0700)]
Preparing vp9_deblock and vp9_denoise to alpha support.

Change-Id: Id1cc1c2663b9c2219cb830ffb4b0c6ab3468dc04

11 years agoDo joint motion search iteratively
Yunqing Wang [Sat, 11 May 2013 01:46:43 +0000 (18:46 -0700)]
Do joint motion search iteratively

Allow motion search multiple times iteratively, and break out
the loop if this search couldn't find better motion vectors.
Limit the maximum number of search to 2.

Tests results:
1. stdhd set: 0.311%(overall psnr); 0.346%(ssim).
positive gain on 10 out of 16 clips(best: 2.746% on sunflower;
worst: -0.434% on old_town_cross).
2. derf set: 0.016%(overall psnr); 0.062%(ssim).
positive gain on half of the clips(best: 0.499% on bowing;
worst: -0.387 on city).

Change-Id: Ibf0a51776d4caf7707be0586346db08128117559

11 years agoMerge "Use consistent partition context setup in enc/dec" into experimental
Jingning Han [Mon, 13 May 2013 17:51:51 +0000 (10:51 -0700)]
Merge "Use consistent partition context setup in enc/dec" into experimental

11 years agoMerge "Force bsize for UV in I4X4 and SPLITMV" into experimental
Jingning Han [Mon, 13 May 2013 17:51:39 +0000 (10:51 -0700)]
Merge "Force bsize for UV in I4X4 and SPLITMV" into experimental

11 years agoMerge "Move get_sb_index to vp9_blockd.h" into experimental
Jingning Han [Mon, 13 May 2013 17:51:29 +0000 (10:51 -0700)]
Merge "Move get_sb_index to vp9_blockd.h" into experimental

11 years agoChange to band calculation.
Paul Wilkins [Thu, 9 May 2013 17:47:58 +0000 (18:47 +0100)]
Change to band calculation.

Change band calculation back to simpler model based
on the order in which coefficients are coded in scan order
not the absolute coefficient positions.

With the scatter scan experiment enabled the results were
appear broadly neutral on derf (-0.028) but up a little on std-hd +0.134).

Without the scatterscan experiment on the results were up derf as well.

Change-Id: Ie9ef03ce42a6b24b849a4bebe950d4a5dffa6791

11 years agoUse consistent partition context setup in enc/dec
Jingning Han [Sat, 11 May 2013 22:19:56 +0000 (15:19 -0700)]
Use consistent partition context setup in enc/dec

Move set_partition_seg_context_ to common file. Use consistent
context setup conditions for partition probability model update at
encoder and decoder.

Change-Id: I24b7ed3b1c48e3d2568191a46b70136b99b67b1a

11 years agoForce bsize for UV in I4X4 and SPLITMV
Jingning Han [Sat, 11 May 2013 20:33:13 +0000 (13:33 -0700)]
Force bsize for UV in I4X4 and SPLITMV

Use 4x4 block coding for UV components arbitrarily in I4X4_PRED and
SPLITMV coding modes. This is a temporary solution to enable
bit-stream support for recursive partition down to 4x4 block size.
Will separate the functionalities of 4x4 block coding rate-distortion
out from those of superblocks.

Change-Id: I03dc15d5897014f175f3f2c91e9b266091d56797

11 years agoMove get_sb_index to vp9_blockd.h
Jingning Han [Sat, 11 May 2013 20:24:03 +0000 (13:24 -0700)]
Move get_sb_index to vp9_blockd.h

Use common function to fetch/assign sb_index in rd loop, bit-stream
writing and reading.

Change-Id: I1d8a214a57ed9cbcd026040436ef33e5e39d65b7

11 years agoMerge "Fix token allocation for non-4:2:0" into experimental
John Koleszar [Fri, 10 May 2013 23:57:09 +0000 (16:57 -0700)]
Merge "Fix token allocation for non-4:2:0" into experimental

11 years agoMerge "Fix non-4:2:0 chroma MV calculation for SPLITMV" into experimental
John Koleszar [Fri, 10 May 2013 23:57:03 +0000 (16:57 -0700)]
Merge "Fix non-4:2:0 chroma MV calculation for SPLITMV" into experimental

11 years agoMerge "Fix 4:2:0 assumptions in debug plane output" into experimental
John Koleszar [Fri, 10 May 2013 23:56:45 +0000 (16:56 -0700)]
Merge "Fix 4:2:0 assumptions in debug plane output" into experimental

11 years agoMerge "vpxenc: fix mismatch check for non-4:2:0" into experimental
John Koleszar [Fri, 10 May 2013 23:56:30 +0000 (16:56 -0700)]
Merge "vpxenc: fix mismatch check for non-4:2:0" into experimental

11 years agoMerge "Subsampling aware allocs and bitstream" into experimental
John Koleszar [Fri, 10 May 2013 23:55:00 +0000 (16:55 -0700)]
Merge "Subsampling aware allocs and bitstream" into experimental

11 years agoMerge "Enable recursive partition type search" into experimental
Jingning Han [Fri, 10 May 2013 21:08:02 +0000 (14:08 -0700)]
Merge "Enable recursive partition type search" into experimental

11 years agoMerge "Removing unused simple loopfilter code." into experimental
Dmitry Kovalev [Fri, 10 May 2013 19:14:34 +0000 (12:14 -0700)]
Merge "Removing unused simple loopfilter code." into experimental

11 years agoRemoving unused simple loopfilter code.
Dmitry Kovalev [Fri, 10 May 2013 18:04:43 +0000 (11:04 -0700)]
Removing unused simple loopfilter code.

Change-Id: Ic11dc052fb641687c015e1bbc37181b9babcd43e

11 years agoRemove unused mdcounts
Yunqing Wang [Wed, 8 May 2013 23:27:35 +0000 (16:27 -0700)]
Remove unused mdcounts

mdcounts seems no longer used.

Change-Id: Idd8162e8acfa3f5be7a18767156cc79ccbc2bdee

11 years agoAdd joint motion search in comp_inter_inter mode(experiment)
Yunqing Wang [Tue, 7 May 2013 16:45:28 +0000 (09:45 -0700)]
Add joint motion search in comp_inter_inter mode(experiment)

In current code, motion vectors got from single prediction mode are used
in compound prediction mode directly. These motion vectors may not give
accurate prediction since they are searched independently. In this patch,
we took Pascal's suggestion, and did joint motion search in compound
prediction mode to find better motion vectors in this situation.
Test results:
Overall PSNR: 0.570%(derf), 0.918%(stdhd);
SSIM: 0.572%(derf), 1.009%(stdhd);

The encoder is a little slower. This can be improved since some c
code is used in motion search.

Change-Id: Ib30c9240f6c56c9b070867b4ca89412a76d9f3c6

11 years agoEnable recursive partition type search
Jingning Han [Wed, 8 May 2013 21:24:43 +0000 (14:24 -0700)]
Enable recursive partition type search

This commit enables the search for the optimal superblock
partition types in the recursion form. The intention is to
make the optimization process more concise and ready to
support partition down to 4x4 block size next.

Change-Id: Iae279a67df3a7cc372553c84c775bc4d2f3e4336

11 years agoAvoid calls to get_coef_band().
Paul Wilkins [Thu, 9 May 2013 12:51:15 +0000 (13:51 +0100)]
Avoid calls to get_coef_band().

Use value already computed value to save of calls

Change-Id: I42836698e59c116416ccd75395bebdd11dd609fb

11 years agoFix token allocation for non-4:2:0
John Koleszar [Wed, 8 May 2013 23:15:54 +0000 (16:15 -0700)]
Fix token allocation for non-4:2:0

Increase the allocated size of the token array to support 4:4:4.

Change-Id: I7766a7bedc74b819dcc1f3622d634f340fd3186d

11 years agoFix non-4:2:0 chroma MV calculation for SPLITMV
John Koleszar [Wed, 8 May 2013 23:14:14 +0000 (16:14 -0700)]
Fix non-4:2:0 chroma MV calculation for SPLITMV

The previous code was somewhat vestigial for 16x16 MI units, but was
incorrect when called with chroma blocks larger than 4x4 because the
block index caused a reference to a non-existent BMI. This patch uses
the same MV for all chroma subblocks in SPLITMV mode, which is
suboptimal for non-4:2:0 subsamplings, but as SPLITMV may be removed
in the near future, will use this as a stop gap.

Change-Id: I3211cee5ccf1cfb426e5eef5353b0ce5bb92b4cd

11 years agoFix 4:2:0 assumptions in debug plane output
John Koleszar [Wed, 8 May 2013 23:19:56 +0000 (16:19 -0700)]
Fix 4:2:0 assumptions in debug plane output

Fixes some debugging code to be able to write out frames with
chroma other than 4:2:0.

Change-Id: I5ee3d29e584db1f52d2de344db249e927eff10b7

11 years agovpxenc: fix mismatch check for non-4:2:0
John Koleszar [Wed, 8 May 2013 23:07:38 +0000 (16:07 -0700)]
vpxenc: fix mismatch check for non-4:2:0

Change-Id: Iffe7c2e6c6cb14b637420ffc368a5003f5db42fa

11 years agoSubsampling aware allocs and bitstream
John Koleszar [Mon, 6 May 2013 22:52:06 +0000 (15:52 -0700)]
Subsampling aware allocs and bitstream

Make framebuffer allocations according to the chroma subsamping
factors in use. A bit is placed in the raw part of the frame header for
each of the two subsampling factors. This will be moved in a future
commit to make them part of the TBD feature set bits, probably only set
on keyframes, etc.

Change-Id: I59ed38d3a3c0d4af3c7c277617de28d04a001853

11 years agoMerge "Change test image format to VPX_IMG_FMT_I420" into experimental
John Koleszar [Thu, 9 May 2013 19:25:45 +0000 (12:25 -0700)]
Merge "Change test image format to VPX_IMG_FMT_I420" into experimental

11 years agoMerge "Use common get_uv_tx_size()" into experimental
John Koleszar [Thu, 9 May 2013 19:18:10 +0000 (12:18 -0700)]
Merge "Use common get_uv_tx_size()" into experimental

11 years agoMerge "Make firstpass encode Y-only" into experimental
John Koleszar [Thu, 9 May 2013 19:17:50 +0000 (12:17 -0700)]
Merge "Make firstpass encode Y-only" into experimental

11 years agoUpdating comments for prediction modes.
Dmitry Kovalev [Thu, 9 May 2013 18:37:51 +0000 (11:37 -0700)]
Updating comments for prediction modes.

Change-Id: If4063184f7b37dc011ec6a7a3e75260f4251e984

11 years agoMake firstpass encode Y-only
John Koleszar [Thu, 9 May 2013 17:40:59 +0000 (10:40 -0700)]
Make firstpass encode Y-only

The chroma planes are not used during the first pass encode,
but the vp9_encode_sb() function was operating on them anyway.
This was causing the use of uninitialized memory.

Change-Id: I5ebafcd3d5e34ed91a8336dad159b573995a939f

11 years agoChange test image format to VPX_IMG_FMT_I420
John Koleszar [Thu, 9 May 2013 03:42:58 +0000 (20:42 -0700)]
Change test image format to VPX_IMG_FMT_I420

Code was previously using VPX_IMG_FMT_VPXI420, which was intended to be the
"vpx" non-YUV colorspace variant.

Change-Id: Icf8771eeefeb574055ed638a93450c3d0ed5b9f5

11 years agoUse common get_uv_tx_size()
John Koleszar [Tue, 7 May 2013 21:44:12 +0000 (14:44 -0700)]
Use common get_uv_tx_size()

Use a single method for calculating the transform size of
non-luma planes.

Change-Id: I16ebd10e7944d7b9075ab79d15e6a5b5f9bab775

11 years agoCode cleanup inside vp9_firstpass.c.
Dmitry Kovalev [Thu, 9 May 2013 01:13:46 +0000 (18:13 -0700)]
Code cleanup inside vp9_firstpass.c.

Change-Id: Ia2814402e3c2ec97c24c536c05f0f526fe1a431c

11 years agoRemoving LOOPFILTER_TYPE and corresponding bit in bitstream.
Dmitry Kovalev [Wed, 8 May 2013 23:39:43 +0000 (16:39 -0700)]
Removing LOOPFILTER_TYPE and corresponding bit in bitstream.

We don't have two loopfilter types anymore.

Change-Id: I53c0137361342c7d00887ad03be3490f0dfa3532

11 years agoMerge "Using 4-iteration loop for extra_mb_col inside loopfilter function." into...
Dmitry Kovalev [Wed, 8 May 2013 23:37:34 +0000 (16:37 -0700)]
Merge "Using 4-iteration loop for extra_mb_col inside loopfilter function." into experimental

11 years agoMerge "Removing unused YV12_BUFFER_CONFIG arguments from motion search functions...
Dmitry Kovalev [Wed, 8 May 2013 23:36:42 +0000 (16:36 -0700)]
Merge "Removing unused YV12_BUFFER_CONFIG arguments from motion search functions." into experimental

11 years agoMerge "Eliminating several YV12_BUFFER_CONFIG usages." into experimental
Dmitry Kovalev [Wed, 8 May 2013 23:36:24 +0000 (16:36 -0700)]
Merge "Eliminating several YV12_BUFFER_CONFIG usages." into experimental

11 years agoMerge "Renaming 'Speed' to 'speed' inside VP9_COMP struct." into experimental
Dmitry Kovalev [Wed, 8 May 2013 23:35:35 +0000 (16:35 -0700)]
Merge "Renaming 'Speed' to 'speed' inside VP9_COMP struct." into experimental

11 years agoMerge "Removing y_to_uv_block_size and y_bsizet_to_block_size functions." into experi...
Dmitry Kovalev [Wed, 8 May 2013 23:35:28 +0000 (16:35 -0700)]
Merge "Removing y_to_uv_block_size and y_bsizet_to_block_size functions." into experimental

11 years agoMerge "Extend left/above partition context to per mi(8x8)" into experimental
Jingning Han [Wed, 8 May 2013 23:33:25 +0000 (16:33 -0700)]
Merge "Extend left/above partition context to per mi(8x8)" into experimental

11 years agoRemoving y_to_uv_block_size and y_bsizet_to_block_size functions.
Dmitry Kovalev [Wed, 8 May 2013 22:23:42 +0000 (15:23 -0700)]
Removing y_to_uv_block_size and y_bsizet_to_block_size functions.

Change-Id: I49527ff8dd8bef1074c18a964fed2a575f0b118a

11 years agoRenaming 'Speed' to 'speed' inside VP9_COMP struct.
Dmitry Kovalev [Wed, 8 May 2013 21:35:42 +0000 (14:35 -0700)]
Renaming 'Speed' to 'speed' inside VP9_COMP struct.

Change-Id: I4374b5af40ee9082ddf7956a9756a15ad9ad5436

11 years agoRemoving unused YV12_BUFFER_CONFIG arguments from motion search functions.
Dmitry Kovalev [Wed, 8 May 2013 21:12:37 +0000 (14:12 -0700)]
Removing unused YV12_BUFFER_CONFIG arguments from motion search functions.

Also doing a little bit of cleanup inside vp9_mbgraph.c.

Change-Id: I9c6711b73810969d2d8fdb19f8edf9ed6e49d1e3

11 years agoEliminating several YV12_BUFFER_CONFIG usages.
Dmitry Kovalev [Wed, 8 May 2013 21:11:47 +0000 (14:11 -0700)]
Eliminating several YV12_BUFFER_CONFIG usages.

Change-Id: Ia85b987c935d545920dcae5a6f44136b1a08a008

11 years agoUsing loop to iterate through YV12_BUFFER_CONFIG planes.
Dmitry Kovalev [Wed, 8 May 2013 20:39:16 +0000 (13:39 -0700)]
Using loop to iterate through YV12_BUFFER_CONFIG planes.

Change-Id: I22f1066eb0022c8d75f65a78435ee4ffecdfe0c9

11 years agoMerge "Replacing vp9_{write, write_literal, bit} macros with functions." into experim...
Dmitry Kovalev [Wed, 8 May 2013 18:24:10 +0000 (11:24 -0700)]
Merge "Replacing vp9_{write, write_literal, bit} macros with functions." into experimental

11 years agoMerge "Removing unused code + little cleanup." into experimental
Dmitry Kovalev [Wed, 8 May 2013 18:23:14 +0000 (11:23 -0700)]
Merge "Removing unused code + little cleanup." into experimental

11 years agoExtend left/above partition context to per mi(8x8)
Jingning Han [Tue, 7 May 2013 22:36:30 +0000 (15:36 -0700)]
Extend left/above partition context to per mi(8x8)

Update and buffer left/above partition information context per 8x8
block. This allows to further enable recursive partition down to
4x4 block size, and hence deprecating I4X4_PRED and SPLITMV.

This commit also fixes a context buffer swap/restore issue in 32x32
partition type search. This gives 0.1% performance gain for derf/yt.
Will refactor the superblock partition type search into recursion
form.

Change-Id: Ib61975aca5f12b78d8018481d7fa1393d085689b

11 years agoMake switchable filter search subsampling-aware
John Koleszar [Tue, 7 May 2013 18:49:21 +0000 (11:49 -0700)]
Make switchable filter search subsampling-aware

Makes the temporary storage of the filtered data agnostic to
the number of planes and how they're subsampled.

Change-Id: I12f352cd69a47ebe1ac622af30db29b49becb7f4

11 years agoMerge "Make setup_pred_block subsampling-aware." into experimental
John Koleszar [Wed, 8 May 2013 04:53:31 +0000 (21:53 -0700)]
Merge "Make setup_pred_block subsampling-aware." into experimental

11 years agoReplacing vp9_{write, write_literal, bit} macros with functions.
Dmitry Kovalev [Wed, 8 May 2013 01:19:50 +0000 (18:19 -0700)]
Replacing vp9_{write, write_literal, bit} macros with functions.

Also removing BOOL_CODER and using vp9_writer instead.

Change-Id: I31d1ec661872f7eb1fe869607b6ed0ebfbb03e01

11 years agoUsing 4-iteration loop for extra_mb_col inside loopfilter function.
Dmitry Kovalev [Wed, 8 May 2013 00:18:57 +0000 (17:18 -0700)]
Using 4-iteration loop for extra_mb_col inside loopfilter function.

Change-Id: I3a4f456035628a9397bdc57c19cdb03439ab1ed3

11 years agoMerge "Renaming Y1 and UV quant prefixes to y_ and uv_." into experimental
Dmitry Kovalev [Wed, 8 May 2013 00:16:41 +0000 (17:16 -0700)]
Merge "Renaming Y1 and UV quant prefixes to y_ and uv_." into experimental

11 years agoMerge "Adding get_switchable_rate function." into experimental
Dmitry Kovalev [Wed, 8 May 2013 00:10:48 +0000 (17:10 -0700)]
Merge "Adding get_switchable_rate function." into experimental

11 years agoMerge "Deprecate code_zerogroup experiment." into experimental
John Koleszar [Wed, 8 May 2013 00:09:38 +0000 (17:09 -0700)]
Merge "Deprecate code_zerogroup experiment." into experimental

11 years agoMerge "Removing vp9_swap_yv12_buffer function and corresponding files." into experimental
Dmitry Kovalev [Wed, 8 May 2013 00:02:38 +0000 (17:02 -0700)]
Merge "Removing vp9_swap_yv12_buffer function and corresponding files." into experimental

11 years agoRenaming Y1 and UV quant prefixes to y_ and uv_.
Dmitry Kovalev [Sat, 27 Apr 2013 00:21:15 +0000 (17:21 -0700)]
Renaming Y1 and UV quant prefixes to y_ and uv_.

Change-Id: If57e360c187a475fc90edb8c7170f498efcb31a5

11 years agoRemoving unused code + little cleanup.
Dmitry Kovalev [Tue, 7 May 2013 18:56:26 +0000 (11:56 -0700)]
Removing unused code + little cleanup.

Change-Id: I81c19a8f19cfb5c7183609656ade833d72feb500

11 years agoDeprecate code_zerogroup experiment.
Paul Wilkins [Tue, 7 May 2013 16:24:21 +0000 (17:24 +0100)]
Deprecate code_zerogroup experiment.

Delete code under the CONFIG_CODE_ZEROGROUP flag.

Change-Id: I5fe6c7b42a5da9b73118e33594301da4129f320a

11 years agoAdding get_switchable_rate function.
Dmitry Kovalev [Tue, 7 May 2013 19:23:14 +0000 (12:23 -0700)]
Adding get_switchable_rate function.

Change-Id: I71311a14f8d7f48508b250f25d1d0914c6a1ac72

11 years agoRemoving vp9_swap_yv12_buffer function and corresponding files.
Dmitry Kovalev [Tue, 7 May 2013 22:40:18 +0000 (15:40 -0700)]
Removing vp9_swap_yv12_buffer function and corresponding files.

Adding static swap_yv12 function to vp9_firstpass.c.

Change-Id: I7da9caab9720498db4a74c627901bf37816ed06c

11 years agoDeprecate comp_interintra_pred experiment.
Paul Wilkins [Tue, 7 May 2013 15:42:21 +0000 (16:42 +0100)]
Deprecate comp_interintra_pred experiment.

Delete code under the CONFIG_COMP_INTERINTRA_PRED
flag.

Change-Id: I3d1079cf46305c08f7e11d738596ea112e7b547f

11 years agoRemove enable_6tap filter experiment.
Paul Wilkins [Tue, 7 May 2013 15:19:25 +0000 (16:19 +0100)]
Remove enable_6tap filter experiment.

Clean out code under CONFIG_ENABLE_6TAP flag.

Change-Id: Ic45b624081181027d6ba24d55dd644c3197f9830

11 years agoDeprecate the newbintramode experiment.
Paul Wilkins [Tue, 7 May 2013 12:58:36 +0000 (13:58 +0100)]
Deprecate the newbintramode experiment.

Clean out code relating to newbintramode.

Change-Id: Ie91f4f156cdf60ce0da8ca407c1c9cb00c7d0705

11 years agoAdjust q range
Paul Wilkins [Thu, 4 Apr 2013 16:40:39 +0000 (17:40 +0100)]
Adjust q range

Skip Q values between the q.0 mode and a real q of
2.0 as these are not valuable from an RD perspective.

Change-Id: I110c4858c57f97315953f4d88a2596d4764360df

11 years agoMerge "Partially disable error resilience test" into experimental
John Koleszar [Tue, 7 May 2013 22:33:53 +0000 (15:33 -0700)]
Merge "Partially disable error resilience test" into experimental

11 years agoMerge "Add building blocks for partition down to 4x4" into experimental
Jingning Han [Tue, 7 May 2013 22:33:20 +0000 (15:33 -0700)]
Merge "Add building blocks for partition down to 4x4" into experimental

11 years agoMerge "Cosmetic changes in handle_inter_mode_" into experimental
Jingning Han [Tue, 7 May 2013 22:33:12 +0000 (15:33 -0700)]
Merge "Cosmetic changes in handle_inter_mode_" into experimental

11 years agoMerge "Revert "Adjust error resilience test data rate."" into experimental
John Koleszar [Tue, 7 May 2013 22:17:14 +0000 (15:17 -0700)]
Merge "Revert "Adjust error resilience test data rate."" into experimental

11 years agoMerge "General code cleanup inside treewriter-related files." into experimental
Dmitry Kovalev [Tue, 7 May 2013 22:04:28 +0000 (15:04 -0700)]
Merge "General code cleanup inside treewriter-related files." into experimental

11 years agoPartially disable error resilience test
John Koleszar [Tue, 7 May 2013 20:02:45 +0000 (13:02 -0700)]
Partially disable error resilience test

Disables the part of the error-resilient test that tests the
quality after dropping undroppable frames. It's not clear how
to set the threshold for this correctly at the moment.

Change-Id: I3ee4a0d475498f44711fdef05749f305e8d08591

11 years agoMerge "Adding encode_loopfilter function." into experimental
Dmitry Kovalev [Tue, 7 May 2013 19:59:12 +0000 (12:59 -0700)]
Merge "Adding encode_loopfilter function." into experimental

11 years agoRevert "Adjust error resilience test data rate."
John Koleszar [Tue, 7 May 2013 19:58:32 +0000 (12:58 -0700)]
Revert "Adjust error resilience test data rate."

This reverts commit b24735c622cefe3a03633edd69dff65d2a6ee0dd
since the adjusted threshold doesn't allow the existing tests
to pass. Will disable the failing test in a separate commit.

Change-Id: I26d41cf6175f300bbad493cecdc96e6b0dd6f2fe

11 years agoAdd building blocks for partition down to 4x4
Jingning Han [Tue, 7 May 2013 17:45:31 +0000 (10:45 -0700)]
Add building blocks for partition down to 4x4

Macro ab4x4 contains experiments for recursive partition down to
4x4 block size.

Change-Id: Ic727842fa98a4df9fd51e0025a545dc76a5c76c1

11 years agoCosmetic changes in handle_inter_mode_
Jingning Han [Tue, 7 May 2013 18:22:07 +0000 (11:22 -0700)]
Cosmetic changes in handle_inter_mode_

Use unified function pointers to variance_.

Change-Id: I78891bede56e73306851808d96f09dc0d3d8074e