Searched refs:GET_2B (Results 1 – 2 of 2) sorted by relevance
430 #define GET_2B(array, offset) \ in start_input_bmp() macro454 if (GET_2B(bmpfileheader, 0) != 0x4D42) /* 'BM' */ in start_input_bmp()473 biWidth = (int)GET_2B(bmpinfoheader, 4); in start_input_bmp()474 biHeight = (int)GET_2B(bmpinfoheader, 6); in start_input_bmp()475 biPlanes = GET_2B(bmpinfoheader, 8); in start_input_bmp()476 source->bits_per_pixel = (int)GET_2B(bmpinfoheader, 10); in start_input_bmp()497 biPlanes = GET_2B(bmpinfoheader, 12); in start_input_bmp()498 source->bits_per_pixel = (int)GET_2B(bmpinfoheader, 14); in start_input_bmp()
347 #define GET_2B(offset) ((unsigned int)UCH(targaheader[offset]) + \ in start_input_tga() macro360 maplen = GET_2B(5); in start_input_tga()361 width = GET_2B(12); in start_input_tga()362 height = GET_2B(14); in start_input_tga()455 if (maplen > 256 || GET_2B(3) != 0) in start_input_tga()