Home
last modified time | relevance | path

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

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_pred_common.c214 pred_context = 4 * (edge_mbmi->ref_frame[0] == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
216 pred_context = 1 + (edge_mbmi->ref_frame[0] == LAST_FRAME || in vp9_get_pred_context_single_ref_p1()
217 edge_mbmi->ref_frame[1] == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
227 pred_context = 1 + (above0 == LAST_FRAME || above1 == LAST_FRAME || in vp9_get_pred_context_single_ref_p1()
228 left0 == LAST_FRAME || left1 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
234 if (rfs == LAST_FRAME) in vp9_get_pred_context_single_ref_p1()
235 pred_context = 3 + (crf1 == LAST_FRAME || crf2 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
237 pred_context = (crf1 == LAST_FRAME || crf2 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
239 pred_context = 2 * (above0 == LAST_FRAME) + 2 * (left0 == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
248 pred_context = 4 * (edge_mbmi->ref_frame[0] == LAST_FRAME); in vp9_get_pred_context_single_ref_p1()
[all …]
Dvp9_blockd.h104 LAST_FRAME = 1, enumerator
Dvp9_entropymode.c426 lf->ref_deltas[LAST_FRAME] = 0; in set_default_lf_deltas()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_pickmode.c67 for (i = LAST_FRAME; i <= LAST_FRAME && cpi->common.show_frame; ++i) { in full_pixel_motion_search()
214 MV_REFERENCE_FRAME ref_frame, best_ref_frame = LAST_FRAME; in vp9_pick_inter_mode()
257 for (ref_frame = LAST_FRAME; ref_frame <= LAST_FRAME ; ++ref_frame) { in vp9_pick_inter_mode()
268 for (ref_frame = LAST_FRAME; ref_frame <= LAST_FRAME ; ++ref_frame) { in vp9_pick_inter_mode()
281 if (ref_frame == LAST_FRAME) { in vp9_pick_inter_mode()
Dvp9_onyx_int.h576 if (ref_frame == LAST_FRAME) { in get_ref_frame_idx()
630 xd->block_refs[0] = &cm->frame_refs[ref0 >= LAST_FRAME ? ref0 - LAST_FRAME in set_ref_ptrs()
632 xd->block_refs[1] = &cm->frame_refs[ref1 >= LAST_FRAME ? ref1 - LAST_FRAME in set_ref_ptrs()
Dvp9_rdopt.c85 {NEARESTMV, {LAST_FRAME, NONE}},
91 {NEWMV, {LAST_FRAME, NONE}},
95 {NEARMV, {LAST_FRAME, NONE}},
97 {NEARESTMV, {LAST_FRAME, ALTREF_FRAME}},
102 {NEARMV, {LAST_FRAME, ALTREF_FRAME}},
103 {NEWMV, {LAST_FRAME, ALTREF_FRAME}},
108 {ZEROMV, {LAST_FRAME, NONE}},
111 {ZEROMV, {LAST_FRAME, ALTREF_FRAME}},
125 {{LAST_FRAME, NONE}},
128 {{LAST_FRAME, ALTREF_FRAME}},
[all …]
Dvp9_encodeframe.c119 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); in get_sby_perpixel_diff_variance()
486 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); in choose_partitioning()
487 const struct scale_factors *const sf = &cm->frame_refs[LAST_FRAME - 1].sf; in choose_partitioning()
503 xd->mi[0]->mbmi.ref_frame[0] = LAST_FRAME; in choose_partitioning()
506 xd->mi[0]->mbmi.ref_mvs[LAST_FRAME], in choose_partitioning()
1132 [ref0 != LAST_FRAME]++; in update_stats()
1133 if (ref0 != LAST_FRAME) in update_stats()
2423 vp9_setup_pre_planes(xd, 0, get_ref_frame_buffer(cpi, LAST_FRAME), 0, 0, in init_encode_frame_mb_context()
2500 return LAST_FRAME; in get_frame_type()
3209 cm->ref_frame_sign_bias[LAST_FRAME])) { in vp9_encode_frame()
[all …]
Dvp9_firstpass.c483 YV12_BUFFER_CONFIG *const lst_yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); in vp9_first_pass()
511 MV_REFERENCE_FRAME ref_frame = LAST_FRAME; in vp9_first_pass()
519 scaled_ref_buf = vp9_get_scaled_ref_frame(cpi, LAST_FRAME); in vp9_first_pass()
520 ref_frame = LAST_FRAME; in vp9_first_pass()
715 xd->mi[0]->mbmi.ref_frame[0] = LAST_FRAME; in vp9_first_pass()
Dvp9_bitstream.c218 const int bit0 = mbmi->ref_frame[0] != LAST_FRAME; in write_ref_frames()
1004 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) {
1083 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) {
Dvp9_mbgraph.c257 mi_local.mbmi.ref_frame[0] = LAST_FRAME; in update_mbgraph_frame_stats()
Dvp9_onyx_if.c1761 ref_frame = LAST_FRAME; in get_vp9_ref_frame_buffer()
2129 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) {
3186 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) {
3200 set_ref_ptrs(cm, xd, LAST_FRAME, LAST_FRAME);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Drdopt.h95 plane[LAST_FRAME], recon_yoffset, recon_uvoffset); in get_predictor_pointers()
114 ref_frame_map[i++] = LAST_FRAME; in get_reference_search_order()
Dbitstream.c498 const int rf_inter = rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_convert_rfct_to_prob()
504 cpi->prob_last_coded = rf_inter ? (rfct[LAST_FRAME] * 255) / rf_inter : 128; in vp8_convert_rfct_to_prob()
619 if (rf == LAST_FRAME) in pack_inter_mode_mvs()
990 ref_frame_cost[LAST_FRAME] = vp8_cost_one(prob_intra) in vp8_calc_ref_frame_costs()
1007 const int rf_inter = rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_estimate_entropy_savings()
1018 new_last = rf_inter ? (rfct[LAST_FRAME] * 255) / rf_inter : 128; in vp8_estimate_entropy_savings()
1028 rfct[LAST_FRAME] * ref_frame_cost[LAST_FRAME] + in vp8_estimate_entropy_savings()
1039 rfct[LAST_FRAME] * ref_frame_cost[LAST_FRAME] + in vp8_estimate_entropy_savings()
Dencodeframe.c548 …->mode_info_context->mbmi.mode == ZEROMV) && (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME)) in encode_mb_row()
1000 + cpi->mb.count_mb_ref_frame_usage[LAST_FRAME] in vp8_encode_frame()
1292 …((xd->mode_info_context->mbmi.ref_frame != LAST_FRAME) || (xd->mode_info_context->mbmi.mode != ZER… in vp8cx_encode_inter_macroblock()
1314 if (xd->mode_info_context->mbmi.ref_frame != LAST_FRAME && in vp8cx_encode_inter_macroblock()
1354 if (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) in vp8cx_encode_inter_macroblock()
Donyx_if.c647 cpi->mb.e_mbd.ref_lf_deltas[LAST_FRAME] = 0; in set_default_lf_deltas()
1832 cpi->recent_ref_frame_usage[LAST_FRAME] = 1; in vp8_create_compressor()
2818 cpi->recent_ref_frame_usage[LAST_FRAME] = 1; in update_golden_frame_stats()
2856 cpi->recent_ref_frame_usage[LAST_FRAME] += in update_golden_frame_stats()
2857 cpi->mb.count_mb_ref_frame_usage[LAST_FRAME]; in update_golden_frame_stats()
2875 const int rf_inter = rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in update_rd_ref_frame_probs()
3139 cpi->current_ref_frames[LAST_FRAME]; in update_reference_frames()
3185 cpi->current_ref_frames[LAST_FRAME]; in update_reference_frames()
3213 cpi->current_ref_frames[LAST_FRAME] = cm->current_video_frame; in update_reference_frames()
3229 &cpi->denoiser.yv12_running_avg[LAST_FRAME]); in update_reference_frames()
[all …]
Dratectrl.c447 cpi->recent_ref_frame_usage[LAST_FRAME] + in calc_gf_params()
977 cpi->recent_ref_frame_usage[LAST_FRAME] + in calc_pframe_target_size()
Dpickinter.c516 && x->e_mbd.mode_info_context->mbmi.ref_frame != LAST_FRAME) in evaluate_inter_mode()
637 if (parent_ref_frame == LAST_FRAME) in vp8_pick_inter_mode()
Dethreading.c234 else if ((mbmi->mode == ZEROMV) && (mbmi->ref_frame == LAST_FRAME)) in thread_encoding_proc()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Derror_concealment.c364 if (prev_mi->mbmi.ref_frame == LAST_FRAME) in estimate_missing_mvs()
391 mi->mbmi.ref_frame = LAST_FRAME; in estimate_missing_mvs()
581 interpolate_mvs(mb, neighbors, LAST_FRAME); in vp8_interpolate_motion()
583 mb->mode_info_context->mbmi.ref_frame = LAST_FRAME; in vp8_interpolate_motion()
Donyxd_if.c337 pbi->dec_fb_ref[LAST_FRAME] = &cm->yv12_fb[cm->lst_fb_idx]; in vp8dx_receive_compressed_data()
Dthreading.c308 YV12_BUFFER_CONFIG *yv12_fb_lst = pbi->dec_fb_ref[LAST_FRAME]; in mt_decode_mb_rows()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dblockd.h149 LAST_FRAME = 1, enumerator
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decodeframe.c55 if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode()
58 cm->comp_var_ref[0] = LAST_FRAME; in setup_compound_reference_mode()
60 } else if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode()
63 cm->comp_var_ref[0] = LAST_FRAME; in setup_compound_reference_mode()
66 cm->comp_fixed_ref = LAST_FRAME; in setup_compound_reference_mode()
326 RefBuffer *ref_buffer = &cm->frame_refs[mbmi->ref_frame[idx] - LAST_FRAME]; in set_ref()
1101 cm->ref_frame_sign_bias[LAST_FRAME + i] = vp9_rb_read_bit(rb); in read_uncompressed_header()
Dvp9_decodemv.c306 ref_frame[0] = LAST_FRAME; in read_ref_frames()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/
Dvp8_dx_iface.c856 (vp8dx_references_buffer( oci, LAST_FRAME )?VP8_LAST_FRAME:0); in vp8_get_last_ref_frame()

12