Oolite 1.91.0.7645-241119-222d325
|
Go to the source code of this file.
Functions | |
static void | ExtractChannel_4 (OOPixMap *ioPixMap, uint8_t channelIndex) |
static void | ToRGBA_1 (OOPixMap srcPx, OOPixMap dstPx) |
static void | ToRGBA_2 (OOPixMap srcPx, OOPixMap dstPx) |
static void | ModulateUniform_4 (OOPixMap pixMap, uint16_t f0, uint16_t f1, uint16_t f2, uint16_t f3) |
static void | ModulatePixMap_4 (OOPixMap mainPx, OOPixMap otherPx) |
static void | AddPixMap_4 (OOPixMap mainPx, OOPixMap otherPx) |
BOOL | OOExtractPixMapChannel (OOPixMap *ioPixMap, uint8_t channelIndex, BOOL compactWhenDone) |
BOOL | OOPixMapToRGBA (OOPixMap *ioPixMap) |
BOOL | OOPixMapModulateUniform (OOPixMap *ioPixMap, float f0, float f1, float f2, float f3) |
BOOL | OOPixMapModulatePixMap (OOPixMap *ioDstPixMap, OOPixMap otherPixMap) |
BOOL | OOPixMapAddPixMap (OOPixMap *ioDstPixMap, OOPixMap otherPixMap) |
Definition at line 314 of file OOPixMapChannelOperations.m.
References OOPixMap::height, OOPixMap::pixels, OOPixMap::rowBytes, OOPixMap::width, and y.
Referenced by OOPixMapAddPixMap().
|
static |
Definition at line 61 of file OOPixMapChannelOperations.m.
References OOPixMap::height, OOPixMap::pixels, OOPixMap::rowBytes, OOPixMap::width, and y.
Referenced by OOExtractPixMapChannel().
Definition at line 255 of file OOPixMapChannelOperations.m.
References OOPixMap::height, OOPixMap::pixels, OOPixMap::rowBytes, OOPixMap::width, and y.
Referenced by OOPixMapModulatePixMap().
|
static |
Definition at line 196 of file OOPixMapChannelOperations.m.
References OOPixMap::height, OOPixMapBytesPerPixel(), OOPixMap::pixels, OOPixMap::rowBytes, OOPixMap::width, and y.
Referenced by OOPixMapModulateUniform().
BOOL OOExtractPixMapChannel | ( | OOPixMap * | ioPixMap, |
uint8_t | channelIndex, | ||
BOOL | compactWhenDone ) |
Definition at line 40 of file OOPixMapChannelOperations.m.
References EXPECT_NOT, ExtractChannel_4(), OOPixMap::format, kOOPixMapGrayscale, kOOPixMapRGBA, OOCompactPixMap(), OOIsValidPixMap(), OOPixMap::rowBytes, and OOPixMap::width.
Definition at line 301 of file OOPixMapChannelOperations.m.
References AddPixMap_4(), EXPECT_NOT, OOPixMap::format, OOPixMap::height, kOOPixMapRGBA, OOIsValidPixMap(), OOPixMapToRGBA(), and OOPixMap::width.
Definition at line 242 of file OOPixMapChannelOperations.m.
References EXPECT_NOT, OOPixMap::format, OOPixMap::height, kOOPixMapRGBA, ModulatePixMap_4(), OOIsValidPixMap(), OOPixMapToRGBA(), and OOPixMap::width.
BOOL OOPixMapModulateUniform | ( | OOPixMap * | ioPixMap, |
float | f0, | ||
float | f1, | ||
float | f2, | ||
float | f3 ) |
Definition at line 185 of file OOPixMapChannelOperations.m.
References EXPECT_NOT, ModulateUniform_4(), OOIsValidPixMap(), and OOPixMapToRGBA().
BOOL OOPixMapToRGBA | ( | OOPixMap * | ioPixMap | ) |
Definition at line 87 of file OOPixMapChannelOperations.m.
References EXPECT_NOT, OOPixMap::format, OOPixMap::height, kOOPixMapGrayscale, kOOPixMapGrayscaleAlpha, kOOPixMapInvalidFormat, kOOPixMapRGBA, OOAllocatePixMap(), OOIsNullPixMap(), OOIsValidPixMap(), OOPixMap::pixels, ToRGBA_1(), ToRGBA_2(), and OOPixMap::width.
Referenced by OOPixMapAddPixMap(), OOPixMapModulatePixMap(), and OOPixMapModulateUniform().
Definition at line 129 of file OOPixMapChannelOperations.m.
References OOPixMap::format, OOPixMap::height, kOOPixMapRGBA, OOPixMapBytesPerPixel(), OOPixMap::pixels, OOPixMap::rowBytes, OOPixMap::width, and y.
Referenced by OOPixMapToRGBA().
Definition at line 153 of file OOPixMapChannelOperations.m.
References OOPixMap::format, OOPixMap::height, kOOPixMapRGBA, OOPixMapBytesPerPixel(), OOPixMap::pixels, OOPixMap::rowBytes, OOPixMap::width, and y.
Referenced by OOPixMapToRGBA().