libavfilter/libmpcodecs/vf_rotate.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 void rotate (unsigned char *dst, unsigned char *src, int dststride, int srcstride, int w, int h, int bpp, int dir)
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_rotate


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 71 of file vf_rotate.c.

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

Definition at line 87 of file vf_rotate.c.

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

Definition at line 117 of file vf_rotate.c.

static void rotate ( unsigned char *  dst,
unsigned char *  src,
int  dststride,
int  srcstride,
int  w,
int  h,
int  bpp,
int  dir 
) [static]

Definition at line 35 of file vf_rotate.c.

Referenced by put_image().

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

Definition at line 134 of file vf_rotate.c.


Variable Documentation

Initial value:

 {
    "rotate",
    "rotate",
    "A'rpi",
    "",
    vf_open,
    NULL
}

Definition at line 143 of file vf_rotate.c.


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