Lines Matching defs:dstOffset
529 const int dstOffset = (y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_PIXEL_SIZE_RGB8;
535 dst[dstOffset+0] = (deUint8)deClamp32((int)baseR[subBlock] + modifier, 0, 255);
536 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255);
537 dst[dstOffset+2] = (deUint8)deClamp32((int)baseB[subBlock] + modifier, 0, 255);
624 const int dstOffset = (y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_PIXEL_SIZE_RGB8;
633 dst[dstOffset+0] = 0;
634 dst[dstOffset+1] = 0;
635 dst[dstOffset+2] = 0;
648 dst[dstOffset+0] = (deUint8)deClamp32((int)baseR[subBlock] + modifier, 0, 255);
649 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255);
650 dst[dstOffset+2] = (deUint8)deClamp32((int)baseB[subBlock] + modifier, 0, 255);
740 const int dstOffset = (y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_PIXEL_SIZE_RGB8;
746 dst[dstOffset+0] = 0;
747 dst[dstOffset+1] = 0;
748 dst[dstOffset+2] = 0;
753 dst[dstOffset+0] = (deUint8)deClamp32((int)paintR[paintNdx], 0, 255);
754 dst[dstOffset+1] = (deUint8)deClamp32((int)paintG[paintNdx], 0, 255);
755 dst[dstOffset+2] = (deUint8)deClamp32((int)paintB[paintNdx], 0, 255);
787 const int dstOffset = (y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_PIXEL_SIZE_RGB8;
793 dst[dstOffset+0] = (deUint8)deClamp32(unclampedR, 0, 255);
794 dst[dstOffset+1] = (deUint8)deClamp32(unclampedG, 0, 255);
795 dst[dstOffset+2] = (deUint8)deClamp32(unclampedB, 0, 255);
834 const int dstOffset = (y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_PIXEL_SIZE_A8;
839 dst[dstOffset] = (deUint8)deClamp32((int)baseCodeword + (int)multiplier*modifier, 0, 255);
881 const int dstOffset = (y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_PIXEL_SIZE_R11;
895 *((deInt16*)(dst + dstOffset)) = value;
906 *((deUint16*)(dst + dstOffset)) = value;