#[repr(C)]pub struct VideoDecodeInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: VideoDecodeFlagsKHR,
pub coded_offset: Offset2D,
pub coded_extent: Extent2D,
pub src_buffer: Buffer,
pub src_buffer_offset: DeviceSize,
pub src_buffer_range: DeviceSize,
pub dst_picture_resource: VideoPictureResourceKHR,
pub p_setup_reference_slot: *const VideoReferenceSlotKHR,
pub reference_slot_count: u32,
pub p_reference_slots: *const VideoReferenceSlotKHR,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: VideoDecodeFlagsKHR
§coded_offset: Offset2D
§coded_extent: Extent2D
§src_buffer: Buffer
§src_buffer_offset: DeviceSize
§src_buffer_range: DeviceSize
§dst_picture_resource: VideoPictureResourceKHR
§p_setup_reference_slot: *const VideoReferenceSlotKHR
§reference_slot_count: u32
§p_reference_slots: *const VideoReferenceSlotKHR
Implementations§
Source§impl VideoDecodeInfoKHR
impl VideoDecodeInfoKHR
pub fn builder<'a>() -> VideoDecodeInfoKHRBuilder<'a>
Trait Implementations§
Source§impl Clone for VideoDecodeInfoKHR
impl Clone for VideoDecodeInfoKHR
Source§fn clone(&self) -> VideoDecodeInfoKHR
fn clone(&self) -> VideoDecodeInfoKHR
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for VideoDecodeInfoKHR
impl Default for VideoDecodeInfoKHR
impl Copy for VideoDecodeInfoKHR
Auto Trait Implementations§
impl Freeze for VideoDecodeInfoKHR
impl RefUnwindSafe for VideoDecodeInfoKHR
impl !Send for VideoDecodeInfoKHR
impl !Sync for VideoDecodeInfoKHR
impl Unpin for VideoDecodeInfoKHR
impl UnwindSafe for VideoDecodeInfoKHR
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)