Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/encoder/
Dvp9_mbgraph.c224 &stats->ref[ALTREF_FRAME].m.mv); in update_mbgraph_mb_stats()
226 stats->ref[ALTREF_FRAME].err = a_motion_error; in update_mbgraph_mb_stats()
228 stats->ref[ALTREF_FRAME].err = INT_MAX; in update_mbgraph_mb_stats()
229 stats->ref[ALTREF_FRAME].m.mv.as_int = 0; in update_mbgraph_mb_stats()
328 int altref_err = mb_stats->ref[ALTREF_FRAME].err; in separate_arf_mbs()
Dvp9_rdopt.c45 #define LAST_FRAME_MODE_MASK ((1 << GOLDEN_FRAME) | (1 << ALTREF_FRAME) | \
47 #define GOLDEN_FRAME_MODE_MASK ((1 << LAST_FRAME) | (1 << ALTREF_FRAME) | \
52 #define SECOND_REF_FRAME_MASK ((1 << ALTREF_FRAME) | 0x01)
84 {NEARESTMV, {ALTREF_FRAME, NONE}},
90 {NEWMV, {ALTREF_FRAME, NONE}},
94 {NEARMV, {ALTREF_FRAME, NONE}},
99 {ZEROMV, {ALTREF_FRAME, NONE}},
101 {NEARESTMV, {LAST_FRAME, ALTREF_FRAME}},
102 {NEARESTMV, {GOLDEN_FRAME, ALTREF_FRAME}},
106 {NEARMV, {LAST_FRAME, ALTREF_FRAME}},
[all …]
Dvp9_encoder.c551 vp9_set_segdata(seg, 1, SEG_LVL_REF_FRAME, ALTREF_FRAME); in configure_static_seg_features()
579 vp9_set_segdata(seg, 0, SEG_LVL_REF_FRAME, ALTREF_FRAME); in configure_static_seg_features()
581 vp9_set_segdata(seg, 1, SEG_LVL_REF_FRAME, ALTREF_FRAME); in configure_static_seg_features()
2407 ref_frame = ALTREF_FRAME; in get_vp9_ref_frame_buffer()
2725 memcpy(cpi->interp_filter_selected[ALTREF_FRAME],
2739 cpi->interp_filter_selected[ALTREF_FRAME],
2740 sizeof(cpi->interp_filter_selected[ALTREF_FRAME]));
2819 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) {
2906 for (i = LAST_FRAME; i <= ALTREF_FRAME; ++i) {
3197 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) {
[all …]
Dvp9_denoiser.c416 copy_frame(&denoiser->running_avg_y[ALTREF_FRAME], in vp9_denoiser_update_frame_info()
429 swap_frame_buffer(&denoiser->running_avg_y[ALTREF_FRAME], in vp9_denoiser_update_frame_info()
Dvp9_bitstream.c995 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in write_frame_size_with_refs()
1123 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in write_uncompressed_header()
Dvp9_pickmode.c1035 ref_frame_cost[ALTREF_FRAME] = vp9_cost_bit(intra_inter_p, 1); in init_ref_frame_cost()
1039 ref_frame_cost[ALTREF_FRAME] += vp9_cost_bit(ref_single_p1, 1); in init_ref_frame_cost()
1041 ref_frame_cost[ALTREF_FRAME] += vp9_cost_bit(ref_single_p2, 1); in init_ref_frame_cost()
Dvp9_encodeframe.c2903 return ALTREF_FRAME; in get_frame_type()
4012 if ((cm->ref_frame_sign_bias[ALTREF_FRAME] == in vp9_encode_frame()
4014 (cm->ref_frame_sign_bias[ALTREF_FRAME] == in vp9_encode_frame()
4019 cm->comp_fixed_ref = ALTREF_FRAME; in vp9_encode_frame()
4041 const int is_alt_ref = frame_type == ALTREF_FRAME; in vp9_encode_frame()
/external/libvpx/libvpx/vp8/encoder/
Dbitstream.c499 const int rf_inter = rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_convert_rfct_to_prob()
510 cpi->prob_gf_coded = (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_convert_rfct_to_prob()
511 ? (rfct[GOLDEN_FRAME] * 255) / (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) : 128; in vp8_convert_rfct_to_prob()
996 ref_frame_cost[ALTREF_FRAME] = vp8_cost_one(prob_intra) in vp8_calc_ref_frame_costs()
1008 const int rf_inter = rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_estimate_entropy_savings()
1021 new_garf = (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_estimate_entropy_savings()
1022 ? (rfct[GOLDEN_FRAME] * 255) / (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) : 128; in vp8_estimate_entropy_savings()
1031 rfct[ALTREF_FRAME] * ref_frame_cost[ALTREF_FRAME]; in vp8_estimate_entropy_savings()
1042 rfct[ALTREF_FRAME] * ref_frame_cost[ALTREF_FRAME]; in vp8_estimate_entropy_savings()
1513 vp8_write_bit(bc, pc->ref_frame_sign_bias[ALTREF_FRAME]); in vp8_pack_bitstream()
Drdopt.h108 plane[ALTREF_FRAME], recon_yoffset, recon_uvoffset); in get_predictor_pointers()
123 ref_frame_map[i++] = ALTREF_FRAME; in get_reference_search_order()
Dsegmentation.c43 …_mode_info->mbmi.ref_frame == GOLDEN_FRAME) || (this_mb_mode_info->mbmi.ref_frame == ALTREF_FRAME)) in vp8_update_gf_useage_maps()
Dratectrl.c451 cpi->recent_ref_frame_usage[ALTREF_FRAME]; in calc_gf_params()
456 …i->recent_ref_frame_usage[GOLDEN_FRAME] + cpi->recent_ref_frame_usage[ALTREF_FRAME]) * 100 / tot_m… in calc_gf_params()
987 cpi->recent_ref_frame_usage[ALTREF_FRAME]; in calc_pframe_target_size()
992 …i->recent_ref_frame_usage[GOLDEN_FRAME] + cpi->recent_ref_frame_usage[ALTREF_FRAME]) * 100 / tot_m… in calc_pframe_target_size()
Donyx_if.c655 cpi->mb.e_mbd.ref_lf_deltas[ALTREF_FRAME] = -2; in set_default_lf_deltas()
1889 cpi->recent_ref_frame_usage[ALTREF_FRAME] = 1; in vp8_create_compressor()
1892 cpi->common.ref_frame_sign_bias[ALTREF_FRAME] = 1; in vp8_create_compressor()
2892 cpi->recent_ref_frame_usage[ALTREF_FRAME] = 1; in update_golden_frame_stats()
2932 cpi->recent_ref_frame_usage[ALTREF_FRAME] += in update_golden_frame_stats()
2933 cpi->mb.count_mb_ref_frame_usage[ALTREF_FRAME]; in update_golden_frame_stats()
2947 const int rf_inter = rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in update_rd_ref_frame_probs()
3181 cpi->current_ref_frames[ALTREF_FRAME] = cm->current_video_frame; in update_reference_frames()
3193 cpi->current_ref_frames[ALTREF_FRAME] = cm->current_video_frame; in update_reference_frames()
3207 cpi->current_ref_frames[ALTREF_FRAME] = in update_reference_frames()
[all …]
Dpickinter.c1007 x->e_mbd.mode_info_context->mbmi.ref_frame != ALTREF_FRAME) in vp8_pick_inter_mode()
1483 (best_mbmode.mode != ZEROMV || best_mbmode.ref_frame != ALTREF_FRAME)) in vp8_pick_inter_mode()
1486 x->e_mbd.mode_info_context->mbmi.ref_frame = ALTREF_FRAME; in vp8_pick_inter_mode()
Drdopt.c2056 if (this_mode != ZEROMV || x->e_mbd.mode_info_context->mbmi.ref_frame != ALTREF_FRAME) in vp8_rd_pick_inter_mode()
2573 (best_mode.mbmode.mode != ZEROMV || best_mode.mbmode.ref_frame != ALTREF_FRAME)) in vp8_rd_pick_inter_mode()
2576 x->e_mbd.mode_info_context->mbmi.ref_frame = ALTREF_FRAME; in vp8_rd_pick_inter_mode()
Dencodeframe.c1023 + cpi->mb.count_mb_ref_frame_usage[ALTREF_FRAME]; in vp8_encode_frame()
/external/libvpx/libvpx/vp8/common/
Dblockd.h151 ALTREF_FRAME = 3, enumerator
/external/libvpx/libvpx/vp9/common/
Dvp9_blockd.h62 #define ALTREF_FRAME 3 macro
Dvp9_entropymode.c417 lf->ref_deltas[ALTREF_FRAME] = -1; in set_default_lf_deltas()
Dvp9_pred_common.c306 else if (rfs == ALTREF_FRAME) in vp9_get_pred_context_single_ref_p2()
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c338 pbi->dec_fb_ref[ALTREF_FRAME] = &cm->yv12_fb[cm->alt_fb_idx]; in vp8dx_receive_compressed_data()
Ddecodeframe.c946 pc->ref_frame_sign_bias[ALTREF_FRAME] = 0; in init_frame()
1269 pc->ref_frame_sign_bias[ALTREF_FRAME] = vp8_read_bit(bc); in vp8_decode_frame()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c60 cm->comp_fixed_ref = ALTREF_FRAME; in setup_compound_reference_mode()
64 cm->ref_frame_sign_bias[ALTREF_FRAME]) { in setup_compound_reference_mode()
67 cm->comp_var_ref[1] = ALTREF_FRAME; in setup_compound_reference_mode()
71 cm->comp_var_ref[1] = ALTREF_FRAME; in setup_compound_reference_mode()
Dvp9_decodemv.c355 ref_frame[0] = bit1 ? ALTREF_FRAME : GOLDEN_FRAME; in read_ref_frames()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c727 (vp8dx_references_buffer( oci, ALTREF_FRAME )?VP8_ALTR_FRAME:0) | in vp8_get_last_ref_frame()