Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTDecompress.cpp811 unsigned int blockTop, blockBot, *input = (unsigned int*)pSrcData, *output; in ETCTextureDecompress() local
820 blockTop = *(input++); in ETCTextureDecompress()
826 bFlip = (blockTop & ETC_FLIP) != 0; in ETCTextureDecompress()
827 bDiff = (blockTop & ETC_DIFF) != 0; in ETCTextureDecompress()
832 blue1 = (unsigned char)((blockTop&0xf80000)>>16); in ETCTextureDecompress()
833 green1 = (unsigned char)((blockTop&0xf800)>>8); in ETCTextureDecompress()
834 red1 = (unsigned char)(blockTop&0xf8); in ETCTextureDecompress()
837 signed char blues = (signed char)(blue1>>3) + ((signed char) ((blockTop & 0x70000) >> 11)>>5); in ETCTextureDecompress()
838 signed char greens = (signed char)(green1>>3) + ((signed char)((blockTop & 0x700) >>3)>>5); in ETCTextureDecompress()
839 signed char reds = (signed char)(red1>>3) + ((signed char)((blockTop & 0x7)<<5)>>5); in ETCTextureDecompress()
[all …]