AVBlocks for C++  2.1
Audio and Video Software Development Kit
primo::avblocks::Param::Video::Pad Namespace Reference

Parameters specific to video padding. More...

Variables

static const char Bottom [] = "PAD_BOTTOM"
 Video: Specifies the area to be padded inside the bottom edge of the output frame. More...
 
static const char Color [] = "PAD_COLOR"
 Video: Specifies the padding color if any padding is set. More...
 
static const char Left [] = "PAD_LEFT"
 Video: Specifies the area to be padded inside the left edge of the output frame. More...
 
static const char Right [] = "PAD_RIGHT"
 Video: Specifies the area to be padded inside the right edge of the output frame. More...
 
static const char Top [] = "PAD_TOP"
 Video: Specifies the area to be padded inside the top edge of the output frame. More...
 

Detailed Description

Parameters specific to video padding.

Note
The padding is applied inside the output frame at the expense of the usable frame area.

Example: Transcoder input settings: Input frame resolution: 640x480, output frame resolution: not specified, padding as follows: top(60), bottom(60)
Transcoder result: The output frame is 640x480 because the input resolution is kept implicitly. The padding is applied inside the 640x480 frame and the usable frame area becomes 640x360.

Note
Padding is done after cropping.

Variable Documentation

const char Bottom[] = "PAD_BOTTOM"
static

Video: Specifies the area to be padded inside the bottom edge of the output frame.

The parameter is an integer.

const char Color[] = "PAD_COLOR"
static

Video: Specifies the padding color if any padding is set.

The parameter is an integer. The color format is ARGB32: bits 0-7 is blue, bits 8-15 is green, bits 16-23 is red and bits 24-31 is the alpha channel.

const char Left[] = "PAD_LEFT"
static

Video: Specifies the area to be padded inside the left edge of the output frame.

The parameter is an integer.

const char Right[] = "PAD_RIGHT"
static

Video: Specifies the area to be padded inside the right edge of the output frame.

The parameter is an integer.

const char Top[] = "PAD_TOP"
static

Video: Specifies the area to be padded inside the top edge of the output frame.

The parameter is an integer.