FFmpeg
Data Structures | Functions
aom_film_grain.h File Reference
#include "libavutil/buffer.h"
#include "libavutil/film_grain_params.h"

Go to the source code of this file.

Data Structures

struct  AVFilmGrainAFGS1Params
 

Functions

int ff_aom_apply_film_grain (AVFrame *out, const AVFrame *in, const AVFilmGrainParams *params)
 
int ff_aom_parse_film_grain_sets (AVFilmGrainAFGS1Params *s, const uint8_t *payload, int payload_size)
 
int ff_aom_attach_film_grain_sets (const AVFilmGrainAFGS1Params *s, AVFrame *frame)
 
void ff_aom_uninit_film_grain_params (AVFilmGrainAFGS1Params *s)
 

Detailed Description

AOM film grain synthesis.

Author
Niklas Haas ffmpe.nosp@m.g@ha.nosp@m.asn.x.nosp@m.yz

Definition in file aom_film_grain.h.

Function Documentation

◆ ff_aom_apply_film_grain()

int ff_aom_apply_film_grain ( AVFrame out,
const AVFrame in,
const AVFilmGrainParams params 
)

Definition at line 68 of file aom_film_grain.c.

Referenced by hevc_frame_end().

◆ ff_aom_parse_film_grain_sets()

int ff_aom_parse_film_grain_sets ( AVFilmGrainAFGS1Params s,
const uint8_t *  payload,
int  payload_size 
)

Definition at line 124 of file aom_film_grain.c.

Referenced by decode_registered_user_data().

◆ ff_aom_attach_film_grain_sets()

int ff_aom_attach_film_grain_sets ( const AVFilmGrainAFGS1Params s,
AVFrame frame 
)

Definition at line 359 of file aom_film_grain.c.

Referenced by ff_h2645_sei_to_frame().

◆ ff_aom_uninit_film_grain_params()

void ff_aom_uninit_film_grain_params ( AVFilmGrainAFGS1Params s)

Definition at line 381 of file aom_film_grain.c.

Referenced by ff_aom_parse_film_grain_sets(), and ff_h2645_sei_reset().