comparison src/video/ps2gs/SDL_gsyuv.c @ 543:522e5202014d

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 17 Nov 2002 18:59:10 +0000
parents e8157fcb3114
children c9b51268668f
comparison
equal deleted inserted replaced
542:7a15ee64acc7 543:522e5202014d
347 case SDL_IYUV_OVERLAY: 347 case SDL_IYUV_OVERLAY:
348 lum = (Uint32 *)overlay->pixels[0]; 348 lum = (Uint32 *)overlay->pixels[0];
349 Cr = (Uint32 *)overlay->pixels[2]; 349 Cr = (Uint32 *)overlay->pixels[2];
350 Cb = (Uint32 *)overlay->pixels[1]; 350 Cb = (Uint32 *)overlay->pixels[1];
351 default: 351 default:
352 SDL_SetError("Unsupported YUV format in blit (??)"); 352 SDL_SetError("Unsupported YUV format in blit (?)");
353 return(-1); 353 return(-1);
354 } 354 }
355 dst = (Uint32 *)hwdata->ipu_imem; 355 dst = (Uint32 *)hwdata->ipu_imem;
356 lum_pitch = overlay->w/4; 356 lum_pitch = overlay->w/4;
357 crb_pitch = (overlay->w/2)/4; 357 crb_pitch = (overlay->w/2)/4;