Home | History | Annotate | Download | only in video

Lines Matching refs:bpp

58 static int generate_rowbytes(int src_w, int dst_w, int bpp)
61 int bpp;
73 (dst_w == last.dst_w) && (bpp == last.bpp) ) {
76 last.bpp = bpp;
80 switch (bpp) {
91 SDL_SetError("ASM stretch of %d bytes isn't supported\n", bpp);
99 if ( bpp == 2 ) {
105 if ( bpp == 2 ) {
147 /* The ASM code doesn't handle 24-bpp stretch blits */
189 const int bpp = dst->format->BytesPerPixel;
253 dst_width = dstrect->w*bpp;
257 if ( (bpp != 3) &&
258 (generate_rowbytes(srcrect->w, dstrect->w, bpp) < 0) ) {
266 + (dstrect->x*bpp);
269 + (srcrect->x*bpp);
274 switch (bpp) {
305 switch (bpp) {