Home
last modified time | relevance | path

Searched refs:Sint16 (Results 1 – 25 of 31) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.15/src/events/
DSDL_mouse.c33 static Sint16 SDL_MouseX = 0;
34 static Sint16 SDL_MouseY = 0;
35 static Sint16 SDL_DeltaX = 0;
36 static Sint16 SDL_DeltaY = 0;
37 static Sint16 SDL_MouseMaxX = 0;
38 static Sint16 SDL_MouseMaxY = 0;
94 static void ClipOffset(Sint16 *x, Sint16 *y) in ClipOffset()
108 SDL_MouseMaxX = (Sint16)maxX; in SDL_SetMouseRange()
109 SDL_MouseMaxY = (Sint16)maxY; in SDL_SetMouseRange()
113 int SDL_PrivateMouseMotion(Uint8 buttonstate, int relative, Sint16 x, Sint16 y) in SDL_PrivateMouseMotion()
[all …]
DSDL_events_c.h59 Sint16 x, Sint16 y);
60 extern int SDL_PrivateMouseButton(Uint8 state, Uint8 button,Sint16 x,Sint16 y);
/external/qemu/distrib/sdl-1.2.15/src/audio/
DSDL_wave.c35 Sint16 iSamp1;
36 Sint16 iSamp2;
42 Sint16 aCoeff[7][2];
82 Uint8 nybble, Sint16 *coeff) in MS_ADPCM_nibble()
111 state->iSamp1 = (Sint16)new_sample; in MS_ADPCM_nibble()
121 Sint16 *coeff[2]; in MS_ADPCM_decode()
130 MS_ADPCM_state.wavefmt.channels*sizeof(Sint16); in MS_ADPCM_decode()
149 encoded += sizeof(Sint16); in MS_ADPCM_decode()
152 encoded += sizeof(Sint16); in MS_ADPCM_decode()
155 encoded += sizeof(Sint16); in MS_ADPCM_decode()
[all …]
DSDL_audiocvt.c106 sample = (Sint16)((src[0]<<8)|src[1])+ in SDL_ConvertMono()
107 (Sint16)((src[2]<<8)|src[3]); in SDL_ConvertMono()
117 sample = (Sint16)((src[1]<<8)|src[0])+ in SDL_ConvertMono()
118 (Sint16)((src[3]<<8)|src[2]); in SDL_ConvertMono()
217 lsample = (Sint16)((src[0]<<8)|src[1]); in SDL_ConvertStrip()
218 rsample = (Sint16)((src[2]<<8)|src[3]); in SDL_ConvertStrip()
230 lsample = (Sint16)((src[1]<<8)|src[0]); in SDL_ConvertStrip()
231 rsample = (Sint16)((src[3]<<8)|src[2]); in SDL_ConvertStrip()
333 lsample = (Sint16)((src[0]<<8)|src[1]); in SDL_ConvertStrip_2()
334 rsample = (Sint16)((src[2]<<8)|src[3]); in SDL_ConvertStrip_2()
[all …]
DSDL_mixer.c200 Sint16 src1, src2; in SDL_MixAudio()
232 Sint16 src1, src2; in SDL_MixAudio()
/external/qemu/distrib/sdl-1.2.15/src/joystick/
DSDL_joystick_c.h32 Uint8 axis, Sint16 value);
34 Uint8 ball, Sint16 xrel, Sint16 yrel);
DSDL_joystick.c129 joystick->axes = (Sint16 *)SDL_malloc in SDL_JoystickOpen()
130 (joystick->naxes*sizeof(Sint16)); in SDL_JoystickOpen()
155 joystick->naxes*sizeof(Sint16)); in SDL_JoystickOpen()
269 Sint16 SDL_JoystickGetAxis(SDL_Joystick *joystick, int axis) in SDL_JoystickGetAxis()
271 Sint16 state; in SDL_JoystickGetAxis()
432 int SDL_PrivateJoystickAxis(SDL_Joystick *joystick, Uint8 axis, Sint16 value) in SDL_PrivateJoystickAxis()
493 Sint16 xrel, Sint16 yrel) in SDL_PrivateJoystickBall()
DSDL_sysjoystick.h34 Sint16 *axes; /* Current axis states */
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_events.h139 Sint16 xrel; /**< The relative motion in the X direction */
140 Sint16 yrel; /**< The relative motion in the Y direction */
157 Sint16 value; /**< The axis value (range: -32768 to 32767) */
165 Sint16 xrel; /**< The relative motion in the X direction */
166 Sint16 yrel; /**< The relative motion in the Y direction */
DSDL_mouse.h43 Sint16 hot_x, hot_y; /**< The "tip" of the cursor */
DSDL_joystick.h134 extern DECLSPEC Sint16 SDLCALL SDL_JoystickGetAxis(SDL_Joystick *joystick, int axis);
DSDL_stdinc.h100 typedef int16_t Sint16; typedef
128 SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2);
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
DSDL_ikbdinterrupt_s.h49 extern volatile Sint16 SDL_AtariIkbd_mousex; /* Mouse X relative motion */
50 extern volatile Sint16 SDL_AtariIkbd_mousey; /* Mouse Y relative motion */
DSDL_xbiosinterrupt_s.h41 extern volatile Sint16 SDL_AtariXbios_mousex; /* X relative motion */
42 extern volatile Sint16 SDL_AtariXbios_mousey; /* Y relative motion */
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
DSDL_dx5events.c296 static void post_mouse_motion(int relative, Sint16 x, Sint16 y) in post_mouse_motion()
363 Sint16 xrel, yrel; in handle_mouse()
387 post_mouse_motion( 0, (Sint16)mouse_pos.x, (Sint16)mouse_pos.y); in handle_mouse()
469 xrel += (Sint16)ptrbuf[i].dwData; in handle_mouse()
480 yrel += (Sint16)ptrbuf[i].dwData; in handle_mouse()
/external/qemu/distrib/sdl-1.2.15/test/
Dtestjoystick.c136 axis_area[draw].x = (Sint16)x; in WatchJoystick()
137 axis_area[draw].y = (Sint16)y; in WatchJoystick()
/external/qemu/distrib/sdl-1.2.15/src/video/windib/
DSDL_dibevents.c106 Sint16 temp = *x; in GapiTransform()
348 posted = SDL_PrivateMouseMotion(0, 1, (Sint16)mouse.x, (Sint16)mouse.y); in DIB_GenerateMouseMotionEvent()
356 posted = SDL_PrivateMouseMotion(0, 0, (Sint16)mouse.x, (Sint16)mouse.y); in DIB_GenerateMouseMotionEvent()
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/
DSDL_sysmouse.c242 SDL_PrivateMouseMotion(0,0, (Sint16)pt.x, (Sint16)pt.y); in WIN_UpdateMouse()
DSDL_sysevents.c445 x = (Sint16)LOWORD(lParam); in WinMessage()
446 y = (Sint16)HIWORD(lParam); in WinMessage()
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
DSDL_riscosevents.c251 static Sint16 last_x = -1, last_y = -1;
263 Sint16 new_x = regs.r[0]; /* Initialy get as OS units */ in RISCOS_PollMouseHelper()
264 Sint16 new_y = regs.r[1]; in RISCOS_PollMouseHelper()
/external/qemu/distrib/sdl-1.2.15/src/audio/sun/
DSDL_sunaudio.c190 Sint16 *sndbuf; in DSP_PlayAudio()
192 sndbuf = (Sint16 *)mixbuf; in DSP_PlayAudio()
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/
DSDL_sysvideo.cc331 (Sint16)point.x(), (Sint16)point.y()); in QT_UpdateMouse()
/external/qemu/distrib/sdl-1.2.15/src/joystick/macos/
DSDL_sysjoystick.c234 Sint16 value; in SDL_SYS_JoystickUpdate()
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
DSDL_sysvideo.cc595 (Sint16)point.x, (Sint16)point.y); in BE_UpdateMouse()
/external/qemu/distrib/sdl-1.2.15/src/joystick/win32/
DSDL_mmjoystick.c310 SDL_PrivateJoystickAxis(joystick, (Uint8)i, (Sint16)value); in SDL_SYS_JoystickUpdate()

12