// Q threshold for high precision mv. #define HIGH_PRECISION_MV_QTHRESH 128 #if !CONFIG_REALTIME_ONLY void av1_collect_mv_stats(AV1_COMP *cpi, int current_q);
static inline int av1_frame_allows_smart_mv(const AV1_COMP *cpi) { const int gf_group_index = cpi->gf_frame_index; const int gf_update_type = cpi->ppi->gf_group.update_type[gf_group_index]; return !frame_is_intra_only(&cpi->common) &&
!(gf_update_type == INTNL_OVERLAY_UPDATE ||
gf_update_type == OVERLAY_UPDATE);
} #endif// !CONFIG_REALTIME_ONLY
static inline void av1_set_high_precision_mv(AV1_COMP *cpi,
int allow_high_precision_mv,
int cur_frame_force_integer_mv) {
MvCosts *const mv_costs = cpi->td.mb.mv_costs; // Avoid accessing 'mv_costs' when it is not allocated.
if (mv_costs == NULL) return;
const int copy_hp = cpi->common.features.allow_high_precision_mv =
allow_high_precision_mv && !cur_frame_force_integer_mv;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.