Home
last modified time | relevance | path

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

/external/swiftshader/src/Device/
DETC_Decoder.cpp92 …static void DecodeBlock(const ETC2** sources, unsigned char *dest, int nbChannels, int x, int y, i… in DecodeBlock()
101 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock()
103 … sDst[i * nbChannels + c] = clampEAC(sources[c]->getSingleChannel(i, j, isSigned, true), isSigned); in DecodeBlock()
118 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock()
120 sDst[i * nbChannels + c] = clampSByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
132 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock()
134 dest[i * nbChannels + c] = clampByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
DSurface.hpp303 static void decodeEAC(Buffer &internal, Buffer &external, int nbChannels, bool isSigned);
DSurface.cpp1895 void Surface::decodeEAC(Buffer &internal, Buffer &external, int nbChannels, bool isSigned) in decodeEAC() argument
1897 ASSERT(nbChannels == 1 || nbChannels == 2); in decodeEAC()
1901 …(nbChannels == 1) ? (isSigned ? ETC_Decoder::ETC_R_SIGNED : ETC_Decoder::ETC_R_UNSIGNED) : (isSign… in decodeEAC()
1914 for(int c = nbChannels - 1; c >= 0; c--) in decodeEAC()
/external/swiftshader/src/Renderer/
DETC_Decoder.cpp92 …static void DecodeBlock(const ETC2** sources, unsigned char *dest, int nbChannels, int x, int y, i… in DecodeBlock()
101 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock()
103 … sDst[i * nbChannels + c] = clampEAC(sources[c]->getSingleChannel(i, j, isSigned, true), isSigned); in DecodeBlock()
118 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock()
120 sDst[i * nbChannels + c] = clampSByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
132 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock()
134 dest[i * nbChannels + c] = clampByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
DSurface.hpp480 static void decodeEAC(Buffer &internal, Buffer &external, int nbChannels, bool isSigned);
DSurface.cpp2630 void Surface::decodeEAC(Buffer &internal, Buffer &external, int nbChannels, bool isSigned) in decodeEAC() argument
2632 ASSERT(nbChannels == 1 || nbChannels == 2); in decodeEAC()
2636 …(nbChannels == 1) ? (isSigned ? ETC_Decoder::ETC_R_SIGNED : ETC_Decoder::ETC_R_UNSIGNED) : (isSign… in decodeEAC()
2649 for(int c = nbChannels - 1; c >= 0; c--) in decodeEAC()