Searched refs:pixel (Results 1 – 1 of 1) sorted by relevance
| /TwlSDK-5.4/build/tools/ppmconv/ |
| D | ppmconvbg.c | 102 static void OutputIndex(FILE * fp, char *label, int max_colors, int width, int height, u8 *pixel); 405 static void OutputIndex(FILE * fp, char *label, int max_colors, int width, int height, u8 *pixel) in OutputIndex() argument 429 OutputByte(fp, pixel[n]); in OutputIndex() 433 OutputByte(fp, (pixel[n] << 4) | (pixel[n - 1] & 15)); in OutputIndex() 459 fwrite(&pixel[n], sizeof(u8), 1, fp); in OutputIndex() 463 buffer = (u8)(pixel[n] << 4) | (pixel[n - 1] & 15); in OutputIndex()
|