Lines Matching refs:pix
56 unsigned char *pix = &img[zi * destSliceB + yi * destPitchB + xi * bytes]; in write_imageblock() local
63 pix[0] = 0xFF; in write_imageblock()
64 pix[1] = 0x00; in write_imageblock()
65 pix[2] = 0xFF; in write_imageblock()
66 pix[3] = 0xFF; in write_imageblock()
70 pix[0] = static_cast<unsigned char>(sw::clamp(fptr[0], 0.0f, 1.0f) * 255.0f + 0.5f); in write_imageblock()
71 pix[1] = static_cast<unsigned char>(sw::clamp(fptr[1], 0.0f, 1.0f) * 255.0f + 0.5f); in write_imageblock()
72 pix[2] = static_cast<unsigned char>(sw::clamp(fptr[2], 0.0f, 1.0f) * 255.0f + 0.5f); in write_imageblock()
73 pix[3] = static_cast<unsigned char>(sw::clamp(fptr[3], 0.0f, 1.0f) * 255.0f + 0.5f); in write_imageblock()
80 unsigned int *pixu = reinterpret_cast<unsigned int *>(pix); in write_imageblock()
85 float *pixf = reinterpret_cast<float *>(pix); in write_imageblock()