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 filter;
12pub mod format;
13pub mod frame;
14pub mod options;
15pub mod packet;
16pub mod picture;
17pub mod rational;
18pub mod stream;
19pub mod subtitle;
20pub mod time;
21
22pub use capabilities::{CodecCapabilities, CodecPreferences, DEFAULT_PRIORITY};
23pub use error::{Error, Result};
24pub use execution::ExecutionContext;
25pub use filter::{FilterContext, PortParams, PortSpec, StreamFilter};
26pub use format::{MediaType, PixelFormat, SampleFormat};
27pub use frame::{AudioFrame, Frame, VideoFrame, VideoPlane};
28pub use options::{
29    parse_options, CodecOptions, CodecOptionsStruct, OptionField, OptionKind, OptionValue,
30};
31pub use packet::Packet;
32pub use picture::{AttachedPicture, PictureType};
33pub use rational::Rational;
34pub use stream::{
35    CodecId, CodecParameters, CodecResolver, CodecTag, Confidence, NullCodecResolver, ProbeContext,
36    ProbeFn, StreamInfo,
37};
38pub use subtitle::{CuePosition, Segment, SubtitleCue, SubtitleStyle, TextAlign};
39pub use time::{TimeBase, Timestamp};