|
FFmpeg
|
ColorMatrix 2.0 is based on the original ColorMatrix filter by Wilbert Dijkhof. More...
#include <float.h>#include "avfilter.h"#include "formats.h"#include "internal.h"#include "video.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "libavutil/avstring.h"Classes | |
| struct | ColorMatrixContext |
| struct | ThreadData |
Macros | |
| #define | NS(n) ((n) < 0 ? (int)((n)*65536.0-0.5+DBL_EPSILON) : (int)((n)*65536.0+0.5)) |
| #define | CB(n) av_clip_uint8(n) |
| #define | OFFSET(x) offsetof(ColorMatrixContext, x) |
| #define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
| #define | ma m[0][0] |
| #define | mb m[0][1] |
| #define | mc m[0][2] |
| #define | md m[1][0] |
| #define | me m[1][1] |
| #define | mf m[1][2] |
| #define | mg m[2][0] |
| #define | mh m[2][1] |
| #define | mi m[2][2] |
| #define | ima im[0][0] |
| #define | imb im[0][1] |
| #define | imc im[0][2] |
| #define | imd im[1][0] |
| #define | ime im[1][1] |
| #define | imf im[1][2] |
| #define | img im[2][0] |
| #define | imh im[2][1] |
| #define | imi im[2][2] |
Typedefs | |
| typedef struct ColorMatrixContext | ColorMatrixContext |
| typedef struct ThreadData | ThreadData |
Functions | |
| AVFILTER_DEFINE_CLASS (colormatrix) | |
Variables | |
| AVFilter | ff_vf_colormatrix |
ColorMatrix 2.0 is based on the original ColorMatrix filter by Wilbert Dijkhof.
It adds the ability to convert between any of: Rec.709, FCC, Rec.601, and SMPTE 240M. It also makes pre and post clipping optional, adds an option to use scaled or non-scaled coefficients, and more...
| AVFilter ff_vf_colormatrix |
1.8.12