Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.c47 const int has_above = !!above_mi; in vp9_get_reference_mode_context() local
53 if (has_above && has_left) { // both edges available in vp9_get_reference_mode_context()
68 } else if (has_above || has_left) { // one edge available in vp9_get_reference_mode_context()
69 const MODE_INFO *edge_mi = has_above ? above_mi : left_mi; in vp9_get_reference_mode_context()
171 const int has_above = !!above_mi; in vp9_get_pred_context_single_ref_p1() local
177 if (has_above && has_left) { // both edges available in vp9_get_pred_context_single_ref_p1()
214 } else if (has_above || has_left) { // one edge available in vp9_get_pred_context_single_ref_p1()
215 const MODE_INFO *edge_mi = has_above ? above_mi : left_mi; in vp9_get_pred_context_single_ref_p1()
237 const int has_above = !!above_mi; in vp9_get_pred_context_single_ref_p2() local
244 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()
160 const int has_above = !!above_mi; in get_tx_size_context() local
163 (has_above && !above_mi->skip) ? (int)above_mi->tx_size : max_tx_size; in get_tx_size_context()
168 if (!has_above) above_ctx = left_ctx; in get_tx_size_context()
/external/libaom/libaom/av1/common/
Dpred_common.c127 const int has_above = xd->up_available; in av1_get_intra_inter_context() local
130 if (has_above && has_left) { // both edges available in av1_get_intra_inter_context()
134 } else if (has_above || has_left) { // one edge available in av1_get_intra_inter_context()
135 return 2 * !is_inter_block(has_above ? above_mbmi : left_mbmi); in av1_get_intra_inter_context()
149 const int has_above = xd->up_available; in av1_get_reference_mode_context() local
156 if (has_above && has_left) { // both edges available in av1_get_reference_mode_context()
171 } else if (has_above || has_left) { // one edge available in av1_get_reference_mode_context()
172 const MB_MODE_INFO *edge_mbmi = has_above ? above_mbmi : left_mbmi; in av1_get_reference_mode_context()
Dpred_common.h336 const int has_above = xd->up_available; in get_tx_size_context() local
342 if (has_above) in get_tx_size_context()
350 if (has_above && has_left) in get_tx_size_context()
352 else if (has_above) in get_tx_size_context()
/external/libaom/libaom/av1/encoder/
Dpartition_strategy.c289 const int has_above = !!xd->above_mbmi; in simple_motion_search_prune_part_features() local
291 const BLOCK_SIZE above_bsize = has_above ? xd->above_mbmi->sb_type : bsize; in simple_motion_search_prune_part_features()
293 features[f_idx++] = (float)has_above; in simple_motion_search_prune_part_features()
508 const int has_above = !!xd->above_mbmi; in firstpass_simple_motion_search_features() local
510 const BLOCK_SIZE above_bsize = has_above ? xd->above_mbmi->sb_type : bsize; in firstpass_simple_motion_search_features()
512 features[f_idx++] = (float)has_above; in firstpass_simple_motion_search_features()