Lines Matching refs:Clip3
147 luma_grain[y * kLumaWidth + x] = Clip3( in ApplyAutoRegressiveFilterToLumaGrain_C()
218 u_grain[y * chroma_width + x] = Clip3( in ApplyAutoRegressiveFilterToChromaGrains_C()
221 v_grain[y * chroma_width + x] = Clip3( 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()
519 out_y[y * dest_stride_y + x] = Clip3(orig + noise, min_value, max_luma); in BlendNoiseWithImageLuma_C()
574 Clip3((combined >> 6) + LeftShift(offset, bitdepth - 8), 0, in BlendNoiseWithImageChroma_C()
580 Clip3(orig + noise, min_value, max_chroma); in BlendNoiseWithImageChroma_C()
631 Clip3(orig_uv + noise_uv, min_value, max_chroma); in BlendNoiseWithImageChromaWithCfl_C()