Lines Matching refs:grain
235 const auto* grain = static_cast<const GrainType*>(grain_buffer); in ConstructNoiseStripes_C() local
281 &grain[(plane_offset_y + i) * grain_width + plane_offset_x], in ConstructNoiseStripes_C()
300 const auto* grain = static_cast<const GrainType*>(grain_buffer); in ConstructNoiseStripesWithOverlap_C() local
334 &grain[(plane_offset_y + i) * grain_width + plane_offset_x], in ConstructNoiseStripesWithOverlap_C()
350 grain[(plane_offset_y + i) * grain_width + plane_offset_x]; in ConstructNoiseStripesWithOverlap_C()
369 grain[(plane_offset_y + i) * grain_width + plane_offset_x + 1]; in ConstructNoiseStripesWithOverlap_C()
409 &grain[(plane_offset_y + i) * grain_width + plane_offset_x + j], in ConstructNoiseStripesWithOverlap_C()
426 int grain = noise_stripe_row[x]; in WriteOverlapLine_C() local
428 grain = old * old_coeff + grain * grain_coeff; in WriteOverlapLine_C()
429 grain = Clip3(RightShiftWithRounding(grain, 5), GetGrainMin<bitdepth>(), in WriteOverlapLine_C()
431 noise_image_row[x] = grain; in WriteOverlapLine_C()