Module retro_pixel::u16_ext[][src]

Module for code specific to u16 base images.

The channel order of the pixel value processing functions here is assumed to be A1_B5_G5_R5, which matches up with OpenGL's GL_UNSIGNED_SHORT_1_5_5_5_REV pixel type.

In the future, I will attempt to make this able to unpack, use, and repack other color channel orderings.

Traits

WritableImageU16Ext

This allows u16 specific extensions to the WritableImage concepts.