31#ifndef MJR_INCLUDE_MRcolor
48#ifdef MJR_HAVE_128_BIT_TYPES
49 typedef mjr_uint128_t colChanI128;
93#ifdef MJR_HAVE_128_BIT_TYPES
138#ifdef MJR_HAVE_128_BIT_TYPES
139 typedef color1c128b colorGrey128b;
159#define MJR_INCLUDE_MRcolor
Header for the ramColor class.
Template Class used to house colors for ramCanvas objects.
colorTpl< colChanF32, 3 > color3c32F
colorTpl: 3 Channel @ 32-bit floating point 96 – 96-bit Floating RGB
colorTpl< colChanI64, 8 > color8c64b
colorTpl: 8 Channel @ 64-bit unsigned int 512
double colChanF64
Type suitable for 64-bit floating point color channels.
colorTpl< colChanI32, 8 > color8c32b
colorTpl: 8 Channel @ 32-bit unsigned int 256
colorTpl< colChanI8, 3 > color3c8b
colorTpl: 3 Channel @ 8-bit unsigned int 24 – 24-bit RGB (truecolor)
colorTpl< colChanI16, 32 > color32c16b
colorTpl: 32 Channel @ 16-bit unsigned int 512
colorTpl< colChanI8, 2 > color2c8b
colorTpl: 2 Channel @ 8-bit unsigned int 16
colorTpl< colChanF64, 1 > color1c64F
colorTpl: 1 Channel @ 64-bit floating point 64 – 64-bit Floating Greyscale
colorTpl< colChanI8, 4, 1, 2, 3, 0 > colorARGB8b
colorTpl: 4 Channel @ 8-bit unsigned int 32
color1c64b colorGrey64b
colorTpl: 64-bit int Greyscale
color4c32b colorRGBA32b
colorTpl: RGBA (32-bit int/channel)
colorTpl< colChanI32, 3 > color3c32b
colorTpl: 3 Channel @ 32-bit unsigned int 96 – 96-bit RGB
colorTpl< colChanI16, 1 > color1c16b
colorTpl: 1 Channel @ 16-bit unsigned int 16 – 16-bit Greyscale
colorTpl< colChanF64, 8 > color8c64F
colorTpl: 8 Channel @ 64-bit floating point 512
color4c32F colorRGBA32F
colorTpl: RGBA (32-bit float/channel)
colorTpl< colChanF32, 4 > color4c32F
colorTpl: 4 Channel @ 32-bit floating point 128 – 96-bit Floating RGBA
colorTpl< colChanF64, 4 > color4c64F
colorTpl: 4 Channel @ 64-bit floating point 256 – 256-bit Floating RGBA
color3c16b colorRGB16b
colorTpl: RGB (16-bit int/channel)
colorTpl< colChanI32, 4 > color4c32b
colorTpl: 4 Channel @ 32-bit unsigned int 128 – 96-bit RGBA
colorTpl< colChanI8, 16 > color16c8b
colorTpl: 16 Channel @ 8-bit unsigned int 128
color4c8b colorRGBA8b
colorTpl: RGBA (8-bit int/channel) (truecolor)
color1c32b colorGrey32b
colorTpl: 32-bit int Greyscale
colorTpl< colChanI16, 8 > color8c16b
colorTpl: 8 Channel @ 16-bit unsigned int 128
colorTpl< colChanI16, 2 > color2c16b
colorTpl: 2 Channel @ 16-bit unsigned int 32
color3c32b colorRGB32b
colorTpl: RGB (32-bit int/channel)
colorTpl< colChanF32, 2 > color2c32F
colorTpl: 2 Channel @ 32-bit floating point 64
colorTpl< colChanI32, 1 > color1c32b
colorTpl: 1 Channel @ 32-bit unsigned int 32 – 32-bit Greyscale
uint64_t colChanI64
Type suitable for 64-bit unsigned color channels.
color1c8b colorGrey8b
colorTpl: 8-bit int Greyscale
colorTpl< colChanI16, 16 > color16c16b
colorTpl: 16 Channel @ 16-bit unsigned int 256
float colChanF32
Type suitable for 32-bit floating point color channels.
colorTpl< colChanI64, 2 > color2c64b
colorTpl: 2 Channel @ 64-bit unsigned int 128
uint16_t colChanI16
Type suitable for 16-bit unsigned color channels.
colorTpl< colChanI8, 6 > color6c8b
colorTpl: 6 Channel @ 8-bit unsigned int 48
color1c64F colorGrey64F
colorTpl: 64-bit float Greyscale
colorTpl< colChanI64, 3 > color3c64b
colorTpl: 3 Channel @ 64-bit unsigned int 192 – 192-bit RGB
color3c64b colorRGB64b
colorTpl: RGB (64-bit int/channel)
colorTpl< colChanI16, 4 > color4c16b
colorTpl: 4 Channel @ 16-bit unsigned int 64 – 48-bit RGBA
color4c16b colorRGBA16b
colorTpl: RGBA (16-bit int/channel)
colorTpl< colChanI8, 4, 3, 2, 1, 0 > colorABGR8b
colorTpl: 4 Channel @ 8-bit unsigned int 32
colorTpl< colChanI8, 4 > color4c8b
colorTpl: 4 Channel @ 8-bit unsigned int 32 – 24-bit RGBA (truecolor)
colorTpl< colChanI64, 4 > color4c64b
colorTpl: 4 Channel @ 64-bit unsigned int 256 – 192-bit RGBA
uint8_t colChanI8
Type suitable for 8-bit unsigned color channels.
colorTpl< colChanI8, 64 > color64c8b
colorTpl: 64 Channel @ 8-bit unsigned int 512
colorTpl< colChanI8, 4, 2, 1, 0, 3 > colorBGRA8b
colorTpl: 4 Channel @ 8-bit unsigned int 32
colorTpl< colChanI8, 7 > color7c8b
colorTpl: 7 Channel @ 8-bit unsigned int 56
colorTpl< colChanI8, 32 > color32c8b
colorTpl: 32 Channel @ 8-bit unsigned int 256
colorTpl< colChanI8, 3, 2, 1, 0 > colorBGR8b
colorTpl: 3 Channel @ 8-bit unsigned int 24
color3c32F colorRGB32F
colorTpl: RGB (32-bit float/channel)
color4c64F colorRGBA64F
colorTpl: RGBA (64-bit float/channel)
colorTpl< colChanI8, 8 > color8c8b
colorTpl: 8 Channel @ 8-bit unsigned int 64
colorTpl< colChanF32, 1 > color1c32F
colorTpl: 1 Channel @ 32-bit floating point 32 – 32-bit Floating Greyscale
color4c64b colorRGBA64b
colorTpl: RGBA (64-bit int/channel)
colorTpl< colChanF32, 16 > color16c32F
colorTpl: 16 Channel @ 32-bit floating point 512
colorTpl< colChanF32, 8 > color8c32F
colorTpl: 8 Channel @ 32-bit floating point 256
colorTpl< colChanI32, 16 > color16c32b
colorTpl: 16 Channel @ 32-bit unsigned int 512
colorTpl< colChanI32, 2 > color2c32b
colorTpl: 2 Channel @ 32-bit unsigned int 64
colorTpl< colChanI16, 3 > color3c16b
colorTpl: 3 Channel @ 16-bit unsigned int 48 – 48-bit RGB
colorTpl< colChanI8, 5 > color5c8b
colorTpl: 5 Channel @ 8-bit unsigned int 40
color1c32F colorGrey32F
colorTpl: 32-bit float Greyscale
color3c8b colorRGB8b
colorTpl: RGB (8-bit int/channel) (truecolor)
colorTpl< colChanI8, 1 > color1c8b
colorTpl: 1 Channel @ 8-bit unsigned int 8 – 8-bit Greyscale
color3c64F colorRGB64F
colorTpl: RGB (64-bit float/channel)
color1c16b colorGrey16b
colorTpl: 16-bit int Greyscale
colorTpl< colChanI64, 1 > color1c64b
colorTpl: 1 Channel @ 64-bit unsigned int 64 – 64-bit Greyscale
colorTpl< colChanF64, 3 > color3c64F
colorTpl: 3 Channel @ 64-bit floating point 192 – 192-bit Floating RGB
uint32_t colChanI32
Type suitable for 32-bit unsigned color channels.
colorTpl< colChanF64, 2 > color2c64F
colorTpl: 2 Channel @ 64-bit floating point 128