FFmpeg
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "mp_msg.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 | vf_priv_s |
Macros | |
#define | COMPE(a, b, e) (abs((a)-(b)) < (((a)+(b))>>(e))) |
#define | COMPARABLE(a, b) COMPE((a),(b),2) |
#define | VERYCLOSE(a, b) COMPE((a),(b),3) |
#define | OUTER_TC_NBHD(s) |
#define | INNER_TC_NBHD(s, l, h) |
#define | STARTVARS if (0) |
#define | GETVAR(str, name, out, func) |
Enumerations | |
enum | { TC_DROP, TC_PROG, TC_IL1, TC_IL2 } |
Functions | |
static void | block_diffs (struct metrics *m, unsigned char *old, unsigned char *new, int os, int ns) |
static void | diff_planes (struct metrics *m, unsigned char *old, unsigned char *new, int w, int h, int os, int ns) |
static void | diff_fields (struct metrics *metr, mp_image_t *old, mp_image_t *new) |
static void | status (int f, struct metrics *m) |
static int | analyze_fixed_pattern (struct vf_priv_s *p, mp_image_t *new, mp_image_t *old) |
static int | analyze_aggressive (struct vf_priv_s *p, mp_image_t *new, mp_image_t *old) |
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 int | config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) |
static void | uninit (struct vf_instance *vf) |
static void | parse_var (struct vf_priv_s *p, char *var) |
static void | parse_args (struct vf_priv_s *p, char *args) |
static int | vf_open (vf_instance_t *vf, char *args) |
Variables | |
struct { | |
const char * name | |
int(* func )(struct vf_priv_s *p, mp_image_t *new, mp_image_t *old) | |
int needread | |
} | anal_funcs [] |
const vf_info_t | ff_vf_info_detc |
Definition at line 51 of file vf_detc.c.
Referenced by analyze_aggressive().
#define INNER_TC_NBHD | ( | s, | |
l, | |||
h | |||
) |
#define OUTER_TC_NBHD | ( | s | ) |
#define STARTVARS if (0) |
Definition at line 394 of file vf_detc.c.
Referenced by parse_var().
Definition at line 52 of file vf_detc.c.
Referenced by analyze_aggressive().
|
static |
|
static |
|
static |
Definition at line 74 of file vf_detc.c.
Referenced by diff_planes().
|
static |
Definition at line 372 of file vf_detc.c.
Referenced by dshow_cycle_formats(), dshow_set_audio_buffer_size(), parse_fmtp_config(), and vf_open().
|
static |
Definition at line 243 of file vf_detc.c.
Referenced by put_image().
|
static |
Definition at line 117 of file vf_detc.c.
Referenced by analyze_aggressive().
|
static |
Definition at line 98 of file vf_detc.c.
Referenced by diff_fields().
|
static |
Definition at line 288 of file vf_detc.c.
Referenced by put_image().
Definition at line 399 of file vf_detc.c.
Referenced by parse_args().
|
static |
|
static |
Definition at line 141 of file vf_detc.c.
Referenced by analyze_aggressive(), av_opencl_buffer_create(), av_opencl_buffer_read(), av_opencl_buffer_read_image(), av_opencl_buffer_release(), av_opencl_buffer_write(), av_opencl_buffer_write_image(), av_opencl_create_kernel(), av_opencl_release_kernel(), av_opencl_uninit(), compile_kernel_file(), ff_er_add_slice(), ff_er_frame_end(), ff_h264_check_intra4x4_pred_mode(), ff_opencl_transform(), ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), ff_vda_create_decoder(), ff_vda_destroy_decoder(), get_device_list(), handle_child_exit(), init_opencl_env(), Stagefright_decode_frame(), start_jack(), vda_h264_end_frame(), vda_sync_decode(), and vdadec_init().
|
static |
|
static |
struct { ... } anal_funcs[] |
Referenced by vf_open().
const vf_info_t ff_vf_info_detc |
int(* func)(struct vf_priv_s *p, mp_image_t *new, mp_image_t *old) |