[−][src]Struct gstreamer_video::video_codec_state::VideoCodecState  
Structure representing the state of an incoming or outgoing video stream for encoders and decoders.
Decoders and encoders will receive such a state through their
respective set_format vmethods.
Decoders and encoders can set the downstream state, by using the
VideoDecoder::set_output_state() or
VideoEncoder::set_output_state() methods.
Implementations
impl<'a, T: VideoCodecStateContext<'a>> VideoCodecState<'a, T>[src]
pub fn get_info(&self) -> VideoInfo[src]
pub fn get_caps(&self) -> Option<&CapsRef>[src]
pub fn get_codec_data(&self) -> Option<&BufferRef>[src]
pub fn get_allocation_caps(&self) -> Option<&CapsRef>[src]
impl<'a> VideoCodecState<'a, InNegotiation<'a>>[src]
pub fn set_info(&mut self, info: VideoInfo)[src]
pub fn set_caps(&mut self, caps: &Caps)[src]
pub fn set_codec_data(&mut self, codec_data: &Buffer)[src]
pub fn set_allocation_caps(&mut self, allocation_caps: &Caps)[src]
Trait Implementations
impl<'a> Clone for VideoCodecState<'a, Readable>[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'a, T: VideoCodecStateContext<'a>> Debug for VideoCodecState<'a, T>[src]
impl<'a, T: VideoCodecStateContext<'a>> Drop for VideoCodecState<'a, T>[src]
impl<'a> Send for VideoCodecState<'a, Readable>[src]
impl<'a> Sync for VideoCodecState<'a, Readable>[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for VideoCodecState<'a, T> where
    T: RefUnwindSafe, 
T: RefUnwindSafe,
impl<'a, T> !Send for VideoCodecState<'a, T>
impl<'a, T> !Sync for VideoCodecState<'a, T>
impl<'a, T> Unpin for VideoCodecState<'a, T> where
    T: Unpin, 
T: Unpin,
impl<'a, T> UnwindSafe for VideoCodecState<'a, T> where
    T: RefUnwindSafe + UnwindSafe, 
T: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,