#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "mp_msg.h"
#include "cpudetect.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
#include "libvo/fastmemcpy.h"
Go to the source code of this file.
Data Structures | |
struct | vf_priv_s |
Stores persistant variables. More... | |
Functions | |
static int | diff_C (unsigned char *old, unsigned char *new, int os, int ns) |
static int | diff_to_drop_plane (int hi, int lo, float frac, unsigned char *old, unsigned char *new, int w, int h, int os, int ns) |
static int | diff_to_drop (int hi, int lo, float frac, mp_image_t *old, mp_image_t *new) |
static int | put_image (struct vf_instance *vf, mp_image_t *mpi, double pts) |
static void | uninit (struct vf_instance *vf) |
static int | vf_open (vf_instance_t *vf, char *args) |
Variables | |
static int(* | diff )(unsigned char *, unsigned char *, int, int) |
const vf_info_t | vf_info_decimate |
static int diff_C | ( | unsigned char * | old, |
unsigned char * | new, | ||
int | os, | ||
int | ns | ||
) | [static] |
Definition at line 82 of file vf_decimate.c.
Referenced by vf_open().
static int diff_to_drop | ( | int | hi, |
int | lo, | ||
float | frac, | ||
mp_image_t * | old, | ||
mp_image_t * | new | ||
) | [static] |
Definition at line 115 of file vf_decimate.c.
Referenced by put_image().
static int diff_to_drop_plane | ( | int | hi, |
int | lo, | ||
float | frac, | ||
unsigned char * | old, | ||
unsigned char * | new, | ||
int | w, | ||
int | h, | ||
int | os, | ||
int | ns | ||
) | [static] |
Definition at line 97 of file vf_decimate.c.
Referenced by diff_to_drop().
static int put_image | ( | struct vf_instance * | vf, |
mp_image_t * | mpi, | ||
double | pts | ||
) | [static] |
Definition at line 131 of file vf_decimate.c.
Referenced by vf_open().
static void uninit | ( | struct vf_instance * | vf | ) | [static] |
Definition at line 167 of file vf_decimate.c.
Referenced by vf_open().
static int vf_open | ( | vf_instance_t * | vf, |
char * | args | ||
) | [static] |
Definition at line 172 of file vf_decimate.c.
int(* diff)(unsigned char *, unsigned char *, int, int) [static] |
Definition at line 95 of file vf_decimate.c.
Referenced by diff_to_drop_plane(), and vf_open().
const vf_info_t vf_info_decimate |
Definition at line 191 of file vf_decimate.c.