#[repr(C)]pub struct CcapVideoFrameInfo {
pub data: [*mut u8; 3],
pub stride: [u32; 3],
pub pixelFormat: CcapPixelFormat,
pub width: u32,
pub height: u32,
pub sizeInBytes: u32,
pub timestamp: u64,
pub frameIndex: u64,
pub orientation: CcapFrameOrientation,
pub nativeHandle: *mut c_void,
}Expand description
@brief Video frame data structure for C interface
Fields§
§data: [*mut u8; 3]< Pointers to frame data planes
stride: [u32; 3]< Stride (bytes per row) for each plane
pixelFormat: CcapPixelFormat< Pixel format of the frame
width: u32< Frame width in pixels
height: u32< Frame height in pixels
sizeInBytes: u32< Total size of frame data in bytes
timestamp: u64< Frame timestamp in nanoseconds
frameIndex: u64< Unique, incremental frame index
orientation: CcapFrameOrientation< Frame orientation
nativeHandle: *mut c_void< Platform-specific native handle
Trait Implementations§
Source§impl Clone for CcapVideoFrameInfo
impl Clone for CcapVideoFrameInfo
Source§fn clone(&self) -> CcapVideoFrameInfo
fn clone(&self) -> CcapVideoFrameInfo
Returns a duplicate 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 Debug for CcapVideoFrameInfo
impl Debug for CcapVideoFrameInfo
Source§impl Default for CcapVideoFrameInfo
impl Default for CcapVideoFrameInfo
Source§impl PartialEq for CcapVideoFrameInfo
impl PartialEq for CcapVideoFrameInfo
impl Copy for CcapVideoFrameInfo
impl Eq for CcapVideoFrameInfo
impl StructuralPartialEq for CcapVideoFrameInfo
Auto Trait Implementations§
impl Freeze for CcapVideoFrameInfo
impl RefUnwindSafe for CcapVideoFrameInfo
impl !Send for CcapVideoFrameInfo
impl !Sync for CcapVideoFrameInfo
impl Unpin for CcapVideoFrameInfo
impl UnsafeUnpin for CcapVideoFrameInfo
impl UnwindSafe for CcapVideoFrameInfo
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