pub struct ImportedVulkanFrame {
pub y: TextureView,
pub uv: TextureView,
pub layout: NativePlaneLayout,
pub coded_size: [u32; 2],
pub lease: Arc<VulkanImportLease>,
}Expand description
An imported bi-planar 4:2:0 image and its two wgpu plane views.
Fields§
§y: TextureViewPlane-zero luma view.
uv: TextureViewPlane-one interleaved chroma view.
layout: NativePlaneLayoutSample layout of the imported planes.
coded_size: [u32; 2]Allocated image extent, which the visible rectangle is placed inside.
This is the codec’s padded coded size, not the display size, and it is the extent presentation must normalize sample coordinates against.
lease: Arc<VulkanImportLease>Submission/lifetime lease for the decoder surface.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ImportedVulkanFrame
impl !UnwindSafe for ImportedVulkanFrame
impl Freeze for ImportedVulkanFrame
impl Send for ImportedVulkanFrame
impl Sync for ImportedVulkanFrame
impl Unpin for ImportedVulkanFrame
impl UnsafeUnpin for ImportedVulkanFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more