Searched refs:RightShiftWithRoundingSigned (Results 1 – 7 of 7) sorted by relevance
/external/libgav1/src/ |
D | warp_prediction.cc | 96 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()
|
D | motion_vector.cc | 86 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/ |
D | common.h | 269 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()
|
D | common_test.cc | 328 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/ |
D | warp_test.cc | 198 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()
|
D | intrapred_cfl.cc | 55 dst[x] = Clip3(dc + RightShiftWithRoundingSigned(alpha * luma[y][x], 6), in CflIntraPredictor_C()
|
/external/libgav1/src/tile/ |
D | prediction.cc | 956 *step_x = RightShiftWithRoundingSigned( in ScaleMotionVector() 964 RightShiftWithRoundingSigned( in ScaleMotionVector() 975 *step_y = RightShiftWithRoundingSigned( in ScaleMotionVector() 981 RightShiftWithRoundingSigned( in ScaleMotionVector()
|