FFmpeg
|
#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavfilter/framequeue.h"
#include "avfilter.h"
#include "drawutils.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | ExtractPlanesContext |
Macros | |
#define | FF_INTERNAL_FIELDS 1 |
#define | PLANE_R 0x01 |
#define | PLANE_G 0x02 |
#define | PLANE_B 0x04 |
#define | PLANE_A 0x08 |
#define | PLANE_Y 0x10 |
#define | PLANE_U 0x20 |
#define | PLANE_V 0x40 |
#define | OFFSET(x) offsetof(ExtractPlanesContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | EIGHTBIT_FORMATS |
#define | HIGHDEPTH_FORMATS(suf) |
Functions | |
AVFILTER_DEFINE_CLASS (extractplanes) | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static void | extract_from_packed (uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize, int width, int height, int depth, int step, int comp) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | extractplanes_options [] |
static const AVFilterPad | extractplanes_inputs [] |
AVFilter | ff_vf_extractplanes |
#define FF_INTERNAL_FIELDS 1 |
Definition at line 26 of file vf_extractplanes.c.
#define PLANE_R 0x01 |
Definition at line 33 of file vf_extractplanes.c.
Referenced by config_input().
#define PLANE_G 0x02 |
Definition at line 34 of file vf_extractplanes.c.
Referenced by config_input().
#define PLANE_B 0x04 |
Definition at line 35 of file vf_extractplanes.c.
Referenced by config_input().
#define PLANE_A 0x08 |
Definition at line 36 of file vf_extractplanes.c.
Referenced by config_input().
#define PLANE_Y 0x10 |
Definition at line 37 of file vf_extractplanes.c.
Referenced by config_input().
#define PLANE_U 0x20 |
Definition at line 38 of file vf_extractplanes.c.
Referenced by config_input().
#define PLANE_V 0x40 |
Definition at line 39 of file vf_extractplanes.c.
Referenced by config_input().
#define OFFSET | ( | x | ) | offsetof(ExtractPlanesContext, x) |
Definition at line 51 of file vf_extractplanes.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 52 of file vf_extractplanes.c.
#define EIGHTBIT_FORMATS |
Definition at line 67 of file vf_extractplanes.c.
Referenced by query_formats().
#define HIGHDEPTH_FORMATS | ( | suf | ) |
Definition at line 85 of file vf_extractplanes.c.
Referenced by query_formats().
AVFILTER_DEFINE_CLASS | ( | extractplanes | ) |
|
static |
Definition at line 118 of file vf_extractplanes.c.
|
static |
Definition at line 201 of file vf_extractplanes.c.
|
static |
Definition at line 233 of file vf_extractplanes.c.
Referenced by init().
|
static |
Definition at line 249 of file vf_extractplanes.c.
Referenced by filter_frame().
|
static |
Definition at line 274 of file vf_extractplanes.c.
|
static |
Definition at line 322 of file vf_extractplanes.c.
|
static |
Definition at line 352 of file vf_extractplanes.c.
|
static |
Definition at line 53 of file vf_extractplanes.c.
|
static |
Definition at line 360 of file vf_extractplanes.c.
AVFilter ff_vf_extractplanes |
Definition at line 370 of file vf_extractplanes.c.