libavfilter/libmpcodecs/vf_yuvcsp.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...

Functions

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 clamp_y (int x)
static int clamp_c (int x)
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_yuvcsp


Function Documentation

static int clamp_c ( int  x  )  [inline, static]

Definition at line 47 of file vf_yuvcsp.c.

Referenced by put_image().

static int clamp_y ( int  x  )  [inline, static]

Definition at line 43 of file vf_yuvcsp.c.

Referenced by 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 37 of file vf_yuvcsp.c.

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

Definition at line 51 of file vf_yuvcsp.c.

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

Definition at line 90 of file vf_yuvcsp.c.

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

Definition at line 100 of file vf_yuvcsp.c.


Variable Documentation

Initial value:

 {
    "yuv colorspace converter",
    "yuvcsp",
    "Alex Beregszaszi",
    "",
    vf_open,
    NULL
}

Definition at line 111 of file vf_yuvcsp.c.


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