libavfilter/libmpcodecs/vf_kerndeint.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <math.h>
#include "mp_msg.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
#include "libvo/fastmemcpy.h"

Go to the source code of this file.

Data Structures

struct  vf_priv_s
 Stores persistant variables. More...

Defines

#define PLANAR_Y   0
#define PLANAR_U   1
#define PLANAR_V   2

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 void uninit (struct vf_instance *vf)
static int IsRGB (mp_image_t *mpi)
static int IsYUY2 (mp_image_t *mpi)
static int put_image (struct vf_instance *vf, mp_image_t *mpi, double pts)
static int query_format (struct vf_instance *vf, unsigned int fmt)
static int control (struct vf_instance *vf, int request, void *data)
static int vf_open (vf_instance_t *vf, char *args)

Variables

const vf_info_t vf_info_kerndeint


Define Documentation

#define PLANAR_U   1

Definition at line 74 of file vf_kerndeint.c.

Referenced by put_image().

#define PLANAR_V   2

Definition at line 75 of file vf_kerndeint.c.

Referenced by put_image().

#define PLANAR_Y   0

Definition at line 73 of file vf_kerndeint.c.

Referenced by put_image().


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]

Definition at line 50 of file vf_kerndeint.c.

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

Definition at line 292 of file vf_kerndeint.c.

static int IsRGB ( mp_image_t mpi  )  [inline, static]

Definition at line 63 of file vf_kerndeint.c.

Referenced by put_image().

static int IsYUY2 ( mp_image_t mpi  )  [inline, static]

Definition at line 68 of file vf_kerndeint.c.

Referenced by put_image().

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

Definition at line 77 of file vf_kerndeint.c.

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

Definition at line 281 of file vf_kerndeint.c.

static void uninit ( struct vf_instance vf  )  [static]

Definition at line 58 of file vf_kerndeint.c.

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

Definition at line 305 of file vf_kerndeint.c.


Variable Documentation

Initial value:

 {
    "Kernel Deinterlacer",
    "kerndeint",
    "Donald Graft",
    "",
    vf_open,
    NULL
}

Definition at line 336 of file vf_kerndeint.c.


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