Home
last modified time | relevance | path

Searched refs:mode_list (Results 1 – 6 of 6) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_ph_modes.c27 static PgVideoModes_t mode_list; variable
69 if (PgGetVideoModeList(&mode_list) < 0) in ph_ListModes()
77 for (i=0; i < mode_list.num_modes; i++) in ph_ListModes()
79 if (PgGetVideoModeInfo(mode_list.modes[i], &mode_info) < 0) in ph_ListModes()
81 …Error("ph_ListModes(): PgGetVideoModeInfo() function failed on mode: 0x%X.\n", mode_list.modes[i]); in ph_ListModes()
121 if (PgGetVideoModeList(&mode_list) < 0) in ph_GetVideoMode()
133 for (i=0; i<mode_list.num_modes; i++) in ph_GetVideoMode()
135 if (PgGetVideoModeInfo(mode_list.modes[i], &mode_info) < 0) in ph_GetVideoMode()
143 return mode_list.modes[i]; in ph_GetVideoMode()
151 closestmode=mode_list.modes[i]; in ph_GetVideoMode()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/
DSDL_xbios.h59 xbiosmode_t *mode_list; /* List of xbios video modes */ member
114 #define XBIOS_modelist (this->hidden->mode_list)
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/
DSDL_QuartzVideo.h87 CFArrayRef mode_list; /* list of available fullscreen modes */ member
133 #define mode_list (this->hidden->mode_list) macro
DSDL_QuartzVideo.m184 mode_list = CGDisplayAvailableModes (display_id);
249 num_modes = CFArrayGetCount (mode_list);
258 onemode = CFArrayGetValueAtIndex (mode_list, i);
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/
DSDL_dspvideo.c342 SDL_Rect **mode_list; in DSp_BuildModeList() local
397 mode_list = (SDL_Rect**) SDL_malloc (sizeof (SDL_Rect*) * (i+1)); in DSp_BuildModeList()
398 if (mode_list) { in DSp_BuildModeList()
402 mode_list [j] = (SDL_Rect*) SDL_malloc (sizeof (SDL_Rect)); in DSp_BuildModeList()
403 if (mode_list [j]) in DSp_BuildModeList()
404 SDL_memcpy (mode_list [j], &(temp_list [j]), sizeof (SDL_Rect)); in DSp_BuildModeList()
410 mode_list [i] = NULL; /* append null to the end */ in DSp_BuildModeList()
417 return mode_list; in DSp_BuildModeList()
/external/grub/stage2/
Dbuiltins.c4746 unsigned short *mode_list; in vbeprobe_func() local
4789 for (mode_list in vbeprobe_func()
4791 *mode_list != 0xFFFF; in vbeprobe_func()
4792 mode_list++) in vbeprobe_func()
4796 if (get_vbe_mode_info (*mode_list, &mode) != 0x004F) in vbeprobe_func()
4804 if (mode_number == -1 || mode_number == *mode_list) in vbeprobe_func()
4821 (unsigned) *mode_list, in vbeprobe_func()
4832 if (mode_number != -1 && mode_number != *mode_list) in vbeprobe_func()