HDK
|
#include <SYS/SYS_Types.h>
Go to the source code of this file.
Classes | |
struct | UT_RGBAT< T > |
Typedefs | |
typedef UT_RGBAT< uint8 > | UT_RGBA |
typedef UT_RGBAT< uint16 > | UT_BIG_RGBA |
typedef void(* | IMG_Compositebit_8_8 )(UT_RGBA *dest, UT_RGBA *op, int len) |
typedef void(* | IMG_Compositebit_8_16 )(UT_RGBA *dest, UT_BIG_RGBA *op, int len) |
typedef void(* | IMG_Compositebit_16_16 )(UT_BIG_RGBA *dest, UT_BIG_RGBA *op, int len) |
typedef void(* | IMG_Compositebit_16_8 )(UT_BIG_RGBA *dest, UT_RGBA *op, int len) |
typedef void(* | IMG_UnaryOp )(UT_RGBA *pixel) |
typedef void(* | IMG_UnaryOp16 )(UT_BIG_RGBA *pixel, int length) |
typedef void(* | IMG_UnaryOp8 )(UT_RGBA *pixel, int length) |
#define ALP_CHANNEL_BITS 16 |
Definition at line 114 of file IMG_RasterTypes.h.
#define ALP_CHANNEL_MAX 0xFFFF |
Definition at line 121 of file IMG_RasterTypes.h.
#define BIG_CHANNEL_BITS 16 |
Definition at line 110 of file IMG_RasterTypes.h.
#define BIG_CHANNEL_MAX 0xFFFF |
Definition at line 117 of file IMG_RasterTypes.h.
#define BIG_HUE_SHIFT (BIG_CHANNEL_BITS - HUE_CHANNEL_BITS) |
Definition at line 140 of file IMG_RasterTypes.h.
#define BIG_POINT_FIVE 0x8000 |
Definition at line 124 of file IMG_RasterTypes.h.
#define BIG_SAT_SHIFT (BIG_CHANNEL_BITS - SAT_CHANNEL_BITS) |
Definition at line 141 of file IMG_RasterTypes.h.
#define BIG_TO_SMALL_CHANNEL | ( | v | ) | ((v) >> CHANNEL_SHIFT) |
Definition at line 150 of file IMG_RasterTypes.h.
#define BIG_VAL_SHIFT (BIG_CHANNEL_BITS - VAL_CHANNEL_BITS) |
Definition at line 142 of file IMG_RasterTypes.h.
#define CHANNEL_BITS 8 |
Definition at line 109 of file IMG_RasterTypes.h.
#define CHANNEL_MAX 0xFF |
Definition at line 116 of file IMG_RasterTypes.h.
#define CHANNEL_SHIFT (BIG_CHANNEL_BITS - CHANNEL_BITS) |
Definition at line 126 of file IMG_RasterTypes.h.
#define HUE_CHANNEL_BITS 15 |
Definition at line 111 of file IMG_RasterTypes.h.
#define HUE_CHANNEL_MAX 0x7FFF |
Definition at line 118 of file IMG_RasterTypes.h.
#define HUE_POINT_FIVE (1 << (HUE_SHIFT - 1)) |
Definition at line 132 of file IMG_RasterTypes.h.
#define HUE_ROUND | ( | v | ) | ((v) >>((HUE_CHANNEL_BITS<<1)-BIG_CHANNEL_BITS)) |
Definition at line 143 of file IMG_RasterTypes.h.
#define HUE_SHIFT (HUE_CHANNEL_BITS - CHANNEL_BITS) |
Definition at line 129 of file IMG_RasterTypes.h.
#define HUE_TO_BIG_CHANNEL | ( | v | ) | (((v) << BIG_HUE_SHIFT) | HUE_ROUND(v)) |
Definition at line 146 of file IMG_RasterTypes.h.
#define HUE_TO_SMALL_CHANNEL | ( | v | ) | (((v) + HUE_POINT_FIVE) >> HUE_SHIFT) |
Definition at line 135 of file IMG_RasterTypes.h.
#define IMG_COMPOSITE_CLEAR 0x100 |
Definition at line 28 of file IMG_RasterTypes.h.
#define IMG_SMALL_IMAGE 100 |
Definition at line 26 of file IMG_RasterTypes.h.
#define MONO_WEIGHTB 29 |
Definition at line 155 of file IMG_RasterTypes.h.
#define MONO_WEIGHTG 151 |
Definition at line 154 of file IMG_RasterTypes.h.
#define MONO_WEIGHTR 76 |
Definition at line 153 of file IMG_RasterTypes.h.
Definition at line 157 of file IMG_RasterTypes.h.
#define POINT_FIVE 0x80 |
Definition at line 123 of file IMG_RasterTypes.h.
#define SAT_CHANNEL_BITS 15 |
Definition at line 112 of file IMG_RasterTypes.h.
#define SAT_CHANNEL_MAX 0x7FFF |
Definition at line 119 of file IMG_RasterTypes.h.
#define SAT_POINT_FIVE (1 << (SAT_SHIFT - 1)) |
Definition at line 133 of file IMG_RasterTypes.h.
#define SAT_ROUND | ( | v | ) | ((v) >>((SAT_CHANNEL_BITS<<1)-BIG_CHANNEL_BITS)) |
Definition at line 144 of file IMG_RasterTypes.h.
#define SAT_SHIFT (SAT_CHANNEL_BITS - CHANNEL_BITS) |
Definition at line 130 of file IMG_RasterTypes.h.
#define SAT_TO_BIG_CHANNEL | ( | v | ) | (((v) << BIG_SAT_SHIFT) | SAT_ROUND(v)) |
Definition at line 147 of file IMG_RasterTypes.h.
#define SAT_TO_SMALL_CHANNEL | ( | v | ) | (((v) + SAT_POINT_FIVE) >> SAT_SHIFT) |
Definition at line 136 of file IMG_RasterTypes.h.
#define SMALL_TO_BIG_CHANNEL | ( | v | ) | ((v) << CHANNEL_SHIFT | (v)) |
Definition at line 151 of file IMG_RasterTypes.h.
#define VAL_CHANNEL_BITS 16 |
Definition at line 113 of file IMG_RasterTypes.h.
#define VAL_CHANNEL_MAX 0xFFFF |
Definition at line 120 of file IMG_RasterTypes.h.
#define VAL_POINT_FIVE (1 << (VAL_SHIFT - 1)) |
Definition at line 134 of file IMG_RasterTypes.h.
#define VAL_ROUND | ( | v | ) | ((v) >>((VAL_CHANNEL_BITS<<1)-BIG_CHANNEL_BITS)) |
Definition at line 145 of file IMG_RasterTypes.h.
#define VAL_SHIFT (VAL_CHANNEL_BITS - CHANNEL_BITS) |
Definition at line 131 of file IMG_RasterTypes.h.
#define VAL_TO_BIG_CHANNEL | ( | v | ) | (((v) << BIG_VAL_SHIFT) | VAL_ROUND(v)) |
Definition at line 148 of file IMG_RasterTypes.h.
#define VAL_TO_SMALL_CHANNEL | ( | v | ) | (((v) + VAL_POINT_FIVE) >> VAL_SHIFT) |
Definition at line 137 of file IMG_RasterTypes.h.
typedef void(* IMG_Compositebit_16_16)(UT_BIG_RGBA *dest, UT_BIG_RGBA *op, int len) |
Definition at line 99 of file IMG_RasterTypes.h.
typedef void(* IMG_Compositebit_16_8)(UT_BIG_RGBA *dest, UT_RGBA *op, int len) |
Definition at line 100 of file IMG_RasterTypes.h.
typedef void(* IMG_Compositebit_8_16)(UT_RGBA *dest, UT_BIG_RGBA *op, int len) |
Definition at line 98 of file IMG_RasterTypes.h.
Definition at line 97 of file IMG_RasterTypes.h.
Definition at line 102 of file IMG_RasterTypes.h.
typedef void(* IMG_UnaryOp16)(UT_BIG_RGBA *pixel, int length) |
Definition at line 104 of file IMG_RasterTypes.h.
Definition at line 105 of file IMG_RasterTypes.h.
typedef UT_RGBAT<uint16> UT_BIG_RGBA |
Definition at line 24 of file IMG_RasterTypes.h.
Definition at line 22 of file IMG_RasterTypes.h.
enum IMG_Channel |
Enumerator | |
---|---|
IMG_CHANNEL_R | |
IMG_CHANNEL_G | |
IMG_CHANNEL_B | |
IMG_CHANNEL_A | |
IMG_CHANNEL_HUE | |
IMG_CHANNEL_SAT | |
IMG_CHANNEL_VAL | |
IMG_CHANNEL_LUM |
Definition at line 76 of file IMG_RasterTypes.h.
enum IMG_CompositeOp |
Definition at line 30 of file IMG_RasterTypes.h.
enum IMG_EdgeOptions |
Enumerator | |
---|---|
IMG_EDGES_HARD | |
IMG_EDGES_SOFT | |
IMG_EDGES_COLOR | |
IMG_EDGES_LOWSIDE |
Definition at line 90 of file IMG_RasterTypes.h.
enum IMG_FilterOp |
Definition at line 54 of file IMG_RasterTypes.h.
enum IMG_ScaleOp |
Enumerator | |
---|---|
IMG_SCALE_NONE | |
IMG_SCALE_SIZE | |
IMG_SCALE_FIT |
Definition at line 70 of file IMG_RasterTypes.h.