Home | History | Annotate | Download | only in video

Lines Matching refs:bits

59 	Uint8 *bits;
159 /* Expand 1 and 4 bit bitmaps to 8 bits per pixel */
278 bits = top;
280 bits = end - surface->pitch;
282 while ( bits >= top && bits < end ) {
297 *(bits+i) = (pixel>>shift);
303 if ( SDL_RWread(src, bits, 1, surface->pitch)
315 Uint16 *pix = (Uint16 *)bits;
322 Uint32 *pix = (Uint32 *)bits;
339 bits += surface->pitch;
341 bits -= surface->pitch;
365 Uint8 *bits;
413 /* Convert to 24 bits per pixel */
512 bits = (Uint8 *)surface->pixels+(surface->h*surface->pitch);
514 while ( bits > (Uint8 *)surface->pixels ) {
515 bits -= surface->pitch;
516 if ( SDL_RWwrite(dst, bits, 1, bw) != bw) {