Lines Matching refs:film_grain
494 if (p->frame_hdr->film_grain.present && (!dav1d->apply_grain || in libdav1d_receive_frame()
503 fgp->seed = p->frame_hdr->film_grain.data.seed; in libdav1d_receive_frame()
504 fgp->codec.aom.num_y_points = p->frame_hdr->film_grain.data.num_y_points; in libdav1d_receive_frame()
505 … fgp->codec.aom.chroma_scaling_from_luma = p->frame_hdr->film_grain.data.chroma_scaling_from_luma; in libdav1d_receive_frame()
506 fgp->codec.aom.scaling_shift = p->frame_hdr->film_grain.data.scaling_shift; in libdav1d_receive_frame()
507 fgp->codec.aom.ar_coeff_lag = p->frame_hdr->film_grain.data.ar_coeff_lag; in libdav1d_receive_frame()
508 fgp->codec.aom.ar_coeff_shift = p->frame_hdr->film_grain.data.ar_coeff_shift; in libdav1d_receive_frame()
509 fgp->codec.aom.grain_scale_shift = p->frame_hdr->film_grain.data.grain_scale_shift; in libdav1d_receive_frame()
510 fgp->codec.aom.overlap_flag = p->frame_hdr->film_grain.data.overlap_flag; in libdav1d_receive_frame()
511 fgp->codec.aom.limit_output_range = p->frame_hdr->film_grain.data.clip_to_restricted_range; in libdav1d_receive_frame()
513 memcpy(&fgp->codec.aom.y_points, &p->frame_hdr->film_grain.data.y_points, in libdav1d_receive_frame()
515 memcpy(&fgp->codec.aom.num_uv_points, &p->frame_hdr->film_grain.data.num_uv_points, in libdav1d_receive_frame()
517 memcpy(&fgp->codec.aom.uv_points, &p->frame_hdr->film_grain.data.uv_points, in libdav1d_receive_frame()
519 memcpy(&fgp->codec.aom.ar_coeffs_y, &p->frame_hdr->film_grain.data.ar_coeffs_y, in libdav1d_receive_frame()
521 memcpy(&fgp->codec.aom.ar_coeffs_uv[0], &p->frame_hdr->film_grain.data.ar_coeffs_uv[0], in libdav1d_receive_frame()
523 memcpy(&fgp->codec.aom.ar_coeffs_uv[1], &p->frame_hdr->film_grain.data.ar_coeffs_uv[1], in libdav1d_receive_frame()
525 memcpy(&fgp->codec.aom.uv_mult, &p->frame_hdr->film_grain.data.uv_mult, in libdav1d_receive_frame()
527 memcpy(&fgp->codec.aom.uv_mult_luma, &p->frame_hdr->film_grain.data.uv_luma_mult, in libdav1d_receive_frame()
529 memcpy(&fgp->codec.aom.uv_offset, &p->frame_hdr->film_grain.data.uv_offset, in libdav1d_receive_frame()