Lines Matching refs:lib
40 } lib; variable
44 lib.FUNC = (SIG) SDL_LoadFunction(lib.handle, #FUNC); \
45 if (lib.FUNC == NULL) { SDL_UnloadObject(lib.handle); return -1; }
48 lib.FUNC = FUNC;
53 if ( lib.loaded == 0 ) { in IMG_InitTIF()
55 lib.handle = SDL_LoadObject(LOAD_TIF_DYNAMIC); in IMG_InitTIF()
56 if ( lib.handle == NULL ) { in IMG_InitTIF()
66 ++lib.loaded; in IMG_InitTIF()
72 if ( lib.loaded == 0 ) { in IMG_QuitTIF()
75 if ( lib.loaded == 1 ) { in IMG_QuitTIF()
77 SDL_UnloadObject(lib.handle); in IMG_QuitTIF()
80 --lib.loaded; in IMG_QuitTIF()
179 tiff = lib.TIFFClientOpen("SDL_image", "rm", (thandle_t)src, in IMG_LoadTIF_RW()
185 lib.TIFFGetField(tiff, TIFFTAG_IMAGEWIDTH, &img_width); in IMG_LoadTIF_RW()
186 lib.TIFFGetField(tiff, TIFFTAG_IMAGELENGTH, &img_height); in IMG_LoadTIF_RW()
197 …if(!lib.TIFFReadRGBAImageOriented(tiff, img_width, img_height, (uint32 *)surface->pixels, ORIENTAT… in IMG_LoadTIF_RW()
200 lib.TIFFClose(tiff); in IMG_LoadTIF_RW()
210 lib.TIFFClose(tiff); in IMG_LoadTIF_RW()