Skip to main content

Crate ass_renderer

Crate ass_renderer 

Source
Expand description

ASS subtitle renderer with modular backend support

ass-renderer provides high-performance subtitle rendering with a CPU software backend and an optional wgpu-based hybrid GPU compositor that reuses the software backend’s rasterized tiles.

Re-exports§

pub use backends::BackendType;
pub use backends::RenderBackend;
pub use debug::DebugPlayer;
pub use debug::FrameAnalyzer;
pub use debug::FrameInspector;
pub use debug::PlayerFrame;
pub use pipeline::Pipeline;
pub use pipeline::PipelineStage;
pub use plugin::EffectPlugin;
pub use plugin::PluginRegistry;
pub use renderer::Frame;
pub use renderer::RenderContext;
pub use renderer::Renderer;
pub use utils::RenderError;

Modules§

animation
Animation system for ASS subtitle effects
backends
Rendering backend trait and implementations
cache
Caching system for expensive operations
collision
Collision detection for subtitle positioning
debug
Debug and analysis tools for subtitle rendering Debug and analysis tools for ASS subtitle rendering
layout
Layout system for proper subtitle positioning
pipeline
Rendering pipeline for processing events into layers
plugin
Plugin system for custom effects and backends
renderer
Core renderer implementation
utils
Utility types and helper functions

Structs§

Event
Re-export commonly used types from ass-core Event from [Events\] section (dialogue, comments, etc.)
ResolvedStyle
Fully resolved style with computed values and performance metrics
Script
Re-export commonly used types from ass-core Main ASS script container with zero-copy lifetime-generic design
Style
Re-export commonly used types from ass-core Style definition from [V4+ Styles] section

Enums§

EventType
Event type discriminant for different kinds of timeline events
Section
Re-export commonly used types from ass-core Top-level section in an ASS script

Constants§

VERSION
Library version