|
FFmpeg
|
#include "libavutil/opt.h"#include "libavutil/intreadwrite.h"#include "libavutil/pixdesc.h"#include "avfilter.h"#include "filters.h"Go to the source code of this file.
Data Structures | |
| struct | ChromakeyContext |
Macros | |
| #define | FIXNUM(x) |
| #define | RGB_TO_U(rgb) |
| #define | RGB_TO_V(rgb) |
| #define | OFFSET(x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
Functions | |
| static uint8_t | do_chromakey_pixel (ChromakeyContext *ctx, uint8_t u[9], uint8_t v[9]) |
| static uint16_t | do_chromakey_pixel16 (ChromakeyContext *ctx, uint16_t u[9], uint16_t v[9]) |
| static av_always_inline void | get_pixel_uv (AVFrame *frame, int hsub_log2, int vsub_log2, int x, int y, uint8_t *u, uint8_t *v) |
| static av_always_inline void | get_pixel16_uv (AVFrame *frame, int hsub_log2, int vsub_log2, int x, int y, uint16_t *u, uint16_t *v) |
| static int | do_chromakey_slice (AVFilterContext *avctx, void *arg, int jobnr, int nb_jobs) |
| static int | do_chromakey16_slice (AVFilterContext *avctx, void *arg, int jobnr, int nb_jobs) |
| static int | do_chromahold_slice (AVFilterContext *avctx, void *arg, int jobnr, int nb_jobs) |
| static int | do_chromahold16_slice (AVFilterContext *avctx, void *arg, int jobnr, int nb_jobs) |
| static int | filter_frame (AVFilterLink *link, AVFrame *frame) |
| static av_cold int | config_output (AVFilterLink *outlink) |
| static av_cold int | config_input (AVFilterLink *inlink) |
| static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
| AVFILTER_DEFINE_CLASS (chromakey) | |
| AVFILTER_DEFINE_CLASS (chromahold) | |
Variables | |
| static const AVFilterPad | inputs [] |
| static const AVFilterPad | outputs [] |
| static const AVOption | chromakey_options [] |
| static enum AVPixelFormat | chromakey_fmts [] |
| const FFFilter | ff_vf_chromakey |
| static const AVOption | chromahold_options [] |
| static enum AVPixelFormat | hold_pixel_fmts [] |
| const FFFilter | ff_vf_chromahold |
| #define FIXNUM | ( | x | ) |
Definition at line 270 of file vf_chromakey.c.
| #define RGB_TO_U | ( | rgb | ) |
Definition at line 271 of file vf_chromakey.c.
Referenced by config_output().
| #define RGB_TO_V | ( | rgb | ) |
| #define OFFSET | ( | x | ) |
Definition at line 347 of file vf_chromakey.c.
Definition at line 348 of file vf_chromakey.c.
|
static |
Definition at line 48 of file vf_chromakey.c.
Referenced by do_chromakey_slice().
|
static |
Definition at line 69 of file vf_chromakey.c.
Referenced by do_chromakey16_slice().
|
static |
Definition at line 91 of file vf_chromakey.c.
Referenced by do_chromakey_slice().
|
static |
Definition at line 103 of file vf_chromakey.c.
Referenced by do_chromakey16_slice().
|
static |
Definition at line 115 of file vf_chromakey.c.
Referenced by config_output().
|
static |
Definition at line 145 of file vf_chromakey.c.
Referenced by config_output().
|
static |
Definition at line 179 of file vf_chromakey.c.
Referenced by config_output().
|
static |
Definition at line 216 of file vf_chromakey.c.
Referenced by config_output().
|
static |
Definition at line 255 of file vf_chromakey.c.
|
static |
Definition at line 274 of file vf_chromakey.c.
Referenced by process_command().
|
static |
Definition at line 305 of file vf_chromakey.c.
|
static |
Definition at line 317 of file vf_chromakey.c.
| AVFILTER_DEFINE_CLASS | ( | chromakey | ) |
| AVFILTER_DEFINE_CLASS | ( | chromahold | ) |
|
static |
Definition at line 329 of file vf_chromakey.c.
|
static |
Definition at line 339 of file vf_chromakey.c.
|
static |
Definition at line 350 of file vf_chromakey.c.
|
static |
Definition at line 358 of file vf_chromakey.c.
| const FFFilter ff_vf_chromakey |
Definition at line 371 of file vf_chromakey.c.
|
static |
Definition at line 383 of file vf_chromakey.c.
|
static |
Definition at line 391 of file vf_chromakey.c.
| const FFFilter ff_vf_chromahold |
Definition at line 412 of file vf_chromakey.c.