/external/libvpx/libvpx/vp9/common/ |
D | vp9_pred_common.c | 278 pred_context = 4 * (edge_mbmi->ref_frame[0] == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2() 280 pred_context = 1 + 2 * (edge_mbmi->ref_frame[0] == GOLDEN_FRAME || in vp9_get_pred_context_single_ref_p2() 281 edge_mbmi->ref_frame[1] == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2() 293 pred_context = 3 * (above0 == GOLDEN_FRAME || in vp9_get_pred_context_single_ref_p2() 294 above1 == GOLDEN_FRAME || in vp9_get_pred_context_single_ref_p2() 295 left0 == GOLDEN_FRAME || in vp9_get_pred_context_single_ref_p2() 296 left1 == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2() 304 if (rfs == GOLDEN_FRAME) in vp9_get_pred_context_single_ref_p2() 305 pred_context = 3 + (crf1 == GOLDEN_FRAME || crf2 == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2() 307 pred_context = crf1 == GOLDEN_FRAME || crf2 == GOLDEN_FRAME; in vp9_get_pred_context_single_ref_p2() [all …]
|
D | vp9_blockd.h | 61 #define GOLDEN_FRAME 2 macro
|
D | vp9_entropymode.c | 416 lf->ref_deltas[GOLDEN_FRAME] = -1; in set_default_lf_deltas()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_mbgraph.c | 209 &stats->ref[GOLDEN_FRAME].m.mv, in update_mbgraph_mb_stats() 211 stats->ref[GOLDEN_FRAME].err = g_motion_error; in update_mbgraph_mb_stats() 213 stats->ref[GOLDEN_FRAME].err = INT_MAX; in update_mbgraph_mb_stats() 214 stats->ref[GOLDEN_FRAME].m.mv.as_int = 0; in update_mbgraph_mb_stats() 279 gld_left_mv = mb_stats->ref[GOLDEN_FRAME].m.mv.as_mv; in update_mbgraph_frame_stats() 330 int golden_err = mb_stats->ref[GOLDEN_FRAME].err; in separate_arf_mbs() 383 YV12_BUFFER_CONFIG *golden_ref = get_ref_frame_buffer(cpi, GOLDEN_FRAME); in vp9_update_mbgraph_stats()
|
D | vp9_pickmode.c | 1034 ref_frame_cost[LAST_FRAME] = ref_frame_cost[GOLDEN_FRAME] = in init_ref_frame_cost() 1038 ref_frame_cost[GOLDEN_FRAME] += vp9_cost_bit(ref_single_p1, 1); in init_ref_frame_cost() 1040 ref_frame_cost[GOLDEN_FRAME] += vp9_cost_bit(ref_single_p2, 0); in init_ref_frame_cost() 1053 {GOLDEN_FRAME, ZEROMV}, 1056 {GOLDEN_FRAME, NEARESTMV}, 1057 {GOLDEN_FRAME, NEARMV}, 1058 {GOLDEN_FRAME, NEWMV} 1062 {GOLDEN_FRAME, ZEROMV}, 1065 {GOLDEN_FRAME, NEARESTMV}, 1066 {GOLDEN_FRAME, NEARMV}, [all …]
|
D | vp9_rdopt.c | 45 #define LAST_FRAME_MODE_MASK ((1 << GOLDEN_FRAME) | (1 << ALTREF_FRAME) | \ 49 #define ALT_REF_MODE_MASK ((1 << LAST_FRAME) | (1 << GOLDEN_FRAME) | \ 85 {NEARESTMV, {GOLDEN_FRAME, NONE}}, 91 {NEWMV, {GOLDEN_FRAME, NONE}}, 95 {NEARMV, {GOLDEN_FRAME, NONE}}, 98 {ZEROMV, {GOLDEN_FRAME, NONE}}, 102 {NEARESTMV, {GOLDEN_FRAME, ALTREF_FRAME}}, 108 {NEARMV, {GOLDEN_FRAME, ALTREF_FRAME}}, 109 {NEWMV, {GOLDEN_FRAME, ALTREF_FRAME}}, 112 {ZEROMV, {GOLDEN_FRAME, ALTREF_FRAME}}, [all …]
|
D | vp9_denoiser.c | 420 copy_frame(&denoiser->running_avg_y[GOLDEN_FRAME], in vp9_denoiser_update_frame_info() 433 swap_frame_buffer(&denoiser->running_avg_y[GOLDEN_FRAME], in vp9_denoiser_update_frame_info()
|
D | vp9_encoder.h | 565 } else if (ref_frame == GOLDEN_FRAME) { in get_ref_frame_map_idx()
|
D | vp9_encodeframe.c | 718 yv12_g = get_ref_frame_buffer(cpi, GOLDEN_FRAME); in choose_partitioning() 724 &cm->frame_refs[GOLDEN_FRAME - 1].sf); in choose_partitioning() 744 &cm->frame_refs[GOLDEN_FRAME - 1].sf); in choose_partitioning() 745 mbmi->ref_frame[0] = GOLDEN_FRAME; in choose_partitioning() 1307 [ref0 == GOLDEN_FRAME]++; in update_stats() 1313 [ref0 != GOLDEN_FRAME]++; in update_stats() 2905 return GOLDEN_FRAME; in get_frame_type() 4013 cm->ref_frame_sign_bias[GOLDEN_FRAME]) || in vp9_encode_frame() 4021 cm->comp_var_ref[1] = GOLDEN_FRAME; in vp9_encode_frame()
|
D | vp9_firstpass.c | 529 YV12_BUFFER_CONFIG *gld_yv12 = get_ref_frame_buffer(cpi, GOLDEN_FRAME); in vp9_first_pass() 587 gld_yv12 = vp9_get_scaled_ref_frame(cpi, GOLDEN_FRAME); in vp9_first_pass() 589 gld_yv12 = get_ref_frame_buffer(cpi, GOLDEN_FRAME); in vp9_first_pass() 597 (cpi->ref_frame_flags & VP9_GOLD_FLAG) ? GOLDEN_FRAME : NONE); in vp9_first_pass()
|
D | vp9_encoder.c | 2405 ref_frame = GOLDEN_FRAME; in get_vp9_ref_frame_buffer() 2734 memcpy(cpi->interp_filter_selected[GOLDEN_FRAME], 2738 memcpy(cpi->interp_filter_selected[GOLDEN_FRAME], 3699 (ref_total[GOLDEN_FRAME] == 0 || 3700 cpi->interp_filter_selected[GOLDEN_FRAME][ifilter] * 50 3701 < ref_total[GOLDEN_FRAME]) &&
|
D | vp9_bitstream.c | 223 vpx_write(w, mbmi->ref_frame[0] == GOLDEN_FRAME, in write_ref_frames() 229 const int bit1 = mbmi->ref_frame[0] != GOLDEN_FRAME; in write_ref_frames()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | bitstream.c | 499 const int rf_inter = rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_convert_rfct_to_prob() 510 cpi->prob_gf_coded = (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_convert_rfct_to_prob() 511 ? (rfct[GOLDEN_FRAME] * 255) / (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) : 128; in vp8_convert_rfct_to_prob() 625 vp8_write(w, (rf == GOLDEN_FRAME) ? 0 : 1, cpi->prob_gf_coded); in pack_inter_mode_mvs() 993 ref_frame_cost[GOLDEN_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() 1021 new_garf = (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_estimate_entropy_savings() 1022 ? (rfct[GOLDEN_FRAME] * 255) / (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) : 128; in vp8_estimate_entropy_savings() 1030 rfct[GOLDEN_FRAME] * ref_frame_cost[GOLDEN_FRAME] + in vp8_estimate_entropy_savings() 1041 rfct[GOLDEN_FRAME] * ref_frame_cost[GOLDEN_FRAME] + in vp8_estimate_entropy_savings() [all …]
|
D | rdopt.h | 104 plane[GOLDEN_FRAME], recon_yoffset, recon_uvoffset); in get_predictor_pointers() 121 ref_frame_map[i++] = GOLDEN_FRAME; in get_reference_search_order()
|
D | segmentation.c | 43 …if ((this_mb_mode_info->mbmi.ref_frame == GOLDEN_FRAME) || (this_mb_mode_info->mbmi.ref_frame == A… in vp8_update_gf_useage_maps()
|
D | ratectrl.c | 450 cpi->recent_ref_frame_usage[GOLDEN_FRAME] + in calc_gf_params() 456 …gf_frame_useage = (cpi->recent_ref_frame_usage[GOLDEN_FRAME] + cpi->recent_ref_frame_usage[ALTREF_… in calc_gf_params() 986 cpi->recent_ref_frame_usage[GOLDEN_FRAME] + in calc_pframe_target_size() 992 …gf_frame_useage = (cpi->recent_ref_frame_usage[GOLDEN_FRAME] + cpi->recent_ref_frame_usage[ALTREF_… in calc_pframe_target_size()
|
D | onyx_if.c | 654 cpi->mb.e_mbd.ref_lf_deltas[GOLDEN_FRAME] = -2; in set_default_lf_deltas() 848 if (cpi->closest_reference_frame == GOLDEN_FRAME) { in vp8_set_speed_features() 1888 cpi->recent_ref_frame_usage[GOLDEN_FRAME] = 1; in vp8_create_compressor() 2891 cpi->recent_ref_frame_usage[GOLDEN_FRAME] = 1; in update_golden_frame_stats() 2930 cpi->recent_ref_frame_usage[GOLDEN_FRAME] += in update_golden_frame_stats() 2931 cpi->mb.count_mb_ref_frame_usage[GOLDEN_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() 3180 cpi->current_ref_frames[GOLDEN_FRAME] = cm->current_video_frame; in update_reference_frames() 3220 cpi->current_ref_frames[GOLDEN_FRAME]; in update_reference_frames() 3233 cpi->current_ref_frames[GOLDEN_FRAME] = cm->current_video_frame; in update_reference_frames() [all …]
|
D | encodeframe.c | 1022 + cpi->mb.count_mb_ref_frame_usage[GOLDEN_FRAME] in vp8_encode_frame() 1377 else if (xd->mode_info_context->mbmi.ref_frame == GOLDEN_FRAME) in vp8cx_encode_inter_macroblock()
|
D | pickinter.c | 799 else if (parent_ref_frame == GOLDEN_FRAME) in vp8_pick_inter_mode()
|
/external/libvpx/libvpx/vp8/common/ |
D | blockd.h | 150 GOLDEN_FRAME = 2, enumerator
|
/external/libvpx/libvpx/vp8/decoder/ |
D | onyxd_if.c | 337 pbi->dec_fb_ref[GOLDEN_FRAME] = &cm->yv12_fb[cm->gld_fb_idx]; in vp8dx_receive_compressed_data()
|
D | decodeframe.c | 945 pc->ref_frame_sign_bias[GOLDEN_FRAME] = 0; in init_frame() 1268 pc->ref_frame_sign_bias[GOLDEN_FRAME] = vp8_read_bit(bc); in vp8_decode_frame()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodeframe.c | 59 cm->ref_frame_sign_bias[GOLDEN_FRAME]) { in setup_compound_reference_mode() 62 cm->comp_var_ref[1] = GOLDEN_FRAME; in setup_compound_reference_mode() 65 cm->comp_fixed_ref = GOLDEN_FRAME; in setup_compound_reference_mode() 70 cm->comp_var_ref[0] = GOLDEN_FRAME; in setup_compound_reference_mode()
|
D | vp9_decodemv.c | 355 ref_frame[0] = bit1 ? ALTREF_FRAME : GOLDEN_FRAME; in read_ref_frames()
|
/external/libvpx/libvpx/vp8/ |
D | vp8_dx_iface.c | 728 (vp8dx_references_buffer( oci, GOLDEN_FRAME )?VP8_GOLD_FRAME:0) | in vp8_get_last_ref_frame()
|