Home
last modified time | relevance | path

Searched refs:BitsPerPixel (Results 1 – 25 of 37) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dwrgif.c224 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 DIMG_pcx.c46 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 DSDL_drawpoint.c37 if (dst->format->BitsPerPixel < 8) { in SDL_DrawPoint()
78 if (dst->format->BitsPerPixel < 8) { in SDL_DrawPoints()
A DSDL_blendfillrect.c227 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 DSDL_blendpoint.c225 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 DSDL_rotate.c438 is8bit = src->format->BitsPerPixel == 8 && colorKeyAvailable; in SDLgfx_rotateSurface()
439 if (!(is8bit || (src->format->BitsPerPixel == 32 && src->format->Amask))) in SDLgfx_rotateSurface()
A DSDL_drawline.c129 if (fmt->BitsPerPixel < 8) { in SDL_CalculateDrawLineFunc()
A DSDL_render_sw.c373 …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 DSDL_vivantevideo.h45 …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 Dtestautomation_pixels.c148 …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 Dtestcustomcursor.c79 switch (surface->format->BitsPerPixel) { in init_color_cursor()
A Dtestspriteminimal.c63 switch (temp->format->BitsPerPixel) { in LoadSprite()
A Dtestscale.c67 switch (temp->format->BitsPerPixel) { in LoadTexture()
A Dtestrendercopyex.c65 switch (temp->format->BitsPerPixel) { in LoadTexture()
A Dtestviewport.c63 switch (temp->format->BitsPerPixel) { in LoadSprite()
A Dtestrendertarget.c66 switch (temp->format->BitsPerPixel) { in LoadTexture()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_bmp.c613 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 DSDL_blit.c203 if (dst->format->BitsPerPixel < 8) { in SDL_CalculateBlit()
239 else if (surface->format->BitsPerPixel < 8 && in SDL_CalculateBlit()
A DSDL_pixels.c558 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 DSDL_blit_0.c460 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 DSDL_rotozoom.c823 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 DTestGfxTexture.c238 screen->w, screen->h, screen->format->BitsPerPixel); in main()
A DTestGfxBlit.c285 screen->w, screen->h, screen->format->BitsPerPixel); in main()
A DTestShrink.c364 screen->w, screen->h, screen->format->BitsPerPixel); in main()
/AliOS-Things-master/components/SDL2/include/
A DSDL_pixels.h328 Uint8 BitsPerPixel; member

Completed in 46 milliseconds

12