[−][src]Struct ffmpeg_next::codec::decoder::opened::Opened
Implementations
impl Opened[src]
pub fn video(self) -> Result<Video, Error>[src]
pub fn audio(self) -> Result<Audio, Error>[src]
pub fn subtitle(self) -> Result<Subtitle, Error>[src]
pub fn send_packet<P: Ref>(&mut self, packet: &P) -> Result<(), Error>[src]
pub fn send_eof(&mut self) -> Result<(), Error>[src]
Sends a NULL packet to the decoder to signal end of stream and enter draining mode.
pub fn receive_frame(&mut self, frame: &mut Frame) -> Result<(), Error>[src]
pub fn bit_rate(&self) -> usize[src]
pub fn delay(&self) -> usize[src]
pub fn profile(&self) -> Profile[src]
pub fn frame_rate(&self) -> Option<Rational>[src]
pub fn flush(&mut self)[src]
Methods from Deref<Target = Decoder>
pub fn conceal(&mut self, value: Conceal)[src]
pub fn check(&mut self, value: Check)[src]
pub fn skip_loop_filter(&mut self, value: Discard)[src]
pub fn skip_idct(&mut self, value: Discard)[src]
pub fn skip_frame(&mut self, value: Discard)[src]
pub fn time_base(&self) -> Rational[src]
Trait Implementations
impl AsMut<Context> for Opened[src]
impl AsRef<Context> for Opened[src]
impl Deref for Opened[src]
type Target = Decoder
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target[src]
impl DerefMut for Opened[src]
impl Drop for Opened[src]
Auto Trait Implementations
impl !RefUnwindSafe for Opened[src]
impl Send for Opened[src]
impl !Sync for Opened[src]
impl Unpin for Opened[src]
impl !UnwindSafe for Opened[src]
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,
pub 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, 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.
pub 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>,