Searched defs:basis2 (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/common_time/
H A DLinearTransform.cpp132 int64_t basis2,
162 // underflow unless ABS(basis2) is large enough to pull us back into the
165 if (is_neg && (basis2 < 0))
168 if (!is_neg && (basis2 >= 0))
171 if (ABS(basis2) <= static_cast<int64_t>(scaled & INT64_MAX))
175 *out = (is_neg ? (-scaled) : scaled) + basis2;
179 // and basis2 have the same sign bit, and the result has a different
190 res = scaled + basis2;
192 if ((scaled ^ basis2 ^ INT64_MIN) & (scaled ^ res) & INT64_MIN)
126 linear_transform_s64_to_s64( int64_t val, int64_t basis1, int32_t N, uint32_t D, bool invert_frac, int64_t basis2, int64_t* out) argument

Completed in 546 milliseconds