libbitsub_core/pgs/mod.rs
1//! PGS (Presentation Graphic Stream) subtitle format parsing and rendering.
2//!
3//! This module implements the Blu-ray PGS subtitle format (.sup files).
4
5mod composition;
6mod display_set;
7mod object;
8mod palette;
9mod parser;
10mod rle;
11mod segment;
12mod window;
13
14pub(crate) const MAX_PGS_OBJECT_DATA_LEN: usize = 0x00FF_FFFF;
15pub(crate) const MAX_PGS_BITMAP_PIXELS: usize = 16_777_216;
16
17pub use composition::*;
18pub use display_set::*;
19pub use object::*;
20pub use palette::*;
21pub use parser::*;
22pub use rle::*;
23pub use segment::*;
24pub use window::*;