Function av_film_grain_params_select

pub unsafe extern "C" fn av_film_grain_params_select(
    frame: *const AVFrame,
) -> *const AVFilmGrainParams
Expand description

Select the most appropriate film grain parameters set for the frame, taking into account the frame’s format, resolution and video signal characteristics.

@note, for H.274, this may select a film grain parameter set with greater chroma resolution than the frame. Users should take care to correctly adjust the chroma grain frequency to the frame.