Home
last modified time | relevance | path

Searched refs:blocksInRow (Results 1 – 1 of 1) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/Utility/
Ddemo_TextureConverter.cpp37 s32 blocksInRow; member
100 textureInformation.blocksInRow = (textureInformation.width / TEXTURE_BLOCK_SIZE); in ConvertGLTextureToNative()
120 for (s32 col = 0; col < textureInformation.blocksInRow; col++) in ConvertGLTextureToNative()
123 ReadBlock(row * textureInformation.blocksInRow + col, blockBuf, &textureInformation); in ConvertGLTextureToNative()
125 WriteBlock(row * textureInformation.blocksInRow + col, blockBuf, &textureInformation); in ConvertGLTextureToNative()
163 u32 row = (no / textureInformation->blocksInRow); in ReadBlock()
164 u32 column = (no % textureInformation->blocksInRow); in ReadBlock()
181 (row * TEXTURE_PIXELS_IN_BLOCK * pixelByte * textureInformation->blocksInRow) + in ReadBlock()
198 u32 row = (no / textureInformation->blocksInRow); in WriteBlock()
199 u32 column = (no % textureInformation->blocksInRow); in WriteBlock()
[all …]