Lines Matching refs:grain
2 * H.274 film grain synthesis
24 * H.274 film grain synthesis.
128 // Synthesize an 8x8 block of film grain by copying the pattern from `db`
154 // Generates a single 8x8 block of grain, optionally also applying the
169 // FIXME: This logic only generates grain with a single
173 // requires a nontrivial grain synthesis process (FFT).
188 // No matching intensity interval, synthesize blank film grain
238 int8_t * const grain = out_frame->data[c]; // re-use output buffer for grain
258 // Film grain synthesis is done in 8x8 blocks, but the PRNG state is
271 generate(grain + (y+yy) * grain_stride + (x+xx), grain_stride,
280 // Final output blend pass, done after grain synthesis is complete
281 // because deblocking depends on previous grain values
284 grain + y * grain_stride, width);