libavfilter/libmpcodecs/vf_cropdetect.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "config.h"
#include "mp_msg.h"
#include "help_mp.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"

Go to the source code of this file.

Data Structures

struct  vf_priv_s
 Stores persistant variables. More...

Functions

static int checkline (unsigned char *src, int stride, int len, int bpp)
static int config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt)
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 vf_open (vf_instance_t *vf, char *args)

Variables

const vf_info_t vf_info_cropdetect


Function Documentation

static int checkline ( unsigned char *  src,
int  stride,
int  len,
int  bpp 
) [static]

Definition at line 40 of file vf_cropdetect.c.

Referenced by end_frame(), and put_image().

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 64 of file vf_cropdetect.c.

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

Definition at line 75 of file vf_cropdetect.c.

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

Definition at line 167 of file vf_cropdetect.c.

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

Definition at line 177 of file vf_cropdetect.c.


Variable Documentation

Initial value:

 {
    "autodetect crop size",
    "cropdetect",
    "A'rpi",
    "",
    vf_open,
    NULL
}

Definition at line 192 of file vf_cropdetect.c.


Generated on Fri Oct 26 02:38:19 2012 for FFmpeg by  doxygen 1.5.8