GstVulkanImageMemory

GstVulkanImageMemory is a GstMemory subclass providing support for the mapping of Vulkan device memory.

GstVulkanBarrierImageInfo

Members

image_layout (VkImageLayout) –

the image layout of this barrier

subresource_range (VkImageSubresourceRange) –

what subresource the barrier applies to

Since : 1.18


GstVulkan.VulkanBarrierImageInfo

Members

image_layout (Vulkan.ImageLayout) –

the image layout of this barrier

subresource_range (Vulkan.ImageSubresourceRange) –

what subresource the barrier applies to

Since : 1.18


GstVulkan.VulkanBarrierImageInfo

Members

image_layout (Vulkan.ImageLayout) –

the image layout of this barrier

subresource_range (Vulkan.ImageSubresourceRange) –

what subresource the barrier applies to

Since : 1.18


Methods

gst_vulkan_barrier_image_info_clear

gst_vulkan_barrier_image_info_clear (GstVulkanBarrierImageInfo * info)

Clear any referenced objects from this info.

Parameters:

Since : 1.30


GstVulkan.VulkanBarrierImageInfo.prototype.clear

function GstVulkan.VulkanBarrierImageInfo.prototype.clear(): {
    // javascript wrapper for 'gst_vulkan_barrier_image_info_clear'
}

Clear any referenced objects from this info.

Since : 1.30


GstVulkan.VulkanBarrierImageInfo.clear

def GstVulkan.VulkanBarrierImageInfo.clear (self):
    #python wrapper for 'gst_vulkan_barrier_image_info_clear'

Clear any referenced objects from this info.

Since : 1.30


gst_vulkan_barrier_image_info_copy_into

gst_vulkan_barrier_image_info_copy_into (GstVulkanBarrierImageInfo * info,
                                         GstVulkanBarrierImageInfo * other)

Parameters:

other

the other GstVulkanBarrierImageInfo to copy into

Since : 1.30


GstVulkan.VulkanBarrierImageInfo.prototype.copy_into

function GstVulkan.VulkanBarrierImageInfo.prototype.copy_into(other: GstVulkan.VulkanBarrierImageInfo): {
    // javascript wrapper for 'gst_vulkan_barrier_image_info_copy_into'
}

Since : 1.30


GstVulkan.VulkanBarrierImageInfo.copy_into

def GstVulkan.VulkanBarrierImageInfo.copy_into (self, other):
    #python wrapper for 'gst_vulkan_barrier_image_info_copy_into'

Since : 1.30


gst_vulkan_barrier_image_info_is_equal

gboolean
gst_vulkan_barrier_image_info_is_equal (GstVulkanBarrierImageInfo * info,
                                        GstVulkanBarrierImageInfo * other)

Parameters:

other

the other GstVulkanBarrierImageInfo to compare against

Returns

whether info and other_info are the same.

Since : 1.30


GstVulkan.VulkanBarrierImageInfo.prototype.is_equal

function GstVulkan.VulkanBarrierImageInfo.prototype.is_equal(other: GstVulkan.VulkanBarrierImageInfo): {
    // javascript wrapper for 'gst_vulkan_barrier_image_info_is_equal'
}
Returns (Number)

whether info and other_info are the same.

Since : 1.30


GstVulkan.VulkanBarrierImageInfo.is_equal

def GstVulkan.VulkanBarrierImageInfo.is_equal (self, other):
    #python wrapper for 'gst_vulkan_barrier_image_info_is_equal'
Returns (bool)

whether info and other_info are the same.

Since : 1.30


GstVulkanImageMemory

Members

parent (GstMemory) –

parent GstMemory

device (GstVulkanDevice *) –

the GstVulkanDevice to allocate images from

image (VkImage) –

the Vulkan image handle

vk_mem (GstVulkanMemory *) –

the backing GstVulkanMemory for image

create_info (VkImageCreateInfo) –

creation information for image

requirements (VkMemoryRequirements) –

memory requirements for image

format_properties (VkImageFormatProperties) –

format properties

