|
FFmpeg
|
Use a palette to downsample an input video stream. More...
#include "libavutil/bprint.h"#include "libavutil/internal.h"#include "libavutil/opt.h"#include "libavutil/qsort.h"#include "avfilter.h"#include "filters.h"#include "framesync.h"#include "internal.h"Classes | |
| struct | color_node |
| struct | cached_color |
| struct | cache_node |
| struct | PaletteUseContext |
| struct | nearest_color |
| struct | stack_node |
| struct | color |
| struct | color_rect |
Macros | |
| #define | NBITS 5 |
| #define | CACHE_SIZE (1<<(3*NBITS)) |
| #define | OFFSET(x) offsetof(PaletteUseContext, x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
| #define | COLORMAP_NEAREST(search, palette, root, target, trans_thresh) |
| #define | INDENT 4 |
| #define | DECLARE_CMP_FUNC(name, pos) |
| #define | DEFINE_SET_FRAME(color_search, name, value) |
| #define | DEFINE_SET_FRAME_COLOR_SEARCH(color_search, color_search_macro) |
| #define | DITHERING_ENTRIES(color_search) |
Typedefs | |
| typedef int(* | set_frame_func) (struct PaletteUseContext *s, AVFrame *out, AVFrame *in, int x_start, int y_start, int width, int height) |
| typedef struct PaletteUseContext | PaletteUseContext |
| typedef int(* | cmp_func) (const void *, const void *) |
Functions | |
| AVFILTER_DEFINE_CLASS (paletteuse) | |
Variables | |
| AVFilter | ff_vf_paletteuse |
Use a palette to downsample an input video stream.
| #define COLORMAP_NEAREST | ( | search, | |
| palette, | |||
| root, | |||
| target, | |||
| trans_thresh | |||
| ) |
| #define DECLARE_CMP_FUNC | ( | name, | |
| pos | |||
| ) |
| #define DEFINE_SET_FRAME | ( | color_search, | |
| name, | |||
| value | |||
| ) |
| #define DEFINE_SET_FRAME_COLOR_SEARCH | ( | color_search, | |
| color_search_macro | |||
| ) |
| #define DITHERING_ENTRIES | ( | color_search | ) |
| AVFilter ff_vf_paletteuse |
1.8.12