Google Cloud Video Transcoder V1beta1 Client - Class Pad (0.6.0)

Reference documentation and code samples for the Google Cloud Video Transcoder V1beta1 Client class Pad.

Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution.

Generated from protobuf message google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ top_pixels int

The number of pixels to add to the top. The default is 0.

↳ bottom_pixels int

The number of pixels to add to the bottom. The default is 0.

↳ left_pixels int

The number of pixels to add to the left. The default is 0.

↳ right_pixels int

The number of pixels to add to the right. The default is 0.

getTopPixels

The number of pixels to add to the top. The default is 0.

Returns
TypeDescription
int

setTopPixels

The number of pixels to add to the top. The default is 0.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getBottomPixels

The number of pixels to add to the bottom. The default is 0.

Returns
TypeDescription
int

setBottomPixels

The number of pixels to add to the bottom. The default is 0.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getLeftPixels

The number of pixels to add to the left. The default is 0.

Returns
TypeDescription
int

setLeftPixels

The number of pixels to add to the left. The default is 0.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRightPixels

The number of pixels to add to the right. The default is 0.

Returns
TypeDescription
int

setRightPixels

The number of pixels to add to the right. The default is 0.

Parameter
NameDescription
var int
Returns
TypeDescription
$this