/external/libvpx/libvpx/vp9/common/ |
D | vp9_pred_common.c | 54 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 …]
|
D | vp9_mvref_common.h | 269 if (has_second_ref(mbmi) && (mbmi)->ref_frame[1] != ref_frame && \
|
D | vp9_blockd.h | 100 static INLINE int has_second_ref(const MODE_INFO *mi) { in has_second_ref() function
|
D | vp9_reconinter.c | 131 const int is_compound = has_second_ref(mi); in build_inter_predictors()
|
/external/libaom/libaom/av1/common/ |
D | pred_common.c | 157 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()
|
D | pred_common.h | 117 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()
|
D | blockd.h | 305 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()
|
D | mvref_common.h | 229 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()
|
D | reconinter.c | 919 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/ |
D | reconinter_enc.h | 69 const int is_compound = has_second_ref(mi); in av1_is_interp_search_needed()
|
D | reconinter_enc.c | 80 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()
|
D | encodemv.c | 221 assert(has_second_ref(mbmi)); in av1_get_ref_mv()
|
D | mbgraph.c | 66 if (has_second_ref(xd->mi[0])) in do_16x16_motion_iteration()
|
D | encodeframe.c | 304 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()
|
D | bitstream.c | 495 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()
|
D | rdopt.c | 6657 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/ |
D | decodemv.c | 1221 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()
|
D | decodeframe.c | 637 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/ |
D | vp9_encodemv.c | 243 for (i = 0; i < 1 + has_second_ref(mi); ++i) { in inc_mvs()
|
D | vp9_rdopt.c | 1441 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()
|
D | vp9_bitstream.c | 201 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()
|
D | vp9_encodeframe.c | 2054 [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/ |
D | vp9_decodemv.c | 484 if (has_second_ref(mbmi) && (mbmi)->ref_frame[1] != ref_frame && \ 705 is_compound = has_second_ref(mi); in read_inter_block_mode_info()
|
D | vp9_decodeframe.c | 707 const int is_compound = has_second_ref(mi); in dec_build_inter_predictors_sb()
|