22 #ifndef AVFILTER_NOISE_H
23 #define AVFILTER_NOISE_H
28 #define MAX_NOISE 5120
29 #define MAX_SHIFT 1024
30 #define MAX_RES (MAX_NOISE-MAX_SHIFT)
32 #define NOISE_UNIFORM 1
33 #define NOISE_TEMPORAL 2
34 #define NOISE_AVERAGED 8
35 #define NOISE_PATTERN 16
static int shift(int a, int b)
static int noise(AVBSFContext *ctx, AVPacket *out)
Main libavfilter public API header.
typedef void(APIENTRY *FF_PFNGLACTIVETEXTUREPROC)(GLenum texture)
void ff_noise_init_x86(NoiseContext *n)
void ff_line_noise_avg_c(uint8_t *dst, const uint8_t *src, int len, const int8_t *const *shift)
Describe the class of an AVClass context structure.
void ff_line_noise_c(uint8_t *dst, const uint8_t *src, const int8_t *noise, int len, int shift)