#include <ChanTraits.h>
Public Types | |
typedef uint32_t | Sum |
typedef uint32_t | Accum |
typedef int32_t | SignedSum |
Static Public Member Functions | |
static uint8_t | max () |
static uint8_t | convert (uint8_t v) |
static uint8_t | convert (uint16_t v) |
static uint8_t | convert (float v) |
static uint8_t | grayscale (uint8_t r, uint8_t g, uint8_t b) |
static uint8_t | premultiply (uint8_t c, uint8_t a) |
static uint8_t | inverse (uint8_t c) |
typedef uint32_t cinder::CHANTRAIT< uint8_t >::Sum |
typedef uint32_t cinder::CHANTRAIT< uint8_t >::Accum |
typedef int32_t cinder::CHANTRAIT< uint8_t >::SignedSum |
static uint8_t cinder::CHANTRAIT< uint8_t >::max | ( | ) | [static] |
static uint8_t cinder::CHANTRAIT< uint8_t >::convert | ( | uint8_t | v | ) | [static] |
static uint8_t cinder::CHANTRAIT< uint8_t >::convert | ( | uint16_t | v | ) | [static] |
static uint8_t cinder::CHANTRAIT< uint8_t >::convert | ( | float | v | ) | [static] |
static uint8_t cinder::CHANTRAIT< uint8_t >::grayscale | ( | uint8_t | r, |
uint8_t | g, | ||
uint8_t | b | ||
) | [static] |
static uint8_t cinder::CHANTRAIT< uint8_t >::premultiply | ( | uint8_t | c, |
uint8_t | a | ||
) | [static] |
static uint8_t cinder::CHANTRAIT< uint8_t >::inverse | ( | uint8_t | c | ) | [static] |