Lines Matching refs:subpicture
194 Status XvMCCreateSubpicture(Display *dpy, XvMCContext *context, XvMCSubpicture *subpicture, in XvMCCreateSubpicture() argument
204 XVMC_MSG(XVMC_TRACE, "[XvMC] Creating subpicture %p.\n", subpicture); in XvMCCreateSubpicture()
214 if (!subpicture) in XvMCCreateSubpicture()
262 subpicture->subpicture_id = XAllocID(dpy); in XvMCCreateSubpicture()
263 subpicture->context_id = context->context_id; in XvMCCreateSubpicture()
264 subpicture->xvimage_id = xvimage_id; in XvMCCreateSubpicture()
265 subpicture->width = width; in XvMCCreateSubpicture()
266 subpicture->height = height; in XvMCCreateSubpicture()
267 subpicture->num_palette_entries = NumPaletteEntries4XvID(xvimage_id); in XvMCCreateSubpicture()
268 subpicture->entry_bytes = PipeToComponentOrder(tex_templ.format, subpicture->component_order); in XvMCCreateSubpicture()
269 subpicture->privData = subpicture_priv; in XvMCCreateSubpicture()
271 if (subpicture->num_palette_entries > 0) { in XvMCCreateSubpicture()
274 tex_templ.width0 = subpicture->num_palette_entries; in XvMCCreateSubpicture()
293 XVMC_MSG(XVMC_TRACE, "[XvMC] Subpicture %p created.\n", subpicture); in XvMCCreateSubpicture()
299 Status XvMCClearSubpicture(Display *dpy, XvMCSubpicture *subpicture, short x, short y, in XvMCClearSubpicture() argument
313 if (!subpicture) in XvMCClearSubpicture()
321 subpicture_priv = subpicture->privData; in XvMCClearSubpicture()
345 Status XvMCCompositeSubpicture(Display *dpy, XvMCSubpicture *subpicture, XvImage *image, in XvMCCompositeSubpicture() argument
355 XVMC_MSG(XVMC_TRACE, "[XvMC] Compositing subpicture %p.\n", subpicture); in XvMCCompositeSubpicture()
359 if (!subpicture) in XvMCCompositeSubpicture()
364 if (subpicture->xvimage_id != image->id) in XvMCCompositeSubpicture()
371 subpicture_priv = subpicture->privData; in XvMCCompositeSubpicture()
380 XVMC_MSG(XVMC_TRACE, "[XvMC] Subpicture %p composited.\n", subpicture); in XvMCCompositeSubpicture()
386 Status XvMCDestroySubpicture(Display *dpy, XvMCSubpicture *subpicture) in XvMCDestroySubpicture() argument
390 XVMC_MSG(XVMC_TRACE, "[XvMC] Destroying subpicture %p.\n", subpicture); in XvMCDestroySubpicture()
394 if (!subpicture) in XvMCDestroySubpicture()
397 subpicture_priv = subpicture->privData; in XvMCDestroySubpicture()
402 XVMC_MSG(XVMC_TRACE, "[XvMC] Subpicture %p destroyed.\n", subpicture); in XvMCDestroySubpicture()
408 Status XvMCSetSubpicturePalette(Display *dpy, XvMCSubpicture *subpicture, unsigned char *palette) in XvMCSetSubpicturePalette() argument
418 if (!subpicture) in XvMCSetSubpicturePalette()
421 subpicture_priv = subpicture->privData; in XvMCSetSubpicturePalette()
425 dst_box.width = subpicture->num_palette_entries; in XvMCSetSubpicturePalette()
429 XVMC_MSG(XVMC_TRACE, "[XvMC] Palette of Subpicture %p set.\n", subpicture); in XvMCSetSubpicturePalette()
435 Status XvMCBlendSubpicture(Display *dpy, XvMCSurface *target_surface, XvMCSubpicture *subpicture, in XvMCBlendSubpicture() argument
445 …XVMC_MSG(XVMC_TRACE, "[XvMC] Associating subpicture %p with surface %p.\n", subpicture, target_sur… in XvMCBlendSubpicture()
452 if (!subpicture) in XvMCBlendSubpicture()
455 if (target_surface->context_id != subpicture->context_id) in XvMCBlendSubpicture()
461 subpicture_priv = subpicture->privData; in XvMCBlendSubpicture()
467 surface_priv->subpicture = subpicture; in XvMCBlendSubpicture()
475 … XvMCSubpicture *subpicture, short subx, short suby, unsigned short subw, unsigned short subh, in XvMCBlendSubpicture2() argument
483 if (!subpicture) in XvMCBlendSubpicture2()
486 if (source_surface->context_id != subpicture->context_id) in XvMCBlendSubpicture2()
489 if (source_surface->context_id != subpicture->context_id) in XvMCBlendSubpicture2()
498 Status XvMCSyncSubpicture(Display *dpy, XvMCSubpicture *subpicture) in XvMCSyncSubpicture() argument
502 if (!subpicture) in XvMCSyncSubpicture()
509 Status XvMCFlushSubpicture(Display *dpy, XvMCSubpicture *subpicture) in XvMCFlushSubpicture() argument
513 if (!subpicture) in XvMCFlushSubpicture()
520 Status XvMCGetSubpictureStatus(Display *dpy, XvMCSubpicture *subpicture, int *status) in XvMCGetSubpictureStatus() argument
524 if (!subpicture) in XvMCGetSubpictureStatus()