Home
last modified time | relevance | path

Searched refs:film_grain (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddxva2_av1.c62 const AV1RawFilmGrainParams *film_grain = &h->cur_frame.film_grain; in fill_picture_parameters() local
65 …int apply_grain = !(avctx->export_side_data & AV_CODEC_EXPORT_DATA_FILM_GRAIN) && film_grain->appl… in fill_picture_parameters()
103 …pp->coding.film_grain = seq->film_grain_params_present && !(avctx->export_side_d… in fill_picture_parameters()
220 pp->film_grain.apply_grain = 1; in fill_picture_parameters()
221 pp->film_grain.scaling_shift_minus8 = film_grain->grain_scaling_minus_8; in fill_picture_parameters()
222 pp->film_grain.chroma_scaling_from_luma = film_grain->chroma_scaling_from_luma; in fill_picture_parameters()
223 pp->film_grain.ar_coeff_lag = film_grain->ar_coeff_lag; in fill_picture_parameters()
224 pp->film_grain.ar_coeff_shift_minus6 = film_grain->ar_coeff_shift_minus_6; in fill_picture_parameters()
225 pp->film_grain.grain_scale_shift = film_grain->grain_scale_shift; in fill_picture_parameters()
226 pp->film_grain.overlap_flag = film_grain->overlap_flag; in fill_picture_parameters()
[all …]
Dvaapi_av1.c59 const AV1RawFilmGrainParams *film_grain = &s->cur_frame.film_grain; in vaapi_av1_start_frame() local
64 …int apply_grain = !(avctx->export_side_data & AV_CODEC_EXPORT_DATA_FILM_GRAIN) && film_grain->appl… in vaapi_av1_start_frame()
123 .chroma_scaling_from_luma = film_grain->chroma_scaling_from_luma, in vaapi_av1_start_frame()
124 .grain_scaling_minus_8 = film_grain->grain_scaling_minus_8, in vaapi_av1_start_frame()
125 .ar_coeff_lag = film_grain->ar_coeff_lag, in vaapi_av1_start_frame()
126 .ar_coeff_shift_minus_6 = film_grain->ar_coeff_shift_minus_6, in vaapi_av1_start_frame()
127 .grain_scale_shift = film_grain->grain_scale_shift, in vaapi_av1_start_frame()
128 .overlap_flag = film_grain->overlap_flag, in vaapi_av1_start_frame()
129 .clip_to_restricted_range = film_grain->clip_to_restricted_range, in vaapi_av1_start_frame()
131 .grain_seed = film_grain->grain_seed, in vaapi_av1_start_frame()
[all …]
Dnvdec_av1.c45 const AV1RawFilmGrainParams *film_grain = &s->cur_frame.film_grain; in nvdec_av1_start_frame() local
56 …int apply_grain = !(avctx->export_side_data & AV_CODEC_EXPORT_DATA_FILM_GRAIN) && film_grain->appl… in nvdec_av1_start_frame()
188 .overlap_flag = film_grain->overlap_flag, in nvdec_av1_start_frame()
189 .scaling_shift_minus8 = film_grain->grain_scaling_minus_8, in nvdec_av1_start_frame()
190 .chroma_scaling_from_luma = film_grain->chroma_scaling_from_luma, in nvdec_av1_start_frame()
191 .ar_coeff_lag = film_grain->ar_coeff_lag, in nvdec_av1_start_frame()
192 .ar_coeff_shift_minus6 = film_grain->ar_coeff_shift_minus_6, in nvdec_av1_start_frame()
193 .grain_scale_shift = film_grain->grain_scale_shift, in nvdec_av1_start_frame()
194 .clip_to_restricted_range = film_grain->clip_to_restricted_range, in nvdec_av1_start_frame()
195 .num_y_points = film_grain->num_y_points, in nvdec_av1_start_frame()
[all …]
Dav1dec.c255 const AV1RawFilmGrainParams *film_grain = &header->film_grain, *src; in load_grain_params() local
256 AV1RawFilmGrainParams *dst = &s->cur_frame.film_grain; in load_grain_params()
258 if (!film_grain->apply_grain) in load_grain_params()
261 if (film_grain->update_grain) { in load_grain_params()
262 memcpy(dst, film_grain, sizeof(*dst)); in load_grain_params()
266 src = &s->ref[film_grain->film_grain_params_ref_idx].film_grain; in load_grain_params()
269 dst->grain_seed = film_grain->grain_seed; in load_grain_params()
485 memset(&f->film_grain, 0, sizeof(f->film_grain)); in av1_frame_unref()
521 memcpy(&dst->film_grain, in av1_frame_ref()
522 &src->film_grain, in av1_frame_ref()
[all …]
Dlibdav1d.c414 if (p->frame_hdr->film_grain.present && (!dav1d->apply_grain || in libdav1d_receive_frame()
423 fgp->seed = p->frame_hdr->film_grain.data.seed; in libdav1d_receive_frame()
424 fgp->codec.aom.num_y_points = p->frame_hdr->film_grain.data.num_y_points; in libdav1d_receive_frame()
425 … fgp->codec.aom.chroma_scaling_from_luma = p->frame_hdr->film_grain.data.chroma_scaling_from_luma; in libdav1d_receive_frame()
426 fgp->codec.aom.scaling_shift = p->frame_hdr->film_grain.data.scaling_shift; in libdav1d_receive_frame()
427 fgp->codec.aom.ar_coeff_lag = p->frame_hdr->film_grain.data.ar_coeff_lag; in libdav1d_receive_frame()
428 fgp->codec.aom.ar_coeff_shift = p->frame_hdr->film_grain.data.ar_coeff_shift; in libdav1d_receive_frame()
429 fgp->codec.aom.grain_scale_shift = p->frame_hdr->film_grain.data.grain_scale_shift; in libdav1d_receive_frame()
430 fgp->codec.aom.overlap_flag = p->frame_hdr->film_grain.data.overlap_flag; in libdav1d_receive_frame()
431 fgp->codec.aom.limit_output_range = p->frame_hdr->film_grain.data.clip_to_restricted_range; in libdav1d_receive_frame()
[all …]
Dav1dec.h50 AV1RawFilmGrainParams film_grain; member
Dcbs_av1.h286 AV1RawFilmGrainParams film_grain; member
Dcbs_av1_syntax_template.c1639 CHECK(FUNC(film_grain_params)(ctx, rw, &current->film_grain, current)); in FUNC()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11av1dec.cpp126 UINT film_grain:1; member
337 } film_grain; member
842 pic_params->coding.film_grain = seq_hdr->film_grain_params_present; in gst_d3d11_av1_dec_start_picture()
1042 pic_params->film_grain.apply_grain = 1; in gst_d3d11_av1_dec_start_picture()
1043 pic_params->film_grain.scaling_shift_minus8 = in gst_d3d11_av1_dec_start_picture()
1045 pic_params->film_grain.chroma_scaling_from_luma = in gst_d3d11_av1_dec_start_picture()
1047 pic_params->film_grain.ar_coeff_lag = in gst_d3d11_av1_dec_start_picture()
1049 pic_params->film_grain.ar_coeff_shift_minus6 = in gst_d3d11_av1_dec_start_picture()
1051 pic_params->film_grain.grain_scale_shift = in gst_d3d11_av1_dec_start_picture()
1053 pic_params->film_grain.overlap_flag = in gst_d3d11_av1_dec_start_picture()
[all …]
/third_party/ffmpeg/tests/fate/
Dcbs.mak27 av1-1-b8-23-film_grain-50.ivf \
28 av1-1-b10-23-film_grain-50.ivf
/third_party/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_dec.h919 rvcn_dec_film_grain_params_t film_grain; member
Dradeon_vcn_dec.c904 rvcn_dec_film_grain_params_t* fg_params = &result.film_grain; in get_av1_msg()
/third_party/ffmpeg/doc/
Dcodecs.texi719 @item film_grain