Home
last modified time | relevance | path

Searched refs:hidden (Results 1 – 25 of 259) sorted by relevance

1234567891011

/external/qemu/distrib/sdl-1.2.12/src/audio/dart/
DSDL_dart.c68 DosPostEventSem(pSDLAudioDevice->hidden->hevAudioBufferPlayed); in DARTEventFunc()
151 SDL_memset(&(_this->hidden->MixSetupParms), 0, sizeof(MCI_MIXSETUP_PARMS)); in DART_OpenAudio()
152 _this->hidden->MixSetupParms.ulBitsPerSample = iBits; in DART_OpenAudio()
153 _this->hidden->MixSetupParms.ulFormatTag = MCI_WAVE_FORMAT_PCM; in DART_OpenAudio()
154 _this->hidden->MixSetupParms.ulSamplesPerSec = iFreq; in DART_OpenAudio()
155 _this->hidden->MixSetupParms.ulChannels = iChannels; in DART_OpenAudio()
156 _this->hidden->MixSetupParms.ulFormatMode = MCI_PLAY; in DART_OpenAudio()
157 _this->hidden->MixSetupParms.ulDeviceType = MCI_DEVTYPE_WAVEFORM_AUDIO; in DART_OpenAudio()
158 _this->hidden->MixSetupParms.pmixEvent = DARTEventFunc; in DART_OpenAudio()
161 &(_this->hidden->MixSetupParms), 0); in DART_OpenAudio()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/gem/
DSDL_gemvideo.h98 #define VDI_handle (this->hidden->vdi_handle)
99 #define VDI_w (this->hidden->full_w)
100 #define VDI_h (this->hidden->full_h)
101 #define VDI_bpp (this->hidden->bpp)
102 #define VDI_pixelsize (this->hidden->pixelsize)
103 #define VDI_oldnumcolors (this->hidden->old_numcolors)
104 #define VDI_oldpalette (this->hidden->old_palette)
105 #define VDI_curpalette (this->hidden->cur_palette)
106 #define VDI_setpalette (this->hidden->setpalette)
107 #define VDI_pitch (this->hidden->pitch)
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11video.h169 #define local_X11 (this->hidden->local_X11)
170 #define SDL_Display (this->hidden->X11_Display)
171 #define GFX_Display (this->hidden->GFX_Display)
172 #define SDL_Screen DefaultScreen(this->hidden->X11_Display)
173 #define SDL_Visual (this->hidden->vis)
175 #define WMwindow (this->hidden->WMwindow)
176 #define FSwindow (this->hidden->FSwindow)
177 #define SDL_Window (this->hidden->SDL_Window)
178 #define WM_DELETE_WINDOW (this->hidden->WM_DELETE_WINDOW)
179 #define SDL_BlankCursor (this->hidden->BlankCursor)
[all …]
/external/qemu/distrib/sdl-1.2.12/src/audio/nas/
DSDL_nasaudio.c65 SDL_free(device->hidden); in Audio_DeleteDevice()
77 this->hidden = (struct SDL_PrivateAudioData *) in Audio_CreateDevice()
78 SDL_malloc((sizeof *this->hidden)); in Audio_CreateDevice()
80 if ( (this == NULL) || (this->hidden == NULL) ) { in Audio_CreateDevice()
87 SDL_memset(this->hidden, 0, (sizeof *this->hidden)); in Audio_CreateDevice()
109 while ( this->hidden->buf_free < this->hidden->mixlen ) { in NAS_WaitAudio()
111 AuNextEvent(this->hidden->aud, AuTrue, &ev); in NAS_WaitAudio()
112 AuDispatchEvent(this->hidden->aud, &ev); in NAS_WaitAudio()
118 …while (this->hidden->mixlen > this->hidden->buf_free) { /* We think the buffer is full? Yikes! Ask… in NAS_PlayAudio()
122 AuNextEvent(this->hidden->aud, AuTrue, &ev); in NAS_PlayAudio()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/audio/ums/
DSDL_umsaudio.c84 if(this->hidden->playbuf._buffer) SDL_free(this->hidden->playbuf._buffer); in Audio_DeleteDevice()
85 if(this->hidden->fillbuf._buffer) SDL_free(this->hidden->fillbuf._buffer); in Audio_DeleteDevice()
86 _somFree( this->hidden->umsdev ); in Audio_DeleteDevice()
87 SDL_free(this->hidden); in Audio_DeleteDevice()
102 this->hidden = (struct SDL_PrivateAudioData *)SDL_malloc((sizeof *this->hidden)); in Audio_CreateDevice()
104 if ( (this == NULL) || (this->hidden == NULL) ) { in Audio_CreateDevice()
111 SDL_memset(this->hidden, 0, (sizeof *this->hidden)); in Audio_CreateDevice()
119 this->hidden->ev = somGetGlobalEnvironment(); in Audio_CreateDevice()
120 this->hidden->umsdev = UMSAudioDeviceNew(); in Audio_CreateDevice()
148 return this->hidden->fillbuf._buffer; in UMS_GetAudioBuf()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/audio/dc/
DSDL_dcaudio.c52 SDL_free(device->hidden); in DCAUD_DeleteDevice()
64 this->hidden = (struct SDL_PrivateAudioData *) in DCAUD_CreateDevice()
65 SDL_malloc((sizeof *this->hidden)); in DCAUD_CreateDevice()
67 if ( (this == NULL) || (this->hidden == NULL) ) { in DCAUD_CreateDevice()
74 SDL_memset(this->hidden, 0, (sizeof *this->hidden)); in DCAUD_CreateDevice()
98 if (this->hidden->playing) { in DCAUD_WaitAudio()
100 while(aica_get_pos(0)/this->spec.samples == this->hidden->nextbuf) { in DCAUD_WaitAudio()
153 if (this->hidden->playing) { in DCAUD_PlayAudio()
155 while(aica_get_pos(0)/spec->samples == this->hidden->nextbuf) { in DCAUD_PlayAudio()
160 offset = this->hidden->nextbuf*spec->size; in DCAUD_PlayAudio()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/file/
DSDL_rwops.c61 context->hidden.win32io.h = INVALID_HANDLE_VALUE; /* mark this as unusable */ in win32_file_open()
62 context->hidden.win32io.buffer.data = NULL; in win32_file_open()
63 context->hidden.win32io.buffer.size = 0; in win32_file_open()
64 context->hidden.win32io.buffer.left = 0; in win32_file_open()
82 context->hidden.win32io.buffer.data = (char *)SDL_malloc(READAHEAD_BUFFER_SIZE); in win32_file_open()
83 if (!context->hidden.win32io.buffer.data) { in win32_file_open()
95 SDL_free(context->hidden.win32io.buffer.data); in win32_file_open()
96 context->hidden.win32io.buffer.data = NULL; in win32_file_open()
116 SDL_free(context->hidden.win32io.buffer.data); in win32_file_open()
117 context->hidden.win32io.buffer.data = NULL; in win32_file_open()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/
DSDL_pgvideo.c83 SDL_free(device->hidden); in PG_DeleteDevice()
95 device->hidden = (struct SDL_PrivateVideoData *) in PG_CreateDevice()
96 SDL_malloc((sizeof *device->hidden)); in PG_CreateDevice()
98 if ( (device == NULL) || (device->hidden == NULL) ) { in PG_CreateDevice()
105 SDL_memset(device->hidden, 0, (sizeof *device->hidden)); in PG_CreateDevice()
158 this->hidden->mi = *pgGetVideoMode(); in PG_VideoInit()
161 this->hidden->wApp = pgRegisterApp(PG_APP_NORMAL,"SDL",0); in PG_VideoInit()
162 this->hidden->wCanvas = pgNewWidget(PG_WIDGET_CANVAS,0,0); in PG_VideoInit()
170 this->info.current_w = this->hidden->mi.lxres; in PG_VideoInit()
171 this->info.current_h = this->hidden->mi.lyres; in PG_VideoInit()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
DSDL_fbvideo.h98 #define console_fd (this->hidden->console_fd)
99 #define current_vt (this->hidden->current_vt)
100 #define saved_vt (this->hidden->saved_vt)
101 #define keyboard_fd (this->hidden->keyboard_fd)
102 #define saved_kbd_mode (this->hidden->saved_kbd_mode)
103 #define saved_kbd_termios (this->hidden->saved_kbd_termios)
104 #define mouse_fd (this->hidden->mouse_fd)
106 #define ts_dev (this->hidden->ts_dev)
108 #define cache_vinfo (this->hidden->cache_vinfo)
109 #define saved_vinfo (this->hidden->saved_vinfo)
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/
DSDL_QuartzVideo.h129 #define display_id (this->hidden->display)
130 #define mode (this->hidden->mode)
131 #define save_mode (this->hidden->save_mode)
132 #define allow_screensaver (this->hidden->allow_screensaver)
133 #define mode_list (this->hidden->mode_list)
134 #define palette (this->hidden->palette)
135 #define gl_context (this->hidden->gl_context)
136 #define device_width (this->hidden->width)
137 #define device_height (this->hidden->height)
138 #define device_bpp (this->hidden->bpp)
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/
DSDL_wimpvideo.c133 this->hidden->height = current->h = height; in WIMP_SetVideoMode()
143 this->hidden->bank[0] = buffer + 60; /* Start of sprite data */ in WIMP_SetVideoMode()
144 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first */ in WIMP_SetVideoMode()
146 this->hidden->bank[1] = buffer; /* Start of buffer */ in WIMP_SetVideoMode()
149 if (this->hidden->alloc_bank) SDL_free(this->hidden->alloc_bank); in WIMP_SetVideoMode()
150 this->hidden->alloc_bank = buffer; in WIMP_SetVideoMode()
163 SDL_memset(this->hidden->bank[0], 0, height * current->pitch); in WIMP_SetVideoMode()
165 this->hidden->current_bank = 0; in WIMP_SetVideoMode()
166 current->pixels = this->hidden->bank[0]; in WIMP_SetVideoMode()
215 this->hidden->xeig = vals[0]; in WIMP_ReadModeInfo()
[all …]
DSDL_riscosFullScreenVideo.c147 this->hidden->height = current->h = height; in FULLSCREEN_SetVideoMode()
194 this->hidden->bank[0] = WIMP_CreateBuffer(width, height, bpp); in FULLSCREEN_SetVideoMode()
196 this->hidden->bank[0] = SDL_malloc(height * current->pitch); in FULLSCREEN_SetVideoMode()
197 if (this->hidden->bank[0] == 0) in FULLSCREEN_SetVideoMode()
208 if (this->hidden->alloc_bank) SDL_free(this->hidden->alloc_bank); in FULLSCREEN_SetVideoMode()
211 this->hidden->alloc_bank = this->hidden->bank[0]; in FULLSCREEN_SetVideoMode()
214 this->hidden->bank[0] += 60; /* Start of sprite data */ in FULLSCREEN_SetVideoMode()
215 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first */ in FULLSCREEN_SetVideoMode()
218 this->hidden->alloc_bank = 0; in FULLSCREEN_SetVideoMode()
221 SDL_memset(this->hidden->bank[0], 0, height * current->pitch); in FULLSCREEN_SetVideoMode()
[all …]
DSDL_riscossprite.c147 int *sprite = ((int *)this->hidden->bank[1])+4; in WIMP_SetupPlotInfo()
149 regs.r[0] = (unsigned int)this->hidden->bank[1]; in WIMP_SetupPlotInfo()
158 if (this->hidden->pixtrans) SDL_free(this->hidden->pixtrans); in WIMP_SetupPlotInfo()
159 this->hidden->pixtrans = 0; in WIMP_SetupPlotInfo()
165 this->hidden->pixtrans = SDL_malloc(regs.r[4]); in WIMP_SetupPlotInfo()
167 regs.r[4] = (unsigned int)this->hidden->pixtrans; in WIMP_SetupPlotInfo()
180 regs.r[1] = (unsigned int)this->hidden->bank[1]; in WIMP_PlotSprite()
181 regs.r[2] = (unsigned int)this->hidden->bank[1]+16; in WIMP_PlotSprite()
186 regs.r[7] = (int)this->hidden->pixtrans; in WIMP_PlotSprite()
190 int *p = (int *)this->hidden->pixtrans; in WIMP_PlotSprite()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_ph_video.h128 #define mode_settings (this->hidden->mode_settings)
129 #define window (this->hidden->Window)
130 #define SDL_Image (this->hidden->image)
131 #define OCImage (this->hidden->ocimage)
132 #define old_video_mode (this->hidden->old_video_mode)
133 #define old_refresh_rate (this->hidden->old_refresh_rate)
134 #define graphics_card_caps (this->hidden->graphics_card_caps)
135 #define desktopbpp (this->hidden->desktopbpp)
136 #define visualbpp (this->hidden->visualbpp)
137 #define desktoppal (this->hidden->desktoppal)
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/os2fslib/
DSDL_os2fslib.c350 …if (ppts->x>=pVideo->hidden->SrcBufferDesc.uiXResolution) ppts->x = pVideo->hidden->SrcBufferDesc.…
351 …if (ppts->y>=pVideo->hidden->SrcBufferDesc.uiYResolution) ppts->y = pVideo->hidden->SrcBufferDesc.…
352 …pVideo->hidden->iSkipWMMOUSEMOVE++; /* Don't take next WM_MOUSEMOVE into account! */ …
354 …WinMapWindowPoints(pVideo->hidden->hwndClient, HWND_DESKTOP, &ptl, 1); …
357 …ppts->y = pVideo->hidden->SrcBufferDesc.uiYResolution - ppts->y - 1; …
362 …WinQueryWindowPos(pVideo->hidden->hwndClient, &swpClient); …
364 …(ppts->x) = (ppts->x) * pVideo->hidden->SrcBufferDesc.uiXResolution / swpClient.cx; …
365 …(ppts->y) = (ppts->y) * pVideo->hidden->SrcBufferDesc.uiYResolution / swpClient.cy; …
366 …(ppts->y) = pVideo->hidden->SrcBufferDesc.uiYResolution - (ppts->y) - 1; …
457 (!pVideo->hidden->pSDLSurface) || in WndProc()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
DSDL_cgxvideo.h114 #define local_X11 (this->hidden->local_X11)
115 #define SDL_Display (this->hidden->Public_Display)
116 #define GFX_Display (this->hidden->GFX_Display)
117 #define SDL_Screen DefaultScreen(this->hidden->Public_Display)
119 #define SDL_Visual (this->hidden->vis)
122 #define WMwindow (this->hidden->WMwindow)
123 #define FSwindow (this->hidden->FSwindow)
124 #define SDL_Window (this->hidden->SDL_Window)
125 #define WM_DELETE_WINDOW (this->hidden->WM_DELETE_WINDOW)
126 #define SDL_BlankCursor (this->hidden->BlankCursor)
[all …]
DSDL_cgxvideo.c109 if(this->hidden->dbuffer) in DestroyScreen()
113 this->hidden->dbuffer=0; in DestroyScreen()
126 …this->hidden->SB[0]->sb_DBufInfo->dbi_SafeMessage.mn_ReplyPort=this->hidden->SB[0]->sb_DBufInfo->d… in DestroyScreen()
127 …this->hidden->SB[1]->sb_DBufInfo->dbi_SafeMessage.mn_ReplyPort=this->hidden->SB[1]->sb_DBufInfo->d… in DestroyScreen()
129 if(this->hidden->SB[1]) in DestroyScreen()
130 FreeScreenBuffer(SDL_Display,this->hidden->SB[1]); in DestroyScreen()
131 if(this->hidden->SB[0]) in DestroyScreen()
132 FreeScreenBuffer(SDL_Display,this->hidden->SB[0]); in DestroyScreen()
135 this->hidden->SB[0]=this->hidden->SB[1]=NULL; in DestroyScreen()
169 if ( device->hidden ) { in CGX_DeleteDevice()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/audio/disk/
DSDL_diskaudio.c74 SDL_free(device->hidden); in DISKAUD_DeleteDevice()
87 this->hidden = (struct SDL_PrivateAudioData *) in DISKAUD_CreateDevice()
88 SDL_malloc((sizeof *this->hidden)); in DISKAUD_CreateDevice()
90 if ( (this == NULL) || (this->hidden == NULL) ) { in DISKAUD_CreateDevice()
97 SDL_memset(this->hidden, 0, (sizeof *this->hidden)); in DISKAUD_CreateDevice()
100 this->hidden->write_delay = (envr) ? SDL_atoi(envr) : DISKDEFAULT_WRITEDELAY; in DISKAUD_CreateDevice()
122 SDL_Delay(this->hidden->write_delay); in DISKAUD_WaitAudio()
130 written = SDL_RWwrite(this->hidden->output, in DISKAUD_PlayAudio()
131 this->hidden->mixbuf, 1, in DISKAUD_PlayAudio()
132 this->hidden->mixlen); in DISKAUD_PlayAudio()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
DSDL_gsvideo.h71 #define console_fd (this->hidden->console_fd)
72 #define memory_fd (this->hidden->memory_fd)
73 #define saved_vinfo (this->hidden->saved_vinfo)
74 #define current_vt (this->hidden->current_vt)
75 #define saved_vt (this->hidden->saved_vt)
76 #define keyboard_fd (this->hidden->keyboard_fd)
77 #define saved_kbd_mode (this->hidden->saved_kbd_mode)
78 #define saved_kbd_termios (this->hidden->saved_kbd_termios)
79 #define mouse_fd (this->hidden->mouse_fd)
80 #define cursor_drawn (this->hidden->cursor_drawn)
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/dga/
DSDL_dgavideo.h101 #define DGA_Display (this->hidden->DGA_Display)
103 #define DGA_colormap (this->hidden->DGA_colormap)
104 #define DGA_visualClass (this->hidden->visualClass)
105 #define memory_base (this->hidden->memory_base)
106 #define memory_pitch (this->hidden->memory_pitch)
107 #define flip_page (this->hidden->flip_page)
108 #define flip_yoffset (this->hidden->flip_yoffset)
109 #define flip_address (this->hidden->flip_address)
110 #define sync_needed (this->hidden->sync_needed)
111 #define was_flipped (this->hidden->was_flipped)
[all …]
/external/qemu/distrib/sdl-1.2.12/src/audio/dummy/
DSDL_dummyaudio.c58 SDL_free(device->hidden); in DUMMYAUD_DeleteDevice()
70 this->hidden = (struct SDL_PrivateAudioData *) in DUMMYAUD_CreateDevice()
71 SDL_malloc((sizeof *this->hidden)); in DUMMYAUD_CreateDevice()
73 if ( (this == NULL) || (this->hidden == NULL) ) { in DUMMYAUD_CreateDevice()
80 SDL_memset(this->hidden, 0, (sizeof *this->hidden)); in DUMMYAUD_CreateDevice()
103 if (this->hidden->initial_calls) in DUMMYAUD_WaitAudio()
104 this->hidden->initial_calls--; in DUMMYAUD_WaitAudio()
106 SDL_Delay(this->hidden->write_delay); in DUMMYAUD_WaitAudio()
116 return(this->hidden->mixbuf); in DUMMYAUD_GetAudioBuf()
121 if ( this->hidden->mixbuf != NULL ) { in DUMMYAUD_CloseAudio()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/
DSDL_xbios.h106 #define SDL_modelist (this->hidden->SDL_modelist)
107 #define XBIOS_mutex (this->hidden->mutex)
108 #define XBIOS_cvdo (this->hidden->cookie_vdo)
109 #define XBIOS_oldpalette (this->hidden->old_palette)
110 #define XBIOS_oldnumcol (this->hidden->old_num_colors)
111 #define XBIOS_oldvbase (this->hidden->old_video_base)
112 #define XBIOS_oldvmode (this->hidden->old_video_mode)
113 #define XBIOS_nummodes (this->hidden->num_modes)
114 #define XBIOS_modelist (this->hidden->mode_list)
115 #define XBIOS_screens (this->hidden->screens)
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/
DSDL_nxvideo.h76 #define SDL_Window (this -> hidden -> SDL_Window)
77 #define FSwindow (this -> hidden -> FSwindow)
78 #define SDL_windowid (this -> hidden -> SDL_windowid)
79 #define SDL_GC (this -> hidden -> GC)
80 #define SDL_Image (this -> hidden -> Image)
81 #define Image_buff (this -> hidden -> Image_buff)
82 #define Clientfb (this -> hidden -> Clientfb)
83 #define SDL_Visual (this -> hidden -> SDL_Visual)
84 #define SDL_modelist (this -> hidden -> modelist)
85 #define currently_fullscreen (this -> hidden -> currently_fullscreen)
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/
DSDL_gapivideo.c242 SDL_free(device->hidden); in GAPI_DeleteDevice()
263 device->hidden = (struct SDL_PrivateVideoData *) in GAPI_CreateDevice()
264 SDL_malloc((sizeof *device->hidden)); in GAPI_CreateDevice()
266 if ( (device == NULL) || (device->hidden == NULL) ) { in GAPI_CreateDevice()
273 SDL_memset(device->hidden, 0, (sizeof *device->hidden)); in GAPI_CreateDevice()
315 #define gx device->hidden->gxFunc in GAPI_CreateDevice()
364 this->hidden->gxProperties = this->hidden->gxFunc.GXGetDisplayProperties(); in FillStructs()
365 this->hidden->needUpdate = 1; in FillStructs()
366 this->hidden->hiresFix = 0; in FillStructs()
367 this->hidden->useVga = 0; in FillStructs()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/
DSDL_lowvideo.h89 #define SDL_Display (this->hidden->SDL_Display)
90 #define SDL_Window (this->hidden->SDL_Window)
91 #define SDL_modelist (this->hidden->SDL_modelist)
92 #define SDL_CTab (this->hidden->SDL_CTab)
93 #define SDL_CPal (this->hidden->SDL_CPal)
94 #define fullscreen_ctx (this->hidden->fullscreen_ctx)
95 #define current_style (this->hidden->current_style)
96 #define last_where (this->hidden->last_where)
97 #define last_mods (this->hidden->last_mods)
98 #define last_keys (this->hidden->last_keys)
[all …]

1234567891011