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.c21 const int has_above = !!above_mi; in vp9_get_reference_mode_context() local
27 if (has_above && has_left) { // both edges available in vp9_get_reference_mode_context()
42 } else if (has_above || has_left) { // one edge available in vp9_get_reference_mode_context()
43 const MODE_INFO *edge_mi = has_above ? above_mi : left_mi; in vp9_get_reference_mode_context()
145 const int has_above = !!above_mi; in vp9_get_pred_context_single_ref_p1() local
151 if (has_above && has_left) { // both edges available in vp9_get_pred_context_single_ref_p1()
188 } else if (has_above || has_left) { // one edge available in vp9_get_pred_context_single_ref_p1()
189 const MODE_INFO *edge_mi = has_above ? above_mi : left_mi; in vp9_get_pred_context_single_ref_p1()
211 const int has_above = !!above_mi; in vp9_get_pred_context_single_ref_p2() local
218 if (has_above && has_left) { // both edges available in vp9_get_pred_context_single_ref_p2()
[all …]
Dvp9_pred_common.h100 const int has_above = !!above_mi; in get_intra_inter_context() local
103 if (has_above && has_left) { // both edges available in get_intra_inter_context()
107 } else if (has_above || has_left) { // one edge available in get_intra_inter_context()
108 return 2 * !is_inter_block(has_above ? above_mi : left_mi); in get_intra_inter_context()
156 const int has_above = !!above_mi; in get_tx_size_context() local
159 (has_above && !above_mi->skip) ? (int)above_mi->tx_size : max_tx_size; in get_tx_size_context()
164 if (!has_above) above_ctx = left_ctx; in get_tx_size_context()