pub struct PgsPcsSegment {
pub header: PgsSegmentHeader,
pub width: u16,
pub height: u16,
pub frame_rate: u8,
pub composition_number: u16,
pub composition_state: PgsPcsCompositionState,
pub palette_update_flag: u8,
pub palette_id: u8,
pub number_of_composition_objects: u8,
pub composition_objects: Vec<PgsPcsSegmentCompositionObjects>,
}Fields§
§header: PgsSegmentHeader§width: u16§height: u16§frame_rate: u8§composition_number: u16§composition_state: PgsPcsCompositionState§palette_update_flag: u8§palette_id: u8§number_of_composition_objects: u8§composition_objects: Vec<PgsPcsSegmentCompositionObjects>Implementations§
Source§impl PgsPcsSegment
Struct representing a Presentation Composition Segment (PCS) in a PGS file.
The PCS defines how individual graphic objects (subtitles, etc.) are displayed on the screen, their position, and composition state.
impl PgsPcsSegment
Struct representing a Presentation Composition Segment (PCS) in a PGS file. The PCS defines how individual graphic objects (subtitles, etc.) are displayed on the screen, their position, and composition state.