Lines Matching refs:ip
250 idleParam_s* ip; in idle() local
255 ip = (idleParam_s*)param; in idle()
256 ip->end = FALSE; in idle()
257 ip->imageType = 0; in idle()
261 if (FALSE == DVDReadDir(ip->dir, &dirent)) in idle()
263 ip->end = TRUE; in idle()
272 ip->imageType = TYPE_BMP; in idle()
275 ip->imageType = TYPE_BMA; in idle()
278 ip->imageType = TYPE_XFB; in idle()
280 } while ( (ip->imageType == 0) || (dirent.isDir) ); in idle()
282 if (ip->imageType == TYPE_BMP) in idle()
284 readConvertBmp(dirent.name, ip->image, &width, &height); in idle()
286 else if (ip->imageType == TYPE_BMA) in idle()
292 readConvertBmp(dirent.name, ip->image, &width, &height); in idle()
309 readConvertBmp(fn, ip->image + firstLength, &width, &height); in idle()
311 ip->image2 = ip->image + firstLength; in idle()
313 else if (ip->imageType == TYPE_XFB) in idle()
334 DVDRead(&finfo, ip->image, (s32)OSRoundUp32B(length), 0)) in idle()
345 if (ip->imageType != TYPE_BMA) in idle()
346 DCStoreRange((void*)ip->image, width * height * 2); in idle()
348 DCStoreRange((void*)ip->image, width * height * 2 * 2); in idle()
350 ip->height = height; in idle()
351 ip->width = width; in idle()
369 idleParam_s ip; in printOneLevel() local
394 ip.image = (xfb == xfb1)? xfb2 : xfb1; in printOneLevel()
395 ip.dir = &dir; in printOneLevel()
396 background = OSSetIdleFunction(idle, (void*)&ip, in printOneLevel()
416 if (ip.end) in printOneLevel()
430 width = ip.width; in printOneLevel()
431 height = ip.height; in printOneLevel()
432 isBma = (ip.imageType == TYPE_BMA); in printOneLevel()