usage (VkImageUsageFlags) –

intended usage for image

last set barrier for image

Since : 1.18


GstVulkan.VulkanImageMemory

Members

parent (Gst.Memory) –

parent Gst.Memory

device (GstVulkan.VulkanDevice) –

the GstVulkan.VulkanDevice to allocate images from

image (Vulkan.Image) –

the Vulkan image handle

vk_mem (GstVulkan.VulkanMemory) –

the backing GstVulkan.VulkanMemory for image

create_info (Vulkan.ImageCreateInfo) –

creation information for image

requirements (Vulkan.MemoryRequirements) –

memory requirements for image

format_properties (Vulkan.ImageFormatProperties) –

format properties

usage (Vulkan.ImageUsageFlags) –

intended usage for image

last set barrier for image

Since : 1.18


GstVulkan.VulkanImageMemory

Members

parent (Gst.Memory) –

parent Gst.Memory

device (GstVulkan.VulkanDevice) –

the GstVulkan.VulkanDevice to allocate images from

image (Vulkan.Image) –

the Vulkan image handle

vk_mem (GstVulkan.VulkanMemory) –

the backing GstVulkan.VulkanMemory for image

create_info (Vulkan.ImageCreateInfo) –

creation information for image

requirements (Vulkan.MemoryRequirements) –

memory requirements for image

format_properties (Vulkan.ImageFormatProperties) –

format properties

usage (Vulkan.ImageUsageFlags) –

intended usage for image

last set barrier for image

Since : 1.18


Methods

gst_vulkan_image_memory_add_view

gst_vulkan_image_memory_add_view (GstVulkanImageMemory * image,
                                  GstVulkanImageView * view)

Parameters:

image

a GstVulkanImageMemory

view

a GstVulkanImageView

Since : 1.18


GstVulkan.VulkanImageMemory.prototype.add_view

function GstVulkan.VulkanImageMemory.prototype.add_view(view: GstVulkan.VulkanImageView): {
    // javascript wrapper for 'gst_vulkan_image_memory_add_view'
}

Since : 1.18


GstVulkan.VulkanImageMemory.add_view

def GstVulkan.VulkanImageMemory.add_view (self, view):
    #python wrapper for 'gst_vulkan_image_memory_add_view'

Since : 1.18


gst_vulkan_image_memory_compare_exchange_barrier_unlocked

gboolean
gst_vulkan_image_memory_compare_exchange_barrier_unlocked (GstVulkanImageMemory * image,
                                                           GstVulkanBarrierImageInfo * old_info,
                                                           GstVulkanBarrierImageInfo * new_info)

Attempts to atomically update the barrier stored in image to new_info. Only succeeds if the current barrier is the same as old_info.

On failure, the operation should be retried with updated information.

Must be called with gst_vulkan_image_memory_lock called.

Parameters:

image

a GstVulkanImageMemory

old_info

the previous GstVulkanBarrierImageInfo

new_info

the new GstVulkanBarrierImageInfo

Returns
No description available

Since : 1.30


GstVulkan.VulkanImageMemory.prototype.compare_exchange_barrier_unlocked

function GstVulkan.VulkanImageMemory.prototype.compare_exchange_barrier_unlocked(old_info: GstVulkan.VulkanBarrierImageInfo, new_info: GstVulkan.VulkanBarrierImageInfo): {
    // javascript wrapper for 'gst_vulkan_image_memory_compare_exchange_barrier_unlocked'
}

Attempts to atomically update the barrier stored in image to new_info. Only succeeds if the current barrier is the same as old_info.

On failure, the operation should be retried with updated information.

Must be called with GstVulkan.VulkanImageMemory.prototype.lock called.

Returns (Number)
No description available

Since : 1.30


GstVulkan.VulkanImageMemory.compare_exchange_barrier_unlocked

def GstVulkan.VulkanImageMemory.compare_exchange_barrier_unlocked (self, old_info, new_info):
    #python wrapper for 'gst_vulkan_image_memory_compare_exchange_barrier_unlocked'

