AVFilmGrainParams

This structure describes how to handle film grain synthesis in video for specific codecs. Must be present on every frame where film grain is meant to be synthesised for correct presentation.

@note The struct must be allocated with av_film_grain_params_alloc() and its size is not a part of the public ABI.

extern (C) @nogc nothrow
struct AVFilmGrainParams {}

Members

Unions

_Anonymous_0
union _Anonymous_0

Additional fields may be added both here and in any structure included. If a codec's film grain structure differs slightly over another codec's, fields within may change meaning depending on the type.

Variables

codec
_Anonymous_0 codec;
Undocumented in source.
seed
ulong seed;

Seed to use for the synthesis process, if the codec allows for it.

type
AVFilmGrainParamsType type;

Specifies the codec for which this structure is valid.

Meta