/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_events.h | 175 Uint32 type; 199 Uint32 type; /**< ::SDL_WINDOWEVENT */ 257 Uint32 type; /**< ::SDL_MOUSEMOTION */ 290 Uint32 type; /**< ::SDL_MOUSEWHEEL */ 477 Uint32 numFingers; 514 Uint32 type; /**< ::SDL_QUIT */ 523 Uint32 type; /**< ::SDL_QUIT */ 552 Uint32 type; /**< ::SDL_SYSWMEVENT */ 643 Uint32 minType, Uint32 maxType); 650 extern DECLSPEC SDL_bool SDLCALL SDL_HasEvents(Uint32 minType, Uint32 maxType); [all …]
|
A D | SDL_surface.h | 72 Uint32 flags; /**< Read-only */ 131 (Uint32 flags, int width, int height, int depth, 132 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask); 136 (Uint32 flags, int width, int height, int depth, Uint32 format); 250 int flag, Uint32 key); 270 Uint32 * key); 397 (SDL_Surface * src, const SDL_PixelFormat * fmt, Uint32 flags); 399 (SDL_Surface * src, Uint32 pixel_format, Uint32 flags); 407 Uint32 src_format, 409 Uint32 dst_format, [all …]
|
A D | SDL_endian.h | 117 SDL_FORCE_INLINE Uint32 118 SDL_Swap32(Uint32 x) in SDL_Swap32() 124 SDL_FORCE_INLINE Uint32 125 SDL_Swap32(Uint32 x) in SDL_Swap32() 132 SDL_Swap32(Uint32 x) in SDL_Swap32() 134 Uint32 result; in SDL_Swap32() 143 SDL_Swap32(Uint32 x) in SDL_Swap32() 149 extern _inline Uint32 SDL_Swap32(Uint32); 165 SDL_Swap32(Uint32 x) in SDL_Swap32() 201 Uint32 hi, lo; in SDL_Swap64() [all …]
|
A D | SDL_pixels.h | 317 Uint32 version; 326 Uint32 format; 331 Uint32 Rmask; 332 Uint32 Gmask; 333 Uint32 Bmask; 334 Uint32 Amask; 374 extern DECLSPEC Uint32 SDLCALL SDL_MasksToPixelFormatEnum(int bpp, 375 Uint32 Rmask, 376 Uint32 Gmask, 451 extern DECLSPEC void SDLCALL SDL_GetRGB(Uint32 pixel, [all …]
|
A D | SDL_timer.h | 48 extern DECLSPEC Uint32 SDLCALL SDL_GetTicks(void); 74 extern DECLSPEC void SDLCALL SDL_Delay(Uint32 ms); 84 typedef Uint32 (SDLCALL * SDL_TimerCallback) (Uint32 interval, void *param); 96 extern DECLSPEC SDL_TimerID SDLCALL SDL_AddTimer(Uint32 interval,
|
A D | SDL.h | 100 extern DECLSPEC int SDLCALL SDL_Init(Uint32 flags); 111 extern DECLSPEC int SDLCALL SDL_InitSubSystem(Uint32 flags); 116 extern DECLSPEC void SDLCALL SDL_QuitSubSystem(Uint32 flags); 124 extern DECLSPEC Uint32 SDLCALL SDL_WasInit(Uint32 flags);
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_blit_auto.c | 45 Uint32 *dst = (Uint32 *)info->dst; in SDL_Blit_RGB888_RGB888_Scale() 79 Uint32 *src = (Uint32 *)info->src; in SDL_Blit_RGB888_RGB888_Blend() 80 Uint32 *dst = (Uint32 *)info->dst; in SDL_Blit_RGB888_RGB888_Blend() 137 Uint32 *dst = (Uint32 *)info->dst; in SDL_Blit_RGB888_RGB888_Blend_Scale() 199 Uint32 *src = (Uint32 *)info->src; in SDL_Blit_RGB888_RGB888_Modulate() 200 Uint32 *dst = (Uint32 *)info->dst; in SDL_Blit_RGB888_RGB888_Modulate() 239 Uint32 *dst = (Uint32 *)info->dst; in SDL_Blit_RGB888_RGB888_Modulate_Scale() 286 Uint32 *src = (Uint32 *)info->src; in SDL_Blit_RGB888_RGB888_Modulate_Blend() 287 Uint32 *dst = (Uint32 *)info->dst; in SDL_Blit_RGB888_RGB888_Modulate_Blend() 362 Uint32 *dst = (Uint32 *)info->dst; in SDL_Blit_RGB888_RGB888_Modulate_Blend_Scale() [all …]
|
A D | SDL_blit_A.c | 181 Uint32 *srcp = (Uint32 *) info->src; in BlitRGBtoRGBSurfaceAlpha128MMX() 183 Uint32 *dstp = (Uint32 *) info->dst; in BlitRGBtoRGBSurfaceAlpha128MMX() 245 Uint32 *srcp = (Uint32 *) info->src; in BlitRGBtoRGBSurfaceAlphaMMX() 334 Uint32 *srcp = (Uint32 *) info->src; in BlitRGBtoRGBPixelAlphaMMX() 336 Uint32 *dstp = (Uint32 *) info->dst; in BlitRGBtoRGBPixelAlphaMMX() 464 Uint32 *srcp = (Uint32 *) info->src; in BlitRGBtoRGBSurfaceAlpha128() 466 Uint32 *dstp = (Uint32 *) info->dst; in BlitRGBtoRGBSurfaceAlpha128() 531 Uint32 *srcp = (Uint32 *) info->src; in BlitRGBtoRGBPixelAlpha() 533 Uint32 *dstp = (Uint32 *) info->dst; in BlitRGBtoRGBPixelAlpha() 585 Uint32 *srcp = (Uint32 *) info->src; in BlitRGBtoRGBPixelAlphaMMX3DNOW() [all …]
|
A D | SDL_RLEaccel.c | 119 Uint32 *src = (Uint32 *)(from); \ 120 Uint32 *dst = (Uint32 *)(to); \ 245 Uint32 *src = (Uint32 *)(from); \ 246 Uint32 *dst = (Uint32 *)(to); \ 286 Uint32 s = *(Uint32 *)src; \ 848 Uint32 src = *(Uint32 *)srcbuf; \ in SDL_RLEAlphaBlit() 1124 Uint32 *src = (Uint32 *) surface->pixels; in RLEAlphaSurface() 1241 static Uint32 1247 static Uint32 1253 static Uint32 [all …]
|
A D | SDL_yuv_c.h | 30 …ConvertPixels_YUV_to_RGB(int width, int height, Uint32 src_format, const void *src, int src_pitch,… 31 …ConvertPixels_RGB_to_YUV(int width, int height, Uint32 src_format, const void *src, int src_pitch,… 32 …ConvertPixels_YUV_to_YUV(int width, int height, Uint32 src_format, const void *src, int src_pitch,…
|
A D | SDL_yuv.c | 185 Uint32 src_format, Uint32 dst_format, in yuv_rgb_sse() 186 Uint32 width, Uint32 height, in yuv_rgb_sse() 187 const Uint8 *y, const Uint8 *u, const Uint8 *v, Uint32 y_stride, Uint32 uv_stride, in yuv_rgb_sse() 294 Uint32 src_format, Uint32 dst_format, in yuv_rgb_std() 295 Uint32 width, Uint32 height, in yuv_rgb_std() 404 Uint32 y_stride = 0; in SDL_ConvertPixels_YUV_to_RGB() 405 Uint32 uv_stride = 0; in SDL_ConvertPixels_YUV_to_RGB() 569 const Uint32 p1 = ((const Uint32 *)curr_row)[i]; in SDL_ConvertPixels_ARGB8888_to_YUV() 796 Uint32 y_stride; in SDL_ConvertPixels_RGB_to_YUV() 797 Uint32 uv_stride; in SDL_ConvertPixels_RGB_to_YUV() [all …]
|
A D | SDL_bmp.c | 180 Uint32 Rmask = 0; in SDL_LoadBMP_RW() 181 Uint32 Gmask = 0; in SDL_LoadBMP_RW() 182 Uint32 Bmask = 0; in SDL_LoadBMP_RW() 183 Uint32 Amask = 0; in SDL_LoadBMP_RW() 198 Uint32 bfOffBits; in SDL_LoadBMP_RW() 201 Uint32 biSize; in SDL_LoadBMP_RW() 526 Uint32 *pix = (Uint32 *) bits; in SDL_LoadBMP_RW() 579 Uint32 bfSize; in SDL_SaveBMP_RW() 582 Uint32 bfOffBits; in SDL_SaveBMP_RW() 585 Uint32 biSize; in SDL_SaveBMP_RW() [all …]
|
A D | SDL_blit_N.c | 610 Uint32 *srcp = (Uint32 *) info->src; in Blit32to32KeyAltivec() 612 Uint32 *dstp = (Uint32 *) info->dst; in Blit32to32KeyAltivec() 732 Uint32 *src = (Uint32 *) info->src; in ConvertAltivec32to32_noprefetch() 734 Uint32 *dst = (Uint32 *) info->dst; in ConvertAltivec32to32_noprefetch() 819 Uint32 *src = (Uint32 *) info->src; in ConvertAltivec32to32_prefetch() 821 Uint32 *dst = (Uint32 *) info->dst; in ConvertAltivec32to32_prefetch() 2177 Uint32 *src = (Uint32 *) info->src; in Blit4to4MaskAlpha() 2179 Uint32 *dst = (Uint32 *) info->dst; in Blit4to4MaskAlpha() 2227 Uint32 *src = (Uint32 *) info->src; in Blit4to4CopyAlpha() 2630 Uint32 *src32 = (Uint32*)src; in BlitNtoNKey() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_xcf.c | 103 Uint32 id; 142 Uint32 width; 157 Uint32 width; 172 Uint32 width; 179 Uint32 color; 186 Uint32 width; 188 Uint32 bpp; 227 Uint32 tmp; in read_string() 253 static Uint32 Swap32 (Uint32 v) { in Swap32() 262 Uint32 len; in xcf_read_property() [all …]
|
/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_blendline.c | 373 HLINE(Uint32, DRAW_SETPIXEL_ADD_RGB, draw_end); in SDL_BlendLine_RGB4() 376 HLINE(Uint32, DRAW_SETPIXEL_MOD_RGB, draw_end); in SDL_BlendLine_RGB4() 382 HLINE(Uint32, DRAW_SETPIXEL_RGB, draw_end); in SDL_BlendLine_RGB4() 400 VLINE(Uint32, DRAW_SETPIXEL_RGB, draw_end); in SDL_BlendLine_RGB4() 418 DLINE(Uint32, DRAW_SETPIXEL_RGB, draw_end); in SDL_BlendLine_RGB4() 488 HLINE(Uint32, DRAW_SETPIXEL_RGBA, draw_end); in SDL_BlendLine_RGBA4() 506 VLINE(Uint32, DRAW_SETPIXEL_RGBA, draw_end); in SDL_BlendLine_RGBA4() 524 DLINE(Uint32, DRAW_SETPIXEL_RGBA, draw_end); in SDL_BlendLine_RGBA4() 593 HLINE(Uint32, DRAW_SETPIXEL_RGB888, draw_end); in SDL_BlendLine_RGB888() 611 VLINE(Uint32, DRAW_SETPIXEL_RGB888, draw_end); in SDL_BlendLine_RGB888() [all …]
|
A D | SDL_blendfillrect.c | 89 FILLRECT(Uint32, DRAW_SETPIXEL_BLEND_RGB888); in SDL_BlendFillRect_RGB888() 92 FILLRECT(Uint32, DRAW_SETPIXEL_ADD_RGB888); in SDL_BlendFillRect_RGB888() 95 FILLRECT(Uint32, DRAW_SETPIXEL_MOD_RGB888); in SDL_BlendFillRect_RGB888() 98 FILLRECT(Uint32, DRAW_SETPIXEL_MUL_RGB888); in SDL_BlendFillRect_RGB888() 101 FILLRECT(Uint32, DRAW_SETPIXEL_RGB888); in SDL_BlendFillRect_RGB888() 127 FILLRECT(Uint32, DRAW_SETPIXEL_ARGB8888); in SDL_BlendFillRect_ARGB8888() 166 FILLRECT(Uint32, DRAW_SETPIXEL_ADD_RGB); in SDL_BlendFillRect_RGB() 169 FILLRECT(Uint32, DRAW_SETPIXEL_MOD_RGB); in SDL_BlendFillRect_RGB() 172 FILLRECT(Uint32, DRAW_SETPIXEL_MUL_RGB); in SDL_BlendFillRect_RGB() 175 FILLRECT(Uint32, DRAW_SETPIXEL_RGB); in SDL_BlendFillRect_RGB() [all …]
|
/AliOS-Things-master/components/SDL2/src/gfx/ |
A D | SDL_framerate.c | 37 Uint32 _getTicks() in _getTicks() 39 Uint32 ticks = SDL_GetTicks(); in _getTicks() 86 int SDL_setFramerate(FPSmanager * manager, Uint32 rate) in SDL_setFramerate() 146 Uint32 SDL_framerateDelay(FPSmanager * manager) in SDL_framerateDelay() 148 Uint32 current_ticks; in SDL_framerateDelay() 149 Uint32 target_ticks; in SDL_framerateDelay() 150 Uint32 the_delay; in SDL_framerateDelay() 151 Uint32 time_passed = 0; in SDL_framerateDelay() 178 target_ticks = manager->baseticks + (Uint32) ((float) manager->framecount * manager->rateticks); in SDL_framerateDelay()
|
A D | SDL_gfxPrimitives.h | 71 SDL_GFXPRIMITIVES_SCOPE int pixelColor(SDL_Surface * dst, Sint16 x, Sint16 y, Uint32 color); 76 …SDL_GFXPRIMITIVES_SCOPE int hlineColor(SDL_Surface * dst, Sint16 x1, Sint16 x2, Sint16 y, Uint32 c… 81 …SDL_GFXPRIMITIVES_SCOPE int vlineColor(SDL_Surface * dst, Sint16 x, Sint16 y1, Sint16 y2, Uint32 c… 122 Uint8 width, Uint32 color); 128 …SDL_GFXPRIMITIVES_SCOPE int circleColor(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rad, Uint32 … 139 …RIMITIVES_SCOPE int aacircleColor(SDL_Surface * dst, Sint16 x, Sint16 y, Sint16 rad, Uint32 color); 170 Sint16 start, Sint16 end, Uint32 color); 177 Sint16 start, Sint16 end, Uint32 color); 234 SDL_GFXPRIMITIVES_SCOPE void gfxPrimitivesSetFont(const void *fontdata, Uint32 cw, Uint32 ch); 235 SDL_GFXPRIMITIVES_SCOPE void gfxPrimitivesSetFontRotation(Uint32 rotation); [all …]
|
A D | SDL_framerate.h | 63 Uint32 framecount; 65 Uint32 baseticks; 66 Uint32 lastticks; 67 Uint32 rate; 88 SDL_FRAMERATE_SCOPE int SDL_setFramerate(FPSmanager * manager, Uint32 rate); 91 SDL_FRAMERATE_SCOPE Uint32 SDL_framerateDelay(FPSmanager * manager);
|
A D | SDL_gfxPrimitives.c | 1669 (dst, x1, y1, x2, y2, ((Uint32) r << 24) | ((Uint32) g << 16) | ((Uint32) b << 8) | (Uint32) a)); in rectangleRGBA() 1821 …(dst, x1, y1, x2, y2, rad, ((Uint32) r << 24) | ((Uint32) g << 16) | ((Uint32) b << 8) | (Uint32) … in roundedRectangleRGBA() 1977 …(dst, x1, y1, x2, y2, rad, ((Uint32) r << 24) | ((Uint32) g << 16) | ((Uint32) b << 8) | (Uint32) … in roundedBoxRGBA() 2851 …(dst, x1, y1, x2, y2, ((Uint32) r << 24) | ((Uint32) g << 16) | ((Uint32) b << 8) | (Uint32) a, 1)… in aalineRGBA() 3537 (dst, x, y, rad, rad, ((Uint32) r << 24) | ((Uint32) g << 16) | ((Uint32) b << 8) | (Uint32) a)); in aacircleRGBA() 3689 (dst, x, y, rad, ((Uint32) r << 24) | ((Uint32) g << 16) | ((Uint32) b << 8) | (Uint32) a)); in filledCircleRGBA() 4334 (dst, x, y, rx, ry, ((Uint32) r << 24) | ((Uint32) g << 16) | ((Uint32) b << 8) | (Uint32) a)); in aaellipseRGBA() 4532 (dst, x, y, rx, ry, ((Uint32) r << 24) | ((Uint32) g << 16) | ((Uint32) b << 8) | (Uint32) a)); in filledEllipseRGBA() 4730 ((Uint32) r << 24) | ((Uint32) g << 16) | ((Uint32) b << 8) | (Uint32) a, 0)); in pieRGBA() 4772 ((Uint32) r << 24) | ((Uint32) g << 16) | ((Uint32) b << 8) | (Uint32) a, 1)); in filledPieRGBA() [all …]
|
/AliOS-Things-master/components/SDL2/src/audio/ |
A D | SDL_wave.h | 55 Uint32 frequency; /* Sampling rate in Hz. */ 56 Uint32 byterate; /* Average bytes per second. */ 67 … Uint32 samplesperblock; /* For compressed formats. Can be zero. Actually 16 bits in the header. */ 68 Uint32 channelmask; 90 Uint32 samplelength; /* Raw sample length value from the fact chunk. */ 96 Uint32 fourcc; /* FOURCC of the chunk. */ 97 Uint32 length; /* Size of the chunk data. */
|
/AliOS-Things-master/components/SDL2/src/video/yuv2rgb/ |
A D | yuv_rgb_std_func.h | 30 *(Uint32 *)rgb_ptr = \ 31 (((Uint32)clampU8(y_tmp+r_tmp)) << 24) | \ 32 (((Uint32)clampU8(y_tmp+g_tmp)) << 16) | \ 33 (((Uint32)clampU8(y_tmp+b_tmp)) << 8) | \ 40 *(Uint32 *)rgb_ptr = \ 43 (((Uint32)clampU8(y_tmp+r_tmp)) << 8) | \ 50 *(Uint32 *)rgb_ptr = \ 53 (((Uint32)clampU8(y_tmp+g_tmp)) << 8) | \ 54 (((Uint32)clampU8(y_tmp+b_tmp)) << 0); \ 60 *(Uint32 *)rgb_ptr = \ [all …]
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_font.c | 3119 const Uint32 charWidth = FONT_CHARACTER_SIZE; in SDLTest_DrawCharacter() 3120 const Uint32 charHeight = FONT_CHARACTER_SIZE; in SDLTest_DrawCharacter() 3121 const Uint32 charSize = FONT_CHARACTER_SIZE; in SDLTest_DrawCharacter() 3125 Uint32 ix, iy; in SDLTest_DrawCharacter() 3130 Uint32 pitch; in SDLTest_DrawCharacter() 3132 Uint32 ci; in SDLTest_DrawCharacter() 3185 *(Uint32 *)curpos = 0xffffffff; in SDLTest_DrawCharacter() 3187 *(Uint32 *)curpos = 0; in SDLTest_DrawCharacter() 3224 const Uint32 charWidth = FONT_CHARACTER_SIZE; in SDLTest_DrawString()
|
/AliOS-Things-master/components/SDL2/src/thread/generic/ |
A D | SDL_syssem.c | 33 SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() 51 SDL_SemWaitTimeout(SDL_sem * sem, Uint32 timeout) in SDL_SemWaitTimeout() 62 Uint32 78 Uint32 count; 79 Uint32 waiters_count; 85 SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() 150 SDL_SemWaitTimeout(SDL_sem * sem, Uint32 timeout) in SDL_SemWaitTimeout() 185 Uint32 188 Uint32 value; in SDL_SemValue()
|
/AliOS-Things-master/components/SDL2/src/stdlib/ |
A D | SDL_iconv.c | 256 Uint32 ch = 0; in SDL_iconv() 336 *(Uint32 *) dst = UNICODE_BOM; in SDL_iconv() 350 ch = (Uint32) (p[0] & 0x7F); in SDL_iconv() 358 ch = (Uint32) p[0]; in SDL_iconv() 440 ch = (Uint32) p[0]; in SDL_iconv() 488 ch = (Uint32) W1; in SDL_iconv() 527 ch = (Uint32) W1; in SDL_iconv() 561 ch = ((Uint32) p[1] << 8) | (Uint32) p[0]; in SDL_iconv() 572 ch = ((Uint32) p[0] << 8) | (Uint32) p[1]; in SDL_iconv() 586 ((Uint32) p[2] << 8) | (Uint32) p[3]; in SDL_iconv() [all …]
|