Searched refs:GET_2B (Results 1 – 2 of 2) sorted by relevance
283 #define GET_2B(array,offset) ((unsigned short) UCH(array[offset]) + \ in start_input_bmp() macro304 if (GET_2B(bmpfileheader,0) != 0x4D42) /* 'BM' */ in start_input_bmp()323 biWidth = (int) GET_2B(bmpinfoheader,4); in start_input_bmp()324 biHeight = (int) GET_2B(bmpinfoheader,6); in start_input_bmp()325 biPlanes = GET_2B(bmpinfoheader,8); in start_input_bmp()326 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,10); in start_input_bmp()347 biPlanes = GET_2B(bmpinfoheader,12); in start_input_bmp()348 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,14); in start_input_bmp()
342 #define GET_2B(offset) ((unsigned int) UCH(targaheader[offset]) + \ in start_input_tga() macro355 maplen = GET_2B(5); in start_input_tga()356 width = GET_2B(12); in start_input_tga()357 height = GET_2B(14); in start_input_tga()450 if (maplen > 256 || GET_2B(3) != 0) in start_input_tga()