Home
last modified time | relevance | path

Searched refs:ALTREF_FRAME (Results 1 – 25 of 46) sorted by relevance

12

/external/libaom/libaom/av1/common/
Dmvref_common.h144 { LAST_FRAME, ALTREF_FRAME }, { LAST2_FRAME, ALTREF_FRAME },
145 { LAST3_FRAME, ALTREF_FRAME }, { GOLDEN_FRAME, ALTREF_FRAME },
148 { LAST_FRAME, GOLDEN_FRAME }, { BWDREF_FRAME, ALTREF_FRAME },
155 { ALTREF2_FRAME, ALTREF_FRAME }
Dpred_common.h119 else if (above_mi->ref_frame[0] == ALTREF_FRAME) in get_comp_index_context()
126 else if (left_mi->ref_frame[0] == ALTREF_FRAME) in get_comp_index_context()
141 else if (above_mi->ref_frame[0] == ALTREF_FRAME) in get_comp_group_idx_context()
147 else if (left_mi->ref_frame[0] == ALTREF_FRAME) in get_comp_group_idx_context()
Dpred_common.c142 (((ref_frame) >= BWDREF_FRAME) && ((ref_frame) <= ALTREF_FRAME))
273 ref_counts[ALTREF_FRAME]; in av1_get_pred_context_uni_comp_ref_p()
391 const int arf_count = ref_counts[ALTREF_FRAME]; in get_pred_context_brfarf2_or_arf()
463 ref_counts[ALTREF_FRAME]; in av1_get_pred_context_single_ref_p1()
Denums.h560 ALTREF_FRAME, enumerator
569 INTER_REFS_PER_FRAME = ALTREF_FRAME - LAST_FRAME + 1,
575 BWD_REFS = ALTREF_FRAME - BWDREF_FRAME + 1,
Dmvref_common.c870 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in av1_setup_frame_buf_refs()
879 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in av1_setup_frame_sign_bias()
1025 for (int ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ref_frame++) { in av1_setup_motion_field()
1046 ->ref_order_hints[ALTREF_FRAME - LAST_FRAME]; in av1_setup_motion_field()
1067 ref_order_hint[ALTREF_FRAME - LAST_FRAME], in av1_setup_motion_field()
1070 if (motion_field_projection(cm, ALTREF_FRAME, 0)) --ref_stamp; in av1_setup_motion_field()
1450 set_ref_frame_info(remapped_ref_idx, ALTREF_FRAME - LAST_FRAME, in av1_set_frame_refs()
1452 ref_flag_list[ALTREF_FRAME - LAST_FRAME] = 1; in av1_set_frame_refs()
1500 LAST2_FRAME, LAST3_FRAME, BWDREF_FRAME, ALTREF2_FRAME, ALTREF_FRAME in av1_set_frame_refs()
Dentropymode.c1047 ref_deltas[ALTREF_FRAME] = -1; in av1_set_default_ref_deltas()
1075 for (int i = LAST_FRAME; i <= ALTREF_FRAME; ++i) { in av1_setup_frame_contexts()
/external/libaom/libaom/av1/encoder/
Dencode_strategy.c209 ? get_ref_frame_map_idx(cm, ALTREF_FRAME) in check_show_existing_frame()
251 const RefCntBuffer *alt_buf = get_ref_frame_buf(cm, ALTREF_FRAME); in get_ref_frame_flags()
362 for (int ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ref_frame++) { in choose_primary_ref_frame()
382 : get_ref_frame_map_idx(cm, ALTREF_FRAME); in update_fb_of_context_type()
710 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in dump_ref_frame_images()
797 assign_new_map(cm, new_map, ALTREF_FRAME, GOLDEN_FRAME); in update_ref_frame_map()
798 assign_new_map(cm, new_map, GOLDEN_FRAME, ALTREF_FRAME); in update_ref_frame_map()
875 << get_ref_frame_map_idx(cm, ALTREF_FRAME); in get_refresh_frame_flags()
881 << get_ref_frame_map_idx(cm, ALTREF_FRAME); in get_refresh_frame_flags()
900 refresh_mask |= 1 << get_ref_frame_map_idx(cm, ALTREF_FRAME); in get_refresh_frame_flags()
[all …]
Dmbgraph.c211 do_16x16_zerozero_search(cpi, &stats->ref[ALTREF_FRAME].m.mv); in update_mbgraph_mb_stats()
213 stats->ref[ALTREF_FRAME].err = a_motion_error; in update_mbgraph_mb_stats()
215 stats->ref[ALTREF_FRAME].err = INT_MAX; in update_mbgraph_mb_stats()
216 stats->ref[ALTREF_FRAME].m.mv.as_int = 0; in update_mbgraph_mb_stats()
313 int altref_err = mb_stats->ref[ALTREF_FRAME].err; in separate_arf_mbs()
Drdopt.c208 { NEARESTMV, { ALTREF_FRAME, NONE_FRAME } },
216 { NEWMV, { ALTREF_FRAME, NONE_FRAME } },
224 { NEARMV, { ALTREF_FRAME, NONE_FRAME } },
233 { GLOBALMV, { ALTREF_FRAME, NONE_FRAME } },
237 { NEAREST_NEARESTMV, { LAST_FRAME, ALTREF_FRAME } },
238 { NEAREST_NEARESTMV, { LAST2_FRAME, ALTREF_FRAME } },
239 { NEAREST_NEARESTMV, { LAST3_FRAME, ALTREF_FRAME } },
240 { NEAREST_NEARESTMV, { GOLDEN_FRAME, ALTREF_FRAME } },
253 { NEAREST_NEARESTMV, { BWDREF_FRAME, ALTREF_FRAME } },
255 { NEAR_NEARMV, { LAST_FRAME, ALTREF_FRAME } },
[all …]
Dpartition_strategy.c222 cpi->ref_frame_flags & av1_ref_frame_flag_list[ALTREF_FRAME]); in simple_motion_search_prune_part_features()
225 const int ref_list[] = { LAST_FRAME, ALTREF_FRAME }; in simple_motion_search_prune_part_features()
465 cpi->ref_frame_flags & av1_ref_frame_flag_list[ALTREF_FRAME]); in firstpass_simple_motion_search_features()
468 const int ref_list[] = { LAST_FRAME, ALTREF_FRAME }; in firstpass_simple_motion_search_features()
Dbitstream.c540 assert(mbmi->ref_frame[1] == ALTREF_FRAME); in write_ref_frames()
560 const int bit_bwd = mbmi->ref_frame[1] == ALTREF_FRAME; in write_ref_frames()
568 const int bit0 = (mbmi->ref_frame[0] <= ALTREF_FRAME && in write_ref_frames()
573 const int bit1 = mbmi->ref_frame[0] == ALTREF_FRAME; in write_ref_frames()
2292 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in write_frame_size_with_refs()
2695 for (frame = LAST_FRAME; frame <= ALTREF_FRAME; ++frame) { in write_global_motion()
2730 for (int ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in check_frame_refs_short_signaling()
2782 for (int ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in check_frame_refs_short_signaling()
2987 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in write_uncompressed_header_obu()
/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.c27 cm->comp_fixed_ref = ALTREF_FRAME; in vp9_setup_compound_reference_mode()
31 cm->ref_frame_sign_bias[ALTREF_FRAME]) { in vp9_setup_compound_reference_mode()
34 cm->comp_var_ref[1] = ALTREF_FRAME; in vp9_setup_compound_reference_mode()
38 cm->comp_var_ref[1] = ALTREF_FRAME; in vp9_setup_compound_reference_mode()
283 else if (rfs == ALTREF_FRAME) in vp9_get_pred_context_single_ref_p2()
Dvp9_blockd.h61 #define ALTREF_FRAME 3 macro
Dvp9_entropymode.c419 lf->ref_deltas[ALTREF_FRAME] = -1; in set_default_lf_deltas()
/external/libvpx/libvpx/vp8/encoder/
Dbitstream.c390 rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_convert_rfct_to_prob()
401 cpi->prob_gf_coded = (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_convert_rfct_to_prob()
403 (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_convert_rfct_to_prob()
791 ref_frame_cost[ALTREF_FRAME] = vp8_cost_one(prob_intra) + in vp8_calc_ref_frame_costs()
802 rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_estimate_entropy_savings()
813 new_garf = (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_estimate_entropy_savings()
815 (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_estimate_entropy_savings()
823 rfct[ALTREF_FRAME] * ref_frame_cost[ALTREF_FRAME]; in vp8_estimate_entropy_savings()
832 rfct[ALTREF_FRAME] * ref_frame_cost[ALTREF_FRAME]; in vp8_estimate_entropy_savings()
1218 vp8_write_bit(bc, pc->ref_frame_sign_bias[ALTREF_FRAME]); in vp8_pack_bitstream()
Drdopt.h98 plane[ALTREF_FRAME], recon_yoffset, recon_uvoffset); in get_predictor_pointers()
109 if (cpi->ref_frame_flags & VP8_ALTR_FRAME) ref_frame_map[i++] = ALTREF_FRAME; in get_reference_search_order()
Dsegmentation.c36 (this_mb_mode_info->mbmi.ref_frame == ALTREF_FRAME)) { in vp8_update_gf_useage_maps()
Dratectrl.c390 cpi->recent_ref_frame_usage[ALTREF_FRAME]; in calc_gf_params()
397 cpi->recent_ref_frame_usage[ALTREF_FRAME]) * in calc_gf_params()
894 cpi->recent_ref_frame_usage[ALTREF_FRAME]; in calc_pframe_target_size()
901 cpi->recent_ref_frame_usage[ALTREF_FRAME]) * in calc_pframe_target_size()
Donyx_if.c669 cpi->mb.e_mbd.ref_lf_deltas[ALTREF_FRAME] = -2; in set_default_lf_deltas()
1797 cpi->recent_ref_frame_usage[ALTREF_FRAME] = 1; in vp8_create_compressor()
1800 cpi->common.ref_frame_sign_bias[ALTREF_FRAME] = 1; in vp8_create_compressor()
2619 cpi->recent_ref_frame_usage[ALTREF_FRAME] = 1; in update_golden_frame_stats()
2651 cpi->recent_ref_frame_usage[ALTREF_FRAME] += in update_golden_frame_stats()
2652 cpi->mb.count_mb_ref_frame_usage[ALTREF_FRAME]; in update_golden_frame_stats()
2666 rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in update_rd_ref_frame_probs()
2872 cpi->current_ref_frames[ALTREF_FRAME] = cm->current_video_frame; in update_reference_frames()
2881 cpi->current_ref_frames[ALTREF_FRAME] = cm->current_video_frame; in update_reference_frames()
2891 cpi->current_ref_frames[ALTREF_FRAME] = in update_reference_frames()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mbgraph.c203 do_16x16_zerozero_search(cpi, &stats->ref[ALTREF_FRAME].m.mv); in update_mbgraph_mb_stats()
205 stats->ref[ALTREF_FRAME].err = a_motion_error; in update_mbgraph_mb_stats()
207 stats->ref[ALTREF_FRAME].err = INT_MAX; in update_mbgraph_mb_stats()
208 stats->ref[ALTREF_FRAME].m.mv.as_int = 0; in update_mbgraph_mb_stats()
314 int altref_err = mb_stats->ref[ALTREF_FRAME].err; in separate_arf_mbs()
Dvp9_rdopt.c46 ((1 << GOLDEN_FRAME) | (1 << ALTREF_FRAME) | (1 << INTRA_FRAME))
48 ((1 << LAST_FRAME) | (1 << ALTREF_FRAME) | (1 << INTRA_FRAME))
52 #define SECOND_REF_FRAME_MASK ((1 << ALTREF_FRAME) | 0x01)
85 { NEARESTMV, { ALTREF_FRAME, NONE } },
91 { NEWMV, { ALTREF_FRAME, NONE } },
95 { NEARMV, { ALTREF_FRAME, NONE } },
100 { ZEROMV, { ALTREF_FRAME, NONE } },
102 { NEARESTMV, { LAST_FRAME, ALTREF_FRAME } },
103 { NEARESTMV, { GOLDEN_FRAME, ALTREF_FRAME } },
107 { NEARMV, { LAST_FRAME, ALTREF_FRAME } },
[all …]
Dvp9_pickmode.c1179 ref_frame_cost[ALTREF_FRAME] = vp9_cost_bit(intra_inter_p, 1); in init_ref_frame_cost()
1183 ref_frame_cost[ALTREF_FRAME] += vp9_cost_bit(ref_single_p1, 1); in init_ref_frame_cost()
1185 ref_frame_cost[ALTREF_FRAME] += vp9_cost_bit(ref_single_p2, 1); in init_ref_frame_cost()
1199 { ALTREF_FRAME, ZEROMV }, { ALTREF_FRAME, NEARESTMV },
1200 { ALTREF_FRAME, NEARMV }, { ALTREF_FRAME, NEWMV }
1838 usable_ref_frame = ALTREF_FRAME; in vp9_pick_inter_mode()
1848 skip_ref_find_pred[ALTREF_FRAME] = 1; in vp9_pick_inter_mode()
1900 cpi->sf.use_compound_nonrd_pickmode && usable_ref_frame == ALTREF_FRAME) in vp9_pick_inter_mode()
1972 second_ref_frame = ALTREF_FRAME; in vp9_pick_inter_mode()
2031 (ref_frame != ALTREF_FRAME || in vp9_pick_inter_mode()
[all …]
Dvp9_svc_layercontext.c454 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ref_frame++) { in reset_fb_idx_unused()
470 else if (first_ref != ALTREF_FRAME && in reset_fb_idx_unused()
471 !(cpi->ref_frame_flags & flag_list[ALTREF_FRAME]) && in reset_fb_idx_unused()
727 (uint8_t)(cpi->ref_frame_flags & flag_list[ALTREF_FRAME]); in vp9_copy_flags_ref_update_idx()
1005 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in vp9_svc_constrain_inter_layer_pred()
Dvp9_encoder.c605 if (ref_frame[i] == ALTREF_FRAME && cpi->sf.use_nonrd_pick_mode) in apply_roi_map()
1161 vp9_set_segdata(seg, 1, SEG_LVL_REF_FRAME, ALTREF_FRAME); in configure_static_seg_features()
1189 vp9_set_segdata(seg, 0, SEG_LVL_REF_FRAME, ALTREF_FRAME); in configure_static_seg_features()
1191 vp9_set_segdata(seg, 1, SEG_LVL_REF_FRAME, ALTREF_FRAME); in configure_static_seg_features()
1406 cpi->alt_fb_idx = cpi->ref_fb_idx[ALTREF_FRAME - 1]; in init_buffer_indices()
2704 ref_frame = ALTREF_FRAME; in get_vp9_ref_frame_buffer()
3042 memcpy(cpi->interp_filter_selected[ALTREF_FRAME],
3058 cpi->interp_filter_selected[ALTREF_FRAME],
3059 sizeof(cpi->interp_filter_selected[ALTREF_FRAME]));
3163 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) {
[all …]
/external/libvpx/libvpx/vp8/common/
Dblockd.h137 ALTREF_FRAME = 3, enumerator

12