Home
last modified time | relevance | path

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

123456

/external/qemu/distrib/sdl-1.2.15/include/
DSDL_endian.h75 static __inline__ Uint16 SDL_Swap16(Uint16 x) in SDL_Swap16()
81 static __inline__ Uint16 SDL_Swap16(Uint16 x)
87 static __inline__ Uint16 SDL_Swap16(Uint16 x)
92 return (Uint16)result;
95 static __inline__ Uint16 SDL_Swap16(Uint16 x)
101 static __inline__ Uint16 SDL_Swap16(Uint16 x) {
102 return SDL_static_cast(Uint16, ((x<<8)|(x>>8)));
DSDL_audio.h76 Uint16 format; /**< Audio data format */
79 Uint16 samples; /**< Audio buffer size in samples (power of 2) */
80 Uint16 padding; /**< Necessary for some compile environments */
128 Uint16 src_format; /**< Source audio format */
129 Uint16 dst_format; /**< Target audio format */
136 void (SDLCALL *filters[10])(struct SDL_AudioCVT *cvt, Uint16 format);
235 Uint16 src_format, Uint8 src_channels, int src_rate,
236 Uint16 dst_format, Uint8 dst_channels, int dst_rate);
DSDL_video.h52 Uint16 w, h;
100 Uint16 pitch; /**< Read-only */
212 Uint16 *pitches; /**< Read-only */
438 extern DECLSPEC int SDLCALL SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *…
449 extern DECLSPEC int SDLCALL SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue);
DSDL_rwops.h131 extern DECLSPEC Uint16 SDLCALL SDL_ReadLE16(SDL_RWops *src);
132 extern DECLSPEC Uint16 SDLCALL SDL_ReadBE16(SDL_RWops *src);
141 extern DECLSPEC int SDLCALL SDL_WriteLE16(SDL_RWops *dst, Uint16 value);
142 extern DECLSPEC int SDLCALL SDL_WriteBE16(SDL_RWops *dst, Uint16 value);
/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_gamma.c41 static void CalculateGammaRamp(float gamma, Uint16 *ramp) in CalculateGammaRamp()
67 ramp[i] = (Uint16)value; in CalculateGammaRamp()
71 static void CalculateGammaFromRamp(float *gamma, Uint16 *ramp) in CalculateGammaFromRamp()
102 Uint16 ramp[3][256]; in SDL_SetGamma()
128 Uint16 ramp[3][256]; in SDL_GetGamma()
144 int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue) in SDL_SetGammaRamp()
196 int SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue) in SDL_GetGammaRamp()
DSDL_RLEaccel.c204 Uint16 *srcp = (Uint16 *)(from); \
205 Uint16 *dstp = (Uint16 *)(to); \
294 Uint16 *srcp = (Uint16 *)(from); \
295 Uint16 *dstp = (Uint16 *)(to); \
417 Uint16 *src = (Uint16 *)(from); \
418 Uint16 *dst = (Uint16 *)(to); \
427 *dst++ = (Uint16)(d | d >> 16); \
434 Uint16 *src = (Uint16 *)(from); \
435 Uint16 *dst = (Uint16 *)(to); \
444 *dst++ = (Uint16)(d | d >> 16); \
[all …]
DSDL_blit_1.c84 Uint16 *map; in Blit1to2()
94 map = (Uint16 *)info->table; in Blit1to2()
100 *(Uint16 *)dst = map[*src++]; in Blit1to2()
118 *(Uint16 *)dst = map[*src++]; in Blit1to2()
135 *(Uint16 *)dst = map[*src++]; in Blit1to2()
144 *(Uint16 *)dst = map[*src++]; in Blit1to2()
167 *(Uint16 *)dst = map[*src++]; in Blit1to2()
176 *(Uint16 *)dst = map[*src++]; in Blit1to2()
324 Uint16 *dstp = (Uint16 *)info->d_pixels; in Blit1to2Key()
326 Uint16 *palmap = (Uint16 *)info->table; in Blit1to2Key()
DSDL_yuv_mmx.c246 Uint16 *row1; in Color565DitherYV12MMX1X()
247 Uint16 *row2; in Color565DitherYV12MMX1X()
251 row1 = (Uint16 *)out; /* 16 bit target */ in Color565DitherYV12MMX1X()
252 row2 = (Uint16 *)out+cols+mod; /* start of second row */ in Color565DitherYV12MMX1X()
DSDL_bmp.c67 Uint16 bfReserved1; in SDL_LoadBMP_RW()
68 Uint16 bfReserved2; in SDL_LoadBMP_RW()
75 Uint16 biPlanes; in SDL_LoadBMP_RW()
76 Uint16 biBitCount; in SDL_LoadBMP_RW()
315 Uint16 *pix = (Uint16 *)bits; in SDL_LoadBMP_RW()
370 Uint16 bfReserved1; in SDL_SaveBMP_RW()
371 Uint16 bfReserved2; in SDL_SaveBMP_RW()
378 Uint16 biPlanes; in SDL_SaveBMP_RW()
379 Uint16 biBitCount; in SDL_SaveBMP_RW()
DSDL_blit.h117 Pixel = *((Uint16 *)(buf)); \
144 Pixel = *((Uint16 *)(buf)); \
200 Uint16 Pixel; \
203 *((Uint16 *)(buf)) = Pixel; \
233 Uint16 *bufp; \
234 Uint16 Pixel; \
236 bufp = (Uint16 *)buf; \
307 Pixel = *((Uint16 *)(buf)); \
354 Uint16 Pixel; \
357 *((Uint16 *)(buf)) = Pixel; \
/external/qemu/distrib/sdl-1.2.15/src/audio/
DSDL_audiocvt.c30 void SDLCALL SDL_ConvertMono(SDL_AudioCVT *cvt, Uint16 format) in SDL_ConvertMono()
75 sample = (Uint16)((src[0]<<8)|src[1])+ in SDL_ConvertMono()
76 (Uint16)((src[2]<<8)|src[3]); in SDL_ConvertMono()
86 sample = (Uint16)((src[1]<<8)|src[0])+ in SDL_ConvertMono()
87 (Uint16)((src[3]<<8)|src[2]); in SDL_ConvertMono()
137 void SDLCALL SDL_ConvertStrip(SDL_AudioCVT *cvt, Uint16 format) in SDL_ConvertStrip()
182 lsample = (Uint16)((src[0]<<8)|src[1]); in SDL_ConvertStrip()
183 rsample = (Uint16)((src[2]<<8)|src[3]); in SDL_ConvertStrip()
195 lsample = (Uint16)((src[1]<<8)|src[0]); in SDL_ConvertStrip()
196 rsample = (Uint16)((src[3]<<8)|src[2]); in SDL_ConvertStrip()
[all …]
DSDL_wave.h48 Uint16 encoding;
49 Uint16 channels; /* 1 = mono, 2 = stereo */
52 Uint16 blockalign; /* Bytes per sample block */
53 Uint16 bitspersample; /* One of 8, 12, 16, or 4 for ADPCM */
DSDL_audio_c.h27 extern Uint16 SDL_FirstAudioFormat(Uint16 format);
28 extern Uint16 SDL_NextAudioFormat(void);
DSDL_wave.c34 Uint16 iDelta;
40 Uint16 wSamplesPerBlock;
41 Uint16 wNumCoef;
62 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
65 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
67 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
74 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
76 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
109 state->iDelta = (Uint16)delta; in MS_ADPCM_nibble()
220 Uint16 wSamplesPerBlock;
[all …]
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
DSDL_iconv.c285 *(Uint16 *)dst = UNICODE_BOM; in SDL_iconv()
440 Uint16 W1, W2; in SDL_iconv()
444 W1 = ((Uint16)p[0] << 8) | in SDL_iconv()
445 (Uint16)p[1]; in SDL_iconv()
463 W2 = ((Uint16)p[0] << 8) | in SDL_iconv()
464 (Uint16)p[1]; in SDL_iconv()
481 Uint16 W1, W2; in SDL_iconv()
485 W1 = ((Uint16)p[1] << 8) | in SDL_iconv()
486 (Uint16)p[0]; in SDL_iconv()
504 W2 = ((Uint16)p[1] << 8) | in SDL_iconv()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
DSDL_riscosmouse_c.h40 void FULLSCREEN_WarpWMCursor(_THIS, Uint16 x, Uint16 y);
43 void WIMP_WarpWMCursor(_THIS, Uint16 x, Uint16 y);
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/
DSDL_xbios.h38 Uint16 number; /* Video mode number */
39 Uint16 width; /* Size */
40 Uint16 height;
41 Uint16 depth; /* bits per plane */
42 Uint16 flags;
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
DSDL_ikbdinterrupt_s.h48 extern volatile Uint16 SDL_AtariIkbd_mouseb; /* Mouse on port 0, buttons */
51 extern volatile Uint16 SDL_AtariIkbd_joystick; /* Joystick on port 1 */
54 extern Uint16 SDL_AtariIkbd_enabled;
DSDL_xbiosinterrupt_s.h39 extern volatile Uint16 SDL_AtariXbios_mouselock; /* mouse lock position */
40 extern volatile Uint16 SDL_AtariXbios_mouseb; /* buttons */
43 extern volatile Uint16 SDL_AtariXbios_joystick; /* Joystick */
/external/qemu/distrib/sdl-1.2.15/src/video/gem/
DSDL_gemvideo.h51 Uint16 buf2scr_ops; /* Operations to get buffer to screen */
61 Uint16 pitch; /* Line length */
62 Uint16 format; /* Screen format */
68 Uint16 old_palette[256][3]; /* Saved current palette */
69 Uint16 cur_palette[256][3]; /* SDL application palette */
71 void (*setpalette)(_THIS, Uint16 newpal[256][3]);
DSDL_gemmouse.c71 Uint16 *data1, *mask1; in GEM_CreateWMCursor()
110 data1 = (Uint16 *) &data[i<<1]; in GEM_CreateWMCursor()
111 mask1 = (Uint16 *) &mask[i<<1]; in GEM_CreateWMCursor()
155 void GEM_WarpWMCursor(_THIS, Uint16 x, Uint16 y)
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/
DSDL_wsconsvideo.c408 Uint16 *src_pos = (Uint16 *)byte_src_pos; in WSCONS_blit16()
409 Uint16 *dst_pos = (Uint16 *)byte_dst_pos; in WSCONS_blit16()
412 Uint16 *src = src_pos; in WSCONS_blit16()
413 Uint16 *dst = dst_pos; in WSCONS_blit16()
419 dst_pos = (Uint16 *)((Uint8 *)dst_pos + dst_linebytes); in WSCONS_blit16()
437 Uint16 *src_pos = (Uint16 *)byte_src_pos; in WSCONS_blit16blocked()
438 Uint16 *dst_pos = (Uint16 *)byte_dst_pos; in WSCONS_blit16blocked()
441 Uint16 *src = src_pos; in WSCONS_blit16blocked()
442 Uint16 *dst = dst_pos; in WSCONS_blit16blocked()
454 dst_pos = (Uint16 *)((Uint8 *)dst_pos + dst_linebytes * BLOCKSIZE_H); in WSCONS_blit16blocked()
/external/qemu/distrib/sdl-1.2.15/test/
Dtestplatform.c28 if ( badsize(sizeof(Uint16), 2) ) { in TestTypes()
31 (unsigned long) sizeof(Uint16)); in TestTypes()
61 Uint16 value = 0x1234; in TestEndian()
63 Uint16 value16 = 0xCDAB; in TestEndian()
64 Uint16 swapped16 = 0xABCD; in TestEndian()
Dtestalpha.c26 Uint16 *buffer16; in FillBackground()
27 Uint16 color; in FillBackground()
48 color = (Uint16)SDL_MapRGB(screen->format, gradient, gradient, gradient); in FillBackground()
49 buffer16=(Uint16*)buffer; in FillBackground()
68 Uint16 x, y; in CreateLight()
69 Uint16 skip; in CreateLight()
74 Uint16 *buf; in CreateLight()
97 buf = (Uint16 *)light->pixels; in CreateLight()
112 buf = (Uint16 *)light->pixels; in CreateLight()
241 void AttractSprite(Uint16 x, Uint16 y) in AttractSprite()
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
DSDL_nxvideo.c50 static int NX_SetGammaRamp (_THIS, Uint16 * ramp) ;
51 static int NX_GetGammaRamp (_THIS, Uint16 * ramp) ;
485 static int NX_SetGammaRamp (_THIS, Uint16 * ramp) in NX_SetGammaRamp()
488 Uint16 * red, * green, * blue ; in NX_SetGammaRamp()
494 if (! GammaRamp_R) GammaRamp_R = (Uint16 *) SDL_malloc (sizeof (Uint16) * CI_SIZE) ; in NX_SetGammaRamp()
495 if (! GammaRamp_G) GammaRamp_G = (Uint16 *) SDL_malloc (sizeof (Uint16) * CI_SIZE) ; in NX_SetGammaRamp()
496 if (! GammaRamp_B) GammaRamp_B = (Uint16 *) SDL_malloc (sizeof (Uint16) * CI_SIZE) ; in NX_SetGammaRamp()
520 static int NX_GetGammaRamp (_THIS, Uint16 * ramp) in NX_GetGammaRamp()
523 Uint16 * red, * green, * blue ; in NX_GetGammaRamp()

123456