Home
last modified time | relevance | path

Searched refs:has_second_ref (Results 1 – 24 of 24) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.c54 if (!has_second_ref(above_mi) && !has_second_ref(left_mi)) in vp9_get_reference_mode_context()
58 else if (!has_second_ref(above_mi)) in vp9_get_reference_mode_context()
62 else if (!has_second_ref(left_mi)) in vp9_get_reference_mode_context()
71 if (!has_second_ref(edge_mi)) in vp9_get_reference_mode_context()
109 if (!has_second_ref(edge_mi)) // single pred (1/3) in vp9_get_pred_context_comp_ref_p()
115 const int l_sg = !has_second_ref(left_mi); in vp9_get_pred_context_comp_ref_p()
116 const int a_sg = !has_second_ref(above_mi); in vp9_get_pred_context_comp_ref_p()
153 if (has_second_ref(edge_mi)) in vp9_get_pred_context_comp_ref_p()
185 if (!has_second_ref(edge_mi)) in vp9_get_pred_context_single_ref_p1()
191 const int above_has_second = has_second_ref(above_mi); in vp9_get_pred_context_single_ref_p1()
[all …]
Dvp9_mvref_common.h269 if (has_second_ref(mbmi) && (mbmi)->ref_frame[1] != ref_frame && \
Dvp9_blockd.h100 static INLINE int has_second_ref(const MODE_INFO *mi) { in has_second_ref() function
Dvp9_reconinter.c131 const int is_compound = has_second_ref(mi); in build_inter_predictors()
/external/libaom/libaom/av1/common/
Dpred_common.c157 if (!has_second_ref(above_mbmi) && !has_second_ref(left_mbmi)) in av1_get_reference_mode_context()
161 else if (!has_second_ref(above_mbmi)) in av1_get_reference_mode_context()
165 else if (!has_second_ref(left_mbmi)) in av1_get_reference_mode_context()
174 if (!has_second_ref(edge_mbmi)) in av1_get_reference_mode_context()
203 if (!has_second_ref(inter_mbmi)) // single pred in av1_get_comp_reference_type_context()
208 const int a_sg = !has_second_ref(above_mbmi); in av1_get_comp_reference_type_context()
209 const int l_sg = !has_second_ref(left_mbmi); in av1_get_comp_reference_type_context()
244 if (!has_second_ref(edge_mbmi)) // single pred in av1_get_comp_reference_type_context()
Dpred_common.h117 if (has_second_ref(above_mi)) in get_comp_index_context()
124 if (has_second_ref(left_mi)) in get_comp_index_context()
139 if (has_second_ref(above_mi)) in get_comp_group_idx_context()
145 if (has_second_ref(left_mi)) in get_comp_group_idx_context()
Dblockd.h305 static INLINE int has_second_ref(const MB_MODE_INFO *mbmi) { in has_second_ref() function
310 return has_second_ref(mbmi) && (!((mbmi->ref_frame[0] >= BWDREF_FRAME) ^ in has_uni_comp_refs()
1014 if (!has_second_ref(mbmi)) in is_motion_variation_allowed_compound()
1039 assert(!has_second_ref(mbmi)); in motion_mode_allowed()
1146 for (ref = 0; ref < 1 + has_second_ref(mbmi); ++ref) { in is_nontrans_global_motion()
Dmvref_common.h229 if (has_second_ref(above_mbmi)) { in av1_collect_neighbors_ref_counts()
237 if (has_second_ref(left_mbmi)) { in av1_collect_neighbors_ref_counts()
Dreconinter.c919 const int num_refs = 1 + has_second_ref(above_mbmi); in av1_setup_build_prediction_by_above_pred()
957 const int num_refs = 1 + has_second_ref(left_mbmi); in av1_setup_build_prediction_by_left_pred()
/external/libaom/libaom/av1/encoder/
Dreconinter_enc.h69 const int is_compound = has_second_ref(mi); in av1_is_interp_search_needed()
Dreconinter_enc.c80 int is_compound = has_second_ref(mi); in build_inter_predictors()
136 is_compound = has_second_ref(this_mbmi); in build_inter_predictors()
547 const int is_compound = has_second_ref(mbmi); in build_wedge_inter_predictor_from_buf()
Dencodemv.c221 assert(has_second_ref(mbmi)); in av1_get_ref_mv()
Dmbgraph.c66 if (has_second_ref(xd->mi[0])) in do_16x16_motion_iteration()
Dencodeframe.c304 for (ref = 0; ref < 1 + has_second_ref(mbmi); ++ref) { in update_global_motion_used()
1015 assert(has_second_ref(mbmi)); in update_stats()
1042 if (has_second_ref(mbmi)) in update_stats()
1048 [has_second_ref(mbmi)]++; in update_stats()
1051 update_cdf(av1_get_reference_mode_cdf(xd), has_second_ref(mbmi), in update_stats()
1057 if (has_second_ref(mbmi)) { in update_stats()
1268 if (has_second_ref(mbmi)) { in update_stats()
1332 if (has_second_ref(mbmi)) { in update_stats()
1500 if (has_second_ref(mbmi)) { in encode_b()
6003 const int is_compound = has_second_ref(mbmi); in encode_superblock()
Dbitstream.c495 const int is_compound = has_second_ref(mbmi); in write_ref_frames()
1050 const int is_compound = has_second_ref(mbmi); in pack_inter_mode_mvs()
1140 if (has_second_ref(mbmi)) { in pack_inter_mode_mvs()
1289 const int is_comp_ref = has_second_ref(mbmi); in enc_dump_logs()
Drdopt.c6657 assert(has_second_ref(mbmi)); in joint_motion_search()
7282 assert(has_second_ref(mbmi)); in build_second_inter_pred()
7331 assert(has_second_ref(mbmi) || (ref_idx == 0 && is_interintra_mode(mbmi))); in compound_single_motion_search()
7426 assert(has_second_ref(xd->mi[0])); in compound_single_motion_search_interinter()
8113 const int is_comp_pred = has_second_ref(mbmi); in handle_newmv()
8491 if (has_second_ref(mi) && st->comp_type != mi->interinter_comp.type) return 0; in is_interp_filter_match()
8707 if (has_second_ref(mbmi)) { in interpolation_filter_search()
8730 const int is_compound = has_second_ref(mbmi); in interpolation_filter_search()
9351 const int is_comp_pred = has_second_ref(mbmi); in motion_mode_rd()
9803 const int is_comp_pred = has_second_ref(mbmi); in build_cur_mv()
[all …]
/external/libaom/libaom/av1/decoder/
Ddecodemv.c1221 for (int ref = 0; ref < 1 + has_second_ref(mbmi); ++ref) in dec_dump_logs()
1270 const int is_compound = has_second_ref(mbmi); in read_inter_block_mode_info()
1388 for (int ref = 0; ref < 1 + has_second_ref(mbmi); ++ref) { in read_inter_block_mode_info()
1395 !has_second_ref(mbmi)) in read_inter_block_mode_info()
1407 if (has_second_ref(mbmi) && !mbmi->skip_mode) { in read_inter_block_mode_info()
Ddecodeframe.c637 int is_compound = has_second_ref(mi); in dec_build_inter_predictors()
694 is_compound = has_second_ref(this_mbmi); in dec_build_inter_predictors()
1060 for (int ref = 0; ref < 1 + has_second_ref(mbmi); ++ref) { in predict_inter_block()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemv.c243 for (i = 0; i < 1 + has_second_ref(mi); ++i) { in inc_mvs()
Dvp9_rdopt.c1441 const int is_compound = has_second_ref(mi); in set_and_cost_bmi_mvs()
1502 const int is_compound = has_second_ref(mi); in encode_inter_mb_segment()
1642 if (has_second_ref(mi)) in mi_buf_shift()
1653 if (has_second_ref(mi)) x->e_mbd.plane[0].pre[1] = orig_pre[1]; in mi_buf_restore()
1883 const int has_second_rf = has_second_ref(mi); in rd_pick_best_sub8x8_mode()
2181 if (has_second_ref(mi)) in rd_pick_best_sub8x8_mode()
2599 const int is_comp_pred = has_second_ref(mi); in handle_inter_mode()
Dvp9_bitstream.c201 const int is_compound = has_second_ref(mi); in write_ref_frames()
248 const int is_compound = has_second_ref(mi); in pack_inter_mode_mvs()
Dvp9_encodeframe.c2054 [has_second_ref(mi)]++; in update_stats()
2056 if (has_second_ref(mi)) { in update_stats()
6115 const int is_compound = has_second_ref(mi); in encode_superblock()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c484 if (has_second_ref(mbmi) && (mbmi)->ref_frame[1] != ref_frame && \
705 is_compound = has_second_ref(mi); in read_inter_block_mode_info()
Dvp9_decodeframe.c707 const int is_compound = has_second_ref(mi); in dec_build_inter_predictors_sb()