|
FFmpeg
|
#include "libavutil/avstring.h"#include "libavutil/opt.h"#include "libavutil/parseutils.h"#include "libavutil/pixdesc.h"#include "avfilter.h"#include "internal.h"#include "formats.h"#include "video.h"Go to the source code of this file.
Data Structures | |
| struct | MPTestContext |
Macros | |
| #define | WIDTH 512 |
| #define | HEIGHT 512 |
| #define | OFFSET(x) offsetof(MPTestContext, x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
| enum | test_type { TEST_DC_LUMA, TEST_DC_CHROMA, TEST_FREQ_LUMA, TEST_FREQ_CHROMA, TEST_AMP_LUMA, TEST_AMP_CHROMA, TEST_CBP, TEST_MV, TEST_RING1, TEST_RING2, TEST_ALL, TEST_NB } |
Functions | |
| AVFILTER_DEFINE_CLASS (mptestsrc) | |
| static void | init_idct (void) |
| static void | idct (uint8_t *dst, int dst_linesize, int src[64]) |
| static void | draw_dc (uint8_t *dst, int dst_linesize, int color, int w, int h) |
| static void | draw_basis (uint8_t *dst, int dst_linesize, int amp, int freq, int dc) |
| static void | draw_cbp (uint8_t *dst[3], int dst_linesize[3], int cbp, int amp, int dc) |
| static void | dc_test (uint8_t *dst, int dst_linesize, int w, int h, int off) |
| static void | freq_test (uint8_t *dst, int dst_linesize, int off) |
| static void | amp_test (uint8_t *dst, int dst_linesize, int off) |
| static void | cbp_test (uint8_t *dst[3], int dst_linesize[3], int off) |
| static void | mv_test (uint8_t *dst, int dst_linesize, int off) |
| static void | ring1_test (uint8_t *dst, int dst_linesize, int off) |
| static void | ring2_test (uint8_t *dst, int dst_linesize, int off) |
| static av_cold int | init (AVFilterContext *ctx) |
| static int | config_props (AVFilterLink *outlink) |
| static int | request_frame (AVFilterLink *outlink) |
Variables | |
| static const AVOption | mptestsrc_options [] |
| static double | c [64] |
| static const AVFilterPad | mptestsrc_outputs [] |
| const AVFilter | ff_vsrc_mptestsrc |
MP test source, ported from MPlayer libmpcodecs/vf_test.c
Definition in file vsrc_mptestsrc.c.
| #define WIDTH 512 |
Definition at line 35 of file vsrc_mptestsrc.c.
| #define HEIGHT 512 |
Definition at line 36 of file vsrc_mptestsrc.c.
| #define OFFSET | ( | x | ) | offsetof(MPTestContext, x) |
Definition at line 62 of file vsrc_mptestsrc.c.
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 63 of file vsrc_mptestsrc.c.
| enum test_type |
| Enumerator | |
|---|---|
| TEST_DC_LUMA | |
| TEST_DC_CHROMA | |
| TEST_FREQ_LUMA | |
| TEST_FREQ_CHROMA | |
| TEST_AMP_LUMA | |
| TEST_AMP_CHROMA | |
| TEST_CBP | |
| TEST_MV | |
| TEST_RING1 | |
| TEST_RING2 | |
| TEST_ALL | |
| TEST_NB | |
Definition at line 38 of file vsrc_mptestsrc.c.
| AVFILTER_DEFINE_CLASS | ( | mptestsrc | ) |
|
static |
Definition at line 94 of file vsrc_mptestsrc.c.
Referenced by init().
Definition at line 106 of file vsrc_mptestsrc.c.
Referenced by draw_basis().
Definition at line 134 of file vsrc_mptestsrc.c.
Referenced by dc_test(), and ring1_test().
Definition at line 143 of file vsrc_mptestsrc.c.
Referenced by amp_test(), draw_cbp(), and freq_test().
Definition at line 154 of file vsrc_mptestsrc.c.
Referenced by cbp_test().
Definition at line 164 of file vsrc_mptestsrc.c.
Referenced by request_frame().
Definition at line 177 of file vsrc_mptestsrc.c.
Referenced by request_frame().
Definition at line 189 of file vsrc_mptestsrc.c.
Referenced by request_frame().
Definition at line 201 of file vsrc_mptestsrc.c.
Referenced by request_frame().
Definition at line 218 of file vsrc_mptestsrc.c.
Referenced by request_frame().
Definition at line 230 of file vsrc_mptestsrc.c.
Referenced by request_frame().
Definition at line 242 of file vsrc_mptestsrc.c.
Referenced by request_frame().
|
static |
Definition at line 261 of file vsrc_mptestsrc.c.
|
static |
Definition at line 277 of file vsrc_mptestsrc.c.
|
static |
Definition at line 293 of file vsrc_mptestsrc.c.
|
static |
Definition at line 64 of file vsrc_mptestsrc.c.
|
static |
Definition at line 92 of file vsrc_mptestsrc.c.
Referenced by idct(), and init_idct().
|
static |
Definition at line 338 of file vsrc_mptestsrc.c.
| const AVFilter ff_vsrc_mptestsrc |
Definition at line 347 of file vsrc_mptestsrc.c.
1.8.17