pub struct LibvdaEncoder {
instance: VeaInstance,
capabilities: EncoderCapabilities,
}Expand description
A VDA encoder backend that can be passed to EncoderDevice::new in order to create a working
encoder.
Fields§
§instance: VeaInstance§capabilities: EncoderCapabilitiesImplementations§
Source§impl LibvdaEncoder
impl LibvdaEncoder
pub fn new() -> Result<Self, VideoError>
Trait Implementations§
Source§impl Encoder for LibvdaEncoder
impl Encoder for LibvdaEncoder
type Session = LibvdaEncoderSession
fn query_capabilities(&self) -> Result<EncoderCapabilities, VideoError>
fn start_session( &mut self, config: SessionConfig, ) -> Result<LibvdaEncoderSession, VideoError>
fn stop_session( &mut self, _session: LibvdaEncoderSession, ) -> Result<(), VideoError>
Auto Trait Implementations§
impl Freeze for LibvdaEncoder
impl RefUnwindSafe for LibvdaEncoder
impl !Send for LibvdaEncoder
impl !Sync for LibvdaEncoder
impl Unpin for LibvdaEncoder
impl UnwindSafe for LibvdaEncoder
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