Lines Matching defs:src
354 const AV1RawFilmGrainParams *film_grain = &header->film_grain, *src;
365 src = &s->ref[film_grain->film_grain_params_ref_idx].film_grain;
367 memcpy(dst, src, sizeof(*dst));
595 static int av1_frame_ref(AVCodecContext *avctx, AV1Frame *dst, const AV1Frame *src)
599 ret = av_buffer_replace(&dst->header_ref, src->header_ref);
603 dst->raw_frame_header = src->raw_frame_header;
605 if (!src->f->buf[0])
608 ret = av_frame_ref(dst->f, src->f);
612 if (src->hwaccel_picture_private) {
613 dst->hwaccel_priv_buf = av_buffer_ref(src->hwaccel_priv_buf);
619 dst->spatial_id = src->spatial_id;
620 dst->temporal_id = src->temporal_id;
622 src->gm_invalid,
625 src->gm_type,
628 src->gm_params,
631 src->skip_mode_frame_idx,
634 &src->film_grain,
636 dst->coded_lossless = src->coded_lossless;