Attempts to atomically update the barrier stored in image to new_info. Only succeeds if the current barrier is the same as old_info.

On failure, the operation should be retried with updated information.

Must be called with GstVulkan.VulkanImageMemory.lock called.

Returns (bool)
No description available

Since : 1.30


gst_vulkan_image_memory_find_view

GstVulkanImageView *
gst_vulkan_image_memory_find_view (GstVulkanImageMemory * image,
                                   GstVulkanImageMemoryFindViewFunc find_func,
                                   gpointer user_data)

Return: (transfer full) (nullable): the first GstVulkanImageView that find_func returns TRUE for, or NULL

Parameters:

image

a GstVulkanImageMemory

find_func ( [scope call])

GstVulkanImageMemoryFindViewFunc to search with

user_data

user data to call finc_func with

Returns
No description available

Since : 1.18


GstVulkan.VulkanImageMemory.prototype.find_view

function GstVulkan.VulkanImageMemory.prototype.find_view(find_func: GstVulkan.VulkanImageMemoryFindViewFunc, user_data: Object): {
    // javascript wrapper for 'gst_vulkan_image_memory_find_view'
}

Return: (transfer full) (nullable): the first GstVulkan.VulkanImageView that find_func returns true for, or null

Parameters:

user_data (Object)

user data to call finc_func with

No description available

Since : 1.18


GstVulkan.VulkanImageMemory.find_view

def GstVulkan.VulkanImageMemory.find_view (self, find_func, *user_data):
    #python wrapper for 'gst_vulkan_image_memory_find_view'

Return: (transfer full) (nullable): the first GstVulkan.VulkanImageView that find_func returns True for, or None

Parameters:

user_data (variadic)

user data to call finc_func with

No description available

Since : 1.18


gst_vulkan_image_memory_get_height

guint32
gst_vulkan_image_memory_get_height (GstVulkanImageMemory * image)

Return: the height of image

Parameters:

image

a GstVulkanImageMemory

Returns
No description available

Since : 1.18


GstVulkan.VulkanImageMemory.prototype.get_height

function GstVulkan.VulkanImageMemory.prototype.get_height(): {
    // javascript wrapper for 'gst_vulkan_image_memory_get_height'
}

Return: the height of image

Returns (Number)
No description available

Since : 1.18


GstVulkan.VulkanImageMemory.get_height

def GstVulkan.VulkanImageMemory.get_height (self):
    #python wrapper for 'gst_vulkan_image_memory_get_height'

Return: the height of image

Returns (int)
No description available

Since : 1.18


gst_vulkan_image_memory_get_width

guint32
gst_vulkan_image_memory_get_width (GstVulkanImageMemory * image)

Return: the width of image

Parameters:

image

a GstVulkanImageMemory

Returns
No description available

Since : 1.18


GstVulkan.VulkanImageMemory.prototype.get_width

function GstVulkan.VulkanImageMemory.prototype.get_width(): {
    // javascript wrapper for 'gst_vulkan_image_memory_get_width'
}

Return: the width of image

Returns (Number)
No description available

Since : 1.18


GstVulkan.VulkanImageMemory.get_width

def GstVulkan.VulkanImageMemory.get_width (self):
    #python wrapper for 'gst_vulkan_image_memory_get_width'

Return: the width of image

Returns (int)
No description available

Since : 1.18


gst_vulkan_image_memory_init

gboolean
gst_vulkan_image_memory_init (GstVulkanImageMemory * mem,
                              GstAllocator * allocator,
                              GstMemory * parent,
                              GstVulkanDevice * device,
                              VkFormat format,
                              VkImageUsageFlags usage,
                              VkImageLayout initial_layout,
                              GstAllocationParams * params,
                              gsize size,
                              gpointer user_data,
                              GDestroyNotify notify)

Parameters:

mem
No description available
allocator
No description available
parent
No description available
device
No description available
format
No description available
usage
No description available
initial_layout
No description available
params
No description available
size
No description available
user_data
No description available
notify
No description available
Returns
No description available

GstVulkan.VulkanImageMemory.prototype.init

