/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/ |
A D | wicdec.c | 61 const GUID* pixel_format; member 196 static int HasPalette(GUID pixel_format) { in HasPalette() argument 197 return (IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 199 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 201 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 203 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 210 GUID pixel_format) { in HasAlpha() argument 212 if (HasPalette(pixel_format)) { in HasAlpha() 233 has_alpha = IsEqualGUID(MAKE_REFGUID(pixel_format), in HasAlpha() 235 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasAlpha() [all …]
|
A D | image_enc.c | 85 WICPixelFormatGUID pixel_format = has_alpha ? GUID_WICPixelFormat32bppBGRA in WriteUsingWIC() local 109 IFS(IWICBitmapFrameEncode_SetPixelFormat(frame, &pixel_format)); in WriteUsingWIC()
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testoffscreen.c | 59 Uint32 pixel_format; in save_surface_to_bmp() local 63 pixel_format = SDL_GetWindowPixelFormat(window); in save_surface_to_bmp() 64 SDL_PixelFormatEnumToMasks(pixel_format, &bbp, &r_mask, &g_mask, &b_mask, &a_mask); in save_surface_to_bmp() 67 SDL_RenderReadPixels(renderer, NULL, pixel_format, (void*)surface->pixels, surface->pitch); in save_surface_to_bmp()
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsopengl.c | 490 int pixel_format = 0; in WIN_GL_ChoosePixelFormatARB() local 510 1, &pixel_format, in WIN_GL_ChoosePixelFormatARB() 521 return pixel_format; in WIN_GL_ChoosePixelFormatARB() 530 int pixel_format = 0; in WIN_GL_SetupWindowInternal() local 629 if (!pixel_format) { in WIN_GL_SetupWindowInternal() 630 pixel_format = WIN_GL_ChoosePixelFormat(hdc, &pfd); in WIN_GL_SetupWindowInternal() 632 if (!pixel_format) { in WIN_GL_SetupWindowInternal() 635 if (!SetPixelFormat(hdc, pixel_format, &pfd)) { in WIN_GL_SetupWindowInternal() 880 int pixel_format = GetPixelFormat(hfromdc); in WIN_GL_SetPixelFormatFrom() local 883 DescribePixelFormat(hfromdc, pixel_format, sizeof(pfd), &pfd); in WIN_GL_SetPixelFormatFrom() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_pixels_c.h | 32 extern int SDL_InitFormat(SDL_PixelFormat * format, Uint32 pixel_format);
|
A D | SDL_pixels.c | 503 SDL_AllocFormat(Uint32 pixel_format) in SDL_AllocFormat() argument 511 if (pixel_format == format->format) { in SDL_AllocFormat() 525 if (SDL_InitFormat(format, pixel_format) < 0) { in SDL_AllocFormat() 532 if (!SDL_ISPIXELFORMAT_INDEXED(pixel_format)) { in SDL_AllocFormat() 544 SDL_InitFormat(SDL_PixelFormat * format, Uint32 pixel_format) in SDL_InitFormat() argument 550 if (!SDL_PixelFormatEnumToMasks(pixel_format, &bpp, in SDL_InitFormat() 557 format->format = pixel_format; in SDL_InitFormat()
|
A D | SDL_surface.c | 1197 SDL_ConvertSurfaceFormat(SDL_Surface * surface, Uint32 pixel_format, in SDL_ConvertSurfaceFormat() argument 1203 fmt = SDL_AllocFormat(pixel_format); in SDL_ConvertSurfaceFormat() 1215 SDL_CreateSurfaceOnStack(int width, int height, Uint32 pixel_format, in SDL_CreateSurfaceOnStack() argument 1219 if (SDL_ISPIXELFORMAT_INDEXED(pixel_format)) { in SDL_CreateSurfaceOnStack() 1223 if (SDL_InitFormat(format, pixel_format) < 0) { in SDL_CreateSurfaceOnStack()
|
/AliOS-Things-master/components/SDL2/src/render/opengles2/ |
A D | SDL_render_gles2.c | 58 GLenum pixel_format; member 1450 data->pixel_format = format; in GLES2_CreateTexture() 1611 tdata->pixel_format, in GLES2_UpdateTexture() 1628 tdata->pixel_format, in GLES2_UpdateTexture() 1645 tdata->pixel_format, in GLES2_UpdateTexture() 1690 tdata->pixel_format, in GLES2_UpdateTextureYUV() 1700 tdata->pixel_format, in GLES2_UpdateTextureYUV() 1710 tdata->pixel_format, in GLES2_UpdateTextureYUV() 1833 Uint32 pixel_format, void * pixels, int pitch) in GLES2_RenderReadPixels() argument 1883 pixel_format, pixels, pitch); in GLES2_RenderReadPixels()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_surface.h | 399 (SDL_Surface * src, Uint32 pixel_format, Uint32 flags);
|
A D | SDL_pixels.h | 383 extern DECLSPEC SDL_PixelFormat * SDLCALL SDL_AllocFormat(Uint32 pixel_format);
|
/AliOS-Things-master/components/SDL2/src/render/opengl/ |
A D | SDL_render_gl.c | 403 convert_format(GL_RenderData *renderdata, Uint32 pixel_format, in convert_format() argument 406 switch (pixel_format) { in convert_format() 1349 Uint32 pixel_format, void * pixels, int pitch) in GL_RenderReadPixels() argument 1412 pixel_format, pixels, pitch); in GL_RenderReadPixels()
|
/AliOS-Things-master/components/SDL2/src/render/opengles/ |
A D | SDL_render_gles.c | 968 Uint32 pixel_format, void * pixels, int pitch) in GLES_RenderReadPixels() argument 1013 pixel_format, pixels, pitch); in GLES_RenderReadPixels()
|
/AliOS-Things-master/components/SDL2/src/render/psp/ |
A D | SDL_render_psp.c | 863 Uint32 pixel_format, void * pixels, int pitch) in PSP_RenderReadPixels() argument
|
/AliOS-Things-master/components/SDL2/src/render/metal/ |
A D | SDL_render_metal.m | 1472 Uint32 pixel_format, void * pixels, int pitch) 1511 …ConvertPixels(rect->w, rect->h, temp_format, temp_pixels, temp_pitch, pixel_format, pixels, pitch);
|