Lines Matching refs:bpp
70 static int generate_rowbytes(int src_w, int dst_w, int bpp)
73 int bpp;
86 (dst_w == last.dst_w) && (bpp == last.bpp) ) {
89 last.bpp = bpp;
94 switch (bpp) {
105 SDL_SetError("ASM stretch of %d bytes isn't supported\n", bpp);
124 if ( bpp == 2 ) {
133 if ( bpp == 2 ) {
176 /* The ASM code doesn't handle 24-bpp stretch blits */
220 const int bpp = dst->format->BytesPerPixel;
287 if ( (bpp == 3) ||
288 (generate_rowbytes(srcrect->w, dstrect->w, bpp) < 0) ) {
296 + (dstrect->x*bpp);
299 + (srcrect->x*bpp);
330 switch (bpp) {