1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//! Safe wrapper around the raw bindings.
//!
//! Largely unfinished, so you might still have to dip into
//! [`sys`](crate::sys) for the missing functionality.

mod api;
mod buffer;
mod builders;
mod encoder;
mod result;
mod session;

pub use api::{EncodeAPI, ENCODE_API};
pub use buffer::{
    Bitstream,
    BitstreamLock,
    Buffer,
    BufferLock,
    EncoderInput,
    EncoderOutput,
    RegisteredResource,
};
pub use encoder::Encoder;
pub use result::{EncodeError, ErrorKind};
pub use session::{CodecPictureParams, EncodePictureParams, Session};