Home
last modified time | relevance | path

Searched refs:LAST_FRAME (Results 1 – 25 of 30) sorted by relevance

12

/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.c160 pred_context = 4 * (edge_mi->ref_frame[0] == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
162 pred_context = 1 + (edge_mi->ref_frame[0] == LAST_FRAME || in vp9_get_pred_context_single_ref_p1()
163 edge_mi->ref_frame[1] == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
173 pred_context = 1 + (above0 == LAST_FRAME || above1 == LAST_FRAME || in vp9_get_pred_context_single_ref_p1()
174 left0 == LAST_FRAME || left1 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
180 if (rfs == LAST_FRAME) in vp9_get_pred_context_single_ref_p1()
181 pred_context = 3 + (crf1 == LAST_FRAME || crf2 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
183 pred_context = (crf1 == LAST_FRAME || crf2 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
185 pred_context = 2 * (above0 == LAST_FRAME) + 2 * (left0 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
194 pred_context = 4 * (edge_mi->ref_frame[0] == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
[all …]
Dvp9_blockd.h59 #define LAST_FRAME 1 macro
Dvp9_entropymode.c414 lf->ref_deltas[LAST_FRAME] = 0; in set_default_lf_deltas()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_pickmode.c118 ref_frame == LAST_FRAME) { in mv_refs_rt()
1063 ref_frame == LAST_FRAME && source_variance < 5) { in update_thresh_freq_fact_row_mt()
1080 ref_frame == LAST_FRAME && source_variance < 5) { in update_thresh_freq_fact()
1155 ref_frame_cost[LAST_FRAME] = ref_frame_cost[GOLDEN_FRAME] = in init_ref_frame_cost()
1158 ref_frame_cost[LAST_FRAME] += vp9_cost_bit(ref_single_p1, 0); in init_ref_frame_cost()
1172 { LAST_FRAME, ZEROMV }, { LAST_FRAME, NEARESTMV },
1173 { GOLDEN_FRAME, ZEROMV }, { LAST_FRAME, NEARMV },
1174 { LAST_FRAME, NEWMV }, { GOLDEN_FRAME, NEARESTMV },
1182 { LAST_FRAME, ZEROMV }, { LAST_FRAME, NEARESTMV },
1183 { LAST_FRAME, NEARMV }, { GOLDEN_FRAME, ZEROMV },
[all …]
Dvp9_encoder.h782 if (ref_frame == LAST_FRAME) { in get_ref_frame_map_idx()
890 &cm->frame_refs[ref0 >= LAST_FRAME ? ref0 - LAST_FRAME : 0]; in set_ref_ptrs()
892 &cm->frame_refs[ref1 >= LAST_FRAME ? ref1 - LAST_FRAME : 0]; in set_ref_ptrs()
Dvp9_rdopt.c48 ((1 << LAST_FRAME) | (1 << ALTREF_FRAME) | (1 << INTRA_FRAME))
50 ((1 << LAST_FRAME) | (1 << GOLDEN_FRAME) | (1 << INTRA_FRAME))
82 { NEARESTMV, { LAST_FRAME, NONE } },
88 { NEWMV, { LAST_FRAME, NONE } },
92 { NEARMV, { LAST_FRAME, NONE } },
96 { ZEROMV, { LAST_FRAME, NONE } },
100 { NEARESTMV, { LAST_FRAME, ALTREF_FRAME } },
105 { NEARMV, { LAST_FRAME, ALTREF_FRAME } },
106 { NEWMV, { LAST_FRAME, ALTREF_FRAME } },
110 { ZEROMV, { LAST_FRAME, ALTREF_FRAME } },
[all …]
Dvp9_denoiser.c234 (frame != LAST_FRAME && in perform_motion_compensation()
237 frame = LAST_FRAME; in perform_motion_compensation()
254 if (frame == LAST_FRAME) in perform_motion_compensation()
511 if (mi->ref_frame[0] == LAST_FRAME) ctx->zeromv_lastref_sse = sse; in vp9_denoiser_update_frame_stats()
Dvp9_firstpass.c848 YV12_BUFFER_CONFIG *const lst_yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); in vp9_first_pass_encode_tile_mb_row()
869 first_ref_buf = vp9_get_scaled_ref_frame(cpi, LAST_FRAME); in vp9_first_pass_encode_tile_mb_row()
871 first_ref_buf = get_ref_frame_buffer(cpi, LAST_FRAME); in vp9_first_pass_encode_tile_mb_row()
1228 xd->mi[0]->ref_frame[0] = LAST_FRAME; in vp9_first_pass_encode_tile_mb_row()
1370 YV12_BUFFER_CONFIG *const lst_yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); in vp9_first_pass()
1422 first_ref_buf = vp9_get_scaled_ref_frame(cpi, LAST_FRAME); in vp9_first_pass()
1424 first_ref_buf = get_ref_frame_buffer(cpi, LAST_FRAME); in vp9_first_pass()
1437 (cpi->ref_frame_flags & VP9_LAST_FLAG) ? LAST_FRAME : NONE, in vp9_first_pass()
Dvp9_encodeframe.c185 const YV12_BUFFER_CONFIG *last = get_ref_frame_buffer(cpi, LAST_FRAME); in get_sby_perpixel_diff_variance()
801 if (ref_frame_partition == LAST_FRAME && in set_low_temp_var_flag()
1240 MV_REFERENCE_FRAME ref_frame_partition = LAST_FRAME; in choose_partitioning()
1327 YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); in choose_partitioning()
1363 &cm->frame_refs[LAST_FRAME - 1].sf); in choose_partitioning()
1364 mi->ref_frame[0] = LAST_FRAME; in choose_partitioning()
1395 x->pred_mv[LAST_FRAME] = mi->mv[0].as_mv; in choose_partitioning()
1396 ref_frame_partition = LAST_FRAME; in choose_partitioning()
1828 mi->ref_frame[0] = LAST_FRAME; in set_mode_info_seg_skip()
2020 [ref0 != LAST_FRAME]++; in update_stats()
[all …]
Dvp9_bitstream.c223 const int bit0 = mi->ref_frame[0] != LAST_FRAME; in write_ref_frames()
1112 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in write_frame_size_with_refs()
1230 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in write_uncompressed_header()
Dvp9_mbgraph.c239 mi_local.ref_frame[0] = LAST_FRAME; in update_mbgraph_frame_stats()
Dvp9_encoder.c2521 ref_frame = LAST_FRAME; in get_vp9_ref_frame_buffer()
2876 memcpy(cpi->interp_filter_selected[LAST_FRAME],
3002 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) {
3099 for (i = LAST_FRAME; i <= ALTREF_FRAME; ++i) {
3440 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) {
3464 set_ref_ptrs(cm, xd, LAST_FRAME, LAST_FRAME);
4157 for (ref = LAST_FRAME; ref <= ALTREF_FRAME; ++ref)
4162 if ((ref_total[LAST_FRAME] &&
4163 cpi->interp_filter_selected[LAST_FRAME][ifilter] == 0) &&
Dvp9_speed_features.c417 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in set_rt_speed_feature_framesize_independent()
/external/libvpx/libvpx/vp8/encoder/
Dpickinter.c499 x->e_mbd.mode_info_context->mbmi.ref_frame == LAST_FRAME && in evaluate_inter_mode()
500 (denoise_aggressive || (cpi->closest_reference_frame == LAST_FRAME))) { in evaluate_inter_mode()
623 cpi->denoiser.yv12_running_avg[LAST_FRAME].y_buffer + recon_yoffset; in vp8_pick_inter_mode()
624 stride = cpi->denoiser.yv12_running_avg[LAST_FRAME].y_stride; in vp8_pick_inter_mode()
626 target_u = cpi->denoiser.yv12_running_avg[LAST_FRAME].u_buffer + in vp8_pick_inter_mode()
628 target_v = cpi->denoiser.yv12_running_avg[LAST_FRAME].v_buffer + in vp8_pick_inter_mode()
630 stride_uv = cpi->denoiser.yv12_running_avg[LAST_FRAME].uv_stride; in vp8_pick_inter_mode()
635 cpi, x, target_y, stride, plane[LAST_FRAME][0], mb_row, mb_col, 0); in vp8_pick_inter_mode()
639 cpi, x, target_u, stride_uv, plane[LAST_FRAME][1], mb_row, mb_col, 1); in vp8_pick_inter_mode()
642 cpi, x, target_v, stride_uv, plane[LAST_FRAME][2], mb_row, mb_col, in vp8_pick_inter_mode()
[all …]
Drdopt.h88 plane[LAST_FRAME], recon_yoffset, recon_uvoffset); in get_predictor_pointers()
107 if (cpi->ref_frame_flags & VP8_LAST_FRAME) ref_frame_map[i++] = LAST_FRAME; in get_reference_search_order()
Dbitstream.c397 rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_convert_rfct_to_prob()
404 cpi->prob_last_coded = rf_inter ? (rfct[LAST_FRAME] * 255) / rf_inter : 128; in vp8_convert_rfct_to_prob()
509 if (rf == LAST_FRAME) in pack_inter_mode_mvs()
826 ref_frame_cost[LAST_FRAME] = in vp8_calc_ref_frame_costs()
842 rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_estimate_entropy_savings()
851 new_last = rf_inter ? (rfct[LAST_FRAME] * 255) / rf_inter : 128; in vp8_estimate_entropy_savings()
861 rfct[LAST_FRAME] * ref_frame_cost[LAST_FRAME] + in vp8_estimate_entropy_savings()
870 rfct[LAST_FRAME] * ref_frame_cost[LAST_FRAME] + in vp8_estimate_entropy_savings()
Dencodeframe.c479 xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) { in encode_mb_row()
517 (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME)) { in encode_mb_row()
934 cpi->mb.count_mb_ref_frame_usage[LAST_FRAME] + in vp8_encode_frame()
1192 ((xd->mode_info_context->mbmi.ref_frame != LAST_FRAME) || in vp8cx_encode_inter_macroblock()
1211 if (xd->mode_info_context->mbmi.ref_frame != LAST_FRAME && in vp8cx_encode_inter_macroblock()
1245 if (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) { in vp8cx_encode_inter_macroblock()
Donyx_if.c673 cpi->mb.e_mbd.ref_lf_deltas[LAST_FRAME] = 0; in set_default_lf_deltas()
1801 cpi->recent_ref_frame_usage[LAST_FRAME] = 1; in vp8_create_compressor()
2671 cpi->recent_ref_frame_usage[LAST_FRAME] = 1; in update_golden_frame_stats()
2701 cpi->recent_ref_frame_usage[LAST_FRAME] += in update_golden_frame_stats()
2702 cpi->mb.count_mb_ref_frame_usage[LAST_FRAME]; in update_golden_frame_stats()
2720 rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in update_rd_ref_frame_probs()
2947 cpi->current_ref_frames[LAST_FRAME]; in update_reference_frames()
2979 cpi->current_ref_frames[LAST_FRAME]; in update_reference_frames()
2999 cpi->current_ref_frames[LAST_FRAME] = cm->current_video_frame; in update_reference_frames()
3010 for (i = LAST_FRAME; i < MAX_REF_FRAMES; ++i) in update_reference_frames()
[all …]
Dethreading.c201 xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) { in thread_encoding_proc()
242 (mbmi->ref_frame == LAST_FRAME)) { in thread_encoding_proc()
Dratectrl.c388 cpi->recent_ref_frame_usage[LAST_FRAME] + in calc_gf_params()
892 cpi->recent_ref_frame_usage[LAST_FRAME] + in calc_pframe_target_size()
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c303 if (prev_mi->mbmi.ref_frame == LAST_FRAME) { in estimate_missing_mvs()
326 mi->mbmi.ref_frame = LAST_FRAME; in estimate_missing_mvs()
475 interpolate_mvs(mb, neighbors, LAST_FRAME); in vp8_interpolate_motion()
477 mb->mode_info_context->mbmi.ref_frame = LAST_FRAME; in vp8_interpolate_motion()
Donyxd_if.c320 pbi->dec_fb_ref[LAST_FRAME] = &cm->yv12_fb[cm->lst_fb_idx]; in vp8dx_receive_compressed_data()
/external/libvpx/libvpx/vp8/common/
Dblockd.h132 LAST_FRAME = 1, enumerator
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c57 if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode()
60 cm->comp_var_ref[0] = LAST_FRAME; in setup_compound_reference_mode()
62 } else if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode()
65 cm->comp_var_ref[0] = LAST_FRAME; in setup_compound_reference_mode()
68 cm->comp_fixed_ref = LAST_FRAME; in setup_compound_reference_mode()
645 RefBuffer *ref_buf = &pbi->common.frame_refs[frame - LAST_FRAME]; in dec_build_inter_predictors_sb()
1833 cm->ref_frame_sign_bias[LAST_FRAME + i] = vpx_rb_read_bit(rb); in read_uncompressed_header()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c593 (vp8dx_references_buffer(oci, LAST_FRAME) ? VP8_LAST_FRAME : 0); in vp8_get_last_ref_frame()

12