/external/libvpx/libvpx/vp8/encoder/ |
D | denoising.c | 524 if (frame == INTRA_FRAME || sse_diff <= sse_diff_thresh) { in vp8_denoiser_denoise_mb() 612 denoiser->yv12_running_avg[INTRA_FRAME].y_buffer + recon_yoffset; in vp8_denoiser_denoise_mb() 613 int avg_y_stride = denoiser->yv12_running_avg[INTRA_FRAME].y_stride; in vp8_denoiser_denoise_mb() 627 denoiser->yv12_running_avg[INTRA_FRAME].u_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb() 631 denoiser->yv12_running_avg[INTRA_FRAME].v_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb() 633 int avg_uv_stride = denoiser->yv12_running_avg[INTRA_FRAME].uv_stride; in vp8_denoiser_denoise_mb() 652 denoiser->yv12_running_avg[INTRA_FRAME].y_buffer + recon_yoffset, in vp8_denoiser_denoise_mb() 653 denoiser->yv12_running_avg[INTRA_FRAME].y_stride); in vp8_denoiser_denoise_mb() 660 denoiser->yv12_running_avg[INTRA_FRAME].u_buffer + recon_uvoffset, in vp8_denoiser_denoise_mb() 661 denoiser->yv12_running_avg[INTRA_FRAME].uv_stride); in vp8_denoiser_denoise_mb() [all …]
|
D | mr_dissim.c | 32 if (x->mbmi.ref_frame != INTRA_FRAME) { \ 39 if (x->mbmi.ref_frame != INTRA_FRAME) { \ 87 if (tmp->mbmi.ref_frame != INTRA_FRAME) { in vp8_cal_dissimilarity()
|
D | rdopt.c | 1357 if (here->mbmi.ref_frame != INTRA_FRAME) { in vp8_mv_pred() 1367 if (above->mbmi.ref_frame != INTRA_FRAME) { in vp8_mv_pred() 1374 if (left->mbmi.ref_frame != INTRA_FRAME) { in vp8_mv_pred() 1381 if (aboveleft->mbmi.ref_frame != INTRA_FRAME) { in vp8_mv_pred() 1395 if (cpi->lf_ref_frame[mb_offset] != INTRA_FRAME) { in vp8_mv_pred() 1405 INTRA_FRAME) { in vp8_mv_pred() 1417 if (cpi->lf_ref_frame[mb_offset - 1] != INTRA_FRAME) { in vp8_mv_pred() 1426 if (cpi->lf_ref_frame[mb_offset + 1] != INTRA_FRAME) { in vp8_mv_pred() 1436 INTRA_FRAME) { in vp8_mv_pred() 1449 if (near_ref[near_sadidx[i]] != INTRA_FRAME) { in vp8_mv_pred() [all …]
|
D | bitstream.c | 388 const int rf_intra = rfct[INTRA_FRAME]; in vp8_convert_rfct_to_prob() 472 if (rf == INTRA_FRAME) { in pack_inter_mode_mvs() 785 ref_frame_cost[INTRA_FRAME] = vp8_cost_zero(prob_intra); in vp8_calc_ref_frame_costs() 800 const int rf_intra = rfct[INTRA_FRAME]; in vp8_estimate_entropy_savings() 820 newtotal = rfct[INTRA_FRAME] * ref_frame_cost[INTRA_FRAME] + in vp8_estimate_entropy_savings() 829 oldtotal = rfct[INTRA_FRAME] * ref_frame_cost[INTRA_FRAME] + in vp8_estimate_entropy_savings()
|
D | pickinter.c | 427 if (*parent_ref_frame != INTRA_FRAME) { in get_lower_res_motion_info() 521 if (mic->mbmi.ref_frame != INTRA_FRAME) { in calculate_zeromv_rd_adjustment() 531 if (mic->mbmi.ref_frame != INTRA_FRAME) { in calculate_zeromv_rd_adjustment() 541 if (mic->mbmi.ref_frame != INTRA_FRAME) { in calculate_zeromv_rd_adjustment() 740 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME; in vp8_pick_inter_mode() 1240 reevaluate = (best_mbmode.ref_frame == INTRA_FRAME) || in vp8_pick_inter_mode() 1244 x->best_zeromv_reference_frame != INTRA_FRAME) { in vp8_pick_inter_mode() 1314 xd->mode_info_context->mbmi.ref_frame = INTRA_FRAME; in vp8_pick_intra_mode()
|
D | encodeframe.c | 933 tot_modes = cpi->mb.count_mb_ref_frame_usage[INTRA_FRAME] + in vp8_encode_frame() 940 cpi->mb.count_mb_ref_frame_usage[INTRA_FRAME] * 100 / tot_modes; in vp8_encode_frame() 1138 x->best_reference_frame = INTRA_FRAME; in vp8cx_encode_inter_macroblock() 1139 x->best_zeromv_reference_frame = INTRA_FRAME; in vp8cx_encode_inter_macroblock() 1209 if (xd->mode_info_context->mbmi.ref_frame != INTRA_FRAME) { in vp8cx_encode_inter_macroblock() 1232 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) { in vp8cx_encode_inter_macroblock()
|
D | rdopt.h | 106 ref_frame_map[i++] = INTRA_FRAME; in get_reference_search_order()
|
D | encodeintra.c | 29 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME; in vp8_encode_intra()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_rdopt.c | 46 ((1 << GOLDEN_FRAME) | (1 << ALTREF_FRAME) | (1 << INTRA_FRAME)) 48 ((1 << LAST_FRAME) | (1 << ALTREF_FRAME) | (1 << INTRA_FRAME)) 50 ((1 << LAST_FRAME) | (1 << GOLDEN_FRAME) | (1 << INTRA_FRAME)) 88 { DC_PRED, { INTRA_FRAME, NONE } }, 105 { TM_PRED, { INTRA_FRAME, NONE } }, 115 { H_PRED, { INTRA_FRAME, NONE } }, 116 { V_PRED, { INTRA_FRAME, NONE } }, 117 { D135_PRED, { INTRA_FRAME, NONE } }, 118 { D207_PRED, { INTRA_FRAME, NONE } }, 119 { D153_PRED, { INTRA_FRAME, NONE } }, [all …]
|
D | vp9_denoiser.c | 222 if (frame != INTRA_FRAME && frame != ALTREF_FRAME && in perform_motion_compensation() 351 YV12_BUFFER_CONFIG avg = denoiser->running_avg_y[INTRA_FRAME + shift]; in vp9_denoiser_denoise() 492 &denoiser->running_avg_y[INTRA_FRAME + shift]); in vp9_denoiser_update_frame_info() 500 &denoiser->running_avg_y[INTRA_FRAME + shift]); in vp9_denoiser_update_frame_info() 504 &denoiser->running_avg_y[INTRA_FRAME + shift]); in vp9_denoiser_update_frame_info() 508 &denoiser->running_avg_y[INTRA_FRAME + shift]); in vp9_denoiser_update_frame_info() 513 &denoiser->running_avg_y[INTRA_FRAME + shift]); in vp9_denoiser_update_frame_info() 517 &denoiser->running_avg_y[INTRA_FRAME + shift]); in vp9_denoiser_update_frame_info() 521 &denoiser->running_avg_y[INTRA_FRAME + shift]); in vp9_denoiser_update_frame_info()
|
D | vp9_mbgraph.c | 178 intra_error = find_best_16x16_intra(cpi, &stats->ref[INTRA_FRAME].m.mode); in update_mbgraph_mb_stats() 180 stats->ref[INTRA_FRAME].err = intra_error; in update_mbgraph_mb_stats() 315 int intra_err = mb_stats->ref[INTRA_FRAME].err; in separate_arf_mbs()
|
D | vp9_pickmode.c | 1133 mi->ref_frame[0] = INTRA_FRAME; in vp9_pick_intra_mode() 1177 ref_frame_cost[INTRA_FRAME] = vp9_cost_bit(intra_inter_p, 0); in init_ref_frame_cost() 1341 ((ctx_den->best_ref_frame == INTRA_FRAME && decision >= FILTER_BLOCK) || in recheck_zeromv_after_denoising() 1372 if (ctx_den->best_ref_frame == INTRA_FRAME) { in recheck_zeromv_after_denoising() 2439 THR_MODES mode_index = mode_idx[INTRA_FRAME][mode_offset(this_mode)]; in vp9_pick_inter_mode() 2458 mi->ref_frame[0] = INTRA_FRAME; in vp9_pick_inter_mode() 2485 this_rdc.rate += ref_frame_cost[INTRA_FRAME]; in vp9_pick_inter_mode() 2494 best_pickmode.best_ref_frame = INTRA_FRAME; in vp9_pick_inter_mode() 2504 if (best_pickmode.best_ref_frame != INTRA_FRAME) { in vp9_pick_inter_mode() 2563 else if (best_pickmode.best_ref_frame != INTRA_FRAME) in vp9_pick_inter_mode() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | findnearmv.c | 40 if (above->mbmi.ref_frame != INTRA_FRAME) { in vp8_find_near_mvs() 52 if (left->mbmi.ref_frame != INTRA_FRAME) { in vp8_find_near_mvs() 72 if (aboveleft->mbmi.ref_frame != INTRA_FRAME) { in vp8_find_near_mvs()
|
D | blockd.h | 134 INTRA_FRAME = 0, enumerator
|
/external/libaom/libaom/av1/common/ |
D | blockd.h | 302 return is_intrabc_block(mbmi) || mbmi->ref_frame[0] > INTRA_FRAME; in is_inter_block() 306 return mbmi->ref_frame[1] > INTRA_FRAME; in has_second_ref() 962 return (mbmi->ref_frame[0] > INTRA_FRAME && in is_interintra_mode() 963 mbmi->ref_frame[1] == INTRA_FRAME); in is_interintra_mode() 975 return (rf[0] > INTRA_FRAME) && (rf[1] <= INTRA_FRAME); in is_interintra_allowed_ref() 996 return mbmi->ref_frame[0] > INTRA_FRAME && in is_interintra_pred() 997 mbmi->ref_frame[1] == INTRA_FRAME && is_interintra_allowed(mbmi); in is_interintra_pred() 1036 is_inter_mode(mbmi->mode) && mbmi->ref_frame[1] != INTRA_FRAME && in motion_mode_allowed()
|
D | mvref_common.h | 108 if (rf[1] <= INTRA_FRAME) return -1; in get_uni_comp_ref_idx() 121 if (rf[1] > INTRA_FRAME) { in av1_ref_frame_type() 181 if (rf[1] <= INTRA_FRAME) return mode_context[ref_frame]; in av1_mode_context_analyzer()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_blockd.h | 58 #define INTRA_FRAME 0 macro 97 return mi->ref_frame[0] > INTRA_FRAME; in is_inter_block() 101 return mi->ref_frame[1] > INTRA_FRAME; in has_second_ref()
|
D | vp9_mvref_common.c | 101 prev_frame_mvs->ref_frame[0] > INTRA_FRAME) { in find_mv_refs_idx() 111 if (prev_frame_mvs->ref_frame[1] > INTRA_FRAME && in find_mv_refs_idx()
|
/external/libvpx/libvpx/vp8/decoder/ |
D | decodemv.c | 46 mi->mbmi.ref_frame = INTRA_FRAME; in read_kf_modes() 311 if (above->mbmi.ref_frame != INTRA_FRAME) { in read_mb_modes_mv() 323 if (left->mbmi.ref_frame != INTRA_FRAME) { in read_mb_modes_mv() 343 if (aboveleft->mbmi.ref_frame != INTRA_FRAME) { in read_mb_modes_mv()
|
D | threading.c | 139 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) { in mt_decode_macroblock() 261 YV12_BUFFER_CONFIG *yv12_fb_new = pbi->dec_fb_ref[INTRA_FRAME]; in mt_decode_mb_rows() 272 ref_fb_corrupted[INTRA_FRAME] = 0; in mt_decode_mb_rows() 381 (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) && in mt_decode_mb_rows() 472 if (next->mbmi.ref_frame == INTRA_FRAME) { in mt_decode_mb_rows() 847 YV12_BUFFER_CONFIG *yv12_fb_new = pbi->dec_fb_ref[INTRA_FRAME]; in vp8mt_decode_mb_rows()
|
D | decodeframe.c | 147 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) { in decode_macroblock() 449 YV12_BUFFER_CONFIG *yv12_fb_new = pbi->dec_fb_ref[INTRA_FRAME]; in decode_mb_rows() 461 ref_fb_corrupted[INTRA_FRAME] = 0; in decode_mb_rows() 540 xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME && in decode_mb_rows() 895 YV12_BUFFER_CONFIG *yv12_fb_new = pbi->dec_fb_ref[INTRA_FRAME]; in vp8_decode_frame()
|
/external/libaom/libaom/av1/encoder/ |
D | mbgraph.c | 186 intra_error = find_best_16x16_intra(cpi, &stats->ref[INTRA_FRAME].m.mode); in update_mbgraph_mb_stats() 188 stats->ref[INTRA_FRAME].err = intra_error; in update_mbgraph_mb_stats() 314 int intra_err = mb_stats->ref[INTRA_FRAME].err; in separate_arf_mbs()
|
D | rdopt.c | 384 { DC_PRED, { INTRA_FRAME, NONE_FRAME } }, 385 { PAETH_PRED, { INTRA_FRAME, NONE_FRAME } }, 386 { SMOOTH_PRED, { INTRA_FRAME, NONE_FRAME } }, 387 { SMOOTH_V_PRED, { INTRA_FRAME, NONE_FRAME } }, 388 { SMOOTH_H_PRED, { INTRA_FRAME, NONE_FRAME } }, 389 { H_PRED, { INTRA_FRAME, NONE_FRAME } }, 390 { V_PRED, { INTRA_FRAME, NONE_FRAME } }, 391 { D135_PRED, { INTRA_FRAME, NONE_FRAME } }, 392 { D203_PRED, { INTRA_FRAME, NONE_FRAME } }, 393 { D157_PRED, { INTRA_FRAME, NONE_FRAME } }, [all …]
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 206 mi->ref_frame[0] = INTRA_FRAME; in read_intra_frame_mode_info() 385 mi->ref_frame[0] = INTRA_FRAME; in read_intra_block_mode_info() 437 return get_segdata(&cm->seg, segment_id, SEG_LVL_REF_FRAME) != INTRA_FRAME; in read_is_inter_block() 582 prev_frame_mvs->ref_frame[0] > INTRA_FRAME) { in dec_find_mv_refs() 592 if (prev_frame_mvs->ref_frame[1] > INTRA_FRAME && in dec_find_mv_refs()
|
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 680 int_mv ref_mvs[INTRA_FRAME + 1][MAX_MV_REF_CANDIDATES]; in read_intrabc_info() 682 av1_find_mv_refs(cm, xd, mbmi, INTRA_FRAME, xd->ref_mv_count, in read_intrabc_info() 688 av1_find_best_ref_mvs(0, ref_mvs[INTRA_FRAME], &nearestmv, &nearmv, 0); in read_intrabc_info() 773 mbmi->ref_frame[0] = INTRA_FRAME; in read_intra_frame_mode_info() 1048 mbmi->ref_frame[0] = INTRA_FRAME; in read_intra_block_mode_info() 1205 return frame != INTRA_FRAME; in read_is_inter_block() 1371 mbmi->ref_frame[1] = INTRA_FRAME; in read_inter_block_mode_info() 1399 if (mbmi->ref_frame[1] != INTRA_FRAME) in read_inter_block_mode_info()
|