Home
last modified time | relevance | path

Searched refs:Uint16 (Results 1 – 25 of 109) sorted by relevance

12345

/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_haptic.h458 Uint16 type; /**< ::SDL_HAPTIC_CONSTANT */
463 Uint16 delay; /**< Delay before starting the effect. */
466 Uint16 button; /**< Button that triggers the effect. */
467 Uint16 interval; /**< How soon it can be triggered again after button. */
473 Uint16 attack_length; /**< Duration of the attack. */
474 Uint16 attack_level; /**< Level at the start of the attack. */
475 Uint16 fade_length; /**< Duration of the fade. */
476 Uint16 fade_level; /**< Level at the end of the fade. */
539 Uint16 type; /**< ::SDL_HAPTIC_SINE, ::SDL_HAPTIC_LEFTRIGHT,
546 Uint16 delay; /**< Delay before starting the effect. */
[all …]
DSDL_endian.h70 SDL_FORCE_INLINE Uint16
71 SDL_Swap16(Uint16 x) in SDL_Swap16()
77 SDL_FORCE_INLINE Uint16
78 SDL_Swap16(Uint16 x)
84 SDL_FORCE_INLINE Uint16
85 SDL_Swap16(Uint16 x)
90 return (Uint16)result;
93 SDL_FORCE_INLINE Uint16
94 SDL_Swap16(Uint16 x)
100 SDL_FORCE_INLINE Uint16
[all …]
DSDL_test_fuzzer.h86 Uint16 SDLTest_RandomUint16();
188 Uint16 SDLTest_RandomUint16BoundaryValue(Uint16 boundary1, Uint16 boundary2, SDL_bool validDomain);
DSDL_rwops.h200 extern DECLSPEC Uint16 SDLCALL SDL_ReadLE16(SDL_RWops * src);
201 extern DECLSPEC Uint16 SDLCALL SDL_ReadBE16(SDL_RWops * src);
215 extern DECLSPEC size_t SDLCALL SDL_WriteLE16(SDL_RWops * dst, Uint16 value);
216 extern DECLSPEC size_t SDLCALL SDL_WriteBE16(SDL_RWops * dst, Uint16 value);
DSDL_video.h938 const Uint16 * red,
939 const Uint16 * green,
940 const Uint16 * blue);
958 Uint16 * red,
959 Uint16 * green,
960 Uint16 * blue);
/third_party/flutter/skia/third_party/externals/sdl/src/audio/
DSDL_audiotypecvt.c86 Uint16 *dst; in SDL_Convert_U8_to_U16LSB()
93 dst = ((Uint16 *) (cvt->buf + cvt->len_cvt * 2)) - 1; in SDL_Convert_U8_to_U16LSB()
95 const Uint16 val = (((Uint16) *src) << 8); in SDL_Convert_U8_to_U16LSB()
134 Uint16 *dst; in SDL_Convert_U8_to_U16MSB()
141 dst = ((Uint16 *) (cvt->buf + cvt->len_cvt * 2)) - 1; in SDL_Convert_U8_to_U16MSB()
143 const Uint16 val = (((Uint16) *src) << 8); in SDL_Convert_U8_to_U16MSB()
301 Uint16 *dst; in SDL_Convert_S8_to_U16LSB()
308 dst = ((Uint16 *) (cvt->buf + cvt->len_cvt * 2)) - 1; in SDL_Convert_S8_to_U16LSB()
310 const Uint16 val = (((Uint16) ((((Sint8) *src)) ^ 0x80)) << 8); in SDL_Convert_S8_to_U16LSB()
349 Uint16 *dst; in SDL_Convert_S8_to_U16MSB()
[all …]
DSDL_wave.h51 Uint16 encoding;
52 Uint16 channels; /* 1 = mono, 2 = stereo */
55 Uint16 blockalign; /* Bytes per sample block */
56 Uint16 bitspersample; /* One of 8, 12, 16, or 4 for ADPCM */
DSDL_audiocvt.c83 sample = (Uint16) ((src[0] << 8) | src[1]) + in SDL_ConvertMono()
84 (Uint16) ((src[2] << 8) | src[3]); in SDL_ConvertMono()
94 sample = (Uint16) ((src[1] << 8) | src[0]) + in SDL_ConvertMono()
95 (Uint16) ((src[3] << 8) | src[2]); in SDL_ConvertMono()
221 strip_chans_6_to_2(Uint16); in SDL_ConvertStrip()
267 strip_chans_6_to_4(Uint16); in SDL_ConvertStrip_2()
310 dup_chans_1_to_2(Uint16); in SDL_ConvertStereo()
386 Uint16 lf, rf, ce, lr, rr; in SDL_ConvertSurround()
395 lf = (Uint16) ((src[0] << 8) | src[1]); in SDL_ConvertSurround()
396 rf = (Uint16) ((src[2] << 8) | src[3]); in SDL_ConvertSurround()
[all …]
DSDL_wave.c34 Uint16 iDelta;
41 Uint16 wSamplesPerBlock;
42 Uint16 wNumCoef;
65 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
68 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
70 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
77 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
79 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
112 state->iDelta = (Uint16) delta; in MS_ADPCM_nibble()
226 Uint16 wSamplesPerBlock;
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/software/
DSDL_blendline.c54 HLINE(Uint16, DRAW_SETPIXEL_BLEND_RGB, draw_end); in SDL_BlendLine_RGB2()
57 HLINE(Uint16, DRAW_SETPIXEL_ADD_RGB, draw_end); in SDL_BlendLine_RGB2()
60 HLINE(Uint16, DRAW_SETPIXEL_MOD_RGB, draw_end); in SDL_BlendLine_RGB2()
63 HLINE(Uint16, DRAW_SETPIXEL_RGB, draw_end); in SDL_BlendLine_RGB2()
69 VLINE(Uint16, DRAW_SETPIXEL_BLEND_RGB, draw_end); in SDL_BlendLine_RGB2()
72 VLINE(Uint16, DRAW_SETPIXEL_ADD_RGB, draw_end); in SDL_BlendLine_RGB2()
75 VLINE(Uint16, DRAW_SETPIXEL_MOD_RGB, draw_end); in SDL_BlendLine_RGB2()
78 VLINE(Uint16, DRAW_SETPIXEL_RGB, draw_end); in SDL_BlendLine_RGB2()
84 DLINE(Uint16, DRAW_SETPIXEL_BLEND_RGB, draw_end); in SDL_BlendLine_RGB2()
87 DLINE(Uint16, DRAW_SETPIXEL_ADD_RGB, draw_end); in SDL_BlendLine_RGB2()
[all …]
DSDL_blendfillrect.c37 FILLRECT(Uint16, DRAW_SETPIXEL_BLEND_RGB555); in SDL_BlendFillRect_RGB555()
40 FILLRECT(Uint16, DRAW_SETPIXEL_ADD_RGB555); in SDL_BlendFillRect_RGB555()
43 FILLRECT(Uint16, DRAW_SETPIXEL_MOD_RGB555); in SDL_BlendFillRect_RGB555()
46 FILLRECT(Uint16, DRAW_SETPIXEL_RGB555); in SDL_BlendFillRect_RGB555()
60 FILLRECT(Uint16, DRAW_SETPIXEL_BLEND_RGB565); in SDL_BlendFillRect_RGB565()
63 FILLRECT(Uint16, DRAW_SETPIXEL_ADD_RGB565); in SDL_BlendFillRect_RGB565()
66 FILLRECT(Uint16, DRAW_SETPIXEL_MOD_RGB565); in SDL_BlendFillRect_RGB565()
69 FILLRECT(Uint16, DRAW_SETPIXEL_RGB565); in SDL_BlendFillRect_RGB565()
132 FILLRECT(Uint16, DRAW_SETPIXEL_BLEND_RGB); in SDL_BlendFillRect_RGB()
135 FILLRECT(Uint16, DRAW_SETPIXEL_ADD_RGB); in SDL_BlendFillRect_RGB()
[all …]
DSDL_draw.h35 #define DRAW_FASTSETPIXEL2 DRAW_FASTSETPIXEL(Uint16)
43 #define DRAW_FASTSETPIXELXY2(x, y) DRAW_FASTSETPIXELXY(x, y, Uint16, 2, color)
110 DRAW_SETPIXELXY(x, y, Uint16, 2, DRAW_SETPIXEL_RGB555)
113 DRAW_SETPIXELXY(x, y, Uint16, 2, DRAW_SETPIXEL_BLEND_RGB555)
116 DRAW_SETPIXELXY(x, y, Uint16, 2, DRAW_SETPIXEL_ADD_RGB555)
119 DRAW_SETPIXELXY(x, y, Uint16, 2, DRAW_SETPIXEL_MOD_RGB555)
141 DRAW_SETPIXELXY(x, y, Uint16, 2, DRAW_SETPIXEL_RGB565)
144 DRAW_SETPIXELXY(x, y, Uint16, 2, DRAW_SETPIXEL_BLEND_RGB565)
147 DRAW_SETPIXELXY(x, y, Uint16, 2, DRAW_SETPIXEL_ADD_RGB565)
150 DRAW_SETPIXELXY(x, y, Uint16, 2, DRAW_SETPIXEL_MOD_RGB565)
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_RLEaccel.c144 Uint16 *src = (Uint16 *)(from); \
145 Uint16 *dst = (Uint16 *)(to); \
154 *dst++ = (Uint16)(d | d >> 16); \
161 Uint16 *src = (Uint16 *)(from); \
162 Uint16 *dst = (Uint16 *)(to); \
171 *dst++ = (Uint16)(d | d >> 16); \
188 s = *(Uint16 *)src; \
189 d = *(Uint16 *)dst; \
213 *(Uint16 *)dst = (Uint16)d; \
266 *dst++ = (Uint16)((((s & mask) + (d & mask)) >> 1) + \
[all …]
DSDL_blit_A.c597 Blit16to16SurfaceAlpha128(SDL_BlitInfo * info, Uint16 mask) in Blit16to16SurfaceAlpha128()
601 Uint16 *srcp = (Uint16 *) info->src; in Blit16to16SurfaceAlpha128()
603 Uint16 *dstp = (Uint16 *) info->dst; in Blit16to16SurfaceAlpha128()
618 Uint16 d = *dstp, s = *srcp; in Blit16to16SurfaceAlpha128()
647 Uint16 d = *dstp, s; in Blit16to16SurfaceAlpha128()
649 s = (Uint16) prev_sw; in Blit16to16SurfaceAlpha128()
651 s = (Uint16) (prev_sw >> 16); in Blit16to16SurfaceAlpha128()
665 Uint16 d = *dstp, s = *srcp; in Blit16to16SurfaceAlpha128()
684 Uint16 d = *dstp, s = *srcp; in Blit16to16SurfaceAlpha128()
707 Uint16 *srcp = (Uint16 *) info->src; in Blit565to565SurfaceAlphaMMX()
[all …]
DSDL_blit_1.c88 Uint16 *map; in Blit1to2()
98 map = (Uint16 *) info->table; in Blit1to2()
105 *(Uint16 *)dst = map[*src++]; in Blit1to2()
124 *(Uint16 *) dst = map[*src++]; in Blit1to2()
139 *(Uint16 *) dst = map[*src++]; in Blit1to2()
147 *(Uint16 *) dst = map[*src++]; in Blit1to2()
168 *(Uint16 *) dst = map[*src++]; in Blit1to2()
176 *(Uint16 *) dst = map[*src++]; in Blit1to2()
338 Uint16 *dstp = (Uint16 *) info->dst; in Blit1to2Key()
340 Uint16 *palmap = (Uint16 *) info->table; in Blit1to2Key()
DSDL_fillrect.c127 DEFINE_SSE_FILLRECT(2, Uint16)
176 Uint16 *p = NULL; in SDL_FillRect2()
180 p = (Uint16 *) pixels; in SDL_FillRect2()
184 *p++ = (Uint16) color; in SDL_FillRect2()
190 p[n - 1] = (Uint16) color; in SDL_FillRect2()
DSDL_blit.c70 (Uint16) srcrect->y * src->pitch + in SDL_SoftBlit()
71 (Uint16) srcrect->x * info->src_fmt->BytesPerPixel; in SDL_SoftBlit()
78 (Uint8 *) dst->pixels + (Uint16) dstrect->y * dst->pitch + in SDL_SoftBlit()
79 (Uint16) dstrect->x * info->dst_fmt->BytesPerPixel; in SDL_SoftBlit()
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_iconv.c325 *(Uint16 *) dst = UNICODE_BOM; in SDL_iconv()
479 Uint16 W1, W2; in SDL_iconv()
483 W1 = ((Uint16) p[0] << 8) | (Uint16) p[1]; in SDL_iconv()
501 W2 = ((Uint16) p[0] << 8) | (Uint16) p[1]; in SDL_iconv()
518 Uint16 W1, W2; in SDL_iconv()
522 W1 = ((Uint16) p[1] << 8) | (Uint16) p[0]; in SDL_iconv()
540 W2 = ((Uint16) p[1] << 8) | (Uint16) p[0]; in SDL_iconv()
719 Uint16 W1, W2; in SDL_iconv()
724 W1 = 0xD800 | (Uint16) ((ch >> 10) & 0x3FF); in SDL_iconv()
725 W2 = 0xDC00 | (Uint16) (ch & 0x3FF); in SDL_iconv()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestplatform.c39 if (badsize(sizeof(Uint16), 2)) { in TestTypes()
42 (unsigned int)sizeof(Uint16)); in TestTypes()
67 Uint16 value = 0x1234; in TestEndian()
69 Uint16 value16 = 0xCDAB; in TestEndian()
70 Uint16 swapped16 = 0xABCD; in TestEndian()
Dtestautomation_platform.c39 ret = _compareSizeOfType( sizeof(Uint16), 2 ); in platform_testTypes()
40 …SDLTest_AssertCheck( ret == 0, "sizeof(Uint16) = %lu, expected 2", (unsigned long)sizeof(Uint16) ); in platform_testTypes()
57 Uint16 value = 0x1234; in platform_testEndianessAndSwap()
58 Uint16 value16 = 0xCDAB; in platform_testEndianessAndSwap()
59 Uint16 swapped16 = 0xABCD; in platform_testEndianessAndSwap()
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_keyboard.c42 Uint16 modstate;
667 Uint16 modstate; in SDL_SendKeyboardKey()
979 key = (Uint16)(name[i]&0x07) << 18; in SDL_GetKeyFromName()
980 key |= (Uint16)(name[++i]&0x3F) << 12; in SDL_GetKeyFromName()
981 key |= (Uint16)(name[++i]&0x3F) << 6; in SDL_GetKeyFromName()
982 key |= (Uint16)(name[++i]&0x3F); in SDL_GetKeyFromName()
989 key = (Uint16)(name[i]&0x0F) << 12; in SDL_GetKeyFromName()
990 key |= (Uint16)(name[++i]&0x3F) << 6; in SDL_GetKeyFromName()
991 key |= (Uint16)(name[++i]&0x3F); in SDL_GetKeyFromName()
998 key = (Uint16)(name[i]&0x1F) << 6; in SDL_GetKeyFromName()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/
DSDL_yuv_mmx.c247 Uint16 *row1; in Color565DitherYV12MMX1X()
248 Uint16 *row2; in Color565DitherYV12MMX1X()
252 row1 = (Uint16 *)out; /* 16 bit target */ in Color565DitherYV12MMX1X()
253 row2 = (Uint16 *)out+cols+mod; /* start of second row */ in Color565DitherYV12MMX1X()
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_fuzzer.c33 #define UINT16_MAX ~(Uint16)0
93 Uint16
98 return (Uint16) SDLTest_RandomInt(&rndContext) & 0x0000FFFF; in SDLTest_RandomUint16()
273 Uint16
274 SDLTest_RandomUint16BoundaryValue(Uint16 boundary1, Uint16 boundary2, SDL_bool validDomain) in SDLTest_RandomUint16BoundaryValue()
278 return (Uint16)SDLTest_GenerateUnsignedBoundaryValues(maxValue, in SDLTest_RandomUint16BoundaryValue()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DIndexFormatTests.cpp98 TEST_P(IndexFormatTest, Uint16) { in TEST_P() argument
99 wgpu::RenderPipeline pipeline = MakeTestPipeline(wgpu::IndexFormat::Uint16); in TEST_P()
113 pass.SetIndexBuffer(indexBuffer, wgpu::IndexFormat::Uint16); in TEST_P()
129 wgpu::RenderPipeline pipeline16 = MakeTestPipeline(wgpu::IndexFormat::Uint16); in TEST_P()
216 pass.SetIndexBuffer(indexBuffer16, wgpu::IndexFormat::Uint16); in TEST_P()
330 wgpu::RenderPipeline pipeline = MakeTestPipeline(wgpu::IndexFormat::Uint16); in TEST_P()
351 pass.SetIndexBuffer(indexBuffer, wgpu::IndexFormat::Uint16); in TEST_P()
449 MakeTestPipeline(wgpu::IndexFormat::Uint16, wgpu::PrimitiveTopology::LineStrip); in TEST_P()
461 pass.SetIndexBuffer(indexBuffer, wgpu::IndexFormat::Uint16); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DIndexBufferValidationTests.cpp156 wgpu::RenderPipeline pipeline16 = MakeTestPipeline(wgpu::IndexFormat::Uint16, in TEST_F()
171 encoder.SetIndexBuffer(indexBuffer, wgpu::IndexFormat::Uint16); in TEST_F()
188 encoder.SetIndexBuffer(indexBuffer, wgpu::IndexFormat::Uint16); in TEST_F()
205 encoder.SetIndexBuffer(indexBuffer, wgpu::IndexFormat::Uint16); in TEST_F()
282 pass.SetIndexBuffer(indexBuffer, wgpu::IndexFormat::Uint16, 0); in TEST_F()
283 pass.SetIndexBuffer(indexBuffer, wgpu::IndexFormat::Uint16, 2); in TEST_F()
300 pass.SetIndexBuffer(indexBuffer, wgpu::IndexFormat::Uint16, 1); in TEST_F()

12345