Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.c208 pred_context = 4 * (edge_mbmi->ref_frame[0] == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
210 pred_context = 1 + (edge_mbmi->ref_frame[0] == LAST_FRAME || in vp9_get_pred_context_single_ref_p1()
211 edge_mbmi->ref_frame[1] == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
221 pred_context = 1 + (above0 == LAST_FRAME || above1 == LAST_FRAME || in vp9_get_pred_context_single_ref_p1()
222 left0 == LAST_FRAME || left1 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
228 if (rfs == LAST_FRAME) in vp9_get_pred_context_single_ref_p1()
229 pred_context = 3 + (crf1 == LAST_FRAME || crf2 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
231 pred_context = (crf1 == LAST_FRAME || crf2 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
233 pred_context = 2 * (above0 == LAST_FRAME) + 2 * (left0 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
242 pred_context = 4 * (edge_mbmi->ref_frame[0] == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
[all …]
Dvp9_blockd.h60 #define LAST_FRAME 1 macro
Dvp9_entropymode.c415 lf->ref_deltas[LAST_FRAME] = 0; in set_default_lf_deltas()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_pickmode.c1034 ref_frame_cost[LAST_FRAME] = ref_frame_cost[GOLDEN_FRAME] = in init_ref_frame_cost()
1037 ref_frame_cost[LAST_FRAME] += vp9_cost_bit(ref_single_p1, 0); in init_ref_frame_cost()
1051 {LAST_FRAME, ZEROMV},
1052 {LAST_FRAME, NEARESTMV},
1054 {LAST_FRAME, NEARMV},
1055 {LAST_FRAME, NEWMV},
1061 {LAST_FRAME, ZEROMV},
1063 {LAST_FRAME, NEARESTMV},
1064 {LAST_FRAME, NEARMV},
1067 {LAST_FRAME, NEWMV},
[all …]
Dvp9_encoder.h563 if (ref_frame == LAST_FRAME) { in get_ref_frame_map_idx()
642 xd->block_refs[0] = &cm->frame_refs[ref0 >= LAST_FRAME ? ref0 - LAST_FRAME in set_ref_ptrs()
644 xd->block_refs[1] = &cm->frame_refs[ref1 >= LAST_FRAME ? ref1 - LAST_FRAME in set_ref_ptrs()
Dvp9_rdopt.c47 #define GOLDEN_FRAME_MODE_MASK ((1 << LAST_FRAME) | (1 << ALTREF_FRAME) | \
49 #define ALT_REF_MODE_MASK ((1 << LAST_FRAME) | (1 << GOLDEN_FRAME) | \
83 {NEARESTMV, {LAST_FRAME, NONE}},
89 {NEWMV, {LAST_FRAME, NONE}},
93 {NEARMV, {LAST_FRAME, NONE}},
97 {ZEROMV, {LAST_FRAME, NONE}},
101 {NEARESTMV, {LAST_FRAME, ALTREF_FRAME}},
106 {NEARMV, {LAST_FRAME, ALTREF_FRAME}},
107 {NEWMV, {LAST_FRAME, ALTREF_FRAME}},
111 {ZEROMV, {LAST_FRAME, ALTREF_FRAME}},
[all …]
Dvp9_denoiser.c424 copy_frame(&denoiser->running_avg_y[LAST_FRAME], in vp9_denoiser_update_frame_info()
437 swap_frame_buffer(&denoiser->running_avg_y[LAST_FRAME], in vp9_denoiser_update_frame_info()
Dvp9_encoder.c2403 ref_frame = LAST_FRAME; in get_vp9_ref_frame_buffer()
2748 memcpy(cpi->interp_filter_selected[LAST_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) {
3224 set_ref_ptrs(cm, xd, LAST_FRAME, LAST_FRAME);
3692 for (ref = LAST_FRAME; ref <= ALTREF_FRAME; ++ref)
3697 if ((ref_total[LAST_FRAME] &&
3698 cpi->interp_filter_selected[LAST_FRAME][ifilter] == 0) &&
Dvp9_encodeframe.c146 const YV12_BUFFER_CONFIG *last = get_ref_frame_buffer(cpi, LAST_FRAME); in get_sby_perpixel_diff_variance()
706 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); in choose_partitioning()
734 &cm->frame_refs[LAST_FRAME - 1].sf); in choose_partitioning()
735 mbmi->ref_frame[0] = LAST_FRAME; in choose_partitioning()
749 x->pred_mv[LAST_FRAME] = mbmi->mv[0].as_mv; in choose_partitioning()
1140 mbmi->ref_frame[0] = LAST_FRAME; in set_mode_info_seg_skip()
1310 [ref0 != LAST_FRAME]++; in update_stats()
1311 if (ref0 != LAST_FRAME) in update_stats()
2907 return LAST_FRAME; in get_frame_type()
4015 cm->ref_frame_sign_bias[LAST_FRAME])) { in vp9_encode_frame()
[all …]
Dvp9_firstpass.c528 YV12_BUFFER_CONFIG *const lst_yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); in vp9_first_pass()
581 first_ref_buf = vp9_get_scaled_ref_frame(cpi, LAST_FRAME); in vp9_first_pass()
583 first_ref_buf = get_ref_frame_buffer(cpi, LAST_FRAME); in vp9_first_pass()
596 (cpi->ref_frame_flags & VP9_LAST_FLAG) ? LAST_FRAME: NONE, in vp9_first_pass()
903 xd->mi[0]->mbmi.ref_frame[0] = LAST_FRAME; in vp9_first_pass()
Dvp9_bitstream.c226 const int bit0 = mbmi->ref_frame[0] != LAST_FRAME; in write_ref_frames()
995 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_mbgraph.c258 mi_local.mbmi.ref_frame[0] = LAST_FRAME; in update_mbgraph_frame_stats()
/external/libvpx/libvpx/vp8/encoder/
Dpickinter.c621 x->e_mbd.mode_info_context->mbmi.ref_frame == LAST_FRAME && in evaluate_inter_mode()
622 (denoise_aggressive || (cpi->closest_reference_frame == LAST_FRAME))) in evaluate_inter_mode()
742 cpi->denoiser.yv12_running_avg[LAST_FRAME].y_buffer + recon_yoffset; in vp8_pick_inter_mode()
743 stride = cpi->denoiser.yv12_running_avg[LAST_FRAME].y_stride; in vp8_pick_inter_mode()
746 cpi->denoiser.yv12_running_avg[LAST_FRAME].u_buffer + in vp8_pick_inter_mode()
749 cpi->denoiser.yv12_running_avg[LAST_FRAME].v_buffer + in vp8_pick_inter_mode()
751 stride_uv = cpi->denoiser.yv12_running_avg[LAST_FRAME].uv_stride; in vp8_pick_inter_mode()
757 plane[LAST_FRAME][0], mb_row, mb_col, 0); in vp8_pick_inter_mode()
762 plane[LAST_FRAME][1], mb_row, mb_col, 1); in vp8_pick_inter_mode()
766 plane[LAST_FRAME][2], mb_row, mb_col, 2); in vp8_pick_inter_mode()
[all …]
Drdopt.h100 plane[LAST_FRAME], recon_yoffset, recon_uvoffset); in get_predictor_pointers()
119 ref_frame_map[i++] = LAST_FRAME; in get_reference_search_order()
Dbitstream.c499 const int rf_inter = rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_convert_rfct_to_prob()
505 cpi->prob_last_coded = rf_inter ? (rfct[LAST_FRAME] * 255) / rf_inter : 128; in vp8_convert_rfct_to_prob()
620 if (rf == LAST_FRAME) in pack_inter_mode_mvs()
991 ref_frame_cost[LAST_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()
1019 new_last = rf_inter ? (rfct[LAST_FRAME] * 255) / rf_inter : 128; in vp8_estimate_entropy_savings()
1029 rfct[LAST_FRAME] * ref_frame_cost[LAST_FRAME] + in vp8_estimate_entropy_savings()
1040 rfct[LAST_FRAME] * ref_frame_cost[LAST_FRAME] + in vp8_estimate_entropy_savings()
Dencodeframe.c533 xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) { in encode_mb_row()
568 …->mode_info_context->mbmi.mode == ZEROMV) && (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME)) in encode_mb_row()
1021 + cpi->mb.count_mb_ref_frame_usage[LAST_FRAME] in vp8_encode_frame()
1313 …((xd->mode_info_context->mbmi.ref_frame != LAST_FRAME) || (xd->mode_info_context->mbmi.mode != ZER… in vp8cx_encode_inter_macroblock()
1335 if (xd->mode_info_context->mbmi.ref_frame != LAST_FRAME && in vp8cx_encode_inter_macroblock()
1375 if (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) in vp8cx_encode_inter_macroblock()
Donyx_if.c653 cpi->mb.e_mbd.ref_lf_deltas[LAST_FRAME] = 0; in set_default_lf_deltas()
1887 cpi->recent_ref_frame_usage[LAST_FRAME] = 1; in vp8_create_compressor()
2890 cpi->recent_ref_frame_usage[LAST_FRAME] = 1; in update_golden_frame_stats()
2928 cpi->recent_ref_frame_usage[LAST_FRAME] += in update_golden_frame_stats()
2929 cpi->mb.count_mb_ref_frame_usage[LAST_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()
3208 cpi->current_ref_frames[LAST_FRAME]; in update_reference_frames()
3248 cpi->current_ref_frames[LAST_FRAME]; in update_reference_frames()
3272 cpi->current_ref_frames[LAST_FRAME] = cm->current_video_frame; in update_reference_frames()
3285 for (i = LAST_FRAME; i < MAX_REF_FRAMES; ++i) in update_reference_frames()
[all …]
Dethreading.c213 LAST_FRAME) { in thread_encoding_proc()
251 else if ((mbmi->mode == ZEROMV) && (mbmi->ref_frame == LAST_FRAME)) in thread_encoding_proc()
Dratectrl.c449 cpi->recent_ref_frame_usage[LAST_FRAME] + in calc_gf_params()
985 cpi->recent_ref_frame_usage[LAST_FRAME] + in calc_pframe_target_size()
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c363 if (prev_mi->mbmi.ref_frame == LAST_FRAME) in estimate_missing_mvs()
390 mi->mbmi.ref_frame = LAST_FRAME; in estimate_missing_mvs()
580 interpolate_mvs(mb, neighbors, LAST_FRAME); in vp8_interpolate_motion()
582 mb->mode_info_context->mbmi.ref_frame = LAST_FRAME; in vp8_interpolate_motion()
Donyxd_if.c336 pbi->dec_fb_ref[LAST_FRAME] = &cm->yv12_fb[cm->lst_fb_idx]; in vp8dx_receive_compressed_data()
/external/libvpx/libvpx/vp8/common/
Dblockd.h149 LAST_FRAME = 1, enumerator
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c58 if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode()
61 cm->comp_var_ref[0] = LAST_FRAME; in setup_compound_reference_mode()
63 } else if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode()
66 cm->comp_var_ref[0] = LAST_FRAME; in setup_compound_reference_mode()
69 cm->comp_fixed_ref = LAST_FRAME; in setup_compound_reference_mode()
1940 cm->ref_frame_sign_bias[LAST_FRAME + i] = vpx_rb_read_bit(rb); in read_uncompressed_header()
Dvp9_decodemv.c357 ref_frame[0] = LAST_FRAME; in read_ref_frames()
503 RefBuffer *ref_buf = &cm->frame_refs[frame - LAST_FRAME]; in read_inter_block_mode_info()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c729 (vp8dx_references_buffer( oci, LAST_FRAME )?VP8_LAST_FRAME:0); in vp8_get_last_ref_frame()

12