[−][src]Struct ffmpeg_next::codec::decoder::video::Video
Implementations
impl Video
[src]
pub fn decode<P: Ref>(
&mut self,
packet: &P,
out: &mut Video
) -> Result<bool, Error>
[src]
&mut self,
packet: &P,
out: &mut Video
) -> Result<bool, Error>
pub fn width(&self) -> u32
[src]
pub fn height(&self) -> u32
[src]
pub fn format(&self) -> Pixel
[src]
pub fn has_b_frames(&self) -> bool
[src]
pub fn aspect_ratio(&self) -> Rational
[src]
pub fn color_space(&self) -> Space
[src]
pub fn color_range(&self) -> Range
[src]
pub fn color_primaries(&self) -> Primaries
[src]
pub fn color_transfer_characteristic(&self) -> TransferCharacteristic
[src]
pub fn chroma_location(&self) -> Location
[src]
pub fn set_slice_count(&mut self, value: usize)
[src]
pub fn set_slice_flags(&mut self, value: Flags)
[src]
pub fn skip_top(&mut self, value: usize)
[src]
pub fn skip_bottom(&mut self, value: usize)
[src]
pub fn references(&self) -> usize
[src]
pub fn set_field_order(&mut self, value: FieldOrder)
[src]
pub fn intra_dc_precision(&self) -> u8
[src]
pub fn max_bit_rate(&self) -> usize
[src]
impl Video
[src]
pub fn scaler(
&self,
width: u32,
height: u32,
flags: Flags
) -> Result<Context, Error>
[src]
&self,
width: u32,
height: u32,
flags: Flags
) -> Result<Context, Error>
pub fn converter(&self, format: Pixel) -> Result<Context, Error>
[src]
Methods from Deref<Target = Opened>
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]
Trait Implementations
impl AsMut<Context> for Video
[src]
impl AsRef<Context> for Video
[src]
impl Deref for Video
[src]
impl DerefMut for Video
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Video
impl Send for Video
impl !Sync for Video
impl Unpin for Video
impl !UnwindSafe for Video
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, 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>,