#include <stdio.h>#include <stdlib.h>#include <string.h>#include <limits.h>#include <math.h>#include "config.h"#include "mp_msg.h"#include "cpudetect.h"#include "libavutil/common.h"#include "mpbswap.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_plane (unsigned char *old, unsigned char *new, int w, int h, int os, int ns, int arg) |
| static unsigned int | checksum_plane (unsigned char *p, unsigned char *z, int w, int h, int s, int zs, int arg) |
| static int | deghost_plane (unsigned char *d, unsigned char *s, int w, int h, int ds, int ss, int threshold) |
| static int | copyop (unsigned char *d, unsigned char *s, int bpl, int h, int dstride, int sstride, int dummy) |
| static int | imgop (int(*planeop)(unsigned char *, unsigned char *, int, int, int, int, int), mp_image_t *dst, mp_image_t *src, int arg) |
| static int | match (struct vf_priv_s *p, int *diffs, int phase1, int phase2, double *strength) |
| static int | put_image (struct vf_instance *vf, mp_image_t *mpi, double pts) |
| static int | analyze (struct vf_priv_s *p) |
| 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 | |
| const vf_info_t | vf_info_divtc |
| static int(* | diff )(unsigned char *, unsigned char *, int, int) |
| static int analyze | ( | struct vf_priv_s * | p | ) | [static] |
Definition at line 383 of file vf_divtc.c.
Referenced by get_packet_size(), mpegts_probe(), and vf_open().
| static unsigned int checksum_plane | ( | unsigned char * | p, | |
| unsigned char * | z, | |||
| int | w, | |||
| int | h, | |||
| int | s, | |||
| int | zs, | |||
| int | arg | |||
| ) | [static] |
| static int copyop | ( | unsigned char * | d, | |
| unsigned char * | s, | |||
| int | bpl, | |||
| int | h, | |||
| int | dstride, | |||
| int | sstride, | |||
| int | dummy | |||
| ) | [static] |
| static int deghost_plane | ( | unsigned char * | d, | |
| unsigned char * | s, | |||
| int | w, | |||
| int | h, | |||
| int | ds, | |||
| int | ss, | |||
| int | threshold | |||
| ) | [static] |
| static int diff_C | ( | unsigned char * | old, | |
| unsigned char * | new, | |||
| int | os, | |||
| int | ns | |||
| ) | [static] |
Definition at line 96 of file vf_divtc.c.
| static int diff_plane | ( | unsigned char * | old, | |
| unsigned char * | new, | |||
| int | w, | |||
| int | h, | |||
| int | os, | |||
| int | ns, | |||
| int | arg | |||
| ) | [static] |
| static int imgop | ( | int(*)(unsigned char *, unsigned char *, int, int, int, int, int) | planeop, | |
| mp_image_t * | dst, | |||
| mp_image_t * | src, | |||
| int | arg | |||
| ) | [static] |
| static int match | ( | struct vf_priv_s * | p, | |
| int * | diffs, | |||
| int | phase1, | |||
| int | phase2, | |||
| double * | strength | |||
| ) | [static] |
Definition at line 224 of file vf_divtc.c.
Referenced by analyze(), parse_inputs(), parse_outputs(), put_image(), small_strptime(), and split_field_copy().
| static int put_image | ( | struct vf_instance * | vf, | |
| mp_image_t * | mpi, | |||
| double | pts | |||
| ) | [static] |
Definition at line 260 of file vf_divtc.c.
| static int query_format | ( | struct vf_instance * | vf, | |
| unsigned int | fmt | |||
| ) | [static] |
Definition at line 571 of file vf_divtc.c.
| static void uninit | ( | struct vf_instance * | vf | ) | [static] |
Definition at line 586 of file vf_divtc.c.
| static int vf_open | ( | vf_instance_t * | vf, | |
| char * | args | |||
| ) | [static] |
Definition at line 598 of file vf_divtc.c.
int(* diff)(unsigned char *, unsigned char *, int, int) [static] |
| const vf_info_t vf_info_divtc |
Initial value:
Definition at line 37 of file vf_divtc.c.
1.5.8