Searched refs:rowsize (Results 1 – 1 of 1) sorted by relevance
200 int rowsize = 3 * width; in readtga() local203 copytmp = (unsigned char *)malloc(rowsize); in readtga()206 memcpy(copytmp, &((*imgdata)[rowsize * i]), rowsize); in readtga()207 memcpy(&(*imgdata)[rowsize * i], &(*imgdata)[rowsize * (height - 1 - i)], rowsize); in readtga()208 memcpy(&(*imgdata)[rowsize * (height - 1 - i)], copytmp, rowsize); in readtga()