Function av_film_grain_params_alloc

pub unsafe extern "C" fn av_film_grain_params_alloc(
    size: *mut usize,
) -> *mut AVFilmGrainParams
Expand description

Allocate an AVFilmGrainParams structure and set its fields to default values. The resulting struct can be freed using av_freep(). If size is not NULL it will be set to the number of bytes allocated.

@return An AVFilmGrainParams filled with default values or NULL on failure.