forked from genewildish/Mainline
Major changes: - Pipeline architecture with capability-based dependency resolution - Effects plugin system with performance monitoring - Display abstraction with multiple backends (terminal, null, websocket) - Camera system for viewport scrolling - Sensor framework for real-time input - Command-and-control system via ntfy - WebSocket display backend for browser clients - Comprehensive test suite and documentation Issue #48: ADR for preset scripting language included This commit consolidates 110 individual commits into a single feature integration that can be reviewed and tested before further refinement.
45 lines
1.1 KiB
Python
45 lines
1.1 KiB
Python
"""Stage adapters - Bridge existing components to the Stage interface.
|
|
|
|
This module provides adapters that wrap existing components
|
|
(EffectPlugin, Display, DataSource, Camera) as Stage implementations.
|
|
"""
|
|
|
|
from .camera import CameraClockStage, CameraStage
|
|
from .data_source import DataSourceStage, PassthroughStage, SourceItemsToBufferStage
|
|
from .display import DisplayStage
|
|
from .effect_plugin import EffectPluginStage
|
|
from .factory import (
|
|
create_stage_from_camera,
|
|
create_stage_from_display,
|
|
create_stage_from_effect,
|
|
create_stage_from_font,
|
|
create_stage_from_source,
|
|
)
|
|
from .transform import (
|
|
CanvasStage,
|
|
FontStage,
|
|
ImageToTextStage,
|
|
ViewportFilterStage,
|
|
)
|
|
|
|
__all__ = [
|
|
# Adapter classes
|
|
"EffectPluginStage",
|
|
"DisplayStage",
|
|
"DataSourceStage",
|
|
"PassthroughStage",
|
|
"SourceItemsToBufferStage",
|
|
"CameraStage",
|
|
"CameraClockStage",
|
|
"ViewportFilterStage",
|
|
"FontStage",
|
|
"ImageToTextStage",
|
|
"CanvasStage",
|
|
# Factory functions
|
|
"create_stage_from_display",
|
|
"create_stage_from_effect",
|
|
"create_stage_from_source",
|
|
"create_stage_from_camera",
|
|
"create_stage_from_font",
|
|
]
|