Struct opencv::cudacodec::CUDA_RawVideoSource
source · pub struct CUDA_RawVideoSource { /* private fields */ }Expand description
Interface for video demultiplexing. :
User can implement own demultiplexing by implementing this interface.
Trait Implementations§
source§impl Boxed for CUDA_RawVideoSource
impl Boxed for CUDA_RawVideoSource
source§impl CUDA_RawVideoSourceTrait for CUDA_RawVideoSource
impl CUDA_RawVideoSourceTrait for CUDA_RawVideoSource
fn as_raw_mut_CUDA_RawVideoSource(&mut self) -> *mut c_void
source§fn get_next_packet(
&mut self,
data: &mut &mut u8,
size: &mut size_t
) -> Result<bool>
fn get_next_packet( &mut self, data: &mut &mut u8, size: &mut size_t ) -> Result<bool>
Returns next packet with RAW video frame. Read more
source§fn update_format(&mut self, video_format: CUDA_FormatInfo) -> Result<()>
fn update_format(&mut self, video_format: CUDA_FormatInfo) -> Result<()>
Updates the coded width and height inside format.
source§impl CUDA_RawVideoSourceTraitConst for CUDA_RawVideoSource
impl CUDA_RawVideoSourceTraitConst for CUDA_RawVideoSource
fn as_raw_CUDA_RawVideoSource(&self) -> *const c_void
source§fn last_packet_contains_key_frame(&self) -> Result<bool>
fn last_packet_contains_key_frame(&self) -> Result<bool>
Returns true if the last packet contained a key frame.
source§fn format(&self) -> Result<CUDA_FormatInfo>
fn format(&self) -> Result<CUDA_FormatInfo>
Returns information about video file format.
source§impl Debug for CUDA_RawVideoSource
impl Debug for CUDA_RawVideoSource
source§impl Drop for CUDA_RawVideoSource
impl Drop for CUDA_RawVideoSource
impl Send for CUDA_RawVideoSource
Auto Trait Implementations§
impl RefUnwindSafe for CUDA_RawVideoSource
impl !Sync for CUDA_RawVideoSource
impl Unpin for CUDA_RawVideoSource
impl UnwindSafe for CUDA_RawVideoSource
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