Lines Matching refs:RightShiftWithRounding
84 return start + RightShiftWithRounding((end - start) * remainder, shift); in ScaleLut()
148 luma_grain[y * kLumaWidth + x] + RightShiftWithRounding(sum, shift), in ApplyAutoRegressiveFilterToLumaGrain_C()
219 u_grain[y * chroma_width + x] + RightShiftWithRounding(sum_u, shift), in ApplyAutoRegressiveFilterToChromaGrains_C()
222 v_grain[y * chroma_width + x] + RightShiftWithRounding(sum_v, shift), in ApplyAutoRegressiveFilterToChromaGrains_C()
360 Clip3(RightShiftWithRounding(grain_sample, 5), in ConstructNoiseStripesWithOverlap_C()
373 Clip3(RightShiftWithRounding(grain_sample, 5), in ConstructNoiseStripesWithOverlap_C()
383 Clip3(RightShiftWithRounding(grain_sample, 5), in ConstructNoiseStripesWithOverlap_C()
429 grain = Clip3(RightShiftWithRounding(grain, 5), GetGrainMin<bitdepth>(), in WriteOverlapLine_C()
517 noise = RightShiftWithRounding( in BlendNoiseWithImageLuma_C()
564 average_luma = RightShiftWithRounding( in BlendNoiseWithImageChroma_C()
577 noise = RightShiftWithRounding( in BlendNoiseWithImageChroma_C()
618 average_luma = RightShiftWithRounding( in BlendNoiseWithImageChromaWithCfl_C()
627 noise_uv = RightShiftWithRounding( in BlendNoiseWithImageChromaWithCfl_C()