#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <math.h>
#include "config.h"
#include "mp_msg.h"
#include "cpudetect.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
#include "libvo/fastmemcpy.h"
#include "libavutil/mem.h"
#include "libavutil/x86/asm.h"
Go to the source code of this file.
Functions |
static void | lineNoise_C (uint8_t *dst, uint8_t *src, int8_t *noise, int len, int shift) |
static void | lineNoiseAvg_C (uint8_t *dst, uint8_t *src, int len, int8_t **shift) |
static int8_t * | initNoise (FilterParam *fp) |
static void | noise (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int width, int height, FilterParam *fp) |
static int | config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) |
static void | get_image (struct vf_instance *vf, mp_image_t *mpi) |
static int | put_image (struct vf_instance *vf, mp_image_t *mpi, double pts) |
static void | uninit (struct vf_instance *vf) |
static int | query_format (struct vf_instance *vf, unsigned int fmt) |
static void | parse (FilterParam *fp, char *args) |
static int | vf_open (vf_instance_t *vf, char *args) |
Macro Definition Documentation
#define RAND_N |
( |
|
range | ) |
((int) ((double)range*rand()/(RAND_MAX+1.0))) |
Typedef Documentation
Function Documentation
static int config |
( |
struct vf_instance * |
vf, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
d_width, |
|
|
int |
d_height, |
|
|
unsigned int |
flags, |
|
|
unsigned int |
outfmt |
|
) |
| |
|
static |
static void lineNoise_C |
( |
uint8_t * |
dst, |
|
|
uint8_t * |
src, |
|
|
int8_t * |
noise, |
|
|
int |
len, |
|
|
int |
shift |
|
) |
| |
|
inlinestatic |
static int query_format |
( |
struct vf_instance * |
vf, |
|
|
unsigned int |
fmt |
|
) |
| |
|
static |
Variable Documentation
Initial value: {
"noise generator",
"noise",
"Michael Niedermayer",
"",
}
Definition at line 466 of file vf_noise.c.
const unsigned int fmt_list[] |
|
static |
int nonTempRandShift_init |
|
static |