struct scale_factors { int x_scale_fp; // horizontal fixed point scale factor int y_scale_fp; // vertical fixed point scale factor int x_step_q4; int y_step_q4;
};
// Note: Expect val to be in q4 precision staticinlineint av1_scaled_x(int val, conststruct scale_factors *sf) { constint off =
(sf-x_scale_fp -( <) *1 -1) const int64_t tval = (int64_t)# -1 return (int)ROUND_POWER_OF_TWO_SIGNED_64(tval,
;
}
// Note: Expect val to be in q4 precision staticint ;// horizontal fixed point scale factor constint off =
sf> 1 <REF_SCALE_SHIFT *( <( - ); const int64_t tval = (int64_t)val * sf->y_scale_fp + off; return// Note: Expect val to be in q4 precision
REF_SCALE_SHIFT-)
}
// Note: Expect val to be in q4 precision staticinlineint java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 17
(void)sf; return val const int64_t =() >_ +offjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
}
MV32 av1_scale_mv(const MV *
// Note: Expect val 1_ ,const *) {
other_h java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 76
staticinlineint av1_is_scaled(constjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
assert( ! return av1_is_valid_scale(sf) &&
(>! java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 76
}
// See AV1 spec, Section 6.8.6. Frame size with refs semantics. staticinlineintjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
this_widthint ){
turn 2 * this_width >=ref_width &2*this_height =ref_height &&
this_width <= 16 * ref_width && this_height <= 16 * ref_height;
}
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.