FFmpeg
|
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "framesync.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | PreMultiplyContext |
Macros | |
#define | OFFSET(x) offsetof(PreMultiplyContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (premultiply) | |
static int | query_formats (AVFilterContext *ctx) |
static void | premultiply8 (const uint8_t *msrc, const uint8_t *asrc, uint8_t *dst, ptrdiff_t mlinesize, ptrdiff_t alinesize, ptrdiff_t dlinesize, int w, int h, int half, int shift, int offset) |
static void | premultiply8yuv (const uint8_t *msrc, const uint8_t *asrc, uint8_t *dst, ptrdiff_t mlinesize, ptrdiff_t alinesize, ptrdiff_t dlinesize, int w, int h, int half, int shift, int offset) |
static void | premultiply8offset (const uint8_t *msrc, const uint8_t *asrc, uint8_t *dst, ptrdiff_t mlinesize, ptrdiff_t alinesize, ptrdiff_t dlinesize, int w, int h, int half, int shift, int offset) |
static void | premultiply16 (const uint8_t *mmsrc, const uint8_t *aasrc, uint8_t *ddst, ptrdiff_t mlinesize, ptrdiff_t alinesize, ptrdiff_t dlinesize, int w, int h, int half, int shift, int offset) |
static void | premultiply16yuv (const uint8_t *mmsrc, const uint8_t *aasrc, uint8_t *ddst, ptrdiff_t mlinesize, ptrdiff_t alinesize, ptrdiff_t dlinesize, int w, int h, int half, int shift, int offset) |
static void | premultiply16offset (const uint8_t *mmsrc, const uint8_t *aasrc, uint8_t *ddst, ptrdiff_t mlinesize, ptrdiff_t alinesize, ptrdiff_t dlinesize, int w, int h, int half, int shift, int offset) |
static int | process_frame (FFFrameSync *fs) |
static int | config_input (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *buf) |
static int | request_frame (AVFilterLink *outlink) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | premultiply_options [] |
static const AVFilterPad | premultiply_inputs [] |
static const AVFilterPad | premultiply_outputs [] |
AVFilter | ff_vf_premultiply |
#define OFFSET | ( | x | ) | offsetof(PreMultiplyContext, x) |
Definition at line 46 of file vf_premultiply.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 47 of file vf_premultiply.c.
AVFILTER_DEFINE_CLASS | ( | premultiply | ) |
|
static |
Definition at line 55 of file vf_premultiply.c.
|
static |
Definition at line 71 of file vf_premultiply.c.
Referenced by process_frame().
|
static |
Definition at line 91 of file vf_premultiply.c.
Referenced by process_frame().
|
static |
Definition at line 111 of file vf_premultiply.c.
Referenced by process_frame().
|
static |
Definition at line 131 of file vf_premultiply.c.
Referenced by process_frame().
|
static |
Definition at line 154 of file vf_premultiply.c.
Referenced by process_frame().
|
static |
Definition at line 177 of file vf_premultiply.c.
Referenced by process_frame().
|
static |
Definition at line 200 of file vf_premultiply.c.
Referenced by config_output().
|
static |
Definition at line 285 of file vf_premultiply.c.
|
static |
Definition at line 308 of file vf_premultiply.c.
|
static |
Definition at line 355 of file vf_premultiply.c.
|
static |
Definition at line 361 of file vf_premultiply.c.
|
static |
Definition at line 367 of file vf_premultiply.c.
|
static |
Definition at line 49 of file vf_premultiply.c.
|
static |
Definition at line 374 of file vf_premultiply.c.
|
static |
Definition at line 389 of file vf_premultiply.c.
AVFilter ff_vf_premultiply |
Definition at line 399 of file vf_premultiply.c.