libavfilter/libmpcodecs/vf_ilpack.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "config.h"
#include "mp_msg.h"
#include "cpudetect.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
#include "libavutil/attributes.h"

Go to the source code of this file.

Data Structures

struct  vf_priv_s
 Stores persistant variables. More...

Typedefs

typedef void( pack_func_t )(unsigned char *dst, unsigned char *y, unsigned char *u, unsigned char *v, int w, int us, int vs)

Functions

static void pack_nn_C (unsigned char *dst, unsigned char *y, unsigned char *u, unsigned char *v, int w, int av_unused us, int av_unused vs)
static void pack_li_0_C (unsigned char *dst, unsigned char *y, unsigned char *u, unsigned char *v, int w, int us, int vs)
static void pack_li_1_C (unsigned char *dst, unsigned char *y, unsigned char *u, unsigned char *v, int w, int us, int vs)
static void pack_nn_MMX (unsigned char *dst, unsigned char *y, unsigned char *u, unsigned char *v, int w, int av_unused us, int av_unused vs)
static void ilpack (unsigned char *dst, unsigned char *src[3], int dststride, int srcstride[3], int w, int h, pack_func_t *pack[2])
static int put_image (struct vf_instance *vf, mp_image_t *mpi, double pts)
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 int fmt)
static int vf_open (vf_instance_t *vf, char *args)

Variables

static pack_func_tpack_nn
static pack_func_tpack_li_0
static pack_func_tpack_li_1
const vf_info_t vf_info_ilpack


Typedef Documentation

typedef void( pack_func_t)(unsigned char *dst, unsigned char *y, unsigned char *u, unsigned char *v, int w, int us, int vs)

Definition at line 33 of file vf_ilpack.c.


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 389 of file vf_ilpack.c.

static void ilpack ( unsigned char *  dst,
unsigned char *  src[3],
int  dststride,
int  srcstride[3],
int  w,
int  h,
pack_func_t pack[2] 
) [static]

Definition at line 339 of file vf_ilpack.c.

Referenced by put_image().

static void pack_li_0_C ( unsigned char *  dst,
unsigned char *  y,
unsigned char *  u,
unsigned char *  v,
int  w,
int  us,
int  vs 
) [static]

Definition at line 54 of file vf_ilpack.c.

Referenced by vf_open().

static void pack_li_1_C ( unsigned char *  dst,
unsigned char *  y,
unsigned char *  u,
unsigned char *  v,
int  w,
int  us,
int  vs 
) [static]

Definition at line 67 of file vf_ilpack.c.

Referenced by vf_open().

static void pack_nn_C ( unsigned char *  dst,
unsigned char *  y,
unsigned char *  u,
unsigned char *  v,
int  w,
int av_unused  us,
int av_unused  vs 
) [static]

Definition at line 41 of file vf_ilpack.c.

Referenced by pack_nn_MMX(), and vf_open().

static void pack_nn_MMX ( unsigned char *  dst,
unsigned char *  y,
unsigned char *  u,
unsigned char *  v,
int  w,
int av_unused  us,
int av_unused  vs 
) [static]

Definition at line 81 of file vf_ilpack.c.

Referenced by vf_open().

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

Definition at line 375 of file vf_ilpack.c.

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

Definition at line 398 of file vf_ilpack.c.

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

Definition at line 410 of file vf_ilpack.c.


Variable Documentation

Definition at line 336 of file vf_ilpack.c.

Definition at line 337 of file vf_ilpack.c.

pack_func_t* pack_nn [static]

Definition at line 335 of file vf_ilpack.c.

Referenced by ilpack().

Initial value:

 {
    "4:2:0 planar -> 4:2:2 packed reinterlacer",
    "ilpack",
    "Richard Felker",
    "",
    vf_open,
    NULL
}

Definition at line 449 of file vf_ilpack.c.


Generated on Fri Oct 26 02:43:51 2012 for FFmpeg by  doxygen 1.5.8