summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-09Merge superblocks64 experiment.Ronald S. Bultje
Change-Id: If6c88752dffdb566f8d4322f135145270716fb8e
2013-01-09New prediction filterAdrian Grange
This patch removes the old pred-filter experiment and replaces it with one that is implemented using the switchable filter framework. If the pred-filter experiment is enabled, three interopolation filters are tested during mode selection; the standard 8-tap interpolation filter, a sharp 8-tap filter and a (new) 8-tap smoothing filter. The 6-tap filter code has been preserved for now and if the enable-6tap experiment is enabled (in addition to the pred-filter experiment) the original 6-tap filter replaces the new 8-tap smooth filter in the switchable mode. The new experiment applies the prediction filter in cases of a fractional-pel motion vector. Future patches will apply the filter where the mv is pel-aligned and also to intra predicted blocks. Change-Id: I08e8cba978f2bbf3019f8413f376b8e2cd85eba4
2013-01-08Adds 64x64 hybrid dct/dwt transformDeb Mukherjee
This is to add to the 64x64 transform experiment as an alternative to a 64x64 DCT. Two levels of wavelet decomposition is used on a 64x64 block, followed by 16x16 DCT on the four lowest subbands. The highest three subbands are left untransformed after the first level DWT. Change-Id: I3d48d5800468d655191933894df6b46e15adca56
2013-01-08Merge "Merge superblocks (32x32) experiment." into experimentalRonald S. Bultje
2013-01-08Merge "vp9_sub_pixel_variance16x2 SSE2 optimization" into experimentalYunqing Wang
2013-01-08Merge superblocks (32x32) experiment.Ronald S. Bultje
Change-Id: I0df99742029834a85c4933652b0587cf5b6b2587
2013-01-08vp9_sub_pixel_variance16x2 SSE2 optimizationYunqing Wang
About 5% decoder speedup. Change-Id: Ib6687d337af758a536a0e7e289f400990f1f9794
2013-01-08Merge vp9-preview changes into experimental branchJohn Koleszar
Incorportate vp9-preview changes by merging master branch into experimental. Conflicts: test/test.mk vp9/common/vp9_filter.c vp9/common/vp9_idctllm.c vp9/common/vp9_invtrans.h vp9/common/vp9_mbpitch.c vp9/common/vp9_rtcd_defs.sh vp9/common/vp9_systemdependent.h vp9/common/vp9_type_aliases.h vp9/common/x86/vp9_asm_stubs.c vp9/common/x86/vp9_subpixel_mmx.asm vp9/decoder/vp9_decodframe.c vp9/decoder/vp9_dequantize.c vp9/decoder/vp9_dequantize.h vp9/decoder/vp9_onyxd_int.h vp9/encoder/vp9_bitstream.c vp9/encoder/vp9_encodeframe.c vp9/encoder/vp9_rdopt.c Change-Id: I17f51c3666d1b59cf1a699f87607cbc5d30a87c5
2013-01-08reset segement map on key frameYaowu Xu
This is to fix a decoder crash when decoder skips a number of frame to continue decoding from a later key frame. Change-Id: I3ba116eba6c3440e0528a21f53745f694302e4ad
2013-01-08Merge "minor loop filter refactoring and cleanup" into experimentalYaowu Xu
2013-01-07minor loop filter refactoring and cleanupYaowu Xu
This commit did a couple of minor cleanup/refactoring to prepare for futher loop filter experiments. It merged y_only version of loop filter function into the regular one, which makes sure that same logic is used for functions for picking level and for actual loop filtering. Change-Id: Id10c94dccd45f58e5310bacfdf6ee63cbb60b86f
2013-01-07Remove a few redundant function arguments in encodeframe.c.Ronald S. Bultje
Also reindent a block of code that was misindented after addition of the tx32x32 experiment. Change-Id: Ic3e4aae3effd8a40136da68c9f382af03632ba08
2013-01-07Re-enable support for static_threshold (encode_breakout).Ronald S. Bultje
Change-Id: Ibd7380f478d3127f9db91d0a4fd2fd0dfde961ab
2013-01-07Don't use tx32x32 for macroblocks.Ronald S. Bultje
Change-Id: Ib674e0153ca360867ab7a20ba291ac9171a01250
2013-01-0564x64 blocksize support.Ronald S. Bultje
3.2% gains on std/hd, 1.0% gains on hd. Change-Id: I481d5df23d8a4fc650a5bcba956554490b2bd200
2013-01-04Fix mode selection infinite loop bugAdrian Grange
Mode selection for SBs could enter an infinite loop because the interpolation filter mode index was not being reset correctly. Change-Id: I4bbe726f29ef5b6836e94884067c46084713cc11
2013-01-04Further change to mv reference search.Paul Wilkins
This experimental change reorders the search so that all possible references that match the target reference frame are tested first and these in order of distance from the current block. These will usually be the highest scoring candidates. If we do not find enough good candidates this way we try non matching cases. These will usually be lower scoring candidates. The change in order together with breakouts when we have found enough candidates should reduce the computational cost and especially reduce the number of sort operations. Quality Results: Std Hd +0.228%, Hd +0.074%, YT +0.046%, derf +0.137% This effect is probably due to the fact that more distant weak candidates are now less likely to get "promoted" over near candidates even if they are repeated. Change-Id: Iec37e77d88a48ad0ee1f315b14327a95d63f81f6
2013-01-03Use seg/ref/mode offsets in loop_filter_partial.Marco Paniconi
Use the proper seg/mode/ref filter offsets when selecting the frame loop filter level for fast mode (pick_filter_level_fast). Change-Id: I2473e2131c800ad19755cb6211ad735fecfe2ac0
2013-01-03Merge "make cost_coeffs() and tokenize_b() consistent" into experimentalYaowu Xu
2013-01-03Merge "Merge cost_coeffs_2x2() into cost_coeffs()" into experimentalYaowu Xu
2013-01-03make cost_coeffs() and tokenize_b() consistentYaowu Xu
Change-Id: I7cdb5c32a1400f88ec36d08ea982e38b77731602
2013-01-03New interpolation filter selection algorithmAdrian Grange
Old Scheme: When SWITCHABLE filter selection is enabled the encoder evaluates the use of each interpolation filter type and selects the best one to use at the MB level. A frame- level flag can be set to force the use of a particular filter type for all MBs in a frame if it is more efficient to encode that way. The logic here involved a Q dependent threshold that assumed that the second 8-tap filter was a high-pass filter. However, this requires a trip around the recode loop. If the frame-level flag indicates use of a particular filter, the other filters are not evaluated in the pick_mode loop. New Scheme: Each filter type is evaluated at the MB level and a record of the best filter is kept, irrespective of what filter is signaled at the frame-level. Once all MBs have been encoded, a decision is made as to what frame-level mode to set for the *next* frame. If one filter is used by 80% or more of the MBs, then this filter is forced since it is assumed that this will be more efficient if the next frame has similar characteristics. i.e. there is a one-frame lag between measuring the filter selection and setting the frame-level mode to use. Change-Id: I6a7e7ced8f27e120fafb99db2dc9c6293f8d20f7
2013-01-03Merge cost_coeffs_2x2() into cost_coeffs()Yaowu Xu
Remove special case function cost_coeffs_2x2() and change function cost_coeffs() to handle 2nd order haar block as it is handle all other block types already. Change-Id: I2aac6f81ee0ae9e03d6a8da4f8681d69b79ce41f
2013-01-02Merge "Switch the order of calculating 2-D inverse transform" into experimentalYunqing Wang
2013-01-02Merge "Skip finding best ref_mvs when the mode is ZEROMV" into experimentalYunqing Wang
2013-01-02Change INT64_MAX to LLONG_MAXPaul Wilkins
This is needed to make the windows build work after the removal of vp9_type_alisases.h. Change-Id: I8addf38e9f3c8b864e0e30a8916a26e0264dd02c
2013-01-02Added update-able mv-ref probabilities.Paul Wilkins
Part of NEW_MVREF experiment. Added update-able probabilities. Change-Id: I5a4fcf4aaed1d0d1dac980f69d535639a3d59401
2012-12-27Skip finding best ref_mvs when the mode is ZEROMVYunqing Wang
Read mode before calling vp9_find_best_ref_mvs(). If the mode is ZEROMV, the best ref_mvs are not needed. Then, we can skip calling vp9_find_best_ref_mvs(). Change-Id: I5baa3658dd3f1c7107211cbbbcf919b4584be2e2
2012-12-27Switch the order of calculating 2-D inverse transformYunqing Wang
The 2-D inverse transform X = M1*Z*Transposed_M2 was calculated in 2 steps from left to right: 1. Vertical transform: Y = M1*Z 2. Horizontal transform: X= Y*Transposed_M2 In SIMD, a transpose is needed in vertical transform. Here, switched the calculation order to do it from right to left. In this way, we could eliminate that transpose by writing the intermediate results out to their transposed positions. Change-Id: I34dfe5eb01292f6e363712420d99475e2e81e12c
2012-12-27Merge branch 'vp9-preview' of review:webm/libvpxJohn Koleszar
Merge the vp9-preview branch into master. Change-Id: If700b9054676f24bed9deb59050af546c1ca5296
2012-12-26Build fixes to merge vp9-preview into masterJohn Koleszar
Various fixups to resolve issues when building vp9-preview under the more stringent checks placed on the experimental branch. Change-Id: I21749de83552e1e75c799003f849e6a0f1a35b07
2012-12-21Fix a warningYunqing Wang
Fixed the warning: the size of array ‘intermediate_buffer’ can’t be evaluated [-Wvla]. Change-Id: Ibcffd6969bd71cee0c10f7cf18960e58cd0bd915
2012-12-21Removed mmx versions of vp9_bilinear_predict filtersScott LaVarnway
These filters will not work with VP9. Change-Id: Ic26c77961084fcea6bfa97f4cd95afdea2282e85
2012-12-21Update CHANGELOG for v1.2.0 releaseJohn Koleszar
Change-Id: Ie0525d300c94bfde2947b1cc2572bb7d37e17998
2012-12-21Merge "add emmintrin_compat.h for builds with gcc < 4" into vp9-previewJohn Koleszar
2012-12-21Merge "configure: test for -msse4" into vp9-previewJohn Koleszar
2012-12-21fixed sizes of global arraysJim Bankoski
Change-Id: Ibc077cf1c1da0c86063f88c6d3073c6876989119
2012-12-20Fix MSVS build for removed vp9/common/vp9_onyxd.hJohn Koleszar
Change-Id: I75ad0b4ca5b53b5bf759cc26a484ec196d275279
2012-12-20add emmintrin_compat.h for builds with gcc < 4James Zern
Change-Id: If7822e6fcd0d3568b934032322b19ba3e401df26
2012-12-20configure: test for -msse4James Zern
not present in < GCC 4.2 Change-Id: I7b1a3078fd782644b1c432ce682d2160ffc2263a
2012-12-20add private to assembly files to insure proper chromebuildJim Bankoski
Change-Id: I6e43ca73f35401a974ed8ee27738d4318f09fd37
2012-12-19New previous coef context experimentDeb Mukherjee
Adds an experiment to derive the previous context of a coefficient not just from the previous coefficient in the scan order but from a combination of several neighboring coefficients previously encountered in scan order. A precomputed table of neighbors for each location for each scan type and block size is used. Currently 5 neighbors are used. Results are about 0.2% positive using a strategy where the max coef magnitude from the 5 neigbors is used to derive the context. Change-Id: Ie708b54d8e1898af742846ce2d1e2b0d89fd4ad5
2012-12-19Disabled x86inc style assembly functions.... part 2Scott LaVarnway
Missed a file Change-Id: I33179de6755bc9eda9ad906e4fec6902ace435a5
2012-12-19make: fix dependency generationJohn Koleszar
Remove an extra level of escaping around the $@ variable to get valid output. Prior to this change, modifying header files did not trigger a rebuild of sources dependent on them. Change-Id: I93ecc60371b705b64dc8a2583a5d31126fe3f851
2012-12-19Use boolcoder API instead of inliningJohn Koleszar
This patch changes the token packing to call the bool encoder API rather than inlining it into the token packing function, and similarly removes a special get_signed case from the detokenizer. This allows easier experimentation with changing the bool coder as a whole. Change-Id: I52c3625bbe4960b68cfb873b0e39ade0c82f9e91
2012-12-19Disabled x86inc style assembly functionsScott LaVarnway
Temporary fix for 32-bit mac build errors. Change-Id: I2038f033cac16ea796097d0edd0f1c3da03246d7
2012-12-18Add 'jni' to documention for ndk-buildJohann
ndk-build is intended to be launched from the application directory, not the jni directory. Clarify the path in the comments. Change-Id: Ie0faa89a13d967088a4fd2fd1c647962a9c04217
2012-12-18Use standard integer types for pixel values and coefficients.Ronald S. Bultje
For coefficients, use int16_t (instead of short); for pixel values in 16-bit intermediates, use uint16_t (instead of unsigned short); for all others, use uint8_t (instead of unsigned char). Change-Id: I3619cd9abf106c3742eccc2e2f5e89a62774f7da
2012-12-18Merge "Changed MAX_PSNR to 100" into experimentalYaowu Xu
2012-12-18Changed MAX_PSNR to 100Yaowu Xu
The MAX_PSNR was used to assign a "psnr" number when the mse is close to zero. The direct assignment is used to prevent divide by zero in computation. Changing it from 60 to 100 to be consistent against what is being done in VP9 Change-Id: I4854ffc4961e59d372ec8005a0d52ca46e3c4c1a