Lines Matching refs:ip
253 idleParam_s* ip; in idle() local
258 ip = (idleParam_s*)param; in idle()
259 ip->end = FALSE; in idle()
260 ip->imageType = 0; in idle()
264 if (FALSE == DVDReadDir(ip->dir, &dirent)) in idle()
266 ip->end = TRUE; in idle()
275 ip->imageType = TYPE_BMP; in idle()
278 ip->imageType = TYPE_BMA; in idle()
281 ip->imageType = TYPE_XFB; in idle()
283 } while ( (ip->imageType == 0) || (dirent.isDir) ); in idle()
285 if (ip->imageType == TYPE_BMP) in idle()
287 readConvertBmp(dirent.name, ip->image, &width, &height); in idle()
289 else if (ip->imageType == TYPE_BMA) in idle()
295 readConvertBmp(dirent.name, ip->image, &width, &height); in idle()
312 readConvertBmp(fn, ip->image + firstLength, &width, &height); in idle()
314 ip->image2 = ip->image + firstLength; in idle()
316 else if (ip->imageType == TYPE_XFB) in idle()
337 DVDRead(&finfo, ip->image, (s32)OSRoundUp32B(length), 0)) in idle()
348 if (ip->imageType != TYPE_BMA) in idle()
349 DCStoreRange((void*)ip->image, width * height * 2); in idle()
351 DCStoreRange((void*)ip->image, width * height * 2 * 2); in idle()
353 ip->height = height; in idle()
354 ip->width = width; in idle()
372 idleParam_s ip; in printOneLevel() local
397 ip.image = (xfb == xfb1)? xfb2 : xfb1; in printOneLevel()
398 ip.dir = &dir; in printOneLevel()
399 background = OSSetIdleFunction(idle, (void*)&ip, in printOneLevel()
419 if (ip.end) in printOneLevel()
433 width = ip.width; in printOneLevel()
434 height = ip.height; in printOneLevel()
435 isBma = (ip.imageType == TYPE_BMA); in printOneLevel()