Searched refs:hwdata (Results 1 - 25 of 28) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_phyuv.c74 struct private_yuvhwdata* hwdata; local
94 overlay->hwdata = NULL;
100 hwdata = SDL_calloc(1, sizeof(struct private_yuvhwdata));
102 if (hwdata == NULL)
109 overlay->hwdata = hwdata;
112 if (overlay->hwdata->channel == NULL)
114 if ((overlay->hwdata->channel = PgCreateVideoChannel(Pg_VIDEO_CHANNEL_SCALER, 0)) == NULL)
123 overlay->hwdata->forcedredraw=0;
126 overlay->hwdata
[all...]
H A DSDL_ph_image.c526 if (surface->hwdata!=NULL)
528 SDL_SetError("ph_AllocHWSurface(): hwdata already exists!\n");
531 surface->hwdata=SDL_malloc(sizeof(struct private_hwdata));
532 SDL_memset(surface->hwdata, 0x00, sizeof(struct private_hwdata));
533 surface->hwdata->offscreenctx=PdCreateOffscreenContext(0, surface->w, surface->h, Pg_OSC_MEM_PAGE_ALIGN);
534 if (surface->hwdata->offscreenctx == NULL)
539 surface->pixels=PdGetOffscreenContextPtr(surface->hwdata->offscreenctx);
542 PhDCRelease(surface->hwdata->offscreenctx);
546 surface->pitch=surface->hwdata->offscreenctx->pitch;
552 surface->hwdata
[all...]
H A DSDL_ph_events.c245 int lockedstate=current_overlay->hwdata->locked;
246 int chromastate=current_overlay->hwdata->ischromakey;
250 current_overlay->hwdata->locked=1;
255 dst.x=current_overlay->hwdata->CurrentViewPort.pos.x;
256 dst.y=current_overlay->hwdata->CurrentViewPort.pos.y;
257 dst.w=current_overlay->hwdata->CurrentViewPort.size.w;
258 dst.h=current_overlay->hwdata->CurrentViewPort.size.h;
259 current_overlay->hwdata->ischromakey=0;
263 current_overlay->hwdata->ischromakey=chromastate;
264 current_overlay->hwdata
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/
H A DSDL_ps3yuv.c104 struct private_yuvhwdata* hwdata; local
118 overlay->hwdata = NULL;
124 hwdata = (struct private_yuvhwdata *) SDL_calloc(1, sizeof(struct private_yuvhwdata));
125 if (hwdata == NULL) {
130 overlay->hwdata = hwdata;
132 hwdata->stretch = NULL;
133 hwdata->display = display;
136 hwdata->converter_parms = (struct yuv2rgb_parms_t *) memalign(16, sizeof(struct yuv2rgb_parms_t));
137 hwdata
224 struct private_yuvhwdata *hwdata; local
323 struct private_yuvhwdata * hwdata; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
H A DSDL_gsyuv.c78 struct private_yuvhwdata *hwdata; local
132 hwdata = (struct private_yuvhwdata *)SDL_malloc(sizeof *hwdata);
133 overlay->hwdata = hwdata;
134 if ( hwdata == NULL ) {
139 hwdata->ipu_fd = -1;
140 hwdata->pixels = (Uint8 *)SDL_malloc(width*height*2);
141 if ( hwdata->pixels == NULL ) {
146 hwdata
320 struct private_yuvhwdata *hwdata; local
443 struct private_yuvhwdata *hwdata; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/joystick/beos/
H A DSDL_bejoystick.cc102 joystick->hwdata = (struct joystick_hwdata *)
103 SDL_malloc(sizeof(*joystick->hwdata));
104 if ( joystick->hwdata == NULL ) {
108 SDL_memset(joystick->hwdata, 0, sizeof(*joystick->hwdata));
110 joystick->hwdata->stick = stick;
127 joystick->hwdata->new_axes = (int16 *)
129 joystick->hwdata->new_hats = (uint8 *)
131 if ( ! joystick->hwdata->new_hats || ! joystick->hwdata
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11yuv.c163 struct private_yuvhwdata *hwdata; local
316 hwdata = (struct private_yuvhwdata *)SDL_malloc(sizeof *hwdata);
317 overlay->hwdata = hwdata;
318 if ( hwdata == NULL ) {
324 hwdata->port = xv_port;
326 yuvshm = &hwdata->yuvshm;
328 hwdata->image = SDL_NAME(XvShmCreateImage)(GFX_Display, xv_port, format,
331 if ( hwdata
484 struct private_yuvhwdata *hwdata; local
509 struct private_yuvhwdata *hwdata; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
H A DSDL_DirectFB_yuv.c55 struct private_yuvhwdata *hwdata = (struct private_yuvhwdata *) data; local
64 hwdata->layer_id = id;
73 static DFBResult CreateYUVSurface(_THIS, struct private_yuvhwdata *hwdata, argument
81 ret = dfb->EnumDisplayLayers (dfb, enum_layers_callback, hwdata);
88 if (!hwdata->layer_id)
91 ret = dfb->GetDisplayLayer (dfb, hwdata->layer_id, &layer);
138 ret = layer->GetSurface (layer, &hwdata->surface);
146 hwdata->layer = layer;
154 struct private_yuvhwdata *hwdata; local
173 hwdata
276 struct private_yuvhwdata *hwdata; local
[all...]
H A DSDL_DirectFB_video.c603 if (current->hwdata && current->hwdata->surface)
605 current->hwdata->surface->Release (current->hwdata->surface);
606 current->hwdata->surface = NULL;
609 if (current->hwdata->palette)
611 current->hwdata->palette->Release (current->hwdata->palette);
612 current->hwdata->palette = NULL;
615 else if (!current->hwdata)
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysyuv.cc131 struct private_yuvhwdata* hwdata; local
169 overlay->hwdata = NULL;
175 hwdata = (struct private_yuvhwdata*)SDL_calloc(1, sizeof(struct private_yuvhwdata));
177 if (hwdata == NULL)
184 overlay->hwdata = hwdata;
185 overlay->hwdata->display = display;
186 overlay->hwdata->bview = NULL;
187 overlay->hwdata->bbitmap = NULL;
188 overlay->hwdata
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
H A DSDL_dx5yuv.c125 struct private_yuvhwdata *hwdata; local
165 hwdata = (struct private_yuvhwdata *)SDL_malloc(sizeof *hwdata);
166 overlay->hwdata = hwdata;
167 if ( hwdata == NULL ) {
172 hwdata->surface = CreateYUVSurface(this, width, height, format);
173 if ( hwdata->surface == NULL ) {
180 overlay->pitches = hwdata->pitches;
181 overlay->pixels = hwdata
285 struct private_yuvhwdata *hwdata; local
[all...]
H A DSDL_dx5video.c1057 if ( current->hwdata ) {
1059 current->hwdata = NULL;
1675 surface->hwdata = (struct private_hwdata *)
1676 SDL_malloc(sizeof(*surface->hwdata));
1677 if ( surface->hwdata == NULL ) {
1823 surface->hwdata->dd_surface = dd_surface3;
1837 surface->hwdata->dd_writebuf = dd_surface3;
1851 SDL_free(surface->hwdata);
1852 surface->hwdata = NULL;
1912 src_surface = src->hwdata
[all...]
/external/qemu/distrib/sdl-1.2.15/src/joystick/bsd/
H A DSDL_sysjoystick.c276 joy->hwdata = hw;
413 if (joy->hwdata->type == BSDJOY_JOY) {
414 if (read(joy->hwdata->fd, &gameport, sizeof gameport) != sizeof gameport)
416 if (abs(joy->hwdata->x - gameport.x) > 8) {
417 joy->hwdata->x = gameport.x;
418 if (joy->hwdata->x < joy->hwdata->xmin) {
419 joy->hwdata->xmin = joy->hwdata->x;
421 if (joy->hwdata
[all...]
/external/qemu/distrib/sdl-1.2.15/src/joystick/riscos/
H A DSDL_sysjoystick.c92 if(!(joystick->hwdata=SDL_malloc(sizeof(struct joystick_hwdata))))
103 joystick->hwdata->joystate=0;
122 int oldstate = joystick->hwdata->joystate;
153 joystick->hwdata->joystate = newstate;
163 if(joystick->hwdata)
164 SDL_free(joystick->hwdata);
/external/qemu/distrib/sdl-1.2.15/src/joystick/dc/
H A DSDL_sysjoystick.c91 joystick->hwdata = (struct joystick_hwdata *) SDL_malloc(sizeof(*joystick->hwdata));
92 if (joystick->hwdata == NULL)
97 SDL_memset(joystick->hwdata, 0, sizeof(*joystick->hwdata));
134 prev_buttons = joystick->hwdata->prev_buttons;
160 prev_cond = &joystick->hwdata->prev_cond;
174 joystick->hwdata->prev_buttons = buttons;
175 joystick->hwdata->prev_cond = cond;
181 if (joystick->hwdata !
[all...]
/external/qemu/distrib/sdl-1.2.15/src/joystick/macos/
H A DSDL_sysjoystick.c164 joystick->hwdata = (struct joystick_hwdata *) SDL_malloc(sizeof(*joystick->hwdata));
165 if (joystick->hwdata == NULL)
170 SDL_memset(joystick->hwdata, 0, sizeof(*joystick->hwdata));
171 SDL_strlcpy(joystick->hwdata->name, SDL_SYS_JoystickName(index), SDL_arraysize(joystick->hwdata->name));
172 joystick->name = joystick->hwdata->name;
179 joystick->hwdata->refs);
190 &(joystick->hwdata
[all...]
/external/qemu/distrib/sdl-1.2.15/src/joystick/
H A DSDL_sysjoystick.h48 struct joystick_hwdata *hwdata; /* Driver dependent information */ member in struct:_SDL_Joystick
/external/qemu/distrib/sdl-1.2.15/src/joystick/win32/
H A DSDL_mmjoystick.c214 joystick->hwdata = (struct joystick_hwdata *) SDL_malloc(sizeof(*joystick->hwdata));
215 if (joystick->hwdata == NULL)
220 SDL_memset(joystick->hwdata, 0, sizeof(*joystick->hwdata));
223 joystick->hwdata->id = SYS_JoystickID[index];
226 joystick->hwdata->transaxis[i].offset =
228 joystick->hwdata->transaxis[i].scale =
231 joystick->hwdata->transaxis[i].offset = 0;
232 joystick->hwdata
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/
H A DSDL_dspvideo.c741 if (current->hwdata)
742 SDL_free(current->hwdata);
874 current->hwdata = (private_hwdata*) SDL_malloc (sizeof (private_hwdata));
875 if (current ->hwdata == NULL) {
879 current->hwdata->offscreen = dsp_back_buffer;
892 current->hwdata = (private_hwdata*) SDL_malloc (sizeof (private_hwdata));
893 if (current ->hwdata == NULL) {
898 SDL_memset (current->hwdata, 0, sizeof (private_hwdata));
899 current->hwdata->offscreen = dsp_back_buffer;
988 if ( noErr != NewGWorld (&(surface->hwdata
[all...]
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
H A DSDL_sysjoystick.c552 joystick->hwdata->hats = (struct hwdata_hat *)SDL_malloc(
554 if ( joystick->hwdata->hats == NULL ) {
558 joystick->hwdata->hats[i].axis[0] = 1;
559 joystick->hwdata->hats[i].axis[1] = 1;
568 joystick->hwdata->balls = (struct hwdata_ball *)SDL_malloc(
570 if ( joystick->hwdata->balls == NULL ) {
574 joystick->hwdata->balls[i].axis[0] = 0;
575 joystick->hwdata->balls[i].axis[1] = 0;
682 joystick->hwdata->is_hid = SDL_TRUE;
690 joystick->hwdata
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
H A DSDL_fbvideo.h169 ((vidmem_bucket *)surface->hwdata)->dirty = 1;
174 return ((vidmem_bucket *)surface->hwdata)->dirty;
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
H A DSDL_dgavideo.c654 screen->hwdata = (struct private_hwdata *)((char*)&surfaces);
672 ((vidmem_bucket *)surface->hwdata)->dirty = 1;
677 return ((vidmem_bucket *)surface->hwdata)->dirty;
769 surface->hwdata = (struct private_hwdata *)bucket;
787 if ( bucket == (vidmem_bucket *)surface->hwdata ) {
826 surface->hwdata = NULL;
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_video.h105 struct private_hwdata *hwdata; member in struct:SDL_Surface
218 struct private_yuvhwdata *hwdata; member in struct:SDL_Overlay
/external/qemu/distrib/sdl-1.2.15/src/joystick/darwin/
H A DSDL_sysjoystick.c706 joystick->hwdata = device;
724 recDevice *device = joystick->hwdata;
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_yuv_sw.c980 overlay->hwdata = swdata;
1177 swdata = overlay->hwdata;
1282 swdata = overlay->hwdata;
1297 overlay->hwdata = NULL;

Completed in 4214 milliseconds

12