vf_eq.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "config.h"
#include "mp_msg.h"
#include "cpudetect.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
#include "libvo/video_out.h"
Include dependency graph for vf_eq.c:

Go to the source code of this file.

Data Structures

struct  vf_priv_s
 

Functions

static void process_C (unsigned char *dest, int dstride, unsigned char *src, int sstride, int w, int h, int brightness, int contrast)
 
static int put_image (struct vf_instance *vf, mp_image_t *mpi, double pts)
 
static int control (struct vf_instance *vf, int request, void *data)
 
static int query_format (struct vf_instance *vf, unsigned int fmt)
 
static void uninit (struct vf_instance *vf)
 
static int vf_open (vf_instance_t *vf, char *args)
 

Variables

static void(* process )(unsigned char *dest, int dstride, unsigned char *src, int sstride, int w, int h, int brightness, int contrast)
 
const vf_info_t ff_vf_info_eq
 

Function Documentation

static int control ( struct vf_instance vf,
int  request,
void data 
)
static

Definition at line 157 of file vf_eq.c.

Referenced by vf_open().

static void process_C ( unsigned char *  dest,
int  dstride,
unsigned char *  src,
int  sstride,
int  w,
int  h,
int  brightness,
int  contrast 
)
static

Definition at line 100 of file vf_eq.c.

Referenced by vf_open().

static int put_image ( struct vf_instance vf,
mp_image_t mpi,
double  pts 
)
static

Definition at line 128 of file vf_eq.c.

Referenced by vf_open().

static int query_format ( struct vf_instance vf,
unsigned int  fmt 
)
static

Definition at line 188 of file vf_eq.c.

Referenced by vf_open().

static void uninit ( struct vf_instance vf)
static

Definition at line 209 of file vf_eq.c.

Referenced by vf_open().

static int vf_open ( vf_instance_t vf,
char *  args 
)
static

Definition at line 215 of file vf_eq.c.

Variable Documentation

const vf_info_t ff_vf_info_eq
Initial value:
= {
"soft video equalizer",
"eq",
"Richard Felker",
"",
}
static int vf_open(vf_instance_t *vf, char *args)
Definition: vf_eq.c:215

Definition at line 234 of file vf_eq.c.

void(* process) (unsigned char *dest, int dstride, unsigned char *src, int sstride, int w, int h, int brightness, int contrast)
static

Definition at line 123 of file vf_eq.c.

Referenced by put_image(), and vf_open().