libavfilter/libmpcodecs/vf_blackframe.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "mp_msg.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...


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


const vf_info_t vf_info_blackframe

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 43 of file vf_blackframe.c.

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

Definition at line 113 of file vf_blackframe.c.

Referenced by dshow_read_header(), and vf_open().

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

Definition at line 69 of file vf_blackframe.c.

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

Definition at line 48 of file vf_blackframe.c.

static void uninit ( struct vf_instance vf  )  [static]

Definition at line 117 of file vf_blackframe.c.

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

Definition at line 121 of file vf_blackframe.c.

Variable Documentation

Initial value:

    "detects black frames",
    "Brian J. Murrell, Julian Hall, Ivo van Poorten",
    "Useful for detecting scene transitions",

Definition at line 141 of file vf_blackframe.c.

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