Searched refs:bytes (Results 1 – 3 of 3) sorted by relevance
59 u8* bytes = ( u8* )block; in WriteColourBlock() local62 bytes[0] = ( u8 )( a & 0xff ); in WriteColourBlock()63 bytes[1] = ( u8 )( a >> 8 ); in WriteColourBlock()64 bytes[2] = ( u8 )( b & 0xff ); in WriteColourBlock()65 bytes[3] = ( u8 )( b >> 8 ); in WriteColourBlock()71 bytes[4 + i] = ind[0] | ( ind[1] << 2 ) | ( ind[2] << 4 ) | ( ind[3] << 6 ); in WriteColourBlock()163 u8 const* bytes = reinterpret_cast< u8 const* >( block ); in DecompressColour() local167 int a = Unpack565( bytes, codes ); in DecompressColour()168 int b = Unpack565( bytes + 2, codes + 4 ); in DecompressColour()197 u8 packed = bytes[4 + i]; in DecompressColour()
48 u8* bytes = reinterpret_cast< u8* >( block ); in CompressAlphaDxt3() local68 bytes[i] = ( u8 )( quant1 | ( quant2 << 4 ) ); in CompressAlphaDxt3()74 u8 const* bytes = reinterpret_cast< u8 const* >( block ); in DecompressAlphaDxt3() local80 u8 quant = bytes[i]; in DecompressAlphaDxt3()144 u8* bytes = reinterpret_cast< u8* >( block ); in WriteAlphaBlock() local147 bytes[0] = ( u8 )alpha0; in WriteAlphaBlock()148 bytes[1] = ( u8 )alpha1; in WriteAlphaBlock()151 u8* dest = bytes + 2; in WriteAlphaBlock()299 int alpha0 = bytes[0]; in DecompressAlphaDxt5()300 int alpha1 = bytes[1]; in DecompressAlphaDxt5()[all …]
303 <blocksize> (8 or 16 bytes) is decoded, the corresponding image size (in304 bytes) is:309 (<x>, <y>) begins at an offset (in bytes) relative to the base of the324 Each RGB image data block is encoded as a sequence of 8 bytes, called (in329 The 8 bytes of the block are decoded into three quantities:399 Each alpha image data block is encoded as a sequence of 8 bytes, called404 The 8 bytes of the block are decoded into one 64-bit integer:430 Each alpha image data block is encoded as a sequence of 8 bytes, called435 The alpha0 and alpha1 are 8-bit unsigned bytes converted to alpha438 The 6 "bits" bytes of the block are decoded into one 48-bit integer: