Home
last modified time | relevance | path

Searched refs:has_above (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.c49 const int has_above = xd->up_available; in vp9_get_intra_inter_context() local
52 if (has_above && has_left) { // both edges available in vp9_get_intra_inter_context()
57 } else if (has_above || has_left) { // one edge available in vp9_get_intra_inter_context()
58 return 2 * !is_inter_block(has_above ? above_mbmi : left_mbmi); in vp9_get_intra_inter_context()
69 const int has_above = xd->up_available; in vp9_get_reference_mode_context() local
75 if (has_above && has_left) { // both edges available in vp9_get_reference_mode_context()
90 } else if (has_above || has_left) { // one edge available in vp9_get_reference_mode_context()
91 const MB_MODE_INFO *edge_mbmi = has_above ? above_mbmi : left_mbmi; in vp9_get_reference_mode_context()
193 const int has_above = xd->up_available; in vp9_get_pred_context_single_ref_p1() local
199 if (has_above && has_left) { // both edges available in vp9_get_pred_context_single_ref_p1()
[all …]
Dvp9_pred_common.h116 const int has_above = xd->up_available; in get_tx_size_context() local
118 int above_ctx = (has_above && !above_mbmi->skip) ? (int)above_mbmi->tx_size in get_tx_size_context()
125 if (!has_above) in get_tx_size_context()