Home
last modified time | relevance | path

Searched refs:RightShiftWithRoundingSigned (Results 1 – 7 of 7) sorted by relevance

/external/libgav1/src/
Dwarp_prediction.cc96 LeftShift(RightShiftWithRoundingSigned(Clip3(value, INT16_MIN, INT16_MAX), in GetShearParameter()
113 RightShiftWithRoundingSigned(v * division_factor, division_shift); in SetupShear()
117 RightShiftWithRoundingSigned(w * division_factor, division_shift) - in SetupShear()
209 params[2] = RightShiftWithRoundingSigned(params_2 * division_factor, in WarpEstimation()
211 params[3] = RightShiftWithRoundingSigned(params_3 * division_factor, in WarpEstimation()
213 params[4] = RightShiftWithRoundingSigned(params_4 * division_factor, in WarpEstimation()
215 params[5] = RightShiftWithRoundingSigned(params_5 * division_factor, in WarpEstimation()
Dmotion_vector.cc86 mv->mv[0] = RightShiftWithRoundingSigned(yc, kWarpedModelPrecisionBits - 3); in SetupGlobalMv()
87 mv->mv[1] = RightShiftWithRoundingSigned(xc, kWarpedModelPrecisionBits - 3); in SetupGlobalMv()
90 RightShiftWithRoundingSigned(yc, kWarpedModelPrecisionBits - 2)); in SetupGlobalMv()
92 RightShiftWithRoundingSigned(xc, kWarpedModelPrecisionBits - 2)); in SetupGlobalMv()
/external/libgav1/src/utils/
Dcommon.h269 inline int32_t RightShiftWithRoundingSigned(int32_t value, int bits) { in RightShiftWithRoundingSigned() function
279 inline int32_t RightShiftWithRoundingSigned(int64_t value, int bits) { in RightShiftWithRoundingSigned() function
445 Clip3(RightShiftWithRoundingSigned( in GetMvProjection()
Dcommon_test.cc328 int32_t rounded_value = RightShiftWithRoundingSigned(values[i], bits[i]); in VerifyRightShiftWithRoundingSigned()
330 rounded_value = RightShiftWithRoundingSigned(-values[i], bits[i]); in VerifyRightShiftWithRoundingSigned()
/external/libgav1/src/dsp/
Dwarp_test.cc198 LeftShift(RightShiftWithRoundingSigned(value, kWarpParamRoundingBits), in GetShearParameter()
215 Clip3(RightShiftWithRoundingSigned(v * division_factor, division_shift), in SetupShear()
220 RightShiftWithRoundingSigned(w * division_factor, division_shift) - in SetupShear()
Dintrapred_cfl.cc55 dst[x] = Clip3(dc + RightShiftWithRoundingSigned(alpha * luma[y][x], 6), in CflIntraPredictor_C()
/external/libgav1/src/tile/
Dprediction.cc956 *step_x = RightShiftWithRoundingSigned( in ScaleMotionVector()
964 RightShiftWithRoundingSigned( in ScaleMotionVector()
975 *step_y = RightShiftWithRoundingSigned( in ScaleMotionVector()
981 RightShiftWithRoundingSigned( in ScaleMotionVector()