Searched refs:pitches (Results 1 – 11 of 11) sorted by relevance
46 Uint16 pitches[3]; member191 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()
44 Uint16 pitches[3]; member180 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()
255 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()
61 Uint16 pitches[3]; member149 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()
95 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;
117 Uint16 pitches[3]; member1126 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()
247 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()
214 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()
159 int *pitches; /* bytes */ member
969 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()
187 Uint16 *pitches; /* Read-only */ member