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 (the codec’s padded coded size, not the display size), which presentation normalizes 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 Forget for ImportedVulkanFrame
impl Freeze for ImportedVulkanFramewhere
*const ArcInner<CoreTextureView> is !null: Freeze,
PhantomData<ArcInner<CoreTextureView>>: Freeze,
*const ArcInner<CoreTexture> is !null: Freeze,
PhantomData<ArcInner<CoreTexture>>: Freeze,
&'static str: Freeze,
InternalBitFlags: Freeze,
&'static [TextureFormat]: Freeze,
*const ArcInner<VulkanImportLease> is !null: Freeze,
PhantomData<ArcInner<VulkanImportLease>>: Freeze,
impl Move for ImportedVulkanFrame
impl Send for ImportedVulkanFrame
impl Sync for ImportedVulkanFrame
impl Unpin for ImportedVulkanFrame
impl UnsafeUnpin for ImportedVulkanFramewhere
*const ArcInner<CoreTextureView> is !null: UnsafeUnpin,
PhantomData<ArcInner<CoreTextureView>>: UnsafeUnpin,
*const ArcInner<CoreTexture> is !null: UnsafeUnpin,
PhantomData<ArcInner<CoreTexture>>: UnsafeUnpin,
&'static str: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
&'static [TextureFormat]: UnsafeUnpin,
*const ArcInner<VulkanImportLease> is !null: UnsafeUnpin,
PhantomData<ArcInner<VulkanImportLease>>: UnsafeUnpin,
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