AVBlocks for C++
2.1
Audio and Video Software Development Kit
|
Parameters specific to the video overlay filter. More...
Variables | |
static const char | BackgroundAlpha [] = "OVERLAY_BACKGROUND_ALPHA" |
Specifies the alpha value for all pixels in the background. More... | |
static const char * | BackgroundX = LocationX |
Specifies the X coordinate of the background origin where the overlay must be applied. More... | |
static const char * | BackgroundY = LocationX |
Specifies the Y coordinate of the background origin where the overlay must be applied. More... | |
static const char | ForegroundAlpha [] = "OVERLAY_FOREGROUND_ALPHA" |
Specifies the alpha value for all pixels in the foreground. More... | |
static const char | ForegroundBuffer [] = "OVERLAY_FOREGROUND_BUFFER" |
Specifies the foreground that should be overlaid with the background. More... | |
static const char | ForegroundBufferFormat [] = "OVERLAY_FOREGROUND_BUFFER_FORMAT" |
Specifies the format of the foreground buffer. More... | |
static const char | LocationX [] = "OVERLAY_LOCATION_X" |
Specifies the X coordinate of the location where the overlay is applied on the frame. More... | |
static const char | LocationY [] = "OVERLAY_LOCATION_Y" |
Specifies the Y coordinate of the location where the overlay is applied on the frame. More... | |
static const char | Mode [] = "OVERLAY_MODE" |
Specifies an alpha compositing mode - the way a foreground overlay image is combined with the background video. More... | |
Parameters specific to the video overlay filter.
|
static |
Specifies the alpha value for all pixels in the background.
This is a FloatParameter with range from 0.0 to 1.0. The default value is 1.0.
|
static |
Specifies the X coordinate of the background origin where the overlay must be applied.
This is an IntParameter.
|
static |
Specifies the Y coordinate of the background origin where the overlay must be applied.
This is an IntParameter.
|
static |
Specifies the alpha value for all pixels in the foreground.
This is a FloatParameter with range from 0.0 to 1.0.
The default value is 1.0 which in combination with other overlay parameters results in showing the foreground and hiding the background.
|
static |
Specifies the foreground that should be overlaid with the background.
This is a MediaBufferParameter.
|
static |
Specifies the format of the foreground buffer.
This is a VideoStreamInfoParameter.
|
static |
Specifies the X coordinate of the location where the overlay is applied on the frame.
This is an IntParameter.
X increases from left to right. The top left point in the frame is the origin and has coordinates (0,0).
|
static |
Specifies the Y coordinate of the location where the overlay is applied on the frame.
This is an IntParameter.
Y increases from top to bottom. The top left point in the frame is the origin and has coordinates (0,0).
|
static |
Specifies an alpha compositing mode - the way a foreground overlay image is combined with the background video.
This is an IntParameter. The acceptable values are defined in primo::codecs::AlphaCompositingMode::Enum.
The default value is AlphaCompositingMode::Over (Foreground over Background), in effect, a normal painting operation.