function GstVulkan.VulkanImageMemory.prototype.init(allocator: Gst.Allocator, parent: Gst.Memory, device: GstVulkan.VulkanDevice, format: Vulkan.Format, usage: Vulkan.ImageUsageFlags, initial_layout: Vulkan.ImageLayout, params: Gst.AllocationParams, size: Number, user_data: Object, notify: GLib.DestroyNotify): {
    // javascript wrapper for 'gst_vulkan_image_memory_init'
}

Parameters:

No description available
allocator (Gst.Allocator)
No description available
parent (Gst.Memory)
No description available
device (GstVulkan.VulkanDevice)
No description available
format (Vulkan.Format)
No description available
usage (Vulkan.ImageUsageFlags)
No description available
initial_layout (Vulkan.ImageLayout)
No description available
params (Gst.AllocationParams)
No description available
size (Number)
No description available
user_data (Object)
No description available
notify (GLib.DestroyNotify)
No description available
Returns (Number)
No description available

GstVulkan.VulkanImageMemory.init

def GstVulkan.VulkanImageMemory.init (self, allocator, parent, device, format, usage, initial_layout, params, size, user_data, notify):
    #python wrapper for 'gst_vulkan_image_memory_init'

Parameters:

No description available
allocator (Gst.Allocator)
No description available
parent (Gst.Memory)
No description available
device (GstVulkan.VulkanDevice)
No description available
format (Vulkan.Format)
No description available
usage (Vulkan.ImageUsageFlags)
No description available
initial_layout (Vulkan.ImageLayout)
No description available
params (Gst.AllocationParams)
No description available
size (int)
No description available
user_data (object)
No description available
notify (GLib.DestroyNotify)
No description available
Returns (bool)
No description available

gst_vulkan_image_memory_lock

gst_vulkan_image_memory_lock (GstVulkanImageMemory * image)

Exclusively lock the image memory.

Note: if you need to lock multiple memories at the same time, you should use GstVulkanBarrierState to ensure a determinstic locking order and avoid deadlocks.

Parameters:

image

a GstVulkanImageMemory

Since : 1.30


GstVulkan.VulkanImageMemory.prototype.lock

function GstVulkan.VulkanImageMemory.prototype.lock(): {
    // javascript wrapper for 'gst_vulkan_image_memory_lock'
}

Exclusively lock the image memory.

Note: if you need to lock multiple memories at the same time, you should use GstVulkan.VulkanBarrierState to ensure a determinstic locking order and avoid deadlocks.

Since : 1.30


GstVulkan.VulkanImageMemory.lock

def GstVulkan.VulkanImageMemory.lock (self):
    #python wrapper for 'gst_vulkan_image_memory_lock'

Exclusively lock the image memory.

Note: if you need to lock multiple memories at the same time, you should use GstVulkan.VulkanBarrierState to ensure a determinstic locking order and avoid deadlocks.

Since : 1.30


gst_vulkan_image_memory_peek_barrier_unlocked

gst_vulkan_image_memory_peek_barrier_unlocked (GstVulkanImageMemory * image,
                                               GstVulkanBarrierImageInfo * info)

Retrieve the current GstVulkanBarrierImageInfo for this memory.

Must be called with gst_vulkan_image_memory_lock called.

Parameters:

image

a GstVulkanImageMemory

info ( [out])

destination for the GstVulkanBarrierImageInfo

Since : 1.30


GstVulkan.VulkanImageMemory.prototype.peek_barrier_unlocked

function GstVulkan.VulkanImageMemory.prototype.peek_barrier_unlocked(): {
    // javascript wrapper for 'gst_vulkan_image_memory_peek_barrier_unlocked'
}

Retrieve the current GstVulkan.VulkanBarrierImageInfo for this memory.

Must be called with GstVulkan.VulkanImageMemory.prototype.lock called.

Since : 1.30


GstVulkan.VulkanImageMemory.peek_barrier_unlocked

def GstVulkan.VulkanImageMemory.peek_barrier_unlocked (self):
    #python wrapper for 'gst_vulkan_image_memory_peek_barrier_unlocked'

