summaryrefslogtreecommitdiff
path: root/vp9/common
AgeCommit message (Collapse)Author
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 "Removing vp9_default_coef_probs.h file."Dmitry Kovalev
2013-12-05Merge "Cleaning up vp9_get_pred_context_tx_size() function."Dmitry Kovalev
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-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-04Compact formatting default_coef_probs_{4x4, 8x8, 16x16, 32x32}.Dmitry Kovalev
Change-Id: If40b930431766d5179b9769509b5e4ca1628e9cc
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 "Improve idct16x16: _256_add_sse2(x1.107)&_10_add_sse2(x1.012)"Yunqing Wang
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-03Merge "Removing dummy assignments."Dmitry Kovalev
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-02Merge "improve vp9_idct32x32_34(x1.472)&1024(x1.032)_add_sse2"Yunqing Wang
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-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
2013-11-27Moving token-encoding related stuff from common to encoder.Dmitry Kovalev
Change-Id: I0e59d320407b3bed0ba3622a7b29975f6fad7ebf
2013-11-27Merge "Moving mode encodings from common to encoder + cleanup."Dmitry Kovalev
2013-11-27Merge "vp9_short_fdct32x32_rd vp9_short_fdct32x32 optimized for AVX2"Yaowu Xu
2013-11-26Removing qcoeff buffers from the decoder.Dmitry Kovalev
We only need qcoeff buffers in the encoder. Reducing TileWorkerData struct and VP9Decompressor struct sizes by 24K. Change-Id: Id148868461f7ffa3d3dd634b371503ae9c57e207
2013-11-26Removing dummy assignments.Dmitry Kovalev
Change-Id: I10d1a4bcac751a982d9dd135f019e3a4d92f8522
2013-11-26Moving mode encodings from common to encoder + cleanup.Dmitry Kovalev
Change-Id: I248ccb1532e2cd95314d0b95108f2c2e71cf084f
2013-11-26Merge "Amended some comments for clarity"Yaowu Xu
2013-11-26Fix 16 wide neon horz loopfilter.Frank Galligan
Multiply by 3 was on 8bit vectors when it should have been on 16bit vectors. Change-Id: I248c1429b3134dfd171dfab0ebb109fd2437e1fc
2013-11-26Merge "Do vertical loopfiltering in parallel"Yunqing Wang
2013-11-26improve vp9_idct32x32_34(x1.472)&1024(x1.032)_add_sse2Abo Talib Mahfoodh
vp9_idct32x32_34_add_sse2: speedup: 1.472 IDCT32_1D_34 and MULTIPLICATION_AND_ADD_2 are optimized based on the fact that Only upper-left 8x8 has non-zero values. vp9_idct32x32_1024_add_sse2: speedup: 1.032 Tested with: park_joy_420_720p50.y4m Change-Id: I8670ce547552b48695049de298e2fc46ce28dfbc
2013-11-25Merge "Moving mv entropy encodings calculation to the encoder side."Dmitry Kovalev
2013-11-25Moving mv entropy encodings calculation to the encoder side.Dmitry Kovalev
Moved arrays: vp9_mv_joint_encodings vp9_mv_class_encodings vp9_mv_class0_encodings vp9_mv_fp_encodings Change-Id: Iaf5008c579fcbd6d77fdd81d1aef8c71b5f308b7
2013-11-25Merge "Removing redundant call of vp9_init_mbmode_probs()."Dmitry Kovalev
2013-11-25Merge "Moving {left, right}_block_mode to vp9_blockd.h."Dmitry Kovalev
2013-11-25Merge "Renaming COMPPREDMODE_TYPE enum and its members."Dmitry Kovalev
2013-11-25Amended some comments for clarityYaowu Xu
Change-Id: I31c3908ba394095deb5d3a5d7b7c9b2b5328c3e8
2013-11-25Merge "In frame Q adjustment experiment."Yaowu Xu
2013-11-25Merge "Use separate inter predictors for enc/dec"Jingning Han
2013-11-25In frame Q adjustment experiment.Paul Wilkins
The idea here is to allow "in frame" adjustment of the final Q value used to encode each SB64, using segmentation. There is also adjustment of the rd mult in regions of overspend. Activated using aq_mode=2 Change-Id: I2f140cd898c9f877c32cd6d2e667f5e11ada4b1c
2013-11-25Merge "Fix a build issue with visual c."Yaowu Xu
2013-11-25Use separate inter predictors for enc/decJingning Han
The decoder will construct inter predictor using lazy border extension, while the encoder, going with multiple runs of motion search in the rate- distortion optimization loop for each block, does border extension at frame level. This commit makes separate the inter predictors for encoder and decoder, respectively. Change-Id: Ieca2fecba3a7201a6d64ef9f219e5d91e50559c3
2013-11-25Merge "Separate setup_scale_factor/extend_frame_borders"Jingning Han
2013-11-25Fix a build issue with visual c.Yaowu Xu
Change-Id: Ic8fc16ee1734cfde0d12a2e3abb3e9299382f3b1