Home
last modified time | relevance | path

Searched refs:GOLDEN_FRAME (Results 1 – 24 of 24) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.c284 pred_context = 4 * (edge_mbmi->ref_frame[0] == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2()
286 pred_context = 1 + 2 * (edge_mbmi->ref_frame[0] == GOLDEN_FRAME || in vp9_get_pred_context_single_ref_p2()
287 edge_mbmi->ref_frame[1] == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2()
299 pred_context = 3 * (above0 == GOLDEN_FRAME || in vp9_get_pred_context_single_ref_p2()
300 above1 == GOLDEN_FRAME || in vp9_get_pred_context_single_ref_p2()
301 left0 == GOLDEN_FRAME || in vp9_get_pred_context_single_ref_p2()
302 left1 == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2()
310 if (rfs == GOLDEN_FRAME) in vp9_get_pred_context_single_ref_p2()
311 pred_context = 3 + (crf1 == GOLDEN_FRAME || crf2 == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2()
313 pred_context = crf1 == GOLDEN_FRAME || crf2 == GOLDEN_FRAME; in vp9_get_pred_context_single_ref_p2()
[all …]
Dvp9_blockd.h105 GOLDEN_FRAME = 2, enumerator
Dvp9_entropymode.c427 lf->ref_deltas[GOLDEN_FRAME] = -1; in set_default_lf_deltas()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mbgraph.c199 &stats->ref[GOLDEN_FRAME].m.mv, in update_mbgraph_mb_stats()
201 stats->ref[GOLDEN_FRAME].err = g_motion_error; in update_mbgraph_mb_stats()
203 stats->ref[GOLDEN_FRAME].err = INT_MAX; in update_mbgraph_mb_stats()
204 stats->ref[GOLDEN_FRAME].m.mv.as_int = 0; in update_mbgraph_mb_stats()
269 gld_left_mv = mb_stats->ref[GOLDEN_FRAME].m.mv.as_mv; in update_mbgraph_frame_stats()
320 int golden_err = mb_stats->ref[GOLDEN_FRAME].err; in separate_arf_mbs()
373 YV12_BUFFER_CONFIG *golden_ref = get_ref_frame_buffer(cpi, GOLDEN_FRAME); in vp9_update_mbgraph_stats()
Dvp9_rdopt.c79 {NEARESTMV, {GOLDEN_FRAME, NONE}},
85 {NEWMV, {GOLDEN_FRAME, NONE}},
90 {NEARESTMV, {GOLDEN_FRAME, ALTREF_FRAME}},
96 {NEARMV, {GOLDEN_FRAME, NONE}},
97 {NEARMV, {GOLDEN_FRAME, ALTREF_FRAME}},
98 {NEWMV, {GOLDEN_FRAME, ALTREF_FRAME}},
101 {ZEROMV, {GOLDEN_FRAME, NONE}},
104 {ZEROMV, {GOLDEN_FRAME, ALTREF_FRAME}},
118 {{GOLDEN_FRAME, NONE}},
121 {{GOLDEN_FRAME, ALTREF_FRAME}},
[all …]
Dvp9_encoder.h485 } else if (ref_frame == GOLDEN_FRAME) { in get_ref_frame_idx()
Dvp9_denoiser.c358 copy_frame(denoiser->running_avg_y[GOLDEN_FRAME], in vp9_denoiser_update_frame_info()
Dvp9_firstpass.c412 YV12_BUFFER_CONFIG *gld_yv12 = get_ref_frame_buffer(cpi, GOLDEN_FRAME); in vp9_first_pass()
469 scaled_ref_buf = vp9_get_scaled_ref_frame(cpi, GOLDEN_FRAME); in vp9_first_pass()
470 ref_frame = GOLDEN_FRAME; in vp9_first_pass()
Dvp9_bitstream.c212 vp9_write(w, mbmi->ref_frame[0] == GOLDEN_FRAME, in write_ref_frames()
218 const int bit1 = mbmi->ref_frame[0] != GOLDEN_FRAME; in write_ref_frames()
Dvp9_encodeframe.c826 [ref0 == GOLDEN_FRAME]++; in update_stats()
832 [ref0 != GOLDEN_FRAME]++; in update_stats()
2578 return GOLDEN_FRAME; in get_frame_type()
3382 cm->ref_frame_sign_bias[GOLDEN_FRAME]) || in vp9_encode_frame()
3390 cm->comp_var_ref[1] = GOLDEN_FRAME; in vp9_encode_frame()
Dvp9_encoder.c1261 ref_frame = GOLDEN_FRAME; in get_vp9_ref_frame_buffer()
/external/libvpx/libvpx/vp8/encoder/
Dbitstream.c497 const int rf_inter = rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_convert_rfct_to_prob()
508 cpi->prob_gf_coded = (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_convert_rfct_to_prob()
509 ? (rfct[GOLDEN_FRAME] * 255) / (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) : 128; in vp8_convert_rfct_to_prob()
623 vp8_write(w, (rf == GOLDEN_FRAME) ? 0 : 1, cpi->prob_gf_coded); in pack_inter_mode_mvs()
991 ref_frame_cost[GOLDEN_FRAME] = vp8_cost_one(prob_intra) in vp8_calc_ref_frame_costs()
1006 const int rf_inter = rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_estimate_entropy_savings()
1019 new_garf = (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_estimate_entropy_savings()
1020 ? (rfct[GOLDEN_FRAME] * 255) / (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) : 128; in vp8_estimate_entropy_savings()
1028 rfct[GOLDEN_FRAME] * ref_frame_cost[GOLDEN_FRAME] + in vp8_estimate_entropy_savings()
1039 rfct[GOLDEN_FRAME] * ref_frame_cost[GOLDEN_FRAME] + in vp8_estimate_entropy_savings()
[all …]
Drdopt.h102 plane[GOLDEN_FRAME], recon_yoffset, recon_uvoffset); in get_predictor_pointers()
119 ref_frame_map[i++] = GOLDEN_FRAME; in get_reference_search_order()
Dsegmentation.c43 …if ((this_mb_mode_info->mbmi.ref_frame == GOLDEN_FRAME) || (this_mb_mode_info->mbmi.ref_frame == A… in vp8_update_gf_useage_maps()
Dratectrl.c448 cpi->recent_ref_frame_usage[GOLDEN_FRAME] + in calc_gf_params()
454 …gf_frame_useage = (cpi->recent_ref_frame_usage[GOLDEN_FRAME] + cpi->recent_ref_frame_usage[ALTREF_… in calc_gf_params()
978 cpi->recent_ref_frame_usage[GOLDEN_FRAME] + in calc_pframe_target_size()
984 …gf_frame_useage = (cpi->recent_ref_frame_usage[GOLDEN_FRAME] + cpi->recent_ref_frame_usage[ALTREF_… in calc_pframe_target_size()
Donyx_if.c669 cpi->mb.e_mbd.ref_lf_deltas[GOLDEN_FRAME] = -2; in set_default_lf_deltas()
1867 cpi->recent_ref_frame_usage[GOLDEN_FRAME] = 1; in vp8_create_compressor()
2866 cpi->recent_ref_frame_usage[GOLDEN_FRAME] = 1; in update_golden_frame_stats()
2905 cpi->recent_ref_frame_usage[GOLDEN_FRAME] += in update_golden_frame_stats()
2906 cpi->mb.count_mb_ref_frame_usage[GOLDEN_FRAME]; in update_golden_frame_stats()
2922 const int rf_inter = rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in update_rd_ref_frame_probs()
3154 cpi->current_ref_frames[GOLDEN_FRAME] = cm->current_video_frame; in update_reference_frames()
3200 cpi->current_ref_frames[GOLDEN_FRAME]; in update_reference_frames()
3215 cpi->current_ref_frames[GOLDEN_FRAME] = cm->current_video_frame; in update_reference_frames()
3231 cpi->current_ref_frames[GOLDEN_FRAME] = in update_reference_frames()
[all …]
Dencodeframe.c1013 + cpi->mb.count_mb_ref_frame_usage[GOLDEN_FRAME] in vp8_encode_frame()
1368 else if (xd->mode_info_context->mbmi.ref_frame == GOLDEN_FRAME) in vp8cx_encode_inter_macroblock()
Dpickinter.c636 else if (parent_ref_frame == GOLDEN_FRAME) in vp8_pick_inter_mode()
/external/libvpx/libvpx/vp8/common/
Dblockd.h150 GOLDEN_FRAME = 2, enumerator
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c56 cm->ref_frame_sign_bias[GOLDEN_FRAME]) { in setup_compound_reference_mode()
59 cm->comp_var_ref[1] = GOLDEN_FRAME; in setup_compound_reference_mode()
62 cm->comp_fixed_ref = GOLDEN_FRAME; in setup_compound_reference_mode()
67 cm->comp_var_ref[0] = GOLDEN_FRAME; in setup_compound_reference_mode()
Dvp9_decodemv.c303 ref_frame[0] = bit1 ? ALTREF_FRAME : GOLDEN_FRAME; in read_ref_frames()
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c318 pbi->dec_fb_ref[GOLDEN_FRAME] = &cm->yv12_fb[cm->gld_fb_idx]; in vp8dx_receive_compressed_data()
Ddecodeframe.c942 pc->ref_frame_sign_bias[GOLDEN_FRAME] = 0; in init_frame()
1266 pc->ref_frame_sign_bias[GOLDEN_FRAME] = vp8_read_bit(bc); in vp8_decode_frame()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c731 (vp8dx_references_buffer( oci, GOLDEN_FRAME )?VP8_GOLD_FRAME:0) | in vp8_get_last_ref_frame()