Retrieve the current GstVulkan.VulkanBarrierImageInfo for this memory.

Must be called with GstVulkan.VulkanImageMemory.lock called.

Since : 1.30


gst_vulkan_image_memory_unlock

gst_vulkan_image_memory_unlock (GstVulkanImageMemory * image)

Exclusively unlock the image memory.

Parameters:

image

a GstVulkanImageMemory

Since : 1.30


GstVulkan.VulkanImageMemory.prototype.unlock

function GstVulkan.VulkanImageMemory.prototype.unlock(): {
    // javascript wrapper for 'gst_vulkan_image_memory_unlock'
}

Exclusively unlock the image memory.

Since : 1.30


GstVulkan.VulkanImageMemory.unlock

def GstVulkan.VulkanImageMemory.unlock (self):
    #python wrapper for 'gst_vulkan_image_memory_unlock'

Exclusively unlock the image memory.

Since : 1.30


Functions

gst_vulkan_image_memory_alloc

GstMemory *
gst_vulkan_image_memory_alloc (GstVulkanDevice * device,
                               VkFormat format,
                               gsize width,
                               gsize height,
                               VkImageTiling tiling,
                               VkImageUsageFlags usage,
                               VkMemoryPropertyFlags mem_prop_flags)

Allocated a new GstVulkanImageMemory.

Parameters:

device

a GstVulkanDevice

format

the VkFormat for the new image

width

width for the new image

height

height for the new image

tiling

tiling for the new image

usage

usage flags for the new image

mem_prop_flags

VkDeviceMemory property flags for the new image

Returns

a GstMemory object backed by a vulkan device memory

Since : 1.18


GstVulkan.prototype.vulkan_image_memory_alloc

function GstVulkan.prototype.vulkan_image_memory_alloc(device: GstVulkan.VulkanDevice, format: Vulkan.Format, width: Number, height: Number, tiling: Vulkan.ImageTiling, usage: Vulkan.ImageUsageFlags, mem_prop_flags: Vulkan.MemoryPropertyFlags): {
    // javascript wrapper for 'gst_vulkan_image_memory_alloc'
}

Allocated a new GstVulkan.VulkanImageMemory.

Parameters:

format (Vulkan.Format)

the VkFormat for the new image

width (Number)

width for the new image

height (Number)

height for the new image

tiling (Vulkan.ImageTiling)

tiling for the new image

usage (Vulkan.ImageUsageFlags)

usage flags for the new image

mem_prop_flags (Vulkan.MemoryPropertyFlags)

VkDeviceMemory property flags for the new image

Returns (Gst.Memory)

a Gst.Memory object backed by a vulkan device memory

Since : 1.18


GstVulkan.vulkan_image_memory_alloc

def GstVulkan.vulkan_image_memory_alloc (device, format, width, height, tiling, usage, mem_prop_flags):
    #python wrapper for 'gst_vulkan_image_memory_alloc'

Allocated a new GstVulkan.VulkanImageMemory.

Parameters:

format (Vulkan.Format)

the VkFormat for the new image

width (int)

width for the new image

height (int)

height for the new image

tiling (Vulkan.ImageTiling)

tiling for the new image

usage (Vulkan.ImageUsageFlags)

usage flags for the new image

mem_prop_flags (Vulkan.MemoryPropertyFlags)

VkDeviceMemory property flags for the new image

Returns (Gst.Memory)

a Gst.Memory object backed by a vulkan device memory

Since : 1.18


gst_vulkan_image_memory_alloc_with_image_info

GstMemory *
gst_vulkan_image_memory_alloc_with_image_info (GstVulkanDevice * device,
                                               VkImageCreateInfo* image_info,
                                               VkMemoryPropertyFlags mem_prop_flags)

Parameters:

device

a GstVulkanDevice

image_info

VkImageCreateInfo structure

mem_prop_flags

VkMemoryPropertyFlags flags

Returns

a GstMemory object backed by a vulkan device memory

