/external/libvpx/libvpx/vp9/common/ |
D | vp9_pred_common.c | 208 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 …]
|
D | vp9_blockd.h | 60 #define LAST_FRAME 1 macro
|
D | vp9_entropymode.c | 415 lf->ref_deltas[LAST_FRAME] = 0; in set_default_lf_deltas()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_pickmode.c | 1034 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 …]
|
D | vp9_encoder.h | 563 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()
|
D | vp9_rdopt.c | 47 #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 …]
|
D | vp9_denoiser.c | 424 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()
|
D | vp9_encoder.c | 2403 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) &&
|
D | vp9_encodeframe.c | 146 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 …]
|
D | vp9_firstpass.c | 528 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()
|
D | vp9_bitstream.c | 226 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()
|
D | vp9_mbgraph.c | 258 mi_local.mbmi.ref_frame[0] = LAST_FRAME; in update_mbgraph_frame_stats()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | pickinter.c | 621 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 …]
|
D | rdopt.h | 100 plane[LAST_FRAME], recon_yoffset, recon_uvoffset); in get_predictor_pointers() 119 ref_frame_map[i++] = LAST_FRAME; in get_reference_search_order()
|
D | bitstream.c | 499 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()
|
D | encodeframe.c | 533 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()
|
D | onyx_if.c | 653 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 …]
|
D | ethreading.c | 213 LAST_FRAME) { in thread_encoding_proc() 251 else if ((mbmi->mode == ZEROMV) && (mbmi->ref_frame == LAST_FRAME)) in thread_encoding_proc()
|
D | ratectrl.c | 449 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/ |
D | error_concealment.c | 363 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()
|
D | onyxd_if.c | 336 pbi->dec_fb_ref[LAST_FRAME] = &cm->yv12_fb[cm->lst_fb_idx]; in vp8dx_receive_compressed_data()
|
/external/libvpx/libvpx/vp8/common/ |
D | blockd.h | 149 LAST_FRAME = 1, enumerator
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodeframe.c | 58 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()
|
D | vp9_decodemv.c | 357 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/ |
D | vp8_dx_iface.c | 729 (vp8dx_references_buffer( oci, LAST_FRAME )?VP8_LAST_FRAME:0); in vp8_get_last_ref_frame()
|