#include <stdio.h>#include <stdlib.h>#include <string.h>#include <inttypes.h>#include <math.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... | |
Defines | |
| #define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
| #define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
Functions | |
| static void | delogo (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int width, int height, int logo_x, int logo_y, int logo_w, int logo_h, int band, int show, int direct) |
| static int | config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) |
| static void | get_image (struct vf_instance *vf, mp_image_t *mpi) |
| static int | put_image (struct vf_instance *vf, mp_image_t *mpi, double pts) |
| static void | uninit (struct vf_instance *vf) |
| static int | query_format (struct vf_instance *vf, unsigned int fmt) |
| static int | vf_open (vf_instance_t *vf, char *args) |
Variables | |
| static const unsigned int | fmt_list [] |
| const vf_info_t | vf_info_delogo |
| #define MAX | ( | a, | |||
| b | ) | (((a) > (b)) ? (a) : (b)) |
Definition at line 44 of file vf_delogo.c.
Referenced by dc1Test(), delogo(), find_breaks(), get_block_stats(), and put_image().
| #define MIN | ( | a, | |||
| b | ) | (((a) < (b)) ? (a) : (b)) |
| 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 114 of file vf_delogo.c.
| static void delogo | ( | uint8_t * | dst, | |
| uint8_t * | src, | |||
| int | dstStride, | |||
| int | srcStride, | |||
| int | width, | |||
| int | height, | |||
| int | logo_x, | |||
| int | logo_y, | |||
| int | logo_w, | |||
| int | logo_h, | |||
| int | band, | |||
| int | show, | |||
| int | direct | |||
| ) | [static] |
| static void get_image | ( | struct vf_instance * | vf, | |
| mp_image_t * | mpi | |||
| ) | [static] |
| static int put_image | ( | struct vf_instance * | vf, | |
| mp_image_t * | mpi, | |||
| double | pts | |||
| ) | [static] |
Definition at line 140 of file vf_delogo.c.
| static int query_format | ( | struct vf_instance * | vf, | |
| unsigned int | fmt | |||
| ) | [static] |
Definition at line 175 of file vf_delogo.c.
| static void uninit | ( | struct vf_instance * | vf | ) | [static] |
Definition at line 166 of file vf_delogo.c.
| static int vf_open | ( | vf_instance_t * | vf, | |
| char * | args | |||
| ) | [static] |
Definition at line 193 of file vf_delogo.c.
const unsigned int fmt_list[] [static] |
Initial value:
{
IMGFMT_YV12,
IMGFMT_I420,
IMGFMT_IYUV,
0
}
Definition at line 186 of file vf_delogo.c.
Referenced by vf_open().
| const vf_info_t vf_info_delogo |
Initial value:
{
"simple logo remover",
"delogo",
"Jindrich Makovicka, Alex Beregszaszi",
"",
vf_open,
}
Definition at line 244 of file vf_delogo.c.
1.5.8