summaryrefslogtreecommitdiff
path: root/vp9
AgeCommit message (Collapse)Author
2013-12-06Merge "Remove redundant calls to vp9_update_mode_info_border"Adrian Grange
2013-12-06Merge "Remove redundant bsize mapping in motion search"Jingning Han
2013-12-05Merge "Renaming PREV_COEF_CONTEXTS to COEFF_CONTEXTS."Dmitry Kovalev
2013-12-05Renaming PREV_COEF_CONTEXTS to COEFF_CONTEXTS.Dmitry Kovalev
Also adding BAND_COEFF_CONTEXTS macro to simplify for loop logic. Change-Id: I12a78a49cf1addf81e6b3fe2a3736ec2b79bd79e
2013-12-05Merge "Further rate control cleanups"Deb Mukherjee
2013-12-05Merge "Cleaning up vp9_detokenize.c file."Dmitry Kovalev
2013-12-05Merge "Removing vp9_default_coef_probs.h file."Dmitry Kovalev
2013-12-05Further rate control cleanupsDeb Mukherjee
Includes various cleanups. Streamlines the interfaces so that all rate control state updates happen in the vp9_rc_postencode_update() function. This will hopefully make it easier to support multiple rate control schemes. Removes some unnecessary code, which in rare cases can casue a difference in the constrained quality mode output, but other than that there is no bitstream change yet. Change-Id: I3198cc37249932feea1e3691c0b2650e7b0c22fc
2013-12-05Remove redundant calls to vp9_update_mode_info_borderAdrian Grange
Removed calls to vp9_update_mode_info_border since they immediately followed code that initialized the entire buffer to 0. Change-Id: Ife06794daa20439a0b607a83a87f88df59afac40
2013-12-05Using lookup to determine tx_size in encode_superblock().Dmitry Kovalev
Change-Id: I68d6217db6f67da15380cd59ec5eda0c44da7d34
2013-12-05Merge "Cleaning up vp9_get_pred_context_tx_size() function."Dmitry Kovalev
2013-12-05Merge "Disable --tune=ssim for vp9"Yaowu Xu
2013-12-04Fix ref count decrement code.Frank Galligan
Buffer 0 would never be decremented, so it could only be used once. Change-Id: I605d99fa2a513eadae6a0e230161729880653282
2013-12-04Cleaning up vp9_get_pred_context_tx_size() function.Dmitry Kovalev
Change-Id: Ia6ef876e3d1e66b2182a9c0bce3fd758691cd381
2013-12-04Moving vp9_token from common to encoder.Dmitry Kovalev
Change-Id: I40a070c353663e82c59e174d7c92eb84f72ed808
2013-12-04Merge "Fix the initial references to frame buffers."Frank Galligan
2013-12-04Remove redundant bsize mapping in motion searchJingning Han
Both single frame and compound inter motion search run with luma component only. Hence removing the block size mapping therein. Change-Id: I217488e702432ae9fa0e95bf6f516ebb36b5c79b
2013-12-04Cleaning up vp9_detokenize.c file.Dmitry Kovalev
Using consistent names (block_idx => block, dqcoeff_ptr => dqcoeff, pt => ctx), inlining get_tx_eob() call. Change-Id: I05208e57df81bbb8f25b8274684a48192e9de464
2013-12-04Removing vp9_default_coef_probs.h file.Dmitry Kovalev
Moving all probability tables from removed file to vp9_entropy.c. Change-Id: I12846f1da778c3016d96b82e53384d4634883430
2013-12-04Merge "Cleaning up vp9_dec_build_inter_predictors_sb function."Dmitry Kovalev
2013-12-04Fix the initial references to frame buffers.Frank Galligan
The old code would start in a mixed state, where all the reference frames were pointing to frame buffer 0, but the reference counts were 0. This is why we needed special code for the first frame. Change-Id: I734961012917654ff8c0c8b317aac00ab75ded1a
2013-12-04Merge "Cleaning up vp9_entropy.h file."Dmitry Kovalev
2013-12-04Merge "Removing old code."Dmitry Kovalev
2013-12-04Compact formatting default_coef_probs_{4x4, 8x8, 16x16, 32x32}.Dmitry Kovalev
Change-Id: If40b930431766d5179b9769509b5e4ca1628e9cc
2013-12-04Disable --tune=ssim for vp9Yaowu Xu
The feature is not yet supported. Change-Id: If46382302d2077b20670391b4a03017045a104f5
2013-12-04Merge "Formatting vp9_pareto8_full array."Dmitry Kovalev
2013-12-04Cleaning up vp9_dec_build_inter_predictors_sb function.Dmitry Kovalev
Using get_plane_block_size() instead of manipulation with subsampling values, calculating all required values only once without redundant calls to b_width_log2(). Change-Id: I00303f2a0926f9c4cb17f34591adda60615f8919
2013-12-04Revert "Simplify mask checking in loop filters"Yunqing Wang
Jingning saw bitstream change with this patch. It could be true that (mask_16x16_0 & 1) is 1, but (mask_16x16_1 & 1) is 0 in some edge cases. This reverts commit 8f05e70340533b9922be5b1c97c37e50607fd862. Change-Id: I0a529435ce816a1e14653eb510d5090de276070a
2013-12-04Merge "Moving eob array to the encoder."Dmitry Kovalev
2013-12-04Merge "Change default behavior to assume sampled chroma"Adrian Grange
2013-12-04Merge "Improve idct16x16: _256_add_sse2(x1.107)&_10_add_sse2(x1.012)"Yunqing Wang
2013-12-03Removing old code.Dmitry Kovalev
Change-Id: I7ccbe13e1accd292a3e0e98522416f9c4b4bc82b
2013-12-03Formatting vp9_pareto8_full array.Dmitry Kovalev
Change-Id: Ic7f47a8d233daf5e61e82092865837ea4eda4095
2013-12-03Moving eob array to the encoder.Dmitry Kovalev
In the decoder we don't need to save eobs, we can pass eob as an argument. That's why removing eob arrays from VP9Decompressor and TileWorkerData, and moving eob pointer from macroblockd_plane to macroblock_plane. Change-Id: I8eb919acc837acfb3abdd8319af63d1bbca8217a
2013-12-03Cleaning up vp9_entropy.h file.Dmitry Kovalev
Renaming constants for consistency: DCT_VAL_CATEGORY1 => CATEGORY1_TOKEN DCT_VAL_CATEGORY2 => CATEGORY2_TOKEN DCT_VAL_CATEGORY3 => CATEGORY3_TOKEN DCT_VAL_CATEGORY4 => CATEGORY4_TOKEN DCT_VAL_CATEGORY5 => CATEGORY5_TOKEN DCT_VAL_CATEGORY6 => CATEGORY6_TOKEN DCT_EOB_TOKEN => EOB_TOKEN DCT_EOB_MODEL_TOKEN => EOB_MODEL_TOKEN MAX_ENTROPY_TOKENS => ENTROPY_TOKENS Moving constants: INTER_MODE_CONTEXTS from vp9_entropy.h to vp9_blockd.h. EOSB_TOKEN from vp9_entropy.h to vp9_tokenize.h Change-Id: I5fcbf081318e1d365792b6d290a930c6cb0f3fc2
2013-12-03Fix initialization order for the encoderJingning Han
This commit makes the coefficient tree initialized prior to token initialization, where the coefficient costs are filled out according to the probabilities associated with coefficient value categories. Change-Id: If4e89c3923058376f8382c683fe4a225a4a38af3
2013-12-03Merge "Making names consistent with REFERENCE_MODE enum name."Dmitry Kovalev
2013-12-03Merge "Removing token_to_counttoken array."Dmitry Kovalev
2013-12-03Merge "Using local variable for token_cache."Dmitry Kovalev
2013-12-03Merge "Removing dummy assignments."Dmitry Kovalev
2013-12-03Merge "Remove plane_block_idx."Alex Converse
2013-12-03Merge "Fix intra prediction ref selection in skip_encode"Jingning Han
2013-12-03Merge "Fix use_uv_intra_estimate in rd loop"Paul Wilkins
2013-12-02Fix intra prediction ref selection in skip_encodeJingning Han
This commit fixes the intra prediction reference source selection in the settings of skip_encode. Use original boundary pixels as prediction reference, when the inverse transform and reconstruction are skipped in the per block size rate-distortion optimization loop. Change-Id: I36081aa30aa46e203e0e6f4e8a420fd08269469a
2013-12-02Removing token_to_counttoken array.Dmitry Kovalev
Change-Id: I02050bcca4c9fd68a00abdea5aba0c3f8993d9a9
2013-12-02Remove plane_block_idx.Alex Converse
Its last remaining caller can be passed its results directly without any additional work. Also, it's not non-4:2:0 safe. Change-Id: Ia5089ba5f7f66c7617270483c619c9271aefd868
2013-12-02Improve idct16x16: _256_add_sse2(x1.107)&_10_add_sse2(x1.012)Abo Talib Mahfoodh
The performance gain of idct16x16_10_add_sse2 function is not noticeable. However since both functions use the IDCT16_1D, idct16x16_10_add_sse2 should be modified as well. Tested with: park_joy_420_720p50.y4m Change-Id: I02b957e36fcf997c677d15baf496533895271bff
2013-12-02Fix use_uv_intra_estimate in rd loopJingning Han
This commit fixes the use of uv_intra_estimate by properly restoring the mode_info struct required by rd_pick_intra_sbuv_mode. Change-Id: I6a156d79533c4e2e60dfd3b8c5bb0a42a8eca280
2013-12-02Using local variable for token_cache.Dmitry Kovalev
The difference with the old code is that originally the whole token_cache was initialized with zeros at the beginning of decode_coefs() function. Now we set several zero values explicitly with "token_cache[scan[c]] = 0". Change-Id: I88cc5031f01d13012d1a4491739c36cb44f9401e
2013-12-02Merge "Cleaning up decode_coefs() function."Dmitry Kovalev