pub struct VulkanFrameInfo {Show 18 fields
pub hardware_format: i32,
pub software_format: i32,
pub width: i32,
pub height: i32,
pub coded_width: i32,
pub coded_height: i32,
pub plane_count: u32,
pub sampled: bool,
pub instance: u64,
pub physical_device: u64,
pub device: u64,
pub images: [u64; 8],
pub formats: [u32; 8],
pub layouts: [u32; 8],
pub access: [u32; 8],
pub semaphores: [u64; 8],
pub semaphore_values: [u64; 8],
pub queue_families: [u32; 8],
}Expand description
Opaque Vulkan handles and synchronization state for one FFmpeg hardware frame.
Handles are diagnostic identities only. The caller must not destroy them and
must retain the source AVFrame for as long as it inspects or imports them.
Fields§
§hardware_format: i32FFmpeg hardware pixel format.
software_format: i32Software layout represented by the hardware frames context.
width: i32Visible frame width.
height: i32Visible frame height.
coded_width: i32Allocated image width, which the codec pads to whole macroblocks.
coded_height: i32Allocated image height, which the codec pads to whole macroblocks.
plane_count: u32Number of non-null Vulkan images.
sampled: boolWhether FFmpeg allocated the image with sampled-image usage.
instance: u64VkInstance identity.
physical_device: u64VkPhysicalDevice identity.
device: u64VkDevice identity.
images: [u64; 8]Per-plane VkImage identities.
formats: [u32; 8]Per-plane Vulkan formats.
layouts: [u32; 8]Current per-plane image layouts.
access: [u32; 8]Current per-plane access masks.
semaphores: [u64; 8]Per-plane timeline semaphore identities.
semaphore_values: [u64; 8]Values that an importing submission must wait for.
queue_families: [u32; 8]Current image queue-family ownership.