#[repr(C)]pub struct DXVA2_VideoSample {
pub Start: REFERENCE_TIME,
pub End: REFERENCE_TIME,
pub SampleFormat: DXVA2_ExtendedFormat,
pub SrcSurface: *mut IDirect3DSurface9,
pub SrcRect: RECT,
pub DstRect: RECT,
pub Pal: [DXVA2_AYUVSample8; 16],
pub PlanarAlpha: DXVA2_Fixed32,
pub SampleData: DWORD,
}
Fields§
§Start: REFERENCE_TIME
§End: REFERENCE_TIME
§SampleFormat: DXVA2_ExtendedFormat
§SrcSurface: *mut IDirect3DSurface9
§SrcRect: RECT
§DstRect: RECT
§Pal: [DXVA2_AYUVSample8; 16]
§PlanarAlpha: DXVA2_Fixed32
§SampleData: DWORD
Trait Implementations§
Source§impl Clone for DXVA2_VideoSample
impl Clone for DXVA2_VideoSample
Source§fn clone(&self) -> DXVA2_VideoSample
fn clone(&self) -> DXVA2_VideoSample
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 DXVA2_VideoSample
impl Default for DXVA2_VideoSample
Source§fn default() -> DXVA2_VideoSample
fn default() -> DXVA2_VideoSample
Returns the “default value” for a type. Read more
impl Copy for DXVA2_VideoSample
Auto Trait Implementations§
impl Freeze for DXVA2_VideoSample
impl RefUnwindSafe for DXVA2_VideoSample
impl !Send for DXVA2_VideoSample
impl !Sync for DXVA2_VideoSample
impl Unpin for DXVA2_VideoSample
impl UnwindSafe for DXVA2_VideoSample
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