Home
last modified time | relevance | path

Searched refs:has_second_ref (Results 1 – 25 of 25) 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.h101 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.h122 if (has_second_ref(above_mi)) in get_comp_index_context()
129 if (has_second_ref(left_mi)) in get_comp_index_context()
144 if (has_second_ref(above_mi)) in get_comp_group_idx_context()
150 if (has_second_ref(left_mi)) in get_comp_group_idx_context()
Dblockd.h304 static INLINE int has_second_ref(const MB_MODE_INFO *mbmi) { in has_second_ref() function
309 return has_second_ref(mbmi) && (!((mbmi->ref_frame[0] >= BWDREF_FRAME) ^ in has_uni_comp_refs()
1155 return !has_second_ref(mbmi); in is_motion_variation_allowed_compound()
1177 assert(!has_second_ref(mbmi)); in motion_mode_allowed()
1272 for (ref = 0; ref < 1 + has_second_ref(mbmi); ++ref) { in is_nontrans_global_motion()
Dmvref_common.h221 if (has_second_ref(above_mbmi)) { in av1_collect_neighbors_ref_counts()
229 if (has_second_ref(left_mbmi)) { in av1_collect_neighbors_ref_counts()
Dreconinter.c775 const int is_compound = has_second_ref(mi); in build_inter_predictors_sub8x8()
838 const int is_compound = has_second_ref(mi); in build_inter_predictors_8x8_and_bigger()
1244 const int num_refs = 1 + has_second_ref(above_mbmi); in av1_setup_build_prediction_by_above_pred()
1283 const int num_refs = 1 + has_second_ref(left_mbmi); in av1_setup_build_prediction_by_left_pred()
/external/libaom/libaom/av1/encoder/
Dinterp_search.c22 const int is_comp = has_second_ref(mi); in is_interp_filter_good_match()
66 const int is_comp = has_second_ref(mbmi); in find_interp_filter_in_stats()
562 const int is_compound = has_second_ref(mbmi); in calc_interp_skip_pred_flag()
681 if (has_second_ref(mbmi)) { in av1_interpolation_filter_search()
Dmotion_search_facade.c361 assert(has_second_ref(mbmi)); in av1_joint_motion_search()
549 assert(has_second_ref(mbmi) || (ref_idx == 0 && is_interintra_mode(mbmi))); in av1_compound_single_motion_search()
649 assert(has_second_ref(mbmi)); in build_second_inter_pred()
682 assert(has_second_ref(xd->mi[0])); in av1_compound_single_motion_search_interinter()
Dmv_prec.c28 assert(has_second_ref(mbmi)); in get_ref_mv_for_mv_stats()
200 const int is_compound = has_second_ref(mbmi); in collect_mv_stats_b()
Dencodemv.c252 assert(has_second_ref(mbmi)); in av1_get_ref_mv()
Drdopt.c1060 const int is_comp_pred = has_second_ref(mbmi); in handle_newmv()
1236 const int is_comp_pred = has_second_ref(mbmi); in motion_mode_rd()
1743 const int is_comp_pred = has_second_ref(mbmi); in build_cur_mv()
1836 const int is_comp_pred = has_second_ref(mbmi); in ref_mv_idx_early_breakout()
1892 const int is_comp_pred = has_second_ref(mbmi); in simple_translation_pred_rd()
2021 const double dth = has_second_ref(mbmi) ? 1.05 : 1.001; in ref_mv_idx_to_search()
2057 const int is_cur_comp_pred = has_second_ref(cur_mbmi); in ref_match_found_in_nb_blocks()
2235 const int is_comp_pred = has_second_ref(mbmi); in handle_inter_mode()
3136 if (has_second_ref(mbmi)) in refine_winner_mode_tx()
4049 if (has_second_ref(mbmi)) { in match_ref_frame()
[all …]
Dreconinter_enc.c336 const int is_compound = has_second_ref(mbmi); in build_wedge_inter_predictor_from_buf()
Dencodeframe.c482 for (ref = 0; ref < 1 + has_second_ref(mbmi); ++ref) { in update_global_motion_used()
1190 [has_second_ref(mbmi)]++; in update_stats()
1192 update_cdf(av1_get_reference_mode_cdf(xd), has_second_ref(mbmi), 2); in update_stats()
1196 if (has_second_ref(mbmi)) { in update_stats()
1367 if (has_second_ref(mbmi)) { in update_stats()
1425 if (has_second_ref(mbmi)) { in update_stats()
1470 for (int ref = 0; ref < 1 + has_second_ref(mbmi); ++ref) { in update_stats()
1594 if (has_second_ref(mbmi)) { in encode_b()
1629 assert(has_second_ref(mbmi)); in encode_b()
1643 if (has_second_ref(mbmi)) { in encode_b()
[all …]
Dbitstream.c484 const int is_compound = has_second_ref(mbmi); in write_ref_frames()
1069 assert(has_second_ref(mbmi)); in get_ref_mv()
1090 const int is_compound = has_second_ref(mbmi); in pack_inter_mode_mvs()
1179 if (has_second_ref(mbmi)) { in pack_inter_mode_mvs()
1330 const int is_comp_ref = has_second_ref(mbmi); in enc_dump_logs()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c1234 for (int ref = 0; ref < 1 + has_second_ref(mbmi); ++ref) in dec_dump_logs()
1284 const int is_compound = has_second_ref(mbmi); in read_inter_block_mode_info()
1398 for (int ref = 0; ref < 1 + has_second_ref(mbmi); ++ref) { in read_inter_block_mode_info()
1405 !has_second_ref(mbmi)) { in read_inter_block_mode_info()
1418 if (has_second_ref(mbmi) && !mbmi->skip_mode) { in read_inter_block_mode_info()
Ddecodeframe.c861 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.c1582 const int is_compound = has_second_ref(mi); in set_and_cost_bmi_mvs()
1643 const int is_compound = has_second_ref(mi); in encode_inter_mb_segment()
1785 if (has_second_ref(mi)) in mi_buf_shift()
1796 if (has_second_ref(mi)) x->e_mbd.plane[0].pre[1] = orig_pre[1]; in mi_buf_restore()
2026 const int has_second_rf = has_second_ref(mi); in rd_pick_best_sub8x8_mode()
2324 if (has_second_ref(mi)) in rd_pick_best_sub8x8_mode()
2737 const int is_comp_pred = has_second_ref(mi); in handle_inter_mode()
Dvp9_bitstream.c206 const int is_compound = has_second_ref(mi); in write_ref_frames()
253 const int is_compound = has_second_ref(mi); in pack_inter_mode_mvs()
Dvp9_encodeframe.c2132 [has_second_ref(mi)]++; in update_stats()
2134 if (has_second_ref(mi)) { in update_stats()
6408 const int is_compound = has_second_ref(mi); in encode_superblock()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c473 if (has_second_ref(mbmi) && (mbmi)->ref_frame[1] != ref_frame && \
702 is_compound = has_second_ref(mi); in read_inter_block_mode_info()
Dvp9_decodeframe.c724 const int is_compound = has_second_ref(mi); in dec_build_inter_predictors_sb()