19 #ifndef AVFILTER_OVERLAY_H 20 #define AVFILTER_OVERLAY_H 23 #include "libavutil/pixdesc.h" 24 #include "framesync.h" 30 VAR_OVERLAY_W, VAR_OW,
31 VAR_OVERLAY_H, VAR_OH,
43 OVERLAY_FORMAT_YUV420,
44 OVERLAY_FORMAT_YUV422,
45 OVERLAY_FORMAT_YUV444,
56 uint8_t main_is_packed_rgb;
57 uint8_t main_rgba_map[4];
58 uint8_t main_has_alpha;
59 uint8_t overlay_is_packed_rgb;
60 uint8_t overlay_rgba_map[4];
61 uint8_t overlay_has_alpha;
73 double var_values[VAR_VARS_NB];
74 char *x_expr, *y_expr;
78 int (*blend_row[4])(uint8_t *d, uint8_t *da, uint8_t *s, uint8_t *a,
int w,
80 int (*blend_slice)(
AVFilterContext *ctx,
void *arg,
int jobnr,
int nb_jobs);
84 int alpha_format,
int main_has_alpha);
Main libavfilter public API header.
const AVPixFmtDescriptor * main_desc
format descriptor for main input
Definition: vf_overlay.h:71
Definition: vf_overlay.h:52
int eval_mode
EvalMode.
Definition: vf_overlay.h:64
int format
OverlayFormat.
Definition: vf_overlay.h:62
Frame sync structure.
Definition: framesync.h:146
int main_pix_step[4]
steps per pixel for each plane of the main output
Definition: vf_overlay.h:68
Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes...
Definition: pixdesc.h:81
int y
position of overlaid picture
Definition: vf_overlay.h:54
Describe the class of an AVClass context structure.
Definition: log.h:67
int overlay_pix_step[4]
steps per pixel for each plane of the overlay
Definition: vf_overlay.h:69
int vsub
chroma subsampling values
Definition: vf_overlay.h:70
An instance of a filter.
Definition: avfilter.h:338
simple arithmetic expression evaluator