Type Definition opencv::types::PtrOfRawVideoSource
source · [−]pub type PtrOfRawVideoSource = Ptr<dyn RawVideoSource>;Implementations
sourceimpl PtrOfRawVideoSource
impl PtrOfRawVideoSource
pub fn as_raw_PtrOfRawVideoSource(&self) -> *const c_void
pub fn as_raw_mut_PtrOfRawVideoSource(&mut self) -> *mut c_void
Trait Implementations
sourceimpl RawVideoSource for PtrOfRawVideoSource
impl RawVideoSource for PtrOfRawVideoSource
fn as_raw_mut_RawVideoSource(&mut self) -> *mut c_void
sourcefn 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
sourcefn update_format(&mut self, video_format: FormatInfo) -> Result<()>
fn update_format(&mut self, video_format: FormatInfo) -> Result<()>
Updates the coded width and height inside format.
sourceimpl RawVideoSourceConst for PtrOfRawVideoSource
impl RawVideoSourceConst for PtrOfRawVideoSource
fn as_raw_RawVideoSource(&self) -> *const c_void
sourcefn 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.
sourcefn format(&self) -> Result<FormatInfo>
fn format(&self) -> Result<FormatInfo>
Returns information about video file format.