Home
last modified time | relevance | path

Searched refs:ref_frame (Results 1 – 18 of 18) sorted by relevance

/external/libvpx/vp8/common/
Dfindnearmv.c49 if (above->mbmi.ref_frame != INTRA_FRAME) in vp8_find_near_mvs()
54 mv_bias(ref_frame_sign_bias[above->mbmi.ref_frame], refframe, mv, ref_frame_sign_bias); in vp8_find_near_mvs()
62 if (left->mbmi.ref_frame != INTRA_FRAME) in vp8_find_near_mvs()
69 … mv_bias(ref_frame_sign_bias[left->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias); in vp8_find_near_mvs()
84 if (aboveleft->mbmi.ref_frame != INTRA_FRAME) in vp8_find_near_mvs()
91 … mv_bias(ref_frame_sign_bias[aboveleft->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias); in vp8_find_near_mvs()
Dblockd.h163 MV_REFERENCE_FRAME ref_frame; member
Ddebugmodes.c52 fprintf(mvs, "%2d ", mi[mb_index].mbmi.ref_frame); in vp8_print_modes_and_motion_vectors()
Dpostproc.c1079 if (ppflags->display_ref_frame_flag & (1<<mi->mbmi.ref_frame)) in vp8_post_proc_frame()
1081 Y = MV_REFERENCE_FRAME_colors[mi->mbmi.ref_frame][0]; in vp8_post_proc_frame()
1082 U = MV_REFERENCE_FRAME_colors[mi->mbmi.ref_frame][1]; in vp8_post_proc_frame()
1083 V = MV_REFERENCE_FRAME_colors[mi->mbmi.ref_frame][2]; in vp8_post_proc_frame()
Dreconinter.c214 if (x->mode_info_context->mbmi.ref_frame != INTRA_FRAME && in vp8_build_inter_predictors_mbuv()
263 if (x->mode_info_context->mbmi.ref_frame != INTRA_FRAME && in vp8_build_inter_predictors_mby()
321 if (x->mode_info_context->mbmi.ref_frame != INTRA_FRAME && in vp8_build_inter_predictors_mb()
Dloopfilter.c259 filter_level += mbd->ref_lf_deltas[mbmi->ref_frame]; in vp8_adjust_mb_lf_value()
262 if (mbmi->ref_frame == INTRA_FRAME) in vp8_adjust_mb_lf_value()
/external/libvpx/vp8/encoder/
Dpickinter.c536 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME; in vp8_pick_inter_mode()
548 x->e_mbd.mode_info_context->mbmi.ref_frame = vp8_ref_frame_order[mode_index]; in vp8_pick_inter_mode()
550 if (skip_mode[x->e_mbd.mode_info_context->mbmi.ref_frame]) in vp8_pick_inter_mode()
587 frame_cost = ref_frame_cost[x->e_mbd.mode_info_context->mbmi.ref_frame]; in vp8_pick_inter_mode()
591 if (x->e_mbd.mode_info_context->mbmi.ref_frame) in vp8_pick_inter_mode()
593 x->e_mbd.pre.y_buffer = y_buffer[x->e_mbd.mode_info_context->mbmi.ref_frame]; in vp8_pick_inter_mode()
594 x->e_mbd.pre.u_buffer = u_buffer[x->e_mbd.mode_info_context->mbmi.ref_frame]; in vp8_pick_inter_mode()
595 x->e_mbd.pre.v_buffer = v_buffer[x->e_mbd.mode_info_context->mbmi.ref_frame]; in vp8_pick_inter_mode()
596 mode_mv[NEARESTMV] = nearest_mv[x->e_mbd.mode_info_context->mbmi.ref_frame]; in vp8_pick_inter_mode()
597 mode_mv[NEARMV] = near_mv[x->e_mbd.mode_info_context->mbmi.ref_frame]; in vp8_pick_inter_mode()
[all …]
Dsegmentation.c41 …if ((this_mb_mode_info->mbmi.ref_frame == GOLDEN_FRAME) || (this_mb_mode_info->mbmi.ref_frame == A… in vp8_update_gf_useage_maps()
Drdopt.c1549 if(here->mbmi.ref_frame != INTRA_FRAME) in vp8_mv_pred()
1555 if (above->mbmi.ref_frame != INTRA_FRAME) in vp8_mv_pred()
1558 …mv_bias(ref_frame_sign_bias[above->mbmi.ref_frame], refframe, &near_mvs[vcnt], ref_frame_sign_bias… in vp8_mv_pred()
1559 near_ref[vcnt] = above->mbmi.ref_frame; in vp8_mv_pred()
1562 if (left->mbmi.ref_frame != INTRA_FRAME) in vp8_mv_pred()
1565 …mv_bias(ref_frame_sign_bias[left->mbmi.ref_frame], refframe, &near_mvs[vcnt], ref_frame_sign_bias); in vp8_mv_pred()
1566 near_ref[vcnt] = left->mbmi.ref_frame; in vp8_mv_pred()
1569 if (aboveleft->mbmi.ref_frame != INTRA_FRAME) in vp8_mv_pred()
1572 …mv_bias(ref_frame_sign_bias[aboveleft->mbmi.ref_frame], refframe, &near_mvs[vcnt], ref_frame_sign_… in vp8_mv_pred()
1573 near_ref[vcnt] = aboveleft->mbmi.ref_frame; in vp8_mv_pred()
[all …]
Dencodeframe.c600 …->mode_info_context->mbmi.mode == ZEROMV) && (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME)) in encode_mb_row()
615 …->mode_info_context->mbmi.mode == ZEROMV) && (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME)) in encode_mb_row()
1158 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME; in vp8cx_encode_intra_macro_block()
1295 …((xd->mode_info_context->mbmi.ref_frame != LAST_FRAME) || (xd->mode_info_context->mbmi.mode != ZER… in vp8cx_encode_inter_macroblock()
1309 if ( xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME ) in vp8cx_encode_inter_macroblock()
1315 if (xd->mode_info_context->mbmi.ref_frame != LAST_FRAME) in vp8cx_encode_inter_macroblock()
1332 cpi->count_mb_ref_frame_usage[xd->mode_info_context->mbmi.ref_frame] ++; in vp8cx_encode_inter_macroblock()
1334 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) in vp8cx_encode_inter_macroblock()
1357 …&nearest, &nearby, &best_ref_mv, mdcounts, xd->mode_info_context->mbmi.ref_frame, cpi->common.ref_… in vp8cx_encode_inter_macroblock()
1361 if (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) in vp8cx_encode_inter_macroblock()
[all …]
Dethreading.c197 …->mode_info_context->mbmi.mode == ZEROMV) && (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME)) in thread_encoding_proc()
213 else if ((mbmi->mode == ZEROMV) && (mbmi->ref_frame == LAST_FRAME)) in thread_encoding_proc()
Dencodemb.c313 if(mb->e_mbd.mode_info_context->mbmi.ref_frame==INTRA_FRAME) in optimize_b()
Dbitstream.c916 const MV_REFERENCE_FRAME rf = mi->ref_frame; in pack_inter_mode_mvs()
Donyx_if.c4194 if(tmp->mbmi.ref_frame != INTRA_FRAME) in encode_frame_to_data_rate()
4197 …sign_bias[mb_col + mb_row*(cm->mode_info_stride+1)] = cm->ref_frame_sign_bias[tmp->mbmi.ref_frame]; in encode_frame_to_data_rate()
4198 … cpi->lf_ref_frame[mb_col + mb_row*(cm->mode_info_stride+1)] = tmp->mbmi.ref_frame; in encode_frame_to_data_rate()
Dfirstpass.c95 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME; in encode_intra()
/external/libvpx/vp8/decoder/
Ddecodemv.c89 m->mbmi.ref_frame = INTRA_FRAME; in vp8_kfread_modes()
324 if ((mbmi->ref_frame = (MV_REFERENCE_FRAME) vp8_read(bc, pbi->prob_intra))) /* inter MB */ in read_mb_modes_mv()
332 …mbmi->ref_frame = (MV_REFERENCE_FRAME)((int)mbmi->ref_frame + (int)(1 + vp8_read(bc, pbi->prob_gf)… in read_mb_modes_mv()
335 …vp8_find_near_mvs(&pbi->mb, mi, &nearest, &nearby, &best_mv, rct, mbmi->ref_frame, pbi->common.ref… in read_mb_modes_mv()
Dthreading.c118 if (xd->frame_type == KEY_FRAME || xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) in decode_macroblock()
134 if (xd->frame_type == KEY_FRAME || xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) in decode_macroblock()
180 …else if ((xd->frame_type == KEY_FRAME || xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) &… in decode_macroblock()
309 if (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) in thread_decoding_proc()
311 else if (xd->mode_info_context->mbmi.ref_frame == GOLDEN_FRAME) in thread_decoding_proc()
338 … if (xd->frame_type == KEY_FRAME || next->mbmi.ref_frame == INTRA_FRAME) in thread_decoding_proc()
788 if (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) in vp8mt_decode_mb_rows()
790 else if (xd->mode_info_context->mbmi.ref_frame == GOLDEN_FRAME) in vp8mt_decode_mb_rows()
799 if (xd->mode_info_context->mbmi.ref_frame != INTRA_FRAME) in vp8mt_decode_mb_rows()
826 if (xd->frame_type == KEY_FRAME || next->mbmi.ref_frame == INTRA_FRAME) in vp8mt_decode_mb_rows()
Ddecodframe.c114 if (xd->frame_type == KEY_FRAME || xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) in skip_recon_mb()
211 if (xd->frame_type == KEY_FRAME || xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) in decode_macroblock()
258 …else if ((xd->frame_type == KEY_FRAME || xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) &… in decode_macroblock()
371 if (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) in decode_mb_row()
373 else if (xd->mode_info_context->mbmi.ref_frame == GOLDEN_FRAME) in decode_mb_row()
382 if (xd->mode_info_context->mbmi.ref_frame != INTRA_FRAME) in decode_mb_row()