libavfilter/libmpcodecs/vf_rgbtest.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.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 unsigned int getfmt (unsigned int outfmt)
static void put_pixel (uint8_t *buf, int x, int y, int stride, int r, int g, int b, int fmt)
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 outfmt)
static int vf_open (vf_instance_t *vf, char *args)


const vf_info_t vf_info_rgbtest

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 106 of file vf_rgbtest.c.

static unsigned int getfmt ( unsigned int  outfmt  )  [static]

Definition at line 38 of file vf_rgbtest.c.

Referenced by config(), and query_format().

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

Definition at line 116 of file vf_rgbtest.c.

static void put_pixel ( uint8_t *  buf,
int  x,
int  y,
int  stride,
int  r,
int  g,
int  b,
int  fmt 
) [static]

Definition at line 57 of file vf_rgbtest.c.

Referenced by gen_image(), and put_image().

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

Definition at line 145 of file vf_rgbtest.c.

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

Definition at line 151 of file vf_rgbtest.c.

Variable Documentation

Initial value:

    "Michael Niedermayer",

Definition at line 162 of file vf_rgbtest.c.

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