/external/libvpx/libvpx/vp9/common/ |
D | vp9_pred_common.c | 26 cm->ref_frame_sign_bias[GOLDEN_FRAME]) { in vp9_setup_compound_reference_mode() 29 cm->comp_var_ref[1] = GOLDEN_FRAME; in vp9_setup_compound_reference_mode() 32 cm->comp_fixed_ref = GOLDEN_FRAME; in vp9_setup_compound_reference_mode() 37 cm->comp_var_ref[0] = GOLDEN_FRAME; in vp9_setup_compound_reference_mode() 256 pred_context = 4 * (edge_mi->ref_frame[0] == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2() 258 pred_context = 1 + 2 * (edge_mi->ref_frame[0] == GOLDEN_FRAME || in vp9_get_pred_context_single_ref_p2() 259 edge_mi->ref_frame[1] == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2() 272 3 * (above0 == GOLDEN_FRAME || above1 == GOLDEN_FRAME || in vp9_get_pred_context_single_ref_p2() 273 left0 == GOLDEN_FRAME || left1 == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2() 281 if (rfs == GOLDEN_FRAME) in vp9_get_pred_context_single_ref_p2() [all …]
|
D | vp9_blockd.h | 60 #define GOLDEN_FRAME 2 macro
|
D | vp9_entropymode.c | 418 lf->ref_deltas[GOLDEN_FRAME] = -1; in set_default_lf_deltas()
|
/external/libaom/libaom/av1/common/ |
D | pred_common.c | 270 ref_counts[LAST3_FRAME] + ref_counts[GOLDEN_FRAME]; in av1_get_pred_context_uni_comp_ref_p() 297 ref_counts[LAST3_FRAME] + ref_counts[GOLDEN_FRAME]; in av1_get_pred_context_uni_comp_ref_p1() 321 const int gld_count = ref_counts[GOLDEN_FRAME]; in av1_get_pred_context_uni_comp_ref_p2() 341 ref_counts[LAST3_FRAME] + ref_counts[GOLDEN_FRAME]; in get_pred_context_ll2_or_l3gld() 374 const int gld_count = ref_counts[GOLDEN_FRAME]; in get_pred_context_last3_or_gld() 460 ref_counts[LAST3_FRAME] + ref_counts[GOLDEN_FRAME]; in av1_get_pred_context_single_ref_p1()
|
D | mvref_common.h | 139 { LAST3_FRAME, BWDREF_FRAME }, { GOLDEN_FRAME, BWDREF_FRAME }, 142 { LAST3_FRAME, ALTREF2_FRAME }, { GOLDEN_FRAME, ALTREF2_FRAME }, 145 { LAST3_FRAME, ALTREF_FRAME }, { GOLDEN_FRAME, ALTREF_FRAME }, 148 { LAST_FRAME, GOLDEN_FRAME }, { BWDREF_FRAME, ALTREF_FRAME }, 153 { LAST2_FRAME, LAST3_FRAME }, { LAST2_FRAME, GOLDEN_FRAME }, 154 { LAST3_FRAME, GOLDEN_FRAME }, {BWDREF_FRAME, ALTREF2_FRAME},
|
D | enums.h | 557 GOLDEN_FRAME, enumerator 572 FWD_REFS = GOLDEN_FRAME - LAST_FRAME + 1,
|
D | blockd.h | 334 GOLDEN_FRAME, // LAST_GOLDEN_FRAMES, in comp_ref1() 337 GOLDEN_FRAME, // LAST2_GOLDEN_FRAMES, in comp_ref1() 338 GOLDEN_FRAME, // LAST3_GOLDEN_FRAMES, in comp_ref1()
|
D | mvref_common.c | 1049 (alt_of_lst_order_hint == ref_order_hint[GOLDEN_FRAME - LAST_FRAME]); in av1_setup_motion_field() 1483 set_ref_frame_info(remapped_ref_idx, GOLDEN_FRAME - LAST_FRAME, in av1_set_frame_refs() 1485 ref_flag_list[GOLDEN_FRAME - LAST_FRAME] = 1; in av1_set_frame_refs() 1490 ref_flag_list[GOLDEN_FRAME - LAST_FRAME] == 1); in av1_set_frame_refs()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_pickmode.c | 902 if (cpi->use_svc && ref_frame == GOLDEN_FRAME) return; in encode_breakout_test() 1178 ref_frame_cost[LAST_FRAME] = ref_frame_cost[GOLDEN_FRAME] = in init_ref_frame_cost() 1182 ref_frame_cost[GOLDEN_FRAME] += vp9_cost_bit(ref_single_p1, 1); in init_ref_frame_cost() 1184 ref_frame_cost[GOLDEN_FRAME] += vp9_cost_bit(ref_single_p2, 0); in init_ref_frame_cost() 1196 { GOLDEN_FRAME, ZEROMV }, { LAST_FRAME, NEARMV }, 1197 { LAST_FRAME, NEWMV }, { GOLDEN_FRAME, NEARESTMV }, 1198 { GOLDEN_FRAME, NEARMV }, { GOLDEN_FRAME, NEWMV }, 1206 { LAST_FRAME, NEARMV }, { GOLDEN_FRAME, ZEROMV }, 1207 { GOLDEN_FRAME, NEARESTMV }, { GOLDEN_FRAME, NEARMV }, 1208 { LAST_FRAME, NEWMV }, { GOLDEN_FRAME, NEWMV } [all …]
|
D | vp9_mbgraph.c | 189 &stats->ref[GOLDEN_FRAME].m.mv, mb_row, mb_col); in update_mbgraph_mb_stats() 190 stats->ref[GOLDEN_FRAME].err = g_motion_error; in update_mbgraph_mb_stats() 192 stats->ref[GOLDEN_FRAME].err = INT_MAX; in update_mbgraph_mb_stats() 193 stats->ref[GOLDEN_FRAME].m.mv.as_int = 0; in update_mbgraph_mb_stats() 261 gld_left_mv = mb_stats->ref[GOLDEN_FRAME].m.mv.as_mv; in update_mbgraph_frame_stats() 316 int golden_err = mb_stats->ref[GOLDEN_FRAME].err; in separate_arf_mbs() 368 YV12_BUFFER_CONFIG *golden_ref = get_ref_frame_buffer(cpi, GOLDEN_FRAME); in vp9_update_mbgraph_stats()
|
D | vp9_rdopt.c | 46 ((1 << GOLDEN_FRAME) | (1 << ALTREF_FRAME) | (1 << INTRA_FRAME)) 50 ((1 << LAST_FRAME) | (1 << GOLDEN_FRAME) | (1 << INTRA_FRAME)) 86 { NEARESTMV, { GOLDEN_FRAME, NONE } }, 92 { NEWMV, { GOLDEN_FRAME, NONE } }, 96 { NEARMV, { GOLDEN_FRAME, NONE } }, 99 { ZEROMV, { GOLDEN_FRAME, NONE } }, 103 { NEARESTMV, { GOLDEN_FRAME, ALTREF_FRAME } }, 109 { NEARMV, { GOLDEN_FRAME, ALTREF_FRAME } }, 110 { NEWMV, { GOLDEN_FRAME, ALTREF_FRAME } }, 113 { ZEROMV, { GOLDEN_FRAME, ALTREF_FRAME } }, [all …]
|
D | vp9_svc_layercontext.c | 466 else if (first_ref != GOLDEN_FRAME && in reset_fb_idx_unused() 467 !(cpi->ref_frame_flags & flag_list[GOLDEN_FRAME]) && in reset_fb_idx_unused() 725 (uint8_t)(cpi->ref_frame_flags & flag_list[GOLDEN_FRAME]); in vp9_copy_flags_ref_update_idx() 1025 for (ref_frame = LAST_FRAME; ref_frame <= GOLDEN_FRAME; ref_frame++) { in vp9_svc_constrain_inter_layer_pred()
|
D | vp9_denoiser.c | 223 (frame != GOLDEN_FRAME || num_spatial_layers == 1 || in perform_motion_compensation() 258 else if (frame == GOLDEN_FRAME) in perform_motion_compensation()
|
/external/libaom/libaom/av1/encoder/ |
D | mbgraph.c | 197 stats->ref[GOLDEN_FRAME].m.mv = x->best_mv; in update_mbgraph_mb_stats() 198 stats->ref[GOLDEN_FRAME].err = g_motion_error; in update_mbgraph_mb_stats() 200 stats->ref[GOLDEN_FRAME].err = INT_MAX; in update_mbgraph_mb_stats() 201 stats->ref[GOLDEN_FRAME].m.mv.as_int = 0; in update_mbgraph_mb_stats() 265 gld_left_mv = mb_stats->ref[GOLDEN_FRAME].m.mv.as_mv; in update_mbgraph_frame_stats() 315 int golden_err = mb_stats->ref[GOLDEN_FRAME].err; in separate_arf_mbs() 367 YV12_BUFFER_CONFIG *golden_ref = &get_ref_frame_buf(cm, GOLDEN_FRAME)->buf; in av1_update_mbgraph_stats()
|
D | encode_strategy.c | 248 const RefCntBuffer *golden_buf = get_ref_frame_buf(cm, GOLDEN_FRAME); in get_ref_frame_flags() 381 cm->show_frame ? get_ref_frame_map_idx(cm, GOLDEN_FRAME) in update_fb_of_context_type() 743 const int gld_map_idx = get_ref_frame_map_idx(cm, GOLDEN_FRAME); in update_ref_frame_map() 797 assign_new_map(cm, new_map, ALTREF_FRAME, GOLDEN_FRAME); in update_ref_frame_map() 798 assign_new_map(cm, new_map, GOLDEN_FRAME, ALTREF_FRAME); in update_ref_frame_map() 879 << get_ref_frame_map_idx(cm, GOLDEN_FRAME); in get_refresh_frame_flags() 899 refresh_mask |= 1 << get_ref_frame_map_idx(cm, GOLDEN_FRAME); in get_refresh_frame_flags() 911 refresh_mask |= 1 << get_ref_frame_map_idx(cm, GOLDEN_FRAME); in get_refresh_frame_flags()
|
D | firstpass.c | 360 const YV12_BUFFER_CONFIG *gld_yv12 = get_ref_frame_yv12_buf(cm, GOLDEN_FRAME); in av1_first_pass() 820 &cm->ref_frame_map[get_ref_frame_map_idx(cm, GOLDEN_FRAME)], in av1_first_pass() 837 get_ref_frame_map_idx(cm, GOLDEN_FRAME) != INVALID_IDX) { in av1_first_pass() 839 &cm->ref_frame_map[get_ref_frame_map_idx(cm, GOLDEN_FRAME)], in av1_first_pass()
|
D | rdopt.c | 209 { NEARESTMV, { GOLDEN_FRAME, NONE_FRAME } }, 217 { NEWMV, { GOLDEN_FRAME, NONE_FRAME } }, 225 { NEARMV, { GOLDEN_FRAME, NONE_FRAME } }, 232 { GLOBALMV, { GOLDEN_FRAME, NONE_FRAME } }, 240 { NEAREST_NEARESTMV, { GOLDEN_FRAME, ALTREF_FRAME } }, 244 { NEAREST_NEARESTMV, { GOLDEN_FRAME, BWDREF_FRAME } }, 248 { NEAREST_NEARESTMV, { GOLDEN_FRAME, ALTREF2_FRAME } }, 252 { NEAREST_NEARESTMV, { LAST_FRAME, GOLDEN_FRAME } }, 279 { NEAR_NEARMV, { GOLDEN_FRAME, ALTREF_FRAME } }, 280 { NEW_NEARESTMV, { GOLDEN_FRAME, ALTREF_FRAME } }, [all …]
|
/external/libvpx/libvpx/vp8/encoder/ |
D | bitstream.c | 390 rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_convert_rfct_to_prob() 401 cpi->prob_gf_coded = (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_convert_rfct_to_prob() 402 ? (rfct[GOLDEN_FRAME] * 255) / in vp8_convert_rfct_to_prob() 403 (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_convert_rfct_to_prob() 495 vp8_write(w, (rf == GOLDEN_FRAME) ? 0 : 1, cpi->prob_gf_coded); in pack_inter_mode_mvs() 788 ref_frame_cost[GOLDEN_FRAME] = vp8_cost_one(prob_intra) + in vp8_calc_ref_frame_costs() 802 rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in vp8_estimate_entropy_savings() 813 new_garf = (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_estimate_entropy_savings() 814 ? (rfct[GOLDEN_FRAME] * 255) / in vp8_estimate_entropy_savings() 815 (rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]) in vp8_estimate_entropy_savings() [all …]
|
D | rdopt.h | 93 plane[GOLDEN_FRAME], recon_yoffset, recon_uvoffset); in get_predictor_pointers() 108 if (cpi->ref_frame_flags & VP8_GOLD_FRAME) ref_frame_map[i++] = GOLDEN_FRAME; in get_reference_search_order()
|
D | segmentation.c | 35 if ((this_mb_mode_info->mbmi.ref_frame == GOLDEN_FRAME) || in vp8_update_gf_useage_maps()
|
D | ratectrl.c | 389 cpi->recent_ref_frame_usage[GOLDEN_FRAME] + in calc_gf_params() 396 gf_frame_useage = (cpi->recent_ref_frame_usage[GOLDEN_FRAME] + in calc_gf_params() 893 cpi->recent_ref_frame_usage[GOLDEN_FRAME] + in calc_pframe_target_size() 900 gf_frame_useage = (cpi->recent_ref_frame_usage[GOLDEN_FRAME] + in calc_pframe_target_size()
|
D | onyx_if.c | 668 cpi->mb.e_mbd.ref_lf_deltas[GOLDEN_FRAME] = -2; in set_default_lf_deltas() 847 if (cpi->closest_reference_frame == GOLDEN_FRAME) { in vp8_set_speed_features() 1796 cpi->recent_ref_frame_usage[GOLDEN_FRAME] = 1; in vp8_create_compressor() 2618 cpi->recent_ref_frame_usage[GOLDEN_FRAME] = 1; in update_golden_frame_stats() 2649 cpi->recent_ref_frame_usage[GOLDEN_FRAME] += in update_golden_frame_stats() 2650 cpi->mb.count_mb_ref_frame_usage[GOLDEN_FRAME]; in update_golden_frame_stats() 2666 rfct[LAST_FRAME] + rfct[GOLDEN_FRAME] + rfct[ALTREF_FRAME]; in update_rd_ref_frame_probs() 2871 cpi->current_ref_frames[GOLDEN_FRAME] = cm->current_video_frame; in update_reference_frames() 2901 cpi->current_ref_frames[GOLDEN_FRAME]; in update_reference_frames() 2913 cpi->current_ref_frames[GOLDEN_FRAME] = cm->current_video_frame; in update_reference_frames() [all …]
|
D | encodeframe.c | 935 cpi->mb.count_mb_ref_frame_usage[GOLDEN_FRAME] + in vp8_encode_frame() 1247 } else if (xd->mode_info_context->mbmi.ref_frame == GOLDEN_FRAME) { in vp8cx_encode_inter_macroblock()
|
/external/libvpx/libvpx/vp8/common/ |
D | blockd.h | 136 GOLDEN_FRAME = 2, enumerator
|
/external/libvpx/libvpx/vp8/decoder/ |
D | onyxd_if.c | 322 pbi->dec_fb_ref[GOLDEN_FRAME] = &cm->yv12_fb[cm->gld_fb_idx]; in vp8dx_receive_compressed_data()
|