Home
last modified time | relevance | path

Searched refs:ref_frame_flags (Results 1 – 21 of 21) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c455 if (cpi->ref_frame_flags & flag_list[ref_frame]) { in reset_fb_idx_unused()
463 !(cpi->ref_frame_flags & flag_list[LAST_FRAME]) && in reset_fb_idx_unused()
467 !(cpi->ref_frame_flags & flag_list[GOLDEN_FRAME]) && in reset_fb_idx_unused()
471 !(cpi->ref_frame_flags & flag_list[ALTREF_FRAME]) && in reset_fb_idx_unused()
500 cpi->ref_frame_flags = VP9_LAST_FLAG; in set_flags_and_fb_idx_for_temporal_mode3()
503 cpi->ref_frame_flags = VP9_LAST_FLAG; in set_flags_and_fb_idx_for_temporal_mode3()
507 cpi->ref_frame_flags = VP9_LAST_FLAG | VP9_GOLD_FLAG; in set_flags_and_fb_idx_for_temporal_mode3()
513 cpi->ref_frame_flags = VP9_LAST_FLAG; in set_flags_and_fb_idx_for_temporal_mode3()
515 cpi->ref_frame_flags = VP9_LAST_FLAG | VP9_GOLD_FLAG; in set_flags_and_fb_idx_for_temporal_mode3()
523 cpi->ref_frame_flags = VP9_LAST_FLAG; in set_flags_and_fb_idx_for_temporal_mode3()
[all …]
Dvp9_encoder.h653 int ref_frame_flags; member
873 int vp9_use_as_reference(VP9_COMP *cpi, int ref_frame_flags);
875 void vp9_update_reference(VP9_COMP *cpi, int ref_frame_flags);
Dvp9_pickmode.c1227 if ((cpi->ref_frame_flags & flag_list[ref_frame]) && (yv12 != NULL)) { in find_predictors()
1857 if (cpi->ref_frame_flags & flag_list[LAST_FRAME]) { in vp9_pick_inter_mode()
1864 if (cpi->ref_frame_flags & flag_list[GOLDEN_FRAME]) { in vp9_pick_inter_mode()
1889 if (!((cpi->ref_frame_flags & flag_list[GOLDEN_FRAME]) && in vp9_pick_inter_mode()
1917 !(cpi->ref_frame_flags & flag_list[ref_frame]); in vp9_pick_inter_mode()
2006 if (!(cpi->ref_frame_flags & flag_list[second_ref_frame])) continue; in vp9_pick_inter_mode()
2018 if (!(cpi->ref_frame_flags & flag_list[ref_frame])) continue; in vp9_pick_inter_mode()
2088 if ((cpi->ref_frame_flags & flag_list[i])) in vp9_pick_inter_mode()
2097 if (((cpi->ref_frame_flags & flag_list[ref1]) && in vp9_pick_inter_mode()
2099 ((cpi->ref_frame_flags & flag_list[ref2]) && in vp9_pick_inter_mode()
[all …]
Dvp9_speed_features.c492 if (yv12 != NULL && (cpi->ref_frame_flags & flag_list[ref_frame])) { in set_rt_speed_feature_framesize_independent()
721 cpi->ref_frame_flags &= (~VP9_GOLD_FLAG); in set_rt_speed_feature_framesize_independent()
Dvp9_encoder.c609 !(cpi->ref_frame_flags & flag_list[ref_frame[i]])) { in apply_roi_map()
1468 cpi->ref_frame_flags = 0; in init_config()
2682 int vp9_use_as_reference(VP9_COMP *cpi, int ref_frame_flags) { in vp9_use_as_reference() argument
2683 if (ref_frame_flags > 7) return -1; in vp9_use_as_reference()
2685 cpi->ref_frame_flags = ref_frame_flags; in vp9_use_as_reference()
2689 void vp9_update_reference(VP9_COMP *cpi, int ref_frame_flags) { in vp9_update_reference() argument
2690 cpi->ext_refresh_golden_frame = (ref_frame_flags & VP9_GOLD_FLAG) != 0; in vp9_update_reference()
2691 cpi->ext_refresh_alt_ref_frame = (ref_frame_flags & VP9_ALT_FLAG) != 0; in vp9_update_reference()
2692 cpi->ext_refresh_last_frame = (ref_frame_flags & VP9_LAST_FLAG) != 0; in vp9_update_reference()
3165 if (cpi->ref_frame_flags & ref_mask[ref_frame - 1]) {
[all …]
Dvp9_denoiser.c363 int last_is_reference = cpi->ref_frame_flags & VP9_LAST_FLAG; in vp9_denoiser_denoise()
Dvp9_rdopt.c3231 if ((cpi->ref_frame_flags & flag_list[ref_frame]) && in vp9_rd_pick_inter_mode_sb()
3242 if (!(cpi->ref_frame_flags & flag_list[ref_frame])) { in vp9_rd_pick_inter_mode_sb()
3448 if (!(cpi->ref_frame_flags & flag_list[second_ref_frame])) continue; in vp9_rd_pick_inter_mode_sb()
3999 if (cpi->ref_frame_flags & flag_list[ref_frame]) { in vp9_rd_pick_inter_mode_sub8x8()
4084 if (!(cpi->ref_frame_flags & flag_list[second_ref_frame])) continue; in vp9_rd_pick_inter_mode_sub8x8()
Dvp9_ratectrl.c2184 cpi->ref_frame_flags &= (~VP9_LAST_FLAG & ~VP9_GOLD_FLAG & ~VP9_ALT_FLAG); in vp9_rc_get_svc_params()
2220 cpi->ref_frame_flags = VP9_LAST_FLAG | VP9_GOLD_FLAG; in vp9_rc_get_svc_params()
Dvp9_encodeframe.c1383 (cpi->ref_frame_flags & VP9_GOLD_FLAG)) { in choose_partitioning()
4326 const int ref_flags = cpi->ref_frame_flags; in check_dual_ref_flags()
5168 (cpi->ref_frame_flags & VP9_GOLD_FLAG)) { in get_estimated_pred()
5737 cpi->ref_frame_flags &= (~VP9_GOLD_FLAG); in encode_frame_internal()
/external/libvpx/libvpx/vp8/encoder/
Drdopt.h86 if (cpi->ref_frame_flags & VP8_LAST_FRAME) { in get_predictor_pointers()
91 if (cpi->ref_frame_flags & VP8_GOLD_FRAME) { in get_predictor_pointers()
96 if (cpi->ref_frame_flags & VP8_ALTR_FRAME) { in get_predictor_pointers()
107 if (cpi->ref_frame_flags & VP8_LAST_FRAME) ref_frame_map[i++] = LAST_FRAME; in get_reference_search_order()
108 if (cpi->ref_frame_flags & VP8_GOLD_FRAME) ref_frame_map[i++] = GOLDEN_FRAME; in get_reference_search_order()
109 if (cpi->ref_frame_flags & VP8_ALTR_FRAME) ref_frame_map[i++] = ALTREF_FRAME; in get_reference_search_order()
Donyx_if.c807 if (cpi->ref_frame_flags & VP8_LAST_FRAME) ref_frames++; in vp8_set_speed_features()
808 if (cpi->ref_frame_flags & VP8_GOLD_FRAME) ref_frames++; in vp8_set_speed_features()
809 if (cpi->ref_frame_flags & VP8_ALTR_FRAME) ref_frames++; in vp8_set_speed_features()
845 (cpi->ref_frame_flags & VP8_LAST_FRAME) && in vp8_set_speed_features()
846 (cpi->ref_frame_flags & VP8_GOLD_FRAME)) { in vp8_set_speed_features()
1335 cpi->ref_frame_flags = VP8_ALTR_FRAME | VP8_GOLD_FRAME | VP8_LAST_FRAME; in init_config()
2394 int vp8_use_as_reference(VP8_COMP *cpi, int ref_frame_flags) { in vp8_use_as_reference() argument
2395 if (ref_frame_flags > 7) return -1; in vp8_use_as_reference()
2397 cpi->ref_frame_flags = ref_frame_flags; in vp8_use_as_reference()
2400 int vp8_update_reference(VP8_COMP *cpi, int ref_frame_flags) { in vp8_update_reference() argument
[all …]
Dencodeframe.c620 if (cpi->ref_frame_flags == VP8_LAST_FRAME) { in init_encode_frame_mb_context()
624 (cpi->ref_frame_flags == VP8_GOLD_FRAME)) { in init_encode_frame_mb_context()
627 (cpi->ref_frame_flags == VP8_ALTR_FRAME)) { in init_encode_frame_mb_context()
Donyx_int.h470 int ref_frame_flags; member
Dpickinter.c612 if (cpi->ref_frame_flags & VP8_LAST_FRAME) { in vp8_pick_inter_mode()
673 parent_ref_flag = (cpi->ref_frame_flags & VP8_LAST_FRAME); in vp8_pick_inter_mode()
675 parent_ref_flag = (cpi->ref_frame_flags & VP8_GOLD_FRAME); in vp8_pick_inter_mode()
/external/libvpx/libvpx/vp8/common/
Donyx.h262 int vp8_use_as_reference(struct VP8_COMP *cpi, int ref_frame_flags);
263 int vp8_update_reference(struct VP8_COMP *cpi, int ref_frame_flags);
/external/libaom/libaom/av1/encoder/
Dpartition_strategy.c172 if (cpi->ref_frame_flags & av1_ref_frame_flag_list[ref]) { in simple_motion_search_get_best_ref()
221 assert(cpi->ref_frame_flags & av1_ref_frame_flag_list[LAST_FRAME] || in simple_motion_search_prune_part_features()
222 cpi->ref_frame_flags & av1_ref_frame_flag_list[ALTREF_FRAME]); in simple_motion_search_prune_part_features()
464 assert(cpi->ref_frame_flags & av1_ref_frame_flag_list[LAST_FRAME] || in firstpass_simple_motion_search_features()
465 cpi->ref_frame_flags & av1_ref_frame_flag_list[ALTREF_FRAME]); in firstpass_simple_motion_search_features()
Dencoder.h821 int ref_frame_flags; member
1022 int ref_frame_flags; member
1078 int av1_use_as_reference(AV1_COMP *cpi, int ref_frame_flags);
Dencoder.c1183 cpi->ref_frame_flags = 0; in init_config()
3172 int av1_use_as_reference(AV1_COMP *cpi, int ref_frame_flags) { in av1_use_as_reference() argument
3173 if (ref_frame_flags > ((1 << INTER_REFS_PER_FRAME) - 1)) return -1; in av1_use_as_reference()
3175 cpi->ext_ref_frame_flags = ref_frame_flags; in av1_use_as_reference()
3360 if (cpi->ref_frame_flags & ref_mask[ref_frame - 1]) { in scale_references()
4553 (cpi->ref_frame_flags & flag_list[ref_frame]) ? 'Y' : 'N'); in dump_filtered_recon_frames()
5191 cpi->ref_frame_flags = frame_params->ref_frame_flags; in av1_encode()
Dencodeframe.c5167 if (cpi->ref_frame_flags & av1_ref_frame_flag_list[ref_frame]) { in enforce_max_ref_frames()
5186 if (!(cpi->ref_frame_flags & in enforce_max_ref_frames()
5192 case LAST3_FRAME: cpi->ref_frame_flags &= ~AOM_LAST3_FLAG; break; in enforce_max_ref_frames()
5193 case LAST2_FRAME: cpi->ref_frame_flags &= ~AOM_LAST2_FLAG; break; in enforce_max_ref_frames()
5194 case ALTREF2_FRAME: cpi->ref_frame_flags &= ~AOM_ALT2_FLAG; break; in enforce_max_ref_frames()
5195 case GOLDEN_FRAME: cpi->ref_frame_flags &= ~AOM_GOLD_FLAG; break; in enforce_max_ref_frames()
5269 if (!(cpi->ref_frame_flags & flag_list[ref_frame[0]]) || in check_skip_mode_enabled()
5270 !(cpi->ref_frame_flags & flag_list[ref_frame[1]])) in check_skip_mode_enabled()
5625 !(cpi->ref_frame_flags & av1_ref_frame_flag_list[frame]); in encode_frame_internal()
Dencode_strategy.c1112 frame_params.ref_frame_flags = get_ref_frame_flags(cpi); in av1_encode_strategy()
Drdopt.c11270 if (!(cpi->ref_frame_flags & av1_ref_frame_flag_list[ref_frame])) { in init_mode_skip_mask()
11313 assert(cpi->ref_frame_flags & av1_ref_frame_flag_list[ALTREF_FRAME]); in init_mode_skip_mask()
11395 if (cpi->ref_frame_flags & av1_ref_frame_flag_list[ref_frame]) { in set_params_rd_pick_inter_mode()
11422 if (!((cpi->ref_frame_flags & av1_ref_frame_flag_list[rf[0]]) && in set_params_rd_pick_inter_mode()
11423 (cpi->ref_frame_flags & av1_ref_frame_flag_list[rf[1]]))) { in set_params_rd_pick_inter_mode()
11532 if (cpi->ref_frame_flags & av1_ref_frame_flag_list[ref_frame]) { in set_params_nonrd_pick_inter_mode()
11801 if (!(cpi->ref_frame_flags & av1_ref_frame_flag_list[ref_frame[1]])) in inter_mode_compatible_skip()
11986 (cpi->ref_frame_flags & av1_ref_frame_flag_list[BWDREF_FRAME])) { in inter_mode_search_order_independent_skip()