FFmpeg
4.0
|
Display frame palette (AV_PIX_FMT_PAL8) More...
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | ShowPaletteContext |
Macros | |
#define | OFFSET(x) offsetof(ShowPaletteContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (showpalette) | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static int | disp_palette (AVFrame *out, const AVFrame *in, int size) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
Variables | |
static const AVOption | showpalette_options [] |
static const AVFilterPad | showpalette_inputs [] |
static const AVFilterPad | showpalette_outputs [] |
AVFilter | ff_vf_showpalette |
Display frame palette (AV_PIX_FMT_PAL8)
Definition in file vf_showpalette.c.
#define OFFSET | ( | x | ) | offsetof(ShowPaletteContext, x) |
Definition at line 36 of file vf_showpalette.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 37 of file vf_showpalette.c.
AVFILTER_DEFINE_CLASS | ( | showpalette | ) |
|
static |
Definition at line 45 of file vf_showpalette.c.
|
static |
Definition at line 71 of file vf_showpalette.c.
Definition at line 79 of file vf_showpalette.c.
Referenced by filter_frame().
|
static |
Definition at line 94 of file vf_showpalette.c.
|
static |
Definition at line 38 of file vf_showpalette.c.
|
static |
Definition at line 113 of file vf_showpalette.c.
|
static |
Definition at line 122 of file vf_showpalette.c.
AVFilter ff_vf_showpalette |
Definition at line 131 of file vf_showpalette.c.