mediadecode 0.3.0

Generic, no_std-friendly type-and-trait spine for media decoders (FFmpeg, WebCodecs, R3D, BRAW, ARRIRAW, X-OCN, ProRes RAW, Canon Cinema RAW Light).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Color metadata: re-exported from `mediaframe::color`.
//!
//! mediadecode used to define these enums locally (per ITU-T H.273);
//! they now live in the lowest-layer `mediaframe` crate so colconv,
//! mediadecode, and scenesdetect share a single canonical definition.
//!
//! Upstream renamed `Color{Matrix,Primaries,Transfer,Range,Info}` to
//! `{Matrix,Primaries,Transfer,DynamicRange,Info}` during the
//! `videoframe → mediaframe` rename; the disambiguated `Color*` names
//! are kept here as re-export aliases so mediadecode's public surface
//! and every downstream consumer (`mediadecode-ffmpeg`, …) stay stable.
pub use mediaframe::color::{
  ChromaLocation, DynamicRange as ColorRange, Info as ColorInfo, Matrix as ColorMatrix,
  Primaries as ColorPrimaries, Transfer as ColorTransfer,
};