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)
Main libavfilter public API header.
typedef void(APIENTRY *FF_PFNGLACTIVETEXTUREPROC)(GLenum texture)
static int noise(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
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)
BYTE int const BYTE int int int height
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)