|
Oolite
|
import "OOMaths.h"
Include dependency graph for OOPixMap.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | OOPixMap |
Macros | |
| #define | OORoundUpToPowerOf2_PixMap OORoundUpToPowerOf2_32 |
Typedefs | |
| typedef uint_fast32_t | OOPixMapDimension |
| typedef struct OOPixMap | OOPixMap |
Enumerations | |
| enum | OOPixMapFormat { kOOPixMapInvalidFormat = 0 , kOOPixMapGrayscale = 1 , kOOPixMapGrayscaleAlpha = 2 , kOOPixMapRGBA = 4 } |
Variables | |
| const OOPixMap | kOONullPixMap |
| #define OORoundUpToPowerOf2_PixMap OORoundUpToPowerOf2_32 |
Definition at line 35 of file OOPixMap.h.
| typedef uint_fast32_t OOPixMapDimension |
Definition at line 33 of file OOPixMap.h.
| enum OOPixMapFormat |
| Enumerator | |
|---|---|
| kOOPixMapInvalidFormat | |
| kOOPixMapGrayscale | |
| kOOPixMapGrayscaleAlpha | |
| kOOPixMapRGBA | |
Definition at line 38 of file OOPixMap.h.
| OOPixMap OOAllocatePixMap | ( | OOPixMapDimension | width, |
| OOPixMapDimension | height, | ||
| OOPixMapFormat | format, | ||
| size_t | rowBytes, | ||
| size_t | bufferSize | ||
| ) |
Definition at line 73 of file OOPixMap.m.
References OOPixMap::bufferSize, EXPECT_NOT, kOONullPixMap, OOIsValidPixMap(), OOMakePixMap(), and OOPixMap::pixels.
Referenced by OOConvertCubeMapToLatLong(), OODuplicatePixMap(), OOPixMapToRGBA(), and OOScalePixMap().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 103 of file OOPixMap.h.
References OOMinimumPixMapBufferSize(), and OOResizePixMap().
Referenced by OOExtractPixMapChannel().
Here is the call graph for this function:
Here is the caller graph for this function:| void OODumpPixMap | ( | OOPixMap | pixMap, |
| NSString * | name | ||
| ) |
Definition at line 145 of file OOPixMap.m.
References MyOpenGLView::dumpGrayAlphaToFileNamed:bytes:width:height:rowBytes:, MyOpenGLView::dumpGrayToFileNamed:bytes:width:height:rowBytes:, MyOpenGLView::dumpRGBAToRGBFileNamed:andGrayFileNamed:bytes:width:height:rowBytes:, OOPixMap::format, kOOPixMapGrayscale, kOOPixMapGrayscaleAlpha, kOOPixMapInvalidFormat, kOOPixMapRGBA, and OOIsValidPixMap().
Here is the call graph for this function:Definition at line 95 of file OOPixMap.m.
References EXPECT_NOT, OOPixMap::format, kOONullPixMap, OOAllocatePixMap(), OOIsValidPixMap(), OOMinimumPixMapBufferSize(), OOPixMap::pixels, OOPixMap::rowBytes, and OOPixMap::width.
Referenced by OOPixMapTextureLoader::dealloc.
Here is the call graph for this function:
Here is the caller graph for this function:| BOOL OOExpandPixMap | ( | OOPixMap * | ioPixMap, |
| size_t | desiredSize | ||
| ) |
Definition at line 130 of file OOPixMap.m.
References EXPECT_NOT, OOIsValidPixMap(), and OOResizePixMap().
Here is the call graph for this function:| void OOFreePixMap | ( | OOPixMap * | ioPixMap | ) |
Definition at line 86 of file OOPixMap.m.
References EXPECT_NOT, kOONullPixMap, and OOPixMap::pixels.
Definition at line 60 of file OOPixMap.h.
References OOPixMap::pixels.
Referenced by OOPixMapToRGBA().
Here is the caller graph for this function:| BOOL OOIsValidPixMap | ( | OOPixMap | pixMap | ) |
Definition at line 42 of file OOPixMap.m.
References OOPixMap::bufferSize, OOPixMap::format, OOPixMap::height, OOIsValidPixMapFormat(), OOPixMapBytesPerPixelForFormat(), OOPixMap::pixels, OOPixMap::rowBytes, and OOPixMap::width.
Referenced by OOCombinedEmissionMapGenerator::anisotropy, OOPixMapTextureLoader::dealloc, EnsureCorrectDataSize(), OOAllocatePixMap(), OOConvertCubeMapToLatLong(), OODumpPixMap(), OODuplicatePixMap(), OOExpandPixMap(), OOExtractPixMapChannel(), OOMakePixMap(), OOPixMapAddPixMap(), OOPixMapModulatePixMap(), OOPixMapModulateUniform(), OOPixMapToRGBA(), OOResizePixMap(), OOScalePixMap(), SqueezeHorizontally1(), SqueezeHorizontally2(), SqueezeHorizontally4(), SqueezeVertically1(), SqueezeVertically2(), SqueezeVertically4(), StretchHorizontally1(), StretchHorizontally2(), and StretchHorizontally4().
Here is the call graph for this function:
Here is the caller graph for this function:| BOOL OOIsValidPixMapFormat | ( | OOPixMapFormat | format | ) |
Definition at line 186 of file OOPixMap.m.
References kOOPixMapGrayscale, kOOPixMapGrayscaleAlpha, kOOPixMapInvalidFormat, and kOOPixMapRGBA.
Referenced by OOIsValidPixMap().
Here is the caller graph for this function:| OOPixMap OOMakePixMap | ( | void * | pixels, |
| OOPixMapDimension | width, | ||
| OOPixMapDimension | height, | ||
| OOPixMapFormat | format, | ||
| size_t | rowBytes, | ||
| size_t | bufferSize | ||
| ) |
Definition at line 53 of file OOPixMap.m.
References kOONullPixMap, OOIsValidPixMap(), OOPixMapBytesPerPixelForFormat(), and OOPixMap::pixels.
Referenced by OOAllocatePixMap(), and OOScalePixMap().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 62 of file OOPixMap.h.
References OOPixMap::height, and OOPixMap::rowBytes.
Referenced by OOCompactPixMap(), OODuplicatePixMap(), and OOResizePixMap().
Here is the caller graph for this function:Definition at line 132 of file OOPixMap.h.
References OOPixMap::format, and OOPixMapBytesPerPixelForFormat().
Referenced by ModulateUniform_4(), OOScalePixMap(), SqueezeHorizontally1(), SqueezeHorizontally2(), SqueezeHorizontally4(), SqueezeVertically1(), SqueezeVertically2(), SqueezeVertically4(), StretchHorizontally1(), StretchHorizontally2(), StretchHorizontally4(), StretchVerticallyN_x1(), StretchVerticallyN_x4(), ToRGBA_1(), and ToRGBA_2().
Here is the call graph for this function:
Here is the caller graph for this function:| unsigned short OOPixMapBytesPerPixelForFormat | ( | OOPixMapFormat | format | ) |
Definition at line 202 of file OOPixMap.m.
References kOOPixMapGrayscale, kOOPixMapGrayscaleAlpha, kOOPixMapInvalidFormat, and kOOPixMapRGBA.
Referenced by OOIsValidPixMap(), OOMakePixMap(), and OOPixMapBytesPerPixel().
Here is the caller graph for this function:| BOOL OOPixMapFormatHasAlpha | ( | OOPixMapFormat | format | ) |
Definition at line 232 of file OOPixMap.m.
References kOOPixMapGrayscale, kOOPixMapGrayscaleAlpha, kOOPixMapInvalidFormat, and kOOPixMapRGBA.
| NSString * OOPixMapFormatName | ( | OOPixMapFormat | format | ) |
Definition at line 217 of file OOPixMap.m.
References kOOPixMapGrayscale, kOOPixMapGrayscaleAlpha, kOOPixMapInvalidFormat, and kOOPixMapRGBA.
Referenced by OOGenerateMipMaps().
Here is the caller graph for this function:| BOOL OOResizePixMap | ( | OOPixMap * | ioPixMap, |
| size_t | desiredSize | ||
| ) |
Definition at line 110 of file OOPixMap.m.
References OOPixMap::bufferSize, EXPECT_NOT, OOIsValidPixMap(), OOMinimumPixMapBufferSize(), and OOPixMap::pixels.
Referenced by OOCompactPixMap(), and OOExpandPixMap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
extern |
Definition at line 31 of file OOPixMap.m.
Referenced by OOAllocatePixMap(), OOConvertCubeMapToLatLong(), OODuplicatePixMap(), OOFreePixMap(), OOMakePixMap(), and OOScalePixMap().