libavfilter/libmpcodecs/vf_delogo.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <math.h>
#include "mp_msg.h"
#include "cpudetect.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 MIN(a, b)   (((a) < (b)) ? (a) : (b))
#define MAX(a, b)   (((a) > (b)) ? (a) : (b))

Functions

static void delogo (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int width, int height, int logo_x, int logo_y, int logo_w, int logo_h, int band, int show, int direct)
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 get_image (struct vf_instance *vf, mp_image_t *mpi)
static int put_image (struct vf_instance *vf, mp_image_t *mpi, double pts)
static void uninit (struct vf_instance *vf)
static int query_format (struct vf_instance *vf, unsigned int fmt)
static int vf_open (vf_instance_t *vf, char *args)

Variables

static const unsigned int fmt_list []
const vf_info_t vf_info_delogo


Define Documentation

#define MAX ( a,
 )     (((a) > (b)) ? (a) : (b))

Definition at line 44 of file vf_delogo.c.

Referenced by dc1Test(), delogo(), find_breaks(), get_block_stats(), and put_image().

#define MIN ( a,
 )     (((a) < (b)) ? (a) : (b))

Definition at line 43 of file vf_delogo.c.

Referenced by find_breaks().


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 114 of file vf_delogo.c.

static void delogo ( uint8_t *  dst,
uint8_t *  src,
int  dstStride,
int  srcStride,
int  width,
int  height,
int  logo_x,
int  logo_y,
int  logo_w,
int  logo_h,
int  band,
int  show,
int  direct 
) [static]

Definition at line 46 of file vf_delogo.c.

Referenced by put_image().

static void get_image ( struct vf_instance vf,
mp_image_t mpi 
) [static]

Definition at line 122 of file vf_delogo.c.

Referenced by vf_open().

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

Definition at line 140 of file vf_delogo.c.

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

Definition at line 175 of file vf_delogo.c.

static void uninit ( struct vf_instance vf  )  [static]

Definition at line 166 of file vf_delogo.c.

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

Definition at line 193 of file vf_delogo.c.


Variable Documentation

const unsigned int fmt_list[] [static]

Initial value:

Definition at line 186 of file vf_delogo.c.

Referenced by vf_open().

Initial value:

 {
    "simple logo remover",
    "delogo",
    "Jindrich Makovicka, Alex Beregszaszi",
    "",
    vf_open,
}

Definition at line 244 of file vf_delogo.c.


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