#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 | metrics |
struct | frameinfo |
struct | vf_priv_s |
Stores persistant variables. More... | |
Defines | |
#define | MAG(a) (((a)^((a)>>31))-((a)>>31)) |
#define | LOWPASS(s) ((s)[0]) |
#define | MAXUP(a, b) ((a) = ((a)>(b)) ? (a) : (b)) |
Enumerations | |
enum | { F_DROP, F_MERGE, F_NEXT, F_SHOW } |
Functions | |
static void | block_diffs_C (struct metrics *m, unsigned char *old, unsigned char *new, int os, int ns) |
static void | diff_planes (struct frameinfo *fi, unsigned char *old, unsigned char *new, int w, int h, int os, int ns) |
static void | diff_fields (struct frameinfo *fi, mp_image_t *old, mp_image_t *new) |
static void | stats (struct frameinfo *f) |
static int | foo (struct vf_priv_s *p, mp_image_t *new, mp_image_t *cur) |
static void | copy_image (mp_image_t *dmpi, mp_image_t *mpi, int field) |
static int | do_put_image (struct vf_instance *vf, mp_image_t *dmpi) |
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 void | uninit (struct vf_instance *vf) |
static int | vf_open (vf_instance_t *vf, char *args) |
Variables | |
static void(* | block_diffs )(struct metrics *, unsigned char *, unsigned char *, int, int) |
const vf_info_t | vf_info_ivtc |
#define MAG | ( | a | ) | (((a)^((a)>>31))-((a)>>31)) |
Definition at line 245 of file vf_ivtc.c.
Referenced by block_diffs_C().
Definition at line 281 of file vf_ivtc.c.
Referenced by diff_planes().
static void block_diffs_C | ( | struct metrics * | m, |
unsigned char * | old, | ||
unsigned char * | new, | ||
int | os, | ||
int | ns | ||
) | [static] |
static void copy_image | ( | mp_image_t * | dmpi, |
mp_image_t * | mpi, | ||
int | field | ||
) | [static] |
Definition at line 384 of file vf_ivtc.c.
Referenced by put_image().
static void diff_fields | ( | struct frameinfo * | fi, |
mp_image_t * | old, | ||
mp_image_t * | new | ||
) | [static] |
static void diff_planes | ( | struct frameinfo * | fi, |
unsigned char * | old, | ||
unsigned char * | new, | ||
int | w, | ||
int | h, | ||
int | os, | ||
int | ns | ||
) | [static] |
Definition at line 283 of file vf_ivtc.c.
Referenced by diff_fields().
static int do_put_image | ( | struct vf_instance * | vf, |
mp_image_t * | dmpi | ||
) | [static] |
Definition at line 429 of file vf_ivtc.c.
Referenced by put_image().
static int foo | ( | struct vf_priv_s * | p, |
mp_image_t * | new, | ||
mp_image_t * | cur | ||
) | [static] |
Definition at line 336 of file vf_ivtc.c.
Referenced by put_image().
static int put_image | ( | struct vf_instance * | vf, |
mp_image_t * | mpi, | ||
double | pts | ||
) | [static] |
static int query_format | ( | struct vf_instance * | vf, |
unsigned int | fmt | ||
) | [static] |
Definition at line 330 of file vf_ivtc.c.
Referenced by ff_rtp_check_and_send_back_rr(), foo(), queue_frames(), and X264_init().
static void uninit | ( | struct vf_instance * | vf | ) | [static] |
static int vf_open | ( | vf_instance_t * | vf, |
char * | args | ||
) | [static] |
void(* block_diffs)(struct metrics *, unsigned char *, unsigned char *, int, int) [static] |
Definition at line 279 of file vf_ivtc.c.
Referenced by diff_planes(), and vf_open().