/AliOS-Things-master/components/SDL2/src/gfx/ |
A D | SDL_gfxPrimitives.h | 100 Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 124 Uint8 width, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 135 Uint8 r, Uint8 g, Uint8 b, Uint8 a); 141 Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 147 Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 185 Uint8 r, Uint8 g, Uint8 b, Uint8 a); 191 Uint8 r, Uint8 g, Uint8 b, Uint8 a); 197 Uint8 r, Uint8 g, Uint8 b, Uint8 a); 203 int n, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 209 int n, Uint8 r, Uint8 g, Uint8 b, Uint8 a); [all …]
|
/AliOS-Things-master/components/SDL2/src/stdlib/ |
A D | SDL_iconv.c | 275 Uint8 *p = (Uint8 *) src; in SDL_iconv() 297 Uint8 *p = (Uint8 *) src; in SDL_iconv() 349 Uint8 *p = (Uint8 *) src; in SDL_iconv() 357 Uint8 *p = (Uint8 *) src; in SDL_iconv() 365 Uint8 *p = (Uint8 *) src; in SDL_iconv() 479 Uint8 *p = (Uint8 *) src; in SDL_iconv() 518 Uint8 *p = (Uint8 *) src; in SDL_iconv() 557 Uint8 *p = (Uint8 *) src; in SDL_iconv() 568 Uint8 *p = (Uint8 *) src; in SDL_iconv() 580 Uint8 *p = (Uint8 *) src; in SDL_iconv() [all …]
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_events.h | 188 Uint8 padding1; 189 Uint8 padding2; 190 Uint8 padding3; 203 Uint8 padding1; 204 Uint8 padding2; 205 Uint8 padding3; 220 Uint8 padding2; 221 Uint8 padding3; 280 Uint8 padding1; 308 Uint8 padding1; [all …]
|
A D | SDL_pixels.h | 306 Uint8 r; 307 Uint8 g; 308 Uint8 b; 309 Uint8 a; 335 Uint8 Rloss; 336 Uint8 Gloss; 337 Uint8 Bloss; 435 Uint8 r, Uint8 g, Uint8 b); 443 Uint8 r, Uint8 g, Uint8 b, 453 Uint8 * r, Uint8 * g, Uint8 * b); [all …]
|
A D | SDL_audio.h | 163 typedef void (SDLCALL * SDL_AudioCallback) (void *userdata, Uint8 * stream, 232 Uint8 *buf; /**< Buffer to hold entire audio data */ 477 Uint8 ** audio_buf, 490 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 * audio_buf); 503 Uint8 src_channels, 506 Uint8 dst_channels, 553 const Uint8 src_channels, 556 const Uint8 dst_channels, 657 extern DECLSPEC void SDLCALL SDL_MixAudio(Uint8 * dst, const Uint8 * src, 665 extern DECLSPEC void SDLCALL SDL_MixAudioFormat(Uint8 * dst, [all …]
|
A D | SDL_render.h | 303 Uint8 r, Uint8 g, Uint8 b); 319 Uint8 * r, Uint8 * g, 320 Uint8 * b); 334 Uint8 alpha); 347 Uint8 * alpha); 449 const Uint8 *Yplane, int Ypitch, 450 const Uint8 *Uplane, int Upitch, 699 Uint8 r, Uint8 g, Uint8 b, 700 Uint8 a); 715 Uint8 * r, Uint8 * g, Uint8 * b, [all …]
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testyuv_cvt.c | 59 yuv[0] = (Uint8)Y; in RGBtoYUV() 60 yuv[1] = (Uint8)U; in RGBtoYUV() 61 yuv[2] = (Uint8)V; in RGBtoYUV() 80 Uint8 *Y1, *Y2, *U, *V; in ConvertRGBtoPlanar2x2() 81 Uint8 *rgb1, *rgb2; in ConvertRGBtoPlanar2x2() 183 *U = (Uint8)yuv[0][1]; in ConvertRGBtoPlanar2x2() 186 *V = (Uint8)yuv[0][2]; in ConvertRGBtoPlanar2x2() 196 Uint8 *Y1, *Y2, *U, *V; in ConvertRGBtoPacked4() 197 Uint8 *rgb; in ConvertRGBtoPacked4() 252 *U = (Uint8)yuv[0][1]; in ConvertRGBtoPacked4() [all …]
|
/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_blendfillrect.c | 31 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_RGB555() 57 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_RGB565() 83 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_RGB888() 109 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_ARGB8888() 135 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_RGB() 186 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_RGBA() 218 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect() 285 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRects() 290 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) = NULL; in SDL_BlendFillRects()
|
A D | SDL_blendpoint.c | 30 SDL_BlendPoint_RGB555(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint_RGB555() 31 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_RGB555() 57 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_RGB565() 83 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_RGB888() 109 Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_ARGB8888() 135 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_RGB() 186 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_RGBA() 217 SDL_BlendPoint(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint() 218 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint() 279 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoints() [all …]
|
A D | SDL_blendfillrect.h | 28 …Surface * dst, const SDL_Rect * rect, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 29 …t, const SDL_Rect * rects, int count, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
|
A D | SDL_blendpoint.h | 28 …oint(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 29 … const SDL_Point * points, int count, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
|
A D | SDL_blendline.h | 28 … dst, int x1, int y1, int x2, int y2, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 29 … const SDL_Point * points, int count, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
|
A D | SDL_blendline.c | 32 SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a, in SDL_BlendLine_RGB2() 138 SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a, in SDL_BlendLine_RGB555() 243 SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a, in SDL_BlendLine_RGB565() 348 SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a, in SDL_BlendLine_RGB4() 454 SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a, in SDL_BlendLine_RGBA4() 560 SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a, in SDL_BlendLine_RGB888() 665 SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a, in SDL_BlendLine_ARGB8888() 771 Uint8 r, Uint8 g, Uint8 b, Uint8 a, 807 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendLine() 832 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendLines()
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_fillrect.c | 65 Uint8 *p = NULL; \ 106 Uint8 *p = pixels; in SDL_FillRect1SSE() 138 Uint8 *p = NULL; in SDL_FillRect1() 201 Uint8 b1 = (Uint8) (color & 0xFF); in SDL_FillRect3() 202 Uint8 b2 = (Uint8) ((color >> 8) & 0xFF); in SDL_FillRect3() 203 Uint8 b3 = (Uint8) ((color >> 16) & 0xFF); in SDL_FillRect3() 205 Uint8 b1 = (Uint8) ((color >> 16) & 0xFF); in SDL_FillRect3() 206 Uint8 b2 = (Uint8) ((color >> 8) & 0xFF); in SDL_FillRect3() 207 Uint8 b3 = (Uint8) (color & 0xFF); in SDL_FillRect3() 210 Uint8 *p = NULL; in SDL_FillRect3() [all …]
|
A D | SDL_yuv.c | 187 const Uint8 *y, const Uint8 *u, const Uint8 *v, Uint32 y_stride, Uint32 uv_stride, in yuv_rgb_sse() 296 const Uint8 *y, const Uint8 *u, const Uint8 *v, Uint32 y_stride, Uint32 uv_stride, in yuv_rgb_std() 1163 Uint8 *dstY = (Uint8 *)dst; in SDL_ConvertPixels_Planar2x2_to_Planar2x2() 1252 const Uint8 *srcYUV = (const Uint8 *)src; in SDL_ConvertPixels_YUY2_to_UYVY() 1253 Uint8 *dstYUV = (Uint8 *)dst; in SDL_ConvertPixels_YUY2_to_UYVY() 1294 const Uint8 *srcYUV = (const Uint8 *)src; in SDL_ConvertPixels_YUY2_to_YVYU() 1295 Uint8 *dstYUV = (Uint8 *)dst; in SDL_ConvertPixels_YUY2_to_YVYU() 1337 Uint8 *dstYUV = (Uint8 *)dst; in SDL_ConvertPixels_UYVY_to_YUY2() 1379 Uint8 *dstYUV = (Uint8 *)dst; in SDL_ConvertPixels_UYVY_to_YVYU() 1421 Uint8 *dstYUV = (Uint8 *)dst; in SDL_ConvertPixels_YVYU_to_YUY2() [all …]
|
A D | SDL_blit_auto.c | 204 R = (Uint8)(pixel >> 16); G = (Uint8)(pixel >> 8); B = (Uint8)pixel; in SDL_Blit_RGB888_RGB888_Modulate() 256 R = (Uint8)(pixel >> 16); G = (Uint8)(pixel >> 8); B = (Uint8)pixel; in SDL_Blit_RGB888_RGB888_Modulate_Scale() 459 R = (Uint8)(pixel >> 16); G = (Uint8)(pixel >> 8); B = (Uint8)pixel; in SDL_Blit_RGB888_BGR888_Scale() 3481 … R = (Uint8)(pixel >> 16); G = (Uint8)(pixel >> 8); B = (Uint8)pixel; A = (Uint8)(pixel >> 24); in SDL_Blit_ARGB8888_ARGB8888_Modulate() 3537 … R = (Uint8)(pixel >> 16); G = (Uint8)(pixel >> 8); B = (Uint8)pixel; A = (Uint8)(pixel >> 24); in SDL_Blit_ARGB8888_ARGB8888_Modulate_Scale() 4591 … R = (Uint8)(pixel >> 24); G = (Uint8)(pixel >> 16); B = (Uint8)(pixel >> 8); A = (Uint8)pixel; in SDL_Blit_RGBA8888_ARGB8888_Scale() 4757 … R = (Uint8)(pixel >> 24); G = (Uint8)(pixel >> 16); B = (Uint8)(pixel >> 8); A = (Uint8)pixel; in SDL_Blit_RGBA8888_ARGB8888_Modulate() 4813 … R = (Uint8)(pixel >> 24); G = (Uint8)(pixel >> 16); B = (Uint8)(pixel >> 8); A = (Uint8)pixel; in SDL_Blit_RGBA8888_ARGB8888_Modulate_Scale() 5867 … B = (Uint8)(pixel >> 16); G = (Uint8)(pixel >> 8); R = (Uint8)pixel; A = (Uint8)(pixel >> 24); in SDL_Blit_ABGR8888_ARGB8888_Scale() 6033 … B = (Uint8)(pixel >> 16); G = (Uint8)(pixel >> 8); R = (Uint8)pixel; A = (Uint8)(pixel >> 24); in SDL_Blit_ABGR8888_ARGB8888_Modulate() [all …]
|
A D | SDL_blit_0.c | 35 Uint8 *src, *map, *dst; in BlitBto1() 90 Uint8 *src; in BlitBto2() 105 Uint8 byte = 0, bit; in BlitBto2() 127 Uint8 *src, *map, *dst; in BlitBto3() 141 Uint8 byte = 0, bit; in BlitBto3() 165 Uint8 *src; in BlitBto4() 203 Uint8 *src = info->src; in BlitBto1Key() 204 Uint8 *dst = info->dst; in BlitBto1Key() 256 Uint8 *src = info->src; in BlitBto2Key() 291 Uint8 *src = info->src; in BlitBto3Key() [all …]
|
A D | SDL_pixels.c | 776 Uint8 777 SDL_FindColor(SDL_Palette * pal, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_FindColor() 854 SDL_MapRGB(const SDL_PixelFormat * format, Uint8 r, Uint8 g, Uint8 b) in SDL_MapRGB() 867 SDL_MapRGBA(const SDL_PixelFormat * format, Uint8 r, Uint8 g, Uint8 b, in SDL_MapRGBA() 905 Uint8 * r, Uint8 * g, Uint8 * b, Uint8 * a) in SDL_GetRGBA() 930 static Uint8 * 933 Uint8 *map; in Map1to1() 964 static Uint8 * 965 Map1toN(SDL_PixelFormat * src, Uint8 Rmod, Uint8 Gmod, Uint8 Bmod, Uint8 Amod, in Map1toN() 968 Uint8 *map; in Map1toN() [all …]
|
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/ |
A D | SDL_hidapi_ps4.c | 63 Uint8 ucTriggerLeft; 84 Uint8 ucRumbleLeft; 85 Uint8 ucLedRed; 86 Uint8 ucLedGreen; 87 Uint8 ucLedBlue; 88 Uint8 ucLedDelayOn; 91 Uint8 ucVolumeLeft; 93 Uint8 ucVolumeMic; 103 Uint8 volume; 161 Uint8 data[16]; in CheckUSBConnected() [all …]
|
A D | SDL_hidapi_switch.c | 104 Uint8 rgucButtons[2]; 105 Uint8 ucStickHat; 113 Uint8 ucStickHat; 120 Uint8 ucCounter; 146 Uint8 ucLength; 178 Uint8 rgucData[4]; 183 Uint8 ucPacketType; 198 Uint8 ucPacketType; 552 Uint8 *pStickCal; in LoadStickCalibration() 663 static Uint8 RemapButton(SDL_DriverSwitch_Context *ctx, Uint8 button) in RemapButton() [all …]
|
/AliOS-Things-master/components/SDL2/src/render/opengles2/ |
A D | SDL_shaders_gles2.c | 39 static const Uint8 GLES2_VertexSrc_Default_[] = " \ 59 static const Uint8 GLES2_FragmentSrc_SolidSrc_[] = " \ 69 static const Uint8 GLES2_FragmentSrc_TextureABGRSrc_[] = " \ 83 static const Uint8 GLES2_FragmentSrc_TextureARGBSrc_[] = " \ 100 static const Uint8 GLES2_FragmentSrc_TextureRGBSrc_[] = " \ 118 static const Uint8 GLES2_FragmentSrc_TextureBGRSrc_[] = " \ 232 static const Uint8 GLES2_FragmentSrc_TextureYUVJPEGSrc_[] = \ 237 static const Uint8 GLES2_FragmentSrc_TextureYUVBT601Src_[] = \ 242 static const Uint8 GLES2_FragmentSrc_TextureYUVBT709Src_[] = \ 249 static const Uint8 GLES2_FragmentSrc_TextureNV12JPEGSrc_[] = \ [all …]
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_tga.c | 43 Uint8 infolen; /* length of info field */ 45 Uint8 type; 52 Uint8 xorigin[2]; 53 Uint8 width[2]; /* image size */ 54 Uint8 height[2]; 55 Uint8 pixel_bits; /* bits/pixel */ 56 Uint8 flags; 97 Uint8 *dst; in IMG_LoadTGA_RW() 208 Uint8 *pal = (Uint8 *)SDL_malloc(palsiz), *p = pal; in IMG_LoadTGA_RW() 252 dst = (Uint8 *)img->pixels; in IMG_LoadTGA_RW() [all …]
|
A D | IMG_pcx.c | 43 Uint8 Manufacturer; 44 Uint8 Version; 45 Uint8 Encoding; 46 Uint8 BitsPerPixel; 49 Uint8 Colormap[48]; 50 Uint8 Reserved; 51 Uint8 NPlanes; 56 Uint8 Filler[54]; 98 Uint8 *row, *buf = NULL; in IMG_LoadPCX_RW() 102 Uint8 ch; in IMG_LoadPCX_RW() [all …]
|
A D | IMG_lbm.c | 47 Uint8 planes; /* number of planes of the bitmap */ 48 Uint8 mask; /* mask type ( 0 => no mask ) */ 49 Uint8 tcomp; /* compression type */ 50 Uint8 pad1; /* dummy value, for padding */ 52 Uint8 xAspect, /* pixel aspect ratio */ 62 Uint8 magic[4+4+4]; in IMG_isLBM() 92 Uint8 flagHAM,flagEHB; in IMG_LoadLBM_RW() 369 ptr = (Uint8 *)Image->pixels; in IMG_LoadLBM_RW() 413 Uint8 maskBit = 0x80; in IMG_LoadLBM_RW() 418 Uint8 dataBody; in IMG_LoadLBM_RW() [all …]
|
/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_keyboard.c | 46 Uint8 keysource[SDL_NUM_SCANCODES]; 47 Uint8 keystate[SDL_NUM_SCANCODES]; 527 Uint8 *p = (Uint8 *) dst; in SDL_UCS4ToUTF8() 529 *p = (Uint8) ch; in SDL_UCS4ToUTF8() 533 p[1] = 0x80 | (Uint8) (ch & 0x3F); in SDL_UCS4ToUTF8() 538 p[2] = 0x80 | (Uint8) (ch & 0x3F); in SDL_UCS4ToUTF8() 544 p[3] = 0x80 | (Uint8) (ch & 0x3F); in SDL_UCS4ToUTF8() 551 p[4] = 0x80 | (Uint8) (ch & 0x3F); in SDL_UCS4ToUTF8() 684 SDL_SendKeyboardKeyInternal(Uint8 source, Uint8 state, SDL_Scancode scancode) in SDL_SendKeyboardKeyInternal() 691 Uint8 repeat = SDL_FALSE; in SDL_SendKeyboardKeyInternal() [all …]
|