summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-29Merge "Framework changes in nzc to allow more flexibility" into experimentalDeb Mukherjee
2013-03-29Merge "Tokenization code cleanup." into experimentalJohn Koleszar
2013-03-29Merge "Extracting common motion vector prediction code." into experimentalJohn Koleszar
2013-03-29Merge "General code cleanup." into experimentalJohn Koleszar
2013-03-29Merge "Extracting decode_tiles function." into experimentalJohn Koleszar
2013-03-29Merge "define a specific neighborhood for SB64 mv search" into experimentalYaowu Xu
2013-03-29Merge "remove code not in use" into experimentalYaowu Xu
2013-03-29Merge "Reoptimizing the interpolation filters" into experimentalDeb Mukherjee
2013-03-28Merge "Adjust mv_ratio_accumulator threshold." into experimentalPaul Wilkins
2013-03-28Merge "Fix mix-up in pt token indexing." into experimentalRonald S. Bultje
2013-03-28Merge "Fix crash when --tune=ssim is selected." into experimentalYaowu Xu
2013-03-28Merge "Save nzcstats." into experimentalRonald S. Bultje
2013-03-28Framework changes in nzc to allow more flexibilityDeb Mukherjee
The patch adds the flexibility to use standard EOB based coding on smaller block sizes and nzc based coding on larger blocksizes. The tx-sizes that use nzc based coding and those that use EOB based coding are controlled by a function get_nzc_used(). By default, this function uses nzc based coding for 16x16 and 32x32 transform blocks, which seem to bridge the performance gap substantially. All sets are now lower by 0.5% to 0.7%, as opposed to ~1.8% before. Change-Id: I06abed3df57b52d241ea1f51b0d571c71e38fd0b
2013-03-28Fix mix-up in pt token indexing.Ronald S. Bultje
This fixes uninitialized reads in the trellis, and probably makes the trellis do something again. Change-Id: Ifac8dae9aa77574bde0954a71d4571c5c556df3c
2013-03-28Adjust mv_ratio_accumulator threshold.Paul Wilkins
This threshold effectively limits the amount of motion from one end of a GF/ARF group to the other. This patch makes the threshold depend on image size. Change-Id: Id45d1d7bced815f86ddd037be53164894b00b82f
2013-03-28Fix crash when --tune=ssim is selected.Paul Wilkins
Crash fix only. No functional change or testing. Change-Id: I0c6d114d024c29fc11ae61666f5938f11b01dd6a
2013-03-27define a specific neighborhood for SB64 mv searchYaowu Xu
Change-Id: Ifda91d697c5970c65ce3ec1feac5562124f91782
2013-03-27Extracting decode_tiles function.Dmitry Kovalev
Extracting decode_tiles function from vp9_decode_frame. Change-Id: I02a465eeaf76138ef3559e1d46deb452c10e1219
2013-03-27Extracting common motion vector prediction code.Dmitry Kovalev
Adding b_mv_pred_row and b_mv_pred_col functions, updating mi_mv_pred_row and mi_mv_pred_row functions. Change-Id: I9af068442d4474478375943cc6fce1605d6fc0a5
2013-03-27General code cleanup.Dmitry Kovalev
Removing redundant code, lower case variable names, better indentation, better parameter names, adding const to readonly parameters. Change-Id: Ibfdee00f60316fdc5b3f024028c7aaa76a627483
2013-03-27Merge "Extract setup_frame_size and update_frame_context functions." into ↵John Koleszar
experimental
2013-03-27Extract setup_frame_size and update_frame_context functions.Dmitry Kovalev
Extracting setup_frame_size and update_frame_context functions. Introducing vp9_read_prob function as shortcut for (vp9_prob)vp9_read_literal(r, 8). Change-Id: Ia5c68fd725b2d1b9c5eb20f69cacb62361b5a3dd
2013-03-27Tokenization code cleanup.Dmitry Kovalev
Moving almost identical code to decode_sb32 and decode_sb64 functions. Change-Id: Id39377aa5106be85d5b0fc3f83586b3779a6c0da
2013-03-27Merge "Convert inv_tile_order to control interface" into experimentalJohn Koleszar
2013-03-27Merge "Convert g_frame_parallel_decoding to control interface" into experimentalJohn Koleszar
2013-03-27Merge "Modify idct code to use macro" into experimentalYunqing Wang
2013-03-27Modify idct code to use macroYunqing Wang
Small modification of idct code. Change-Id: I5c4e3223944c68e4ccf762f6cf07c990250e4290
2013-03-27Merge "Merge branch 'master' into experimental" into experimentalJohn Koleszar
2013-03-27Merge "Cleaning up rate control code." into experimentalJohn Koleszar
2013-03-27Merge "Optimize 32x32 idct function" into experimentalYunqing Wang
2013-03-27Convert inv_tile_order to control interfaceJohn Koleszar
Restore ABI compatibility with the master branch. Change-Id: Ie9f6fdf536662bd87dfcf114d16f003422670763
2013-03-27Convert g_frame_parallel_decoding to control interfaceJohn Koleszar
Restore ABI compatibility with the master branch. Change-Id: Ic57e7e1de09ab33bd37990e52a63ba7c8f1432a4
2013-03-27Optimize 32x32 idct functionYunqing Wang
Wrote sse2 version of vp9_short_idct_32x32 function. Compared to c version, the sse2 version is 5X faster. Change-Id: I071ab7378358346ab4d9c6e2980f713c3c209864
2013-03-27Merge branch 'master' into experimentalJohn Koleszar
Pick up VP8 encryption, quantization changes, and some fixes to vpxenc Conflicts: test/decode_test_driver.cc test/decode_test_driver.h test/encode_test_driver.cc vp8/vp8cx.mk vpxdec.c vpxenc.c Change-Id: I9fbcc64808ead47e22f1f22501965cc7f0c4791c
2013-03-27Save nzcstats.Ronald S. Bultje
Change-Id: I4a3a9eb9f9d17218a0f0d7e148123d34dae879c2
2013-03-27Scatter-based scantables.Ronald S. Bultje
This gains about 0.2% on derf, 0.1% on hd and 0.4% on stdhd. I can put this under an experimental flag if wanted, just trying to get my patch queue in shape. Change-Id: Ibe1a30fe0e0b07bec4802e0f3ff0ba22e505f576
2013-03-26Merge "ENTROPY_STATS -> VP8_ENTROPY_STATS in vp8/." into experimentalRonald S. Bultje
2013-03-26Merge "Add col/row-based coefficient scanning patterns for 1D 8x8/16x16 ↵Ronald S. Bultje
ADSTs." into experimental
2013-03-26Merge "Redo banding for all transforms." into experimentalRonald S. Bultje
2013-03-26Merge "Use above/left (instead of previous in scan-order) as token context." ↵Ronald S. Bultje
into experimental
2013-03-26Implicit weighted prediction experimentDeb Mukherjee
Adds an experiment to use a weighted prediction of two INTER predictors, where the weight is one of (1/4, 3/4), (3/8, 5/8), (1/2, 1/2), (5/8, 3/8) or (3/4, 1/4), and is chosen implicitly based on consistency of the predictors to the already reconstructed pixels to the top and left of the current macroblock or superblock. Currently the weighting is not applied to SPLITMV modes, which default to the usual (1/2, 1/2) weighting. However the code is in place controlled by a macro. The same weighting is used for Y and UV components, where the weight is derived from analyzing the Y component only. Results (over compound inter-intra experiment) derf: +0.18% yt: +0.34% hd: +0.49% stdhd: +0.23% The experiment suggests bigger benefit for explicitly signaled weights. Change-Id: I5438539ff4485c5752874cd1eb078ff14bf5235a
2013-03-26Add col/row-based coefficient scanning patterns for 1D 8x8/16x16 ADSTs.Ronald S. Bultje
These are mostly just for experimental purposes. I saw small gains (in the 0.1% range) when playing with this on derf. Change-Id: Ib21eed477bbb46bddcd73b21c5c708a5b46abedc
2013-03-26Redo banding for all transforms.Ronald S. Bultje
Now that the first AC coefficient in both directions use the same DC as their context, there no longer is a purpose in letting both have their own band. Merging these two bands allows us to split bands for some of the very high-frequency AC bands. In addition, I'm redoing the banding for the 1D-ADST col/row scans. I don't think the old banding made any sense at all (it merged the last coefficient of the first row/col in the same band as the first two of the second row/col), which was clearly an oversight from the band being applied in scan-order (rather than in their actual position). Now, coefficients at the same position will be in the same band, regardless what scan order is used. I think this makes most sense for the purpose of banding, which is basically "predict energy for this coefficient depending on the energy of context coefficients" (i.e. pt). After full re-training, together with previous patch, derf gains about 1.2-1.3%, and hd/stdhd gain about 0.9-1.0%. Change-Id: I7a0cc12ba724e88b278034113cb4adaaebf87e0c
2013-03-26Use above/left (instead of previous in scan-order) as token context.Ronald S. Bultje
Pearson correlation for above or left is significantly higher than for previous-in-scan-order (absolute values depend on position in scan, but in general, we gain about 0.1-0.2 by using either above or left; using both basically just makes this even better). For eob branch skipping, we continue to use the previous token in scan order. This helps about 0.9% on derf after re-training on a limited data set. Full re-training and results on larger-resolution clips are pending. Note that this commit breaks trellis, so we can probably get further gains out of it by fixing trellis at some later point. Change-Id: Iead68e296fc3a105cca746b5e3da9555d6010cfe
2013-03-26Reoptimizing the interpolation filtersDeb Mukherjee
Reoptimizes the 8-tap smooth filter. Results: derf: +0.101% yt: +0.157% hd: +0.791% stdhd: +0.264% The next step will be to reoptimize the other two filters. Change-Id: I3d256a510ad9c7c30c33fae4a70fb43dfc708ed0
2013-03-26remove code not in useYaowu Xu
Change-Id: I4fa46f10e82aca36c563f7ea829e5a3177a0c740
2013-03-26Merge "Cleaning up loopfilter code." into experimentalJohn Koleszar
2013-03-26Cleaning up rate control code.Dmitry Kovalev
Lower case variable names, declaration and initialization on the same line, removing redundant casts to double. Change-Id: I7ea3905bed827aa6faac11a78401b85e448b57f9
2013-03-26Cleaning up loopfilter code.Dmitry Kovalev
Lower case variable names, removing redundant variables, declaration and initialization on the same line. Change-Id: Ie0c6c95b14103990eb6a9d7784f8259c662e1251
2013-03-26Decomposition of vp9_decode_frame function.Dmitry Kovalev
Moving code from vp9_decode_frame function into setup_loopfilter and setup_segmentation functions. A little bit of cleanup. Change-Id: I2cce1813e4d7aeec701ccf752bf57e3bdd41b51c