libavfilter/libmpcodecs/vf_geq.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <inttypes.h>
#include "config.h"
#include "mp_msg.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
#include "libavcodec/avcodec.h"
#include "libavutil/eval.h"

Go to the source code of this file.

Data Structures

struct  vf_priv_s
 Stores persistant variables. More...

Functions

static int config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt)
static double getpix (struct vf_instance *vf, double x, double y, int plane)
static double lum (void *vf, double x, double y)
static double cb (void *vf, double x, double y)
static double cr (void *vf, double x, double y)
static int put_image (struct vf_instance *vf, mp_image_t *mpi, double pts)
static void uninit (struct vf_instance *vf)
static int vf_open (vf_instance_t *vf, char *args)

Variables

const vf_info_t vf_info_geq


Function Documentation

static double cb ( void *  vf,
double  x,
double  y 
) [static]

static int config ( struct vf_instance vf,
int  width,
int  height,
int  d_width,
int  d_height,
unsigned int  flags,
unsigned int  outfmt 
) [static]

Definition at line 44 of file vf_geq.c.

static double cr ( void *  vf,
double  x,
double  y 
) [static]

static double getpix ( struct vf_instance vf,
double  x,
double  y,
int  plane 
) [inline, static]

Definition at line 50 of file vf_geq.c.

Referenced by cb(), cr(), and lum().

static double lum ( void *  vf,
double  x,
double  y 
) [static]

Definition at line 68 of file vf_geq.c.

Referenced by blend_subrect(), and vf_open().

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

Definition at line 80 of file vf_geq.c.

static void uninit ( struct vf_instance vf  )  [static]

Definition at line 129 of file vf_geq.c.

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

Definition at line 135 of file vf_geq.c.


Variable Documentation

Initial value:

 {
    "generic equation filter",
    "geq",
    "Michael Niedermayer",
    "",
    vf_open,
    NULL
}

Definition at line 189 of file vf_geq.c.


Generated on Fri Oct 26 02:46:12 2012 for FFmpeg by  doxygen 1.5.8