pub struct EncodedVideoPacket { /* private fields */ }Expand description
Demuxed video packet submitted to a VideoDecoderBackend.
Implementations§
Source§impl EncodedVideoPacket
impl EncodedVideoPacket
pub fn get_sample_index(&self) -> usize
pub fn get_mut_sample_index(&mut self) -> &mut usize
pub fn set_sample_index(&mut self, val: usize) -> &mut Self
pub fn get_generation(&self) -> u64
pub fn get_mut_generation(&mut self) -> &mut u64
pub fn set_generation(&mut self, val: u64) -> &mut Self
pub fn get_dts_us(&self) -> i64
pub fn get_mut_dts_us(&mut self) -> &mut i64
pub fn set_dts_us(&mut self, val: i64) -> &mut Self
pub fn get_pts_us(&self) -> i64
pub fn get_mut_pts_us(&mut self) -> &mut i64
pub fn set_pts_us(&mut self, val: i64) -> &mut Self
pub fn get_duration_us(&self) -> u64
pub fn get_mut_duration_us(&mut self) -> &mut u64
pub fn set_duration_us(&mut self, val: u64) -> &mut Self
pub fn get_is_keyframe(&self) -> bool
pub fn get_mut_is_keyframe(&mut self) -> &mut bool
pub fn set_is_keyframe(&mut self, val: bool) -> &mut Self
pub fn get_data(&self) -> &Vec<u8> ⓘ
pub fn get_mut_data(&mut self) -> &mut Vec<u8> ⓘ
pub fn set_data(&mut self, val: Vec<u8>) -> &mut Self
Trait Implementations§
Source§impl Clone for EncodedVideoPacket
impl Clone for EncodedVideoPacket
Source§impl Debug for EncodedVideoPacket
impl Debug for EncodedVideoPacket
Source§impl Default for EncodedVideoPacket
impl Default for EncodedVideoPacket
impl Eq for EncodedVideoPacket
Source§impl PartialEq for EncodedVideoPacket
impl PartialEq for EncodedVideoPacket
impl StructuralPartialEq for EncodedVideoPacket
Auto Trait Implementations§
impl Forget for EncodedVideoPacket
impl Freeze for EncodedVideoPacket
impl Move for EncodedVideoPacket
impl RefUnwindSafe for EncodedVideoPacket
impl Send for EncodedVideoPacketwhere
RawVecInner: Send,
impl Sync for EncodedVideoPacketwhere
RawVecInner: Sync,
impl Unpin for EncodedVideoPacket
impl UnsafeUnpin for EncodedVideoPacket
impl UnwindSafe for EncodedVideoPacketwhere
RawVecInner: UnwindSafe,
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