Since : 1.24


GstVulkan.prototype.vulkan_image_memory_alloc_with_image_info

function GstVulkan.prototype.vulkan_image_memory_alloc_with_image_info(device: GstVulkan.VulkanDevice, image_info: Vulkan.ImageCreateInfo, mem_prop_flags: Vulkan.MemoryPropertyFlags): {
    // javascript wrapper for 'gst_vulkan_image_memory_alloc_with_image_info'
}

Parameters:

image_info (Vulkan.ImageCreateInfo)

VkImageCreateInfo structure

mem_prop_flags (Vulkan.MemoryPropertyFlags)

VkMemoryPropertyFlags flags

Returns (Gst.Memory)

a Gst.Memory object backed by a vulkan device memory

Since : 1.24


GstVulkan.vulkan_image_memory_alloc_with_image_info

def GstVulkan.vulkan_image_memory_alloc_with_image_info (device, image_info, mem_prop_flags):
    #python wrapper for 'gst_vulkan_image_memory_alloc_with_image_info'

Parameters:

image_info (Vulkan.ImageCreateInfo)

VkImageCreateInfo structure

mem_prop_flags (Vulkan.MemoryPropertyFlags)

VkMemoryPropertyFlags flags

Returns (Gst.Memory)

a Gst.Memory object backed by a vulkan device memory

Since : 1.24


gst_vulkan_image_memory_init_once

gst_vulkan_image_memory_init_once ()

Initializes the Vulkan image memory allocator. It is safe to call this function multiple times. This must be called before any other GstVulkanImageMemory operation.

Since : 1.18


GstVulkan.prototype.vulkan_image_memory_init_once

function GstVulkan.prototype.vulkan_image_memory_init_once(): {
    // javascript wrapper for 'gst_vulkan_image_memory_init_once'
}

Initializes the Vulkan image memory allocator. It is safe to call this function multiple times. This must be called before any other GstVulkan.VulkanImageMemory operation.

Since : 1.18


GstVulkan.vulkan_image_memory_init_once

def GstVulkan.vulkan_image_memory_init_once ():
    #python wrapper for 'gst_vulkan_image_memory_init_once'

Initializes the Vulkan image memory allocator. It is safe to call this function multiple times. This must be called before any other GstVulkan.VulkanImageMemory operation.

Since : 1.18


gst_vulkan_image_memory_wrapped

GstMemory *
gst_vulkan_image_memory_wrapped (GstVulkanDevice * device,
                                 VkImage image,
                                 VkFormat format,
                                 gsize width,
                                 gsize height,
                                 VkImageTiling tiling,
                                 VkImageUsageFlags usage,
                                 gpointer user_data,
                                 GDestroyNotify notify)

Return: a new GstVulkanImageMemory wrapping image

Parameters:

device

a GstVulkanDevice

image

a VkImage

format

the VkFormat for image

width

width of image

height

height of image

tiling

tiling of image

usage

usage flags of image

user_data ( [nullable])

user data for notify

notify

a GDestroyNotify when image is no longer needed

Returns
No description available

Since : 1.18


GstVulkan.prototype.vulkan_image_memory_wrapped

function GstVulkan.prototype.vulkan_image_memory_wrapped(device: GstVulkan.VulkanDevice, image: Vulkan.Image, format: Vulkan.Format, width: Number, height: Number, tiling: Vulkan.ImageTiling, usage: Vulkan.ImageUsageFlags, user_data: Object, notify: GLib.DestroyNotify): {
    // javascript wrapper for 'gst_vulkan_image_memory_wrapped'
}

Return: a new GstVulkan.VulkanImageMemory wrapping image

Parameters:

image (Vulkan.Image)

a VkImage

format (Vulkan.Format)

the VkFormat for image

width (Number)

width of image

height (Number)

height of image

tiling (Vulkan.ImageTiling)

tiling of image

usage (Vulkan.ImageUsageFlags)

usage flags of image

user_data (Object)

user data for notify

notify (GLib.DestroyNotify)

a GLib.DestroyNotify when image is no longer needed

