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