Home
last modified time | relevance | path

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

12345

/external/qemu/distrib/sdl-1.2.12/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_wave.c34 Uint16 iDelta;
40 Uint16 wSamplesPerBlock;
41 Uint16 wNumCoef;
50 Uint16 extra_info; in InitMS_ADPCM()
64 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
67 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
69 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
76 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
78 rogue_feel += sizeof(Uint16); in InitMS_ADPCM()
111 state->iDelta = (Uint16)delta; in MS_ADPCM_nibble()
[all …]
DSDL_audio_c.h27 extern Uint16 SDL_FirstAudioFormat(Uint16 format);
28 extern Uint16 SDL_NextAudioFormat(void);
/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_RLEaccel.c203 Uint16 *srcp = (Uint16 *)(from); \
204 Uint16 *dstp = (Uint16 *)(to); \
293 Uint16 *srcp = (Uint16 *)(from); \
294 Uint16 *dstp = (Uint16 *)(to); \
416 Uint16 *src = (Uint16 *)(from); \
417 Uint16 *dst = (Uint16 *)(to); \
426 *dst++ = (Uint16)(d | d >> 16); \
433 Uint16 *src = (Uint16 *)(from); \
434 Uint16 *dst = (Uint16 *)(to); \
443 *dst++ = (Uint16)(d | d >> 16); \
[all …]
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_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_bmp.c65 Uint16 bfReserved1; in SDL_LoadBMP_RW()
66 Uint16 bfReserved2; in SDL_LoadBMP_RW()
73 Uint16 biPlanes; in SDL_LoadBMP_RW()
74 Uint16 biBitCount; in SDL_LoadBMP_RW()
291 Uint16 *pix = (Uint16 *)bits; in SDL_LoadBMP_RW()
341 Uint16 bfReserved1; in SDL_SaveBMP_RW()
342 Uint16 bfReserved2; in SDL_SaveBMP_RW()
349 Uint16 biPlanes; in SDL_SaveBMP_RW()
350 Uint16 biBitCount; in SDL_SaveBMP_RW()
DSDL_blit_A.c1773 static void Blit16to16SurfaceAlpha128(SDL_BlitInfo *info, Uint16 mask) in Blit16to16SurfaceAlpha128()
1777 Uint16 *srcp = (Uint16 *)info->s_pixels; in Blit16to16SurfaceAlpha128()
1779 Uint16 *dstp = (Uint16 *)info->d_pixels; in Blit16to16SurfaceAlpha128()
1794 Uint16 d = *dstp, s = *srcp; in Blit16to16SurfaceAlpha128()
1823 Uint16 d = *dstp, s; in Blit16to16SurfaceAlpha128()
1825 s = (Uint16)prev_sw; in Blit16to16SurfaceAlpha128()
1827 s = (Uint16)(prev_sw >> 16); in Blit16to16SurfaceAlpha128()
1841 Uint16 d = *dstp, s = *srcp; in Blit16to16SurfaceAlpha128()
1860 Uint16 d = *dstp, s = *srcp; in Blit16to16SurfaceAlpha128()
1881 Uint16 *srcp = (Uint16 *)info->s_pixels; in Blit565to565SurfaceAlphaMMX()
[all …]
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_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.12/include/
DSDL_endian.h60 static __inline__ Uint16 SDL_Swap16(Uint16 x) in SDL_Swap16()
66 static __inline__ Uint16 SDL_Swap16(Uint16 x)
72 static __inline__ Uint16 SDL_Swap16(Uint16 x)
74 Uint16 result;
80 static __inline__ Uint16 SDL_Swap16(Uint16 x)
86 static __inline__ Uint16 SDL_Swap16(Uint16 x) {
DSDL_audio.h44 Uint16 format; /* Audio data format */
47 Uint16 samples; /* Audio buffer size in samples (power of 2) */
48 Uint16 padding; /* Necessary for some compile environments */
83 Uint16 src_format; /* Source audio format */
84 Uint16 dst_format; /* Target audio format */
91 void (SDLCALL *filters[10])(struct SDL_AudioCVT *cvt, Uint16 format);
209 Uint16 src_format, Uint8 src_channels, int src_rate,
210 Uint16 dst_format, Uint8 dst_channels, int dst_rate);
DSDL_video.h45 Uint16 w, h;
92 Uint16 pitch; /* Read-only */
187 Uint16 *pitches; /* Read-only */
395 extern DECLSPEC int SDLCALL SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *…
406 extern DECLSPEC int SDLCALL SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue);
DSDL_rwops.h122 extern DECLSPEC Uint16 SDLCALL SDL_ReadLE16(SDL_RWops *src);
123 extern DECLSPEC Uint16 SDLCALL SDL_ReadBE16(SDL_RWops *src);
130 extern DECLSPEC int SDLCALL SDL_WriteLE16(SDL_RWops *dst, Uint16 value);
131 extern DECLSPEC int SDLCALL SDL_WriteBE16(SDL_RWops *dst, Uint16 value);
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/
DSDL_xbios.h42 Uint16 number; /* Video mode number */
43 Uint16 width; /* Size */
44 Uint16 height;
45 Uint16 depth; /* bits per plane */
128 void SDL_XBIOS_AddMode(_THIS, Uint16 modecode, Uint16 width, Uint16 height,
129 Uint16 depth, SDL_bool flags);
/external/qemu/distrib/sdl-1.2.12/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.12/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.12/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.12/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()
/external/qemu/distrib/sdl-1.2.12/src/joystick/mint/
DSDL_sysjoystick.c160 static Uint16 jp_paddles[4];
161 static Uint16 jp_lightpens[2];
162 static Uint16 jp_directions;
163 static Uint16 jp_fires;
605 Uint16 fires;
606 Uint16 directions;
607 Uint16 dummy1[6];
608 Uint16 paddles[4];
609 Uint16 dummy2[4];
610 Uint16 lightpens[2];
[all …]
/external/qemu/distrib/sdl-1.2.12/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.c70 Uint16 *data1, *mask1; in GEM_CreateWMCursor()
109 data1 = (Uint16 *) &data[i<<1]; in GEM_CreateWMCursor()
110 mask1 = (Uint16 *) &mask[i<<1]; in GEM_CreateWMCursor()
154 void GEM_WarpWMCursor(_THIS, Uint16 x, Uint16 y)
/external/qemu/distrib/sdl-1.2.12/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 */

12345