libavfilter/libmpcodecs/vf_ivtc.c File Reference
#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 Documentation
#define LOWPASS |
( |
s |
|
) |
((s)[0]) |
#define MAG |
( |
a |
|
) |
(((a)^((a)>>31))-((a)>>31)) |
#define MAXUP |
( |
a, |
|
|
b |
|
) |
((a) = ((a)>(b)) ? (a) : (b)) |
Enumeration Type Documentation
- Enumerator:
-
F_DROP |
|
F_MERGE |
|
F_NEXT |
|
F_SHOW |
|
Definition at line 54 of file vf_ivtc.c.
Function Documentation
static void block_diffs_C |
( |
struct metrics * |
m, |
|
|
unsigned char * |
old, |
|
|
unsigned char * |
new, |
|
|
int |
os, |
|
|
int |
ns | |
|
) |
| | [static] |
static void diff_planes |
( |
struct frameinfo * |
fi, |
|
|
unsigned char * |
old, |
|
|
unsigned char * |
new, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
os, |
|
|
int |
ns | |
|
) |
| | [static] |
static int query_format |
( |
struct vf_instance * |
vf, |
|
|
unsigned int |
fmt | |
|
) |
| | [static] |
static void stats |
( |
struct frameinfo * |
f |
) |
[static] |
static void uninit |
( |
struct vf_instance * |
vf |
) |
[static] |
Variable Documentation
void(* block_diffs)(struct metrics *, unsigned char *, unsigned char *, int, int) [static] |
Initial value:
{
"inverse telecine, take 2",
"ivtc",
"Rich Felker",
"",
vf_open,
NULL
}
Definition at line 543 of file vf_ivtc.c.