/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/ |
A D | wrgif.c | 224 int BitsPerPixel, ColorMapSize, InitCodeSize, FlagByte; in emit_header() local 231 BitsPerPixel = 1; in emit_header() 232 while (num_colors > (1 << BitsPerPixel)) in emit_header() 233 BitsPerPixel++; in emit_header() 234 ColorMapSize = 1 << BitsPerPixel; in emit_header() 235 if (BitsPerPixel <= 1) in emit_header() 238 InitCodeSize = BitsPerPixel; in emit_header() 253 FlagByte |= (BitsPerPixel-1) << 4; /* color resolution */ in emit_header() 254 FlagByte |= (BitsPerPixel-1); /* size of global color table */ in emit_header()
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_pcx.c | 46 Uint8 BitsPerPixel; member 124 printf("BitsPerPixel = %d\n", pcxh.BitsPerPixel); in IMG_LoadPCX_RW() 138 src_bits = pcxh.BitsPerPixel * pcxh.NPlanes; in IMG_LoadPCX_RW() 139 if((pcxh.BitsPerPixel == 1 && pcxh.NPlanes >= 1 && pcxh.NPlanes <= 4) in IMG_LoadPCX_RW() 140 || (pcxh.BitsPerPixel == 8 && pcxh.NPlanes == 1)) { in IMG_LoadPCX_RW() 142 } else if(pcxh.BitsPerPixel == 8 && pcxh.NPlanes == 3) { in IMG_LoadPCX_RW()
|
/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_drawpoint.c | 37 if (dst->format->BitsPerPixel < 8) { in SDL_DrawPoint() 78 if (dst->format->BitsPerPixel < 8) { in SDL_DrawPoints()
|
A D | SDL_blendfillrect.c | 227 if (dst->format->BitsPerPixel < 8) { in SDL_BlendFillRect() 248 switch (dst->format->BitsPerPixel) { in SDL_BlendFillRect() 298 if (dst->format->BitsPerPixel < 8) { in SDL_BlendFillRects() 309 switch (dst->format->BitsPerPixel) { in SDL_BlendFillRects()
|
A D | SDL_blendpoint.c | 225 if (dst->format->BitsPerPixel < 8) { in SDL_BlendPoint() 242 switch (dst->format->BitsPerPixel) { in SDL_BlendPoint() 294 if (dst->format->BitsPerPixel < 8) { in SDL_BlendPoints() 305 switch (dst->format->BitsPerPixel) { in SDL_BlendPoints()
|
A D | SDL_rotate.c | 438 is8bit = src->format->BitsPerPixel == 8 && colorKeyAvailable; in SDLgfx_rotateSurface() 439 if (!(is8bit || (src->format->BitsPerPixel == 32 && src->format->Amask))) in SDLgfx_rotateSurface()
|
A D | SDL_drawline.c | 129 if (fmt->BitsPerPixel < 8) { in SDL_CalculateDrawLineFunc()
|
A D | SDL_render_sw.c | 373 …src_clone = SDL_CreateRGBSurfaceFrom(src->pixels, src->w, src->h, src->format->BitsPerPixel, src->… in SW_RenderCopyEx() 388 …if (src->format->BitsPerPixel != 32 || SDL_PIXELLAYOUT(src->format->format) != SDL_PACKEDLAYOUT_88… in SW_RenderCopyEx() 532 … src_rotated->format->BitsPerPixel, src_rotated->pitch, in SW_RenderCopyEx()
|
/AliOS-Things-master/components/SDL2/src/video/vivante/ |
A D | SDL_vivantevideo.h | 45 …layType Display, int *Width, int *Height, unsigned long *Physical, int *Stride, int *BitsPerPixel); 49 …ativeWindowType Window, int *X, int *Y, int *Width, int *Height, int *BitsPerPixel, unsigned int *…
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_pixels.c | 148 …DLTest_AssertCheck(result->BitsPerPixel == 0, "Verify value of result.BitsPerPixel; expected: 0, g… in pixels_allocFreeFormat() 169 …DLTest_AssertCheck(result->BitsPerPixel > 0, "Verify value of result.BitsPerPixel; expected: >0, g… in pixels_allocFreeFormat()
|
A D | testcustomcursor.c | 79 switch (surface->format->BitsPerPixel) { in init_color_cursor()
|
A D | testspriteminimal.c | 63 switch (temp->format->BitsPerPixel) { in LoadSprite()
|
A D | testscale.c | 67 switch (temp->format->BitsPerPixel) { in LoadTexture()
|
A D | testrendercopyex.c | 65 switch (temp->format->BitsPerPixel) { in LoadTexture()
|
A D | testviewport.c | 63 switch (temp->format->BitsPerPixel) { in LoadSprite()
|
A D | testrendertarget.c | 66 switch (temp->format->BitsPerPixel) { in LoadTexture()
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_bmp.c | 613 if (saveme->format->BitsPerPixel >= 8 && (saveme->format->Amask || in SDL_SaveBMP_RW() 620 if (saveme->format->BitsPerPixel == 8) { in SDL_SaveBMP_RW() 624 saveme->format->BitsPerPixel); in SDL_SaveBMP_RW() 626 } else if ((saveme->format->BitsPerPixel == 24) && !save32bit && in SDL_SaveBMP_RW() 651 format.BitsPerPixel); in SDL_SaveBMP_RW() 687 biBitCount = surface->format->BitsPerPixel; in SDL_SaveBMP_RW()
|
A D | SDL_blit.c | 203 if (dst->format->BitsPerPixel < 8) { in SDL_CalculateBlit() 239 else if (surface->format->BitsPerPixel < 8 && in SDL_CalculateBlit()
|
A D | SDL_pixels.c | 558 format->BitsPerPixel = bpp; in SDL_InitFormat() 683 if (palette && palette->ncolors > (1 << format->BitsPerPixel)) { in SDL_SetPixelFormatPalette() 1075 if (srcfmt->BitsPerPixel != dstfmt->BitsPerPixel) in SDL_MapSurface()
|
A D | SDL_blit_0.c | 460 if (surface->format->BitsPerPixel != 1) { in SDL_CalculateBlit0() 464 if (surface->map->dst->format->BitsPerPixel < 8) { in SDL_CalculateBlit0()
|
/AliOS-Things-master/components/SDL2/src/gfx/ |
A D | SDL_rotozoom.c | 823 if (!src || src->format->BitsPerPixel != 32) { return NULL; } in rotateSurface90Degrees() 832 dst = SDL_CreateRGBSurface( src->flags, newWidth, newHeight, src->format->BitsPerPixel, in rotateSurface90Degrees() 849 bpp = src->format->BitsPerPixel / 8; in rotateSurface90Degrees() 1080 is32bit = (src->format->BitsPerPixel == 32); in rotozoomSurfaceXY() 1081 if ((is32bit) || (src->format->BitsPerPixel == 8)) { in rotozoomSurfaceXY() 1410 is32bit = (src->format->BitsPerPixel == 32); in zoomSurface() 1411 if ((is32bit) || (src->format->BitsPerPixel == 8)) { in zoomSurface() 1568 is32bit = (src->format->BitsPerPixel == 32); in shrinkSurface() 1569 if ((is32bit) || (src->format->BitsPerPixel == 8)) { in shrinkSurface()
|
/AliOS-Things-master/components/SDL2/src/gfx/Test/ |
A D | TestGfxTexture.c | 238 screen->w, screen->h, screen->format->BitsPerPixel); in main()
|
A D | TestGfxBlit.c | 285 screen->w, screen->h, screen->format->BitsPerPixel); in main()
|
A D | TestShrink.c | 364 screen->w, screen->h, screen->format->BitsPerPixel); in main()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_pixels.h | 328 Uint8 BitsPerPixel; member
|