FFmpeg
|
#include "libavutil/film_grain_params.h"
Go to the source code of this file.
Data Structures | |
struct | H274FilmGrainDatabase |
struct | H274SEIPictureHash |
struct | H274SEIFrameFieldInfo |
Functions | |
static int | ff_h274_film_grain_params_supported (int model_id, enum AVPixelFormat pix_fmt) |
Check whether ff_h274_apply_film_grain() supports the given parameter combination. More... | |
int | ff_h274_apply_film_grain (AVFrame *out, const AVFrame *in, H274FilmGrainDatabase *db, const AVFilmGrainParams *params) |
int | ff_h274_hash_init (H274HashContext **c, int type) |
int | ff_h274_hash_verify (H274HashContext *c, const H274SEIPictureHash *hash, const AVFrame *frame, int coded_width, int coded_height) |
void | ff_h274_hash_freep (H274HashContext **c) |
H.274 film grain synthesis.
Definition in file h274.h.
|
inlinestatic |
Check whether ff_h274_apply_film_grain() supports the given parameter combination.
model_id | model_id from AVFilmGrainParams to be supplied |
pix_fmt | pixel format of the frames to be supplied |
Definition at line 49 of file h274.h.
Referenced by check_film_grain(), and hevc_frame_start().
int ff_h274_apply_film_grain | ( | AVFrame * | out, |
const AVFrame * | in, | ||
H274FilmGrainDatabase * | db, | ||
const AVFilmGrainParams * | params | ||
) |
Definition at line 221 of file h274.c.
Referenced by ff_h264_field_end(), frame_end(), and hevc_frame_end().
int ff_h274_hash_init | ( | H274HashContext ** | c, |
int | type | ||
) |
Definition at line 881 of file h274.c.
Referenced by frame_end().
int ff_h274_hash_verify | ( | H274HashContext * | c, |
const H274SEIPictureHash * | hash, | ||
const AVFrame * | frame, | ||
int | coded_width, | ||
int | coded_height | ||
) |
Definition at line 912 of file h274.c.
Referenced by frame_end().
void ff_h274_hash_freep | ( | H274HashContext ** | c | ) |
Definition at line 871 of file h274.c.
Referenced by vvc_decode_free().