summaryrefslogtreecommitdiff
path: root/vp9/decoder/vp9_decodemv.c
AgeCommit message (Collapse)Author
2013-07-17Merge changes Ieffea49e,Idf610746Dmitry Kovalev
* changes: Removing two unused arguments from vp9_inc_mv signature. Changing signature of vp9_get_pred_probs_tx_size.
2013-07-17Merge "Adding read_comp_pred function."Dmitry Kovalev
2013-07-16Adding read_comp_pred function.Dmitry Kovalev
Removing old debug code from vp9_decodemv.c. Change-Id: I51a6d5fe6a2f6583a1555e692bb1ee5a5b315d6c
2013-07-16Removing two unused arguments from vp9_inc_mv signature.Dmitry Kovalev
Change-Id: Ieffea49eb7a5e5092f21f8694c546aff69b07c6d
2013-07-16Changing signature of vp9_get_pred_probs_tx_size.Dmitry Kovalev
Removing VP9_COMMON* argument and adding struct tx_probs* instead of MACROBLOCKD*. Change-Id: Idf61074631a90ec51eac22c8dcd977f44ac0757c
2013-07-16Removing MV_GROUP_UPDATE define and corresponding code.Dmitry Kovalev
Change-Id: I4884cdc2557d25d50c7c4f7e19b1ad8bdb93cd63
2013-07-16Rewriting vp9_set_pred_flag_{seg_id, mbskip}.Dmitry Kovalev
Making implementation of vp9_set_pred_flag_{seg_id, mbskip} consistent with vp9_get_segment_id without using confusing sub(a, b) macro. Passing mi_row and mi_col to functions explicitly instead of replying on mb_to_right_edge and mb_to_bottom_edge. Change-Id: I54c1087dd2ba9036f8ba7eb165b073e807d00435
2013-07-12Using vp9_copy and vp9_zero instead of custom code.Dmitry Kovalev
Change-Id: Id9b6ceeddca3f9b34bfada5c499b1e7a2f42c30b
2013-07-12Merge "Removing redundant call to set_mi_row_col."Dmitry Kovalev
2013-07-12Removing redundant call to set_mi_row_col.Dmitry Kovalev
This function is actually called from set_offsets which is called right before vp9_read_mode_info. Change-Id: Ibb9d5ad606194bc80eab264fad85b31c9dfd8f77
2013-07-12Merge "Adding struct tx_probs and struct tx_counts to cleanup the code."Dmitry Kovalev
2013-07-12Adding struct tx_probs and struct tx_counts to cleanup the code.Dmitry Kovalev
Also removing unused declarations from vp9_entropymode.h file. Change-Id: Ib9c5826db3584a32f6bb3297a76c522b99d83402
2013-07-12Making functions read_{inter, intra}_segment_id more similar.Dmitry Kovalev
Change-Id: I51f9ac910834f2d7aba2be4f7ffbce597e61a144
2013-07-11Removing redundant code mostly from vp9_pred_common.{h, c}.Dmitry Kovalev
Removing redundant function arguments and curly braces. Change-Id: I46e02561f33fe02e84a3b19756f03b9504bd6a1b
2013-07-11Moving segmentation related vars into separate struct.Dmitry Kovalev
Adding segmentation struct to vp9_seg_common.h. Struct members are from macroblockd and VP9Common structs. Moving segmentation related constants and enums to vp9_seg_common.h. Change-Id: I23fabc33f11a359249f5f80d161daf569d02ec03
2013-07-09removing case statements around prediction entropy codingJim Bankoski
Removes SEG_ID Removes MBSKIP Removes SWITCHABLE_INTERP Removes INTRA_INTER Removes COMP_INTER_INTER Removes COMP_REF_P Removes SINGLE_REF_P1 Removes SINGLE_REF_P2 Removes TX_SIZE Change-Id: Ie4520ae1f65c8cac312432c0616cc80dea5bf34b
2013-07-09Removed unnecessary xd->mode_info_context assignmentScott LaVarnway
mi is xd->mode_info_context Change-Id: Ib101be922b695205ec57b5ce1828ba19bde5b41c
2013-07-09cleanup read_mode_info if (1)Jim Bankoski
Change-Id: I851af23c787a2d3637d84244b9f75063cbf782f1
2013-07-09decoder speedup - get-segment-id only if segmentation enabledJim Bankoski
Change-Id: I9355f8446660aeb7dfdbc5ee56635c791ac35e95
2013-07-02Removing redundant struct from union b_mode_info.Dmitry Kovalev
Change-Id: I08fc6e474ff2c12cfa065bae4989c724276e2c83
2013-07-01Additional vp9_decodemv.c cleanup.Dmitry Kovalev
Change-Id: I5b413bc0884af0bda38c05332d86490103905b3b
2013-06-28Cleanup inside vp9_decodemv.c.Dmitry Kovalev
Adding read_skip_coeff function. Renaming decode_mv to read_mv for consistency with another function names. Removing redundant function arguments. Renaming kfread_modes to read_intra_mode_info, read_mb_modes_mv to read_inter_mode_info, vp9_decode_mb_mode_mv to vp9_read_mode_info, vp9_decode_mode_mvs_init to vp9_prepare_read_mode_info. Inlining function mb_mode_mv_init inside vp9_prepare_read_mode_info. Change-Id: Ifee05d333da4cd331d4aff40ce41ccd9b70e494a
2013-06-28Merge "Removing CONFIG_DEBUG checks on assertions."Dmitry Kovalev
2013-06-28Removing CONFIG_DEBUG checks on assertions.Dmitry Kovalev
Adding CHECK_MEM_ERROR macro to vp9_common.h and removing two duplicated ones from vp9_onyx_int.h and vp9_onyxd_int.h. Change-Id: I916afec61b3019f18193135dac7c35ed0f89b8b6
2013-06-27Decoder's code cleanup.Dmitry Kovalev
Using vp9_set_pred_flag function instead of custom code, adding decode_tokens function which is now called from decode_atom, decode_sb_intra, and decode_sb. Change-Id: Ie163a7106c0241099da9c5fe03069bd71f9d9ff8
2013-06-27Merge "General cleanup in segmentation-related code."Dmitry Kovalev
2013-06-27Merge "Moving subexp encoding functions in separate vp9_dsubexp.c file."Dmitry Kovalev
2013-06-26General cleanup in segmentation-related code.Dmitry Kovalev
Using consistent function and variable names. Change-Id: I2deb3fded8797453a2081836c9ce2e79ade06eb7
2013-06-25Renaming "nmv" to "mv".Dmitry Kovalev
Change-Id: I8299f55c3b930221e52c2237f2ddea65b94fd33b
2013-06-25Moving subexp encoding functions in separate vp9_dsubexp.c file.Dmitry Kovalev
Change-Id: Idbb2ea80f764fa830fe2ddcfc54ef7fe232f05a8
2013-06-21Removing find_seg_id and using vp9_get_pred_mi_segid instead.Dmitry Kovalev
Change-Id: Ia40229903c08f14020e90e94cfdf494aba1be827
2013-06-20Merge "Renaming 'nmv' to 'mv' for several functions."Dmitry Kovalev
2013-06-20Merge "Function decomposition inside vp9_decodemv.c file."Dmitry Kovalev
2013-06-19Function decomposition inside vp9_decodemv.c file.Dmitry Kovalev
Change-Id: Iab96e6a50aec543c63e15cd134f9d5f01ca7ceff
2013-06-18Remove unnecessary copying of probs.Yaowu Xu
Change-Id: Ic924f07c6ab0c929c6cdf11880d3c625806e272c
2013-06-18Renaming 'nmv' to 'mv' for several functions.Dmitry Kovalev
Change-Id: I183a38997a9d01e4a1b869e92509f6915216fa09
2013-06-12Remove unused need_to_clamp_mvsJohn Koleszar
This flag no longer needed. Change-Id: If13482015ddb92d225792ea5c0ee455d2285d1f6
2013-06-10New probs for filters/tx_size and a few othersDeb Mukherjee
* New probs for subpel filters/tx_count * Makes a change to not reset to defaults for the tx_size probs if an intermediate frame reverts to using a fixed tx_size. * A few updates to the parameters for backward adaptation for mode/mv * some cosmetic cleanups derf300: +0.06% Change-Id: I22994d659bc31ca7a4fc8820fde24001e64a2920
2013-06-10Implement intra-coded framesAdrian Grange
Implements ability to signal and decode frames that are encoded using only intra coding modes. Only the decode side has been implemented here. Change-Id: I53ac6a8d90422cd08ba389e5236e15b45f9e93de
2013-06-07Coding tx-size selection by use of spatial contextDeb Mukherjee
Adds coding of transform size within a frame by use of context of transform sizes selected in left and above blocks. Also incorporates code for generating stats. TODO: generate and incorporate new default stats Change-Id: I6a7af099f6ad61d448521d9a51167aedaf638ed6
2013-06-07Cleans up mbskip encodingDeb Mukherjee
Refactors mbskip coding to be compatible with coding of the rest of the symbols. Adds forward/backward adaptation and removes a lot of the legacy code. Results: fast50: +1.6% derfraw300: +0.317% Change-Id: I395a2976d15af044d3b8ded5acfa45f6f065f980
2013-06-07Fix ref_frame segment feature when it is intra.Ronald S. Bultje
Change-Id: Ifbf790c14cee0c08a27f6728e3c637404e1f8477
2013-06-07Change to segment ref frame feature.Paul Wilkins
Simplify feature to only support a single reference frame instead of a mask. Change-Id: I5dd3a98c7a224aafb35708850ab82e2f220e68fb
2013-06-07Coding updates for tx-size selectionDeb Mukherjee
Changes to the coding of transform sizes, along with forward and backward probability updates. Results: derf300: +0.241% Context based coding of transform sizes will be in a separate patch. Change-Id: I97241d60a926f014fee2de21fa4446ca56495756
2013-06-06Change ref frame coding.Ronald S. Bultje
Code intra/inter, then comp/single, then the ref frame selection. Use contextualization for all steps. Don't code two past frames in comp pred mode. Change-Id: I4639a78cd5cccb283023265dbcc07898c3e7cf95
2013-06-06New intra mode and partitioning probabilities.Ronald S. Bultje
Split partition probabilities between keyframes and non-keyframes, since they are fairly different. Also have per-blocksize interframe y intramode probabilities, since these vary heavily between different blocksizes. Lastly, replace default probabilities for partitioning and intra modes with new ones generated from current codec. Replace counts with actual probabilities also. Change-Id: I77ca996e25e4a28e03bdbc542f27a3e64ca1234f
2013-06-06Merge "Fix in forward updates for INTRA modes/partitions" into experimentalDeb Mukherjee
2013-06-05Fix in forward updates for INTRA modes/partitionsDeb Mukherjee
Results: derfraw300: +0.2 Change-Id: Ie40dc3b31e877ee705f936066d7fa5702bd01ecd
2013-06-05Cosmetic renaming VP9_MVREFS to VP9_INTER_MODESDeb Mukherjee
NO bitstream change Change-Id: I79f6146dac5fdd157051b6f8dc611c0b7b5e5f7f
2013-06-05Clean-ups on switchable interpolation and mv_refDeb Mukherjee
Adds backward adaptation and differential forward updates of switchable interpolation filter probabilities. Also adds some cosmetic cleanups and minor fixes on mv_ref probabilities. derfraw300: +0.353% (with most coming from switchable interp changes) Change-Id: Ie2718be73528c945fd0d80cfd63ca2d9cb3032de