Home | History | Annotate | Download | only in directfb

Lines Matching defs:hwdata

55   struct private_yuvhwdata *hwdata = (struct private_yuvhwdata *) data;
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;
173 hwdata = SDL_calloc(1, sizeof(struct private_yuvhwdata));
174 overlay->hwdata = hwdata;
175 if (!hwdata)
182 if (CreateYUVSurface (this, hwdata, width, height, format))
191 overlay->pitches = hwdata->pitches;
192 overlay->pixels = hwdata->planes;
213 IDirectFBSurface *surface = overlay->hwdata->surface;
246 IDirectFBSurface *surface = overlay->hwdata->surface;
258 IDirectFBDisplayLayer *layer = overlay->hwdata->layer;
276 struct private_yuvhwdata *hwdata;
278 hwdata = overlay->hwdata;
279 if (hwdata)
281 if (hwdata->surface)
282 hwdata->surface->Release (hwdata->surface);
284 if (hwdata->layer)
285 hwdata->layer->Release (hwdata->layer);
287 free (hwdata);