Skip to main content

oxideav_core/
lib.rs

1//! Core types for the oxideav framework.
2//!
3//! This crate intentionally depends on nothing but `thiserror`. All codecs,
4//! containers, filters, and frontends build on top of the primitives defined
5//! here.
6
7pub mod bits;
8pub mod capabilities;
9pub mod error;
10pub mod execution;
11pub mod format;
12pub mod frame;
13pub mod packet;
14pub mod picture;
15pub mod rational;
16pub mod stream;
17pub mod subtitle;
18pub mod time;
19
20pub use capabilities::{CodecCapabilities, CodecPreferences, DEFAULT_PRIORITY};
21pub use error::{Error, Result};
22pub use execution::ExecutionContext;
23pub use format::{MediaType, PixelFormat, SampleFormat};
24pub use frame::{AudioFrame, Frame, VideoFrame, VideoPlane};
25pub use packet::Packet;
26pub use picture::{AttachedPicture, PictureType};
27pub use rational::Rational;
28pub use stream::{
29    CodecId, CodecParameters, CodecResolver, CodecTag, NullCodecResolver, StreamInfo,
30};
31pub use subtitle::{CuePosition, Segment, SubtitleCue, SubtitleStyle, TextAlign};
32pub use time::{TimeBase, Timestamp};