Lines Matching refs:above_mbmi
78 (row % (1 << MIN_SB_SIZE_LOG2)) ? xd->above_mbmi : NULL; in av1_get_palette_cache()
125 const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; in av1_get_intra_inter_context() local
131 const int above_intra = !is_inter_block(above_mbmi); in av1_get_intra_inter_context()
135 return 2 * !is_inter_block(has_above ? above_mbmi : left_mbmi); in av1_get_intra_inter_context()
147 const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; in av1_get_reference_mode_context() local
157 if (!has_second_ref(above_mbmi) && !has_second_ref(left_mbmi)) in av1_get_reference_mode_context()
159 ctx = IS_BACKWARD_REF_FRAME(above_mbmi->ref_frame[0]) ^ in av1_get_reference_mode_context()
161 else if (!has_second_ref(above_mbmi)) in av1_get_reference_mode_context()
163 ctx = 2 + (IS_BACKWARD_REF_FRAME(above_mbmi->ref_frame[0]) || in av1_get_reference_mode_context()
164 !is_inter_block(above_mbmi)); 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()
189 const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; in av1_get_comp_reference_type_context() local
195 const int above_intra = !is_inter_block(above_mbmi); in av1_get_comp_reference_type_context()
201 const MB_MODE_INFO *inter_mbmi = above_intra ? left_mbmi : above_mbmi; in av1_get_comp_reference_type_context()
208 const int a_sg = !has_second_ref(above_mbmi); in av1_get_comp_reference_type_context()
210 const MV_REFERENCE_FRAME frfa = above_mbmi->ref_frame[0]; in av1_get_comp_reference_type_context()
218 a_sg ? has_uni_comp_refs(left_mbmi) : has_uni_comp_refs(above_mbmi); in av1_get_comp_reference_type_context()
226 const int a_uni_rfc = has_uni_comp_refs(above_mbmi); in av1_get_comp_reference_type_context()
239 const MB_MODE_INFO *edge_mbmi = above_in_image ? above_mbmi : left_mbmi; in av1_get_comp_reference_type_context()