FFmpeg
Macros | Functions
vf_blend_init.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/x86/cpu.h"
#include "libavfilter/blend.h"

Go to the source code of this file.

Macros

#define BLEND_FUNC(name, opt)
 

Functions

av_cold void ff_blend_init_x86 (FilterParams *param, int depth)
 

Macro Definition Documentation

◆ BLEND_FUNC

#define BLEND_FUNC (   name,
  opt 
)
Value:
void ff_blend_##name##_##opt(const uint8_t *top, ptrdiff_t top_linesize, \
const uint8_t *bottom, ptrdiff_t bottom_linesize, \
uint8_t *dst, ptrdiff_t dst_linesize, \
ptrdiff_t width, ptrdiff_t height, \
struct FilterParams *param, double *values, int starty);

Definition at line 26 of file vf_blend_init.c.

Function Documentation

◆ ff_blend_init_x86()

av_cold void ff_blend_init_x86 ( FilterParams param,
int  depth 
)

Definition at line 103 of file vf_blend_init.c.

Referenced by ff_blend_init().

name
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
Definition: writing_filters.txt:88
width
#define width
FilterParams
filter data
Definition: mlp.h:75
height
#define height
values
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several the filter must be ready for frames arriving randomly on any input any filter with several inputs will most likely require some kind of queuing mechanism It is perfectly acceptable to have a limited queue and to drop frames when the inputs are too unbalanced request_frame For filters that do not use the this method is called when a frame is wanted on an output For a it should directly call filter_frame on the corresponding output For a if there are queued frames already one of these frames should be pushed If the filter should request a frame on one of its repeatedly until at least one frame has been pushed Return values
Definition: filter_design.txt:263
_
#define _