Enums

Details

class GstVulkan.VulkanBarrierFlags(value)

Bases: GObject.GEnum

New in version 1.18.

NONE = 0
class GstVulkan.VulkanBarrierType(value)

Bases: GObject.GEnum

New in version 1.18.

NONE = 0

no barrier type

TYPE_MEMORY = 1
TYPE_BUFFER = 2
TYPE_IMAGE = 3
class GstVulkan.VulkanError(value)

Bases: GObject.GEnum

New in version 1.18.

classmethod quark()
Return type:

int

New in version 1.18.

FAILED = 0

undetermined error

class GstVulkan.VulkanFormatScaling(value)

Bases: GObject.GEnum

New in version 1.18.

UNORM = 1

[0, 2^n - 1] -> [0.0, 1.0]

SNORM = 2

[-2^(n-1), 2^(n-1) - 1] -> [-1.0, 1.0]

USCALED = 3

[0, 2^n - 1] -> [0.0, float(2^n - 1)]

SSCALED = 4

[-2^(n-1), 2^(n-1) - 1] -> [float(-2^(n-1)), float(2^(n-1) - 1)]

UINT = 5

[0, 2^n - 1] -> [0, 2^n - 1]

SINT = 6

[-2^(n-1), 2^(n-1) - 1] -> [-2^(n-1), 2^(n-1) - 1]

SRGB = 7

GstVulkan.VulkanFormatScaling.UNORM but the first three components are gamma corrected for the sRGB colour space.

class GstVulkan.VulkanHandleType(value)

Bases: GObject.GEnum

New in version 1.18.

DESCRIPTOR_SET_LAYOUT = 1

descripter set layout

SAMPLER_YCBCR_CONVERSION = 10

sampler with YCBCR conversion

New in version 1.24.

PIPELINE_LAYOUT = 2

pipeline layout

PIPELINE = 3

pipeline

RENDER_PASS = 4

render pass

SAMPLER = 5

sampler

FRAMEBUFFER = 6

framebuffer

SHADER = 7

shader

VIDEO_SESSION = 8

video session

New in version 1.24.

VIDEO_SESSION_PARAMETERS = 9

video session parameters

New in version 1.24.

class GstVulkan.VulkanVideoOperation(value)

Bases: GObject.GEnum

The type of video operation.

New in version 1.24.

DECODE = 0

decode operation

ENCODE = 1

encode operation

UNKNOWN = 2

unknown

class GstVulkan.VulkanWindowError(value)

Bases: GObject.GEnum

New in version 1.18.

classmethod quark()
Return type:

int

New in version 1.18.

FAILED = 0

failed

OLD_LIBS = 1

old libraries

RESOURCE_UNAVAILABLE = 2

resource unavailable