Livt packages

Eccelerators.Matrix

Version 1.0.1

Reusable RGB matrix drawing, color conversion, animation pacing, and HUB75 display components for Livt.

Published files (48)

src/IColorConverter.lvt

namespace Eccelerators.Matrix

/**
 * Scheduled RGB888 conversion, packed as 0xRRGGBB. One serialized caller in
 * the inherited clock/reset context. Conversion does not change configuration.
 * Keep configuration stable for a complete image; latency is implementation dependent.
 * Implementations document input/output color spaces and rounding separately.
 */
interface IColorConverter
{
	/**
	 * Converts one RGB888 pixel, returning RGB888 with no alpha channel.
	 */
	fn Convert(rgb: logic[24]) logic[24]
}