HomeSort by relevance Sort by last modified time
    Searched refs:hwdata (Results 1 - 25 of 31) sorted by null

1 2

  /external/qemu/distrib/sdl-1.2.15/src/video/photon/
SDL_phyuv.c 74 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->CurrentWindowPos.x = pos.x
    [all...]
SDL_ph_image.c 526 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->crlockparam.flags=0
    [all...]
SDL_ph_events.c 245 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->locked=lockedstate
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/ps3/
SDL_ps3yuv.c 104 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->scaler_parms = (struct scale_parms_t *) memalign(16, sizeof(struct scale_parms_t))
224 struct private_yuvhwdata *hwdata; local
323 struct private_yuvhwdata * hwdata; local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
SDL_gsyuv.c 78 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->macroblocks = (width/16) * (height/16)
320 struct private_yuvhwdata *hwdata; local
443 struct private_yuvhwdata *hwdata; local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/joystick/beos/
SDL_bejoystick.cc 102 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->new_axes )
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/x11/
SDL_x11yuv.c 163 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->image != NULL && hwdata->image->pitches[0] != (width*bpp) )
484 struct private_yuvhwdata *hwdata; local
509 struct private_yuvhwdata *hwdata; local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/directfb/
SDL_DirectFB_yuv.c 55 struct private_yuvhwdata *hwdata = (struct private_yuvhwdata *) data; local
64 hwdata->layer_id = id;
73 static DFBResult CreateYUVSurface(_THIS, struct private_yuvhwdata *hwdata,
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 = SDL_calloc(1, sizeof(struct private_yuvhwdata))
276 struct private_yuvhwdata *hwdata; local
    [all...]
SDL_DirectFB_video.c 603 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/
SDL_sysyuv.cc 131 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->locked = 0
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/windx5/
SDL_dx5yuv.c 125 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->planes
285 struct private_yuvhwdata *hwdata; local
    [all...]
SDL_dx5video.c     [all...]
  /external/qemu/distrib/sdl-1.2.15/src/joystick/bsd/
SDL_sysjoystick.c 276 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->x > joy->hwdata->xmax)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/joystick/riscos/
SDL_sysjoystick.c 92 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/
SDL_sysjoystick.c 91 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 != NULL)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/joystick/macos/
SDL_sysjoystick.c 164 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->refs[count2]))
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/joystick/
SDL_sysjoystick.h 48 struct joystick_hwdata *hwdata; /* Driver dependent information */ member in struct:_SDL_Joystick
  /external/qemu/distrib/sdl-1.2.15/src/joystick/win32/
SDL_mmjoystick.c 214 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->transaxis[i].scale = 1.0; /* Just in case *
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/macdsp/
SDL_dspvideo.c 741 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->mask), depth, &rect, 0, SDL_Display, 0 ) < 0 )
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
SDL_sysjoystick.c 552 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->key_map[i-BTN_MISC]
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
SDL_fbvideo.h 169 ((vidmem_bucket *)surface->hwdata)->dirty = 1;
174 return ((vidmem_bucket *)surface->hwdata)->dirty;
  /external/qemu/distrib/sdl-1.2.15/src/video/dga/
SDL_dgavideo.c 654 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/
SDL_video.h 105 struct private_hwdata *hwdata; member in struct:SDL_Surface
218 struct private_yuvhwdata *hwdata; member in struct:SDL_Overlay
    [all...]
  /prebuilts/tools/darwin-x86/sdl/include/SDL/
SDL_video.h 105 struct private_hwdata *hwdata; member in struct:SDL_Surface
218 struct private_yuvhwdata *hwdata; member in struct:SDL_Overlay
    [all...]
  /prebuilts/tools/linux-x86/sdl/include/SDL/
SDL_video.h 105 struct private_hwdata *hwdata; member in struct:SDL_Surface
218 struct private_yuvhwdata *hwdata; member in struct:SDL_Overlay
    [all...]

Completed in 345 milliseconds

1 2