Home
last modified time | relevance | path

Searched refs:fgp (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dlibdav1d.c496 AVFilmGrainParams *fgp = av_film_grain_params_create_side_data(frame); in libdav1d_receive_frame() local
497 if (!fgp) { in libdav1d_receive_frame()
502 fgp->type = AV_FILM_GRAIN_PARAMS_AV1; 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()
505fgp->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()
[all …]
Dh264_slice.c1354 AVFilmGrainParams *fgp = av_film_grain_params_create_side_data(out); in h264_export_frame_props() local
1355 if (!fgp) in h264_export_frame_props()
1358 fgp->type = AV_FILM_GRAIN_PARAMS_H274; in h264_export_frame_props()
1359 fgp->seed = cur->poc + (h->poc_offset << 5); in h264_export_frame_props()
1361 fgp->codec.h274.model_id = fgc->model_id; in h264_export_frame_props()
1363 fgp->codec.h274.bit_depth_luma = fgc->bit_depth_luma; in h264_export_frame_props()
1364 fgp->codec.h274.bit_depth_chroma = fgc->bit_depth_chroma; in h264_export_frame_props()
1365 fgp->codec.h274.color_range = fgc->full_range + 1; in h264_export_frame_props()
1366 fgp->codec.h274.color_primaries = fgc->color_primaries; in h264_export_frame_props()
1367 fgp->codec.h274.color_trc = fgc->transfer_characteristics; in h264_export_frame_props()
[all …]
Dhevcdec.c2918 AVFilmGrainParams *fgp = av_film_grain_params_create_side_data(out); in set_side_data() local
2919 if (!fgp) in set_side_data()
2922 fgp->type = AV_FILM_GRAIN_PARAMS_H274; in set_side_data()
2923 fgp->seed = s->ref->poc; /* no poc_offset in HEVC */ in set_side_data()
2925 fgp->codec.h274.model_id = fgc->model_id; in set_side_data()
2927 fgp->codec.h274.bit_depth_luma = fgc->bit_depth_luma; in set_side_data()
2928 fgp->codec.h274.bit_depth_chroma = fgc->bit_depth_chroma; in set_side_data()
2929 fgp->codec.h274.color_range = fgc->full_range + 1; in set_side_data()
2930 fgp->codec.h274.color_primaries = fgc->color_primaries; in set_side_data()
2931 fgp->codec.h274.color_trc = fgc->transfer_characteristics; in set_side_data()
[all …]
Dqsvdec.c539 AVFilmGrainParams *fgp; in qsv_export_film_grain() local
546 fgp = av_film_grain_params_create_side_data(frame); in qsv_export_film_grain()
548 if (!fgp) in qsv_export_film_grain()
551 fgp->type = AV_FILM_GRAIN_PARAMS_AV1; in qsv_export_film_grain()
552 fgp->seed = ext_param->GrainSeed; in qsv_export_film_grain()
553 aom = &fgp->codec.aom; in qsv_export_film_grain()
Dav1dec.c859 AVFilmGrainParams *fgp; in export_film_grain() local
865 fgp = av_film_grain_params_create_side_data(frame); in export_film_grain()
866 if (!fgp) in export_film_grain()
869 fgp->type = AV_FILM_GRAIN_PARAMS_AV1; in export_film_grain()
870 fgp->seed = film_grain->grain_seed; in export_film_grain()
872 aom = &fgp->codec.aom; in export_film_grain()
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_av1.c1323 struct film_grain_params *fgp = &(priv->codec_data.av1.uncompressed_header.fgp); in film_grain_params() local
1332 memset(fgp, 0, sizeof(*fgp)); in film_grain_params()
1336 fgp->apply_grain = av1_f(vlc, 1); in film_grain_params()
1337 if (!fgp->apply_grain) { in film_grain_params()
1338 memset(fgp, 0, sizeof(*fgp)); in film_grain_params()
1342 fgp->grain_seed = av1_f(vlc, 16); in film_grain_params()
1348 uint16_t tempGrainSeed = fgp->grain_seed; in film_grain_params()
1349 memcpy(fgp, &(priv->codec_data.av1.refs[film_grain_params_ref_idx].fgp), in film_grain_params()
1350 sizeof(*fgp)); in film_grain_params()
1351 fgp->grain_seed = tempGrainSeed; in film_grain_params()
[all …]
Dvid_dec_av1.h420 struct film_grain_params fgp; member
/third_party/ffmpeg/libavfilter/
Dvf_showinfo.c444 const AVFilmGrainParams *fgp = (const AVFilmGrainParams *)sd->data; in dump_sei_film_grain_params_metadata() local
451 if (fgp->type >= FF_ARRAY_ELEMS(film_grain_type_names)) { in dump_sei_film_grain_params_metadata()
456 av_log(ctx, AV_LOG_INFO, "film grain parameters: type %s; ", film_grain_type_names[fgp->type]); in dump_sei_film_grain_params_metadata()
457 av_log(ctx, AV_LOG_INFO, "seed=%"PRIu64"; ", fgp->seed); in dump_sei_film_grain_params_metadata()
459 switch (fgp->type) { in dump_sei_film_grain_params_metadata()
464 const AVFilmGrainH274Params *h274 = &fgp->codec.h274; in dump_sei_film_grain_params_metadata()
/third_party/astc-encoder/Test/Images/HDRIHaven/HDR-RGB/
Dhdr-rgb-arboretum.hdr1107 …�ICG����ke|�l�ii��wj��|w^�vL�W�f��]^��l��zZyyit�h`����ru{���^�{����{�{�b��fgp�����io���]������y��…
Dhdr-rgb-riverwalk.hdr8078 …[��֮�`v[P/;IGRh��˶��������������������ډ舞������������jORN����ԓ���ף���������fgp܁��ǘ�ᶏ�������ތ������…