Home
last modified time | relevance | path

Searched refs:pitches (Results 1 – 11 of 11) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/directfb/
DSDL_DirectFB_yuv.c46 Uint16 pitches[3]; member
191 overlay->pitches = hwdata->pitches; in DirectFB_CreateYUVOverlay()
223 overlay->pitches[0] = (Uint16) pitch; in DirectFB_LockYUVOverlay()
231 overlay->pitches[1] = overlay->pitches[0] / 2; in DirectFB_LockYUVOverlay()
232 overlay->pitches[2] = overlay->pitches[0] / 2; in DirectFB_LockYUVOverlay()
233 overlay->pixels[1] = overlay->pixels[0] + overlay->pitches[0] * overlay->h; in DirectFB_LockYUVOverlay()
234 overlay->pixels[2] = overlay->pixels[1] + overlay->pitches[1] * overlay->h / 2; in DirectFB_LockYUVOverlay()
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/
DSDL_dx5yuv.c44 Uint16 pitches[3]; member
180 overlay->pitches = hwdata->pitches; in DX5_CreateYUVOverlay()
219 overlay->pitches[0] = (Uint16)ddsd.u1.lPitch; in DX5_LockYUVOverlay()
221 overlay->pitches[0] = (Uint16)ddsd.lPitch; in DX5_LockYUVOverlay()
228 overlay->pitches[1] = overlay->pitches[0] / 2; in DX5_LockYUVOverlay()
229 overlay->pitches[2] = overlay->pitches[0] / 2; in DX5_LockYUVOverlay()
231 overlay->pitches[0] * overlay->h; in DX5_LockYUVOverlay()
233 overlay->pitches[1] * overlay->h / 2; in DX5_LockYUVOverlay()
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11yuv.c255 if ( hwdata->image != NULL && hwdata->image->pitches[0] != (width*bpp) ) { in X11_CreateYUVOverlay()
258 width = hwdata->image->pitches[0] / bpp; in X11_CreateYUVOverlay()
299 if ( hwdata->image != NULL && hwdata->image->pitches[0] != (width*bpp) ) { in X11_CreateYUVOverlay()
302 width = hwdata->image->pitches[0] / bpp; in X11_CreateYUVOverlay()
322 overlay->pitches = (Uint16 *)SDL_malloc(overlay->planes * sizeof(Uint16)); in X11_CreateYUVOverlay()
324 if ( !overlay->pitches || !overlay->pixels ) { in X11_CreateYUVOverlay()
330 overlay->pitches[i] = hwdata->image->pitches[i]; in X11_CreateYUVOverlay()
400 if ( overlay->pitches ) { in X11_FreeYUVOverlay()
401 SDL_free(overlay->pitches); in X11_FreeYUVOverlay()
402 overlay->pitches = NULL; in X11_FreeYUVOverlay()
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
DSDL_gsyuv.c61 Uint16 pitches[3]; member
149 overlay->pitches = hwdata->pitches; in GS_CreateYUVOverlay()
154 overlay->pitches[0] = overlay->w; in GS_CreateYUVOverlay()
155 overlay->pitches[1] = overlay->pitches[0] / 2; in GS_CreateYUVOverlay()
156 overlay->pitches[2] = overlay->pitches[0] / 2; in GS_CreateYUVOverlay()
159 overlay->pitches[0] * overlay->h; in GS_CreateYUVOverlay()
161 overlay->pitches[1] * overlay->h / 2; in GS_CreateYUVOverlay()
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/
DSDL_QuartzYUV.m95 SDL_free (overlay->pitches);
251 Uint16 *pitches;
271 pitches = (Uint16*) SDL_malloc (sizeof(*pitches) * 3);
272 if (pixels == NULL || pitches == NULL) {
295 pitches[0] = width;
301 pitches[plane2] = width / 2;
307 pitches[plane3] = width / 2;
312 overlay->pitches = pitches;
/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_yuv_sw.c117 Uint16 pitches[3]; member
1126 overlay->pitches = swdata->pitches; in SDL_CreateYUV_SW()
1131 overlay->pitches[0] = overlay->w; in SDL_CreateYUV_SW()
1132 overlay->pitches[1] = overlay->pitches[0] / 2; in SDL_CreateYUV_SW()
1133 overlay->pitches[2] = overlay->pitches[0] / 2; in SDL_CreateYUV_SW()
1136 overlay->pitches[0] * overlay->h; in SDL_CreateYUV_SW()
1138 overlay->pitches[1] * overlay->h / 2; in SDL_CreateYUV_SW()
1144 overlay->pitches[0] = overlay->w*2; in SDL_CreateYUV_SW()
/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_phyuv.c247 overlay->pitches = SDL_calloc(overlay->planes, sizeof(Uint16)); in ph_CreateYUVOverlay()
249 if (!overlay->pitches || !overlay->pixels) in ph_CreateYUVOverlay()
258 overlay->pitches[0] = overlay->hwdata->channel->yplane1->pitch; in ph_CreateYUVOverlay()
263 overlay->pitches[1] = overlay->hwdata->channel->vplane1->pitch; in ph_CreateYUVOverlay()
268 overlay->pitches[2] = overlay->hwdata->channel->uplane1->pitch; in ph_CreateYUVOverlay()
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
DSDL_sysyuv.cc214 overlay->pitches = (Uint16*)SDL_calloc(overlay->planes, sizeof(Uint16)); in BE_CreateYUVOverlay()
216 if (!overlay->pitches || !overlay->pixels) in BE_CreateYUVOverlay()
223 overlay->pitches[0] = bbitmap->BytesPerRow(); in BE_CreateYUVOverlay()
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/
DXvlib.h159 int *pitches; /* bytes */ member
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xv/
DXv.c969 ret->pitches = (int*)(&ret[1]); in SDL_NAME()
970 ret->offsets = ret->pitches + rep.num_planes; in SDL_NAME()
973 _XRead(dpy, (char*)(ret->pitches), rep.num_planes << 2); in SDL_NAME()
/external/qemu/distrib/sdl-1.2.12/include/
DSDL_video.h187 Uint16 *pitches; /* Read-only */ member