summaryrefslogtreecommitdiff
path: root/vp9
AgeCommit message (Collapse)Author
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-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
2013-12-02Merge "improve vp9_idct32x32_34(x1.472)&1024(x1.032)_add_sse2"Yunqing Wang
2013-12-02Merge "Disable partitioning in the dominant subsampling direction."Alex Converse
2013-12-02Cleaning up decode_coefs() function.Dmitry Kovalev
Removing goto and using while loop instead, renaming seg_eob to max_eob, moving eob token counter increment. Change-Id: Idcc4b3a45e4f313596a71776aef56691a6647e5f
2013-12-02Disable partitioning in the dominant subsampling direction.Alex Converse
E.g. disable vertical partioning for 4:2:2. Until we come up with something better to do with the chroma block size, this prevents an assert error. Change-Id: I9394fb3f14ec1343abc3ad4769de208e6278f285
2013-12-02Merge "Simplify mask checking in loop filters"Yunqing Wang
2013-12-02Merge "Moving token-encoding related stuff from common to encoder."Dmitry Kovalev
2013-12-02Merge "Moving reaster_block_offset{,_int16} from vp9_blockd.h to vp9_rdopt.h."Dmitry Kovalev
2013-12-02Merge "Simplify super_block_yrd()"Yaowu Xu
2013-12-02Merge "Merge tx selection into RD calculation"Yaowu Xu
2013-11-27Fixing inadvertent changeDeb Mukherjee
Fixes an inadvertant change made in a previous patch while doing some experiments. Change-Id: I9961f2157c803676491a3d6daf056ff8a37367b3
2013-11-27Simplify mask checking in loop filtersYunqing Wang
Considering a horizontal edge, if mask_16x16 is 1 for an even- indexed 8x8 block, then mask_16x16 is 1 for next 8x8 block in same row. Similiar to a verticle edge, if mask_16x16 is 1 for an even-rowed 8x8 block, then mask_16x16 is 1 for the 8x8 block right below it in next raw. Based on that, the mask_16x16 checking can be simplified to save cycles. The corresponding 8-pixel vp9_mb_lpf_horizontal_edge code can also be removed. Change-Id: Ic3fe7a5674322239208cbe2731dc3216ce2084f3
2013-11-27Moving reaster_block_offset{,_int16} from vp9_blockd.h to vp9_rdopt.h.Dmitry Kovalev
Change-Id: I5a5888d4639cc6b7eb266be47581dd15ba08c91e