GstVulkan.VulkanFormatInfo¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
aspect |
r/w |
image aspect of this format |
|
bits |
r/w |
The number of bits used to pack data items. This can be less than 8 when multiple pixels are stored in a byte. for values > 8 multiple bytes should be read according to the endianness flag before applying the shift and mask. n_components; number of components in this format |
|
depth |
r/w |
the depth in bits for each component |
|
flags |
r/w |
flags that apply to this format |
|
format |
r/w |
the Vulkan format being described |
|
h_sub |
r/w |
subsampling factor of the height for the component. Use GST_VIDEO_SUB_SCALE to scale a height. |
|
n_components |
r/w |
||
n_planes |
r/w |
the number of planes for this format. The number of planes can be less than the amount of components when multiple components are packed into one plane. |
|
name |
r/w |
name of this format |
|
pixel_stride |
[ |
r/w |
|
plane |
r/w |
the plane number where a component can be found |
|
poffset |
r/w |
the offset in the plane where the first pixel of the components can be found. |
|
scaling |
r/w |
how raw data is interpreted and scaled |
|
shift |
r/w |
the number of bits to shift away to get the component data |
|
w_sub |
r/w |
subsampling factor of the width for the component. Use GST_VIDEO_SUB_SCALE to scale a width. |
Methods¶
None
Details¶
- class GstVulkan.VulkanFormatInfo¶
New in version 1.18.