libavfilter/libmpcodecs/vf_divtc.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <math.h>
#include "config.h"
#include "mp_msg.h"
#include "cpudetect.h"
#include "libavutil/common.h"
#include "mpbswap.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...

Functions

static int diff_C (unsigned char *old, unsigned char *new, int os, int ns)
static int diff_plane (unsigned char *old, unsigned char *new, int w, int h, int os, int ns, int arg)
static unsigned int checksum_plane (unsigned char *p, unsigned char *z, int w, int h, int s, int zs, int arg)
static int deghost_plane (unsigned char *d, unsigned char *s, int w, int h, int ds, int ss, int threshold)
static int copyop (unsigned char *d, unsigned char *s, int bpl, int h, int dstride, int sstride, int dummy)
static int imgop (int(*planeop)(unsigned char *, unsigned char *, int, int, int, int, int), mp_image_t *dst, mp_image_t *src, int arg)
static int match (struct vf_priv_s *p, int *diffs, int phase1, int phase2, double *strength)
static int put_image (struct vf_instance *vf, mp_image_t *mpi, double pts)
static int analyze (struct vf_priv_s *p)
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

const vf_info_t vf_info_divtc
static int(* diff )(unsigned char *, unsigned char *, int, int)


Function Documentation

static int analyze ( struct vf_priv_s p  )  [static]

Definition at line 383 of file vf_divtc.c.

Referenced by get_packet_size(), mpegts_probe(), and vf_open().

static unsigned int checksum_plane ( unsigned char *  p,
unsigned char *  z,
int  w,
int  h,
int  s,
int  zs,
int  arg 
) [static]

Definition at line 143 of file vf_divtc.c.

Referenced by put_image().

static int copyop ( unsigned char *  d,
unsigned char *  s,
int  bpl,
int  h,
int  dstride,
int  sstride,
int  dummy 
) [static]

Definition at line 191 of file vf_divtc.c.

Referenced by put_image().

static int deghost_plane ( unsigned char *  d,
unsigned char *  s,
int  w,
int  h,
int  ds,
int  ss,
int  threshold 
) [static]

Definition at line 177 of file vf_divtc.c.

Referenced by put_image().

static int diff_C ( unsigned char *  old,
unsigned char *  new,
int  os,
int  ns 
) [static]

Definition at line 96 of file vf_divtc.c.

static int diff_plane ( unsigned char *  old,
unsigned char *  new,
int  w,
int  h,
int  os,
int  ns,
int  arg 
) [static]

Definition at line 109 of file vf_divtc.c.

Referenced by put_image().

static int imgop ( int(*)(unsigned char *, unsigned char *, int, int, int, int, int)  planeop,
mp_image_t dst,
mp_image_t src,
int  arg 
) [static]

Definition at line 196 of file vf_divtc.c.

Referenced by put_image().

static int match ( struct vf_priv_s p,
int *  diffs,
int  phase1,
int  phase2,
double *  strength 
) [static]

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

Definition at line 260 of file vf_divtc.c.

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

Definition at line 571 of file vf_divtc.c.

static void uninit ( struct vf_instance vf  )  [static]

Definition at line 586 of file vf_divtc.c.

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

Definition at line 598 of file vf_divtc.c.


Variable Documentation

int(* diff)(unsigned char *, unsigned char *, int, int) [static]

Initial value:

   {
   "inverse telecine for deinterlaced video",
   "divtc",
   "Ville Saari",
   "",
   vf_open,
   NULL
   }

Definition at line 37 of file vf_divtc.c.


Generated on Fri Oct 26 02:43:51 2012 for FFmpeg by  doxygen 1.5.8