GstVideo.VideoAlignment

Fields

Name

Type

Access

Description

padding_bottom

int

r/w

extra pixels on the bottom

padding_left

int

r/w

extra pixels on the left side

padding_right

int

r/w

extra pixels on the right side

padding_top

int

r/w

extra pixels on the top

stride_align

[int]

r/w

array with extra alignment requirements for the strides

Methods

reset ()

Details

class GstVideo.VideoAlignment

Extra alignment parameters for the memory of video buffers. This structure is usually used to configure the bufferpool if it supports the GstVideo.BUFFER_POOL_OPTION_VIDEO_ALIGNMENT.

reset()

Set self to its default values with no padding and no alignment.