libavfilter/libmpcodecs/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"

Go to the source code of this file.

Data Structures

struct  vf_priv_s

Functions

static void process_MMX (unsigned char *dest, int dstride, unsigned char *src, int sstride, int w, int h, int brightness, int contrast)
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 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 dshow_read_header(), and 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 void process_MMX ( unsigned char *  dest,
int  dstride,
unsigned char *  src,
int  sstride,
int  w,
int  h,
int  brightness,
int  contrast 
) [static]

Definition at line 41 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.

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

Definition at line 188 of file vf_eq.c.

static void uninit ( struct vf_instance vf  )  [static]

Definition at line 209 of file vf_eq.c.

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

Definition at line 215 of file vf_eq.c.


Variable Documentation

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

Referenced by put_image(), and vf_open().

Initial value:

 {
        "soft video equalizer",
        "eq",
        "Richard Felker",
        "",
        vf_open,
}

Definition at line 234 of file vf_eq.c.


Generated on Fri Oct 26 02:48:01 2012 for FFmpeg by  doxygen 1.5.8