Home
last modified time | relevance | path

Searched refs:SDL_max (Results 1 – 15 of 15) sorted by relevance

/AliOS-Things-master/components/SDL2/src/cpuinfo/
A DSDL_cpuinfo.c732 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures()
736 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 8); in SDL_GetCPUFeatures()
740 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 8); in SDL_GetCPUFeatures()
744 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures()
748 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures()
752 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures()
756 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures()
760 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 16); in SDL_GetCPUFeatures()
764 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 32); in SDL_GetCPUFeatures()
768 SDL_SIMDAlignment = SDL_max(SDL_SIMDAlignment, 32); in SDL_GetCPUFeatures()
[all …]
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandwindow.c76 width = SDL_max(width, window->min_w); in handle_configure_wl_shell_surface()
81 height = SDL_max(height, window->min_h); in handle_configure_wl_shell_surface()
183 width = SDL_max(width, window->min_w); in handle_configure_zxdg_toplevel()
188 height = SDL_max(height, window->min_h); in handle_configure_zxdg_toplevel()
293 width = SDL_max(width, window->min_w); in handle_configure_xdg_toplevel()
298 height = SDL_max(height, window->min_h); in handle_configure_xdg_toplevel()
/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_render_sw.c254 verts->w = SDL_max((int)rects->w, 1); in SW_QueueFillRects()
255 verts->h = SDL_max((int)rects->h, 1); in SW_QueueFillRects()
261 verts->w = SDL_max((int)rects->w, 1); in SW_QueueFillRects()
262 verts->h = SDL_max((int)rects->h, 1); in SW_QueueFillRects()
/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_xinputjoystick.c428 … SDL_PrivateJoystickAxis(joystick, 1, (Sint16)(-SDL_max(-32767, pXInputState->Gamepad.sThumbLY))); in UpdateXInputJoystickState_OLD()
430 … SDL_PrivateJoystickAxis(joystick, 3, (Sint16)(-SDL_max(-32767, pXInputState->Gamepad.sThumbRY))); in UpdateXInputJoystickState_OLD()
/AliOS-Things-master/components/SDL2/src/audio/alsa/
A DSDL_alsa_audio.c266 const Uint32 delay = ((needed - (SDL_max(rc, 0))) * 1000) / this->spec.freq; in ALSA_WaitDevice()
267 SDL_Delay(SDL_max(delay, 10)); in ALSA_WaitDevice()
/AliOS-Things-master/components/SDL2/test/
A Dcontrollermap.c251 int maxA = SDL_max(pBindingA->value.axis.axis_min, pBindingA->value.axis.axis_max); in BBindingContainsBinding()
253 int maxB = SDL_max(pBindingB->value.axis.axis_min, pBindingB->value.axis.axis_max); in BBindingContainsBinding()
A Dtestgesture.c97 for (t = 0; t < 1; t += (float) (1.0f / SDL_max(SDL_fabs(x0 - x1), SDL_fabs(y0 - y1)))) { in drawLine()
/AliOS-Things-master/components/SDL2/src/joystick/iphoneos/
A DSDL_sysjoystick.m591 accel.x = SDL_min(SDL_max(accel.x, -maxgforce), maxgforce); category
592 accel.y = SDL_min(SDL_max(accel.y, -maxgforce), maxgforce); category
593 accel.z = SDL_min(SDL_max(accel.z, -maxgforce), maxgforce); category
/AliOS-Things-master/components/SDL2/include/
A DSDL_stdinc.h408 #define SDL_max(x, y) (((x) > (y)) ? (x) : (y)) macro
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowskeyboard.c1448 maxcandsize.cx = SDL_max(maxcandsize.cx, candsizes[i].cx); in IME_RenderCandidateList()
1449 maxcandsize.cy = SDL_max(maxcandsize.cy, candsizes[i].cy); in IME_RenderCandidateList()
/AliOS-Things-master/components/SDL2/src/render/
A DSDL_render.c2467 const int maxY = SDL_max(points[i].y, points[i+1].y); in RenderDrawLinesWithRects()
2476 const int maxX = SDL_max(points[i].x, points[i+1].x); in RenderDrawLinesWithRects()
2522 const int maxY = (int)SDL_max(points[i].y, points[i+1].y); in RenderDrawLinesWithRectsF()
2531 const int maxX = (int)SDL_max(points[i].x, points[i+1].x); in RenderDrawLinesWithRectsF()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_egl.c885 attribs[attr++] = SDL_max(major_version, 1); in SDL_EGL_CreateContext()
A DSDL_video.c2153 … SDL_SetWindowSize(window, SDL_max(window->w, window->min_w), SDL_max(window->h, window->min_h)); in SDL_SetWindowMinimumSize()
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_mouse.c589 clicks = SDL_max(clicks, 0);
A DSDL_events.c101 SDL_DoEventLogging = (hint && *hint) ? SDL_max(SDL_min(SDL_atoi(hint), 2), 0) : 0; in SDL_EventLoggingChanged()

Completed in 38 milliseconds