FFmpeg
Data Structures | Macros | Functions
vf_noise.h File Reference
#include "libavutil/lfg.h"
#include "avfilter.h"

Go to the source code of this file.

Data Structures

struct  FilterParams
 filter data More...
 
struct  NoiseContext
 

Macros

#define MAX_NOISE   5120
 
#define MAX_SHIFT   1024
 
#define MAX_RES   (MAX_NOISE-MAX_SHIFT)
 
#define NOISE_UNIFORM   1
 
#define NOISE_TEMPORAL   2
 
#define NOISE_AVERAGED   8
 
#define NOISE_PATTERN   16
 

Functions

void ff_line_noise_c (uint8_t *dst, const uint8_t *src, const int8_t *noise, int len, int shift)
 
void ff_line_noise_avg_c (uint8_t *dst, const uint8_t *src, int len, const int8_t *const *shift)
 
void ff_noise_init_x86 (NoiseContext *n)
 

Macro Definition Documentation

#define MAX_NOISE   5120

Definition at line 28 of file vf_noise.h.

Referenced by init_noise().

#define MAX_SHIFT   1024

Definition at line 29 of file vf_noise.h.

Referenced by filter_frame(), and init_noise().

#define MAX_RES   (MAX_NOISE-MAX_SHIFT)

Definition at line 30 of file vf_noise.h.

Referenced by filter_frame(), init_noise(), and noise().

#define NOISE_UNIFORM   1

Definition at line 32 of file vf_noise.h.

Referenced by init_noise().

#define NOISE_TEMPORAL   2

Definition at line 33 of file vf_noise.h.

Referenced by filter_frame().

#define NOISE_AVERAGED   8

Definition at line 34 of file vf_noise.h.

Referenced by init_noise(), and noise().

#define NOISE_PATTERN   16

Definition at line 35 of file vf_noise.h.

Referenced by init_noise().

Function Documentation

void ff_line_noise_c ( uint8_t dst,
const uint8_t src,
const int8_t *  noise,
int  len,
int  shift 
)

Definition at line 165 of file vf_noise.c.

Referenced by init().

void ff_line_noise_avg_c ( uint8_t dst,
const uint8_t src,
int  len,
const int8_t *const *  shift 
)

Definition at line 178 of file vf_noise.c.

Referenced by init().

void ff_noise_init_x86 ( NoiseContext n)

Definition at line 129 of file vf_noise.c.

Referenced by init().