Returns (Gst.Memory)
No description available

Since : 1.18


GstVulkan.vulkan_image_memory_wrapped

def GstVulkan.vulkan_image_memory_wrapped (device, image, format, width, height, tiling, usage, user_data, notify):
    #python wrapper for 'gst_vulkan_image_memory_wrapped'

Return: a new GstVulkan.VulkanImageMemory wrapping image

Parameters:

image (Vulkan.Image)

a VkImage

format (Vulkan.Format)

the VkFormat for image

width (int)

width of image

height (int)

height of image

tiling (Vulkan.ImageTiling)

tiling of image

usage (Vulkan.ImageUsageFlags)

usage flags of image

user_data (object)

user data for notify

notify (GLib.DestroyNotify)

a GLib.DestroyNotify when image is no longer needed

Returns (Gst.Memory)
No description available

Since : 1.18


gst_vulkan_image_memory_wrapped_with_image_info

GstMemory *
gst_vulkan_image_memory_wrapped_with_image_info (GstVulkanDevice * device,
                                                 VkImage image,
                                                 const VkImageCreateInfo* image_info,
                                                 gpointer user_data,
                                                 GDestroyNotify notify)

Parameters:

device

a GstVulkanDevice

image

a VkImage

image_info

the VkImageCreateInfo used to create image

user_data ( [nullable])

user data for notify

notify

a GDestroyNotify when image is no longer needed

Returns ( [transfer: full][nullable])

a new GstVulkanImageMemory wrapping image

Since : 1.30


GstVulkan.prototype.vulkan_image_memory_wrapped_with_image_info

function GstVulkan.prototype.vulkan_image_memory_wrapped_with_image_info(device: GstVulkan.VulkanDevice, image: Vulkan.Image, image_info: Vulkan.ImageCreateInfo, user_data: Object, notify: GLib.DestroyNotify): {
    // javascript wrapper for 'gst_vulkan_image_memory_wrapped_with_image_info'
}

Parameters:

image (Vulkan.Image)

a VkImage

image_info (Vulkan.ImageCreateInfo)

the VkImageCreateInfo used to create image

user_data (Object)

user data for notify

notify (GLib.DestroyNotify)

a GLib.DestroyNotify when image is no longer needed

Returns (Gst.Memory)

a new GstVulkan.VulkanImageMemory wrapping image

Since : 1.30


GstVulkan.vulkan_image_memory_wrapped_with_image_info

def GstVulkan.vulkan_image_memory_wrapped_with_image_info (device, image, image_info, user_data, notify):
    #python wrapper for 'gst_vulkan_image_memory_wrapped_with_image_info'

Parameters:

image (Vulkan.Image)

a VkImage

image_info (Vulkan.ImageCreateInfo)

the VkImageCreateInfo used to create image

user_data (object)

user data for notify

notify (GLib.DestroyNotify)

a GLib.DestroyNotify when image is no longer needed

Returns (Gst.Memory)

a new GstVulkan.VulkanImageMemory wrapping image

Since : 1.30


GstVulkanImageMemoryAllocator

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstAllocator
                ╰──GstVulkanImageMemoryAllocator

Members

parent (GstAllocator) –

the parent GstAllocator

Since : 1.18


Class structure

GstVulkanImageMemoryAllocatorClass

The GstVulkanImageMemoryAllocatorClass only contains private data

Fields
parent_class (GstAllocatorClass) –

the parent GstAllocatorClass

Since : 1.18


GstVulkan.VulkanImageMemoryAllocatorClass

The GstVulkan.VulkanImageMemoryAllocatorClass only contains private data

Attributes
parent_class (Gst.AllocatorClass) –

the parent Gst.AllocatorClass

Since : 1.18


GstVulkan.VulkanImageMemoryAllocatorClass

The GstVulkan.VulkanImageMemoryAllocatorClass only contains private data

Attributes
parent_class (Gst.AllocatorClass) –

the parent Gst.AllocatorClass

Since : 1.18


GstVulkan.VulkanImageMemoryAllocator

GObject.Object
    ╰──GObject.InitiallyUnowned
        ╰──Gst.Object
            ╰──Gst.Allocator
                ╰──GstVulkan.VulkanImageMemoryAllocator

Members

parent (Gst.Allocator) –

the parent Gst.Allocator

Since : 1.18


GstVulkan.VulkanImageMemoryAllocator

GObject.Object
    ╰──GObject.InitiallyUnowned
        ╰──Gst.Object
            ╰──Gst.Allocator
                ╰──GstVulkan.VulkanImageMemoryAllocator

Members

parent (Gst.Allocator) –

the parent Gst.Allocator

Since : 1.18


Functions

gst_is_vulkan_image_memory

gboolean
gst_is_vulkan_image_memory (GstMemory * mem)

Parameters:

mem

a GstMemory

Returns

whether the memory at mem is a GstVulkanImageMemory

Since : 1.18


GstVulkan.prototype.is_vulkan_image_memory

function GstVulkan.prototype.is_vulkan_image_memory(mem: Gst.Memory): {
    // javascript wrapper for 'gst_is_vulkan_image_memory'
}

Parameters:

mem (Gst.Memory)

a Gst.Memory

Returns (Number)

whether the memory at mem is a GstVulkan.VulkanImageMemory

Since : 1.18


GstVulkan.is_vulkan_image_memory

def GstVulkan.is_vulkan_image_memory (mem):
    #python wrapper for 'gst_is_vulkan_image_memory'

Parameters:

mem (Gst.Memory)

a Gst.Memory

Returns (bool)

whether the memory at mem is a GstVulkan.VulkanImageMemory

Since : 1.18


Function Macros

GST_VULKAN_IMAGE_MEMORY_ALLOCATOR_CAST

#define GST_VULKAN_IMAGE_MEMORY_ALLOCATOR_CAST(obj)            ((GstVulkanImageMemoryAllocator *)(obj))

Since : 1.18


Constants

GST_CAPS_FEATURE_MEMORY_VULKAN_IMAGE

#define GST_CAPS_FEATURE_MEMORY_VULKAN_IMAGE "memory:VulkanImage"

Since : 1.18


GstVulkan.CAPS_FEATURE_MEMORY_VULKAN_IMAGE

Since : 1.18


GstVulkan.CAPS_FEATURE_MEMORY_VULKAN_IMAGE

Since : 1.18


GST_VULKAN_IMAGE_MEMORY_ALLOCATOR_NAME

#define GST_VULKAN_IMAGE_MEMORY_ALLOCATOR_NAME "VulkanImage"

Since : 1.18


GstVulkan.VULKAN_IMAGE_MEMORY_ALLOCATOR_NAME

Since : 1.18


GstVulkan.VULKAN_IMAGE_MEMORY_ALLOCATOR_NAME

Since : 1.18


Callbacks

GstVulkanImageMemoryFindViewFunc

gboolean
(*GstVulkanImageMemoryFindViewFunc) (GstVulkanImageView * view,
                                     gpointer user_data)

Function definition used to find views. Return TRUE if view matches the criteria.

Parameters:

view
No description available
user_data
No description available
Returns
No description available

Since : 1.18


GstVulkan.VulkanImageMemoryFindViewFunc

function GstVulkan.VulkanImageMemoryFindViewFunc(view: GstVulkan.VulkanImageView, user_data: Object): {
    // javascript wrapper for 'GstVulkanImageMemoryFindViewFunc'
}

Function definition used to find views. Return true if view matches the criteria.

Parameters:

No description available
user_data (Object)
No description available
Returns (Number)
No description available

Since : 1.18


GstVulkan.VulkanImageMemoryFindViewFunc

def GstVulkan.VulkanImageMemoryFindViewFunc (view, *user_data):
    #python wrapper for 'GstVulkanImageMemoryFindViewFunc'

Function definition used to find views. Return True if view matches the criteria.

Parameters:

No description available
user_data (variadic)
No description available
Returns (bool)
No description available

Since : 1.18


The results of the search are