Lines Matching refs:srcPixel
126 uint8_t *srcPixel; in setDataBuffer() local
135 srcPixel = p + i*stride + j*4; in setDataBuffer()
136 temp = srcPixel[0]; in setDataBuffer()
137 srcPixel[0] = srcPixel[2]; in setDataBuffer()
138 srcPixel[2] = temp; in setDataBuffer()
149 uint8_t *srcPixel; in setDataBuffer() local
160 srcPixel = p + i*stride + j*4; in setDataBuffer()
161 temp = srcPixel[0]; in setDataBuffer()
163 if (srcPixel[0] == 0 && in setDataBuffer()
164 srcPixel[3] == 0xff) in setDataBuffer()
165 srcPixel[3] = 0; in setDataBuffer()