Lines Matching refs:subpicture

261 Status XvMCCreateSubpicture(Display *dpy, XvMCContext *context, XvMCSubpicture *subpicture,  in XvMCCreateSubpicture()  argument
272 XVMC_MSG(XVMC_TRACE, "[XvMC] Creating subpicture %p.\n", subpicture); in XvMCCreateSubpicture()
282 if (!subpicture) in XvMCCreateSubpicture()
331 subpicture->subpicture_id = XAllocID(dpy); in XvMCCreateSubpicture()
332 subpicture->context_id = context->context_id; in XvMCCreateSubpicture()
333 subpicture->xvimage_id = xvimage_id; in XvMCCreateSubpicture()
334 subpicture->width = width; in XvMCCreateSubpicture()
335 subpicture->height = height; in XvMCCreateSubpicture()
336 subpicture->num_palette_entries = NumPaletteEntries4XvID(xvimage_id); in XvMCCreateSubpicture()
337 subpicture->entry_bytes = PipeToComponentOrder( in XvMCCreateSubpicture()
339 subpicture->component_order); in XvMCCreateSubpicture()
340 subpicture->privData = subpicture_priv; in XvMCCreateSubpicture()
342 if (subpicture->num_palette_entries > 0) { in XvMCCreateSubpicture()
345 tex_templ.width0 = subpicture->num_palette_entries; in XvMCCreateSubpicture()
364 XVMC_MSG(XVMC_TRACE, "[XvMC] Subpicture %p created.\n", subpicture); in XvMCCreateSubpicture()
370 Status XvMCClearSubpicture(Display *dpy, XvMCSubpicture *subpicture, short x, short y, in XvMCClearSubpicture() argument
384 if (!subpicture) in XvMCClearSubpicture()
390 subpicture_priv = subpicture->privData; in XvMCClearSubpicture()
409 Status XvMCCompositeSubpicture(Display *dpy, XvMCSubpicture *subpicture, XvImage *image, in XvMCCompositeSubpicture() argument
419 XVMC_MSG(XVMC_TRACE, "[XvMC] Compositing subpicture %p.\n", subpicture); in XvMCCompositeSubpicture()
423 if (!subpicture) in XvMCCompositeSubpicture()
428 if (subpicture->xvimage_id != image->id) in XvMCCompositeSubpicture()
435 subpicture_priv = subpicture->privData; in XvMCCompositeSubpicture()
449 XVMC_MSG(XVMC_TRACE, "[XvMC] Subpicture %p composited.\n", subpicture); in XvMCCompositeSubpicture()
455 Status XvMCDestroySubpicture(Display *dpy, XvMCSubpicture *subpicture) in XvMCDestroySubpicture() argument
459 XVMC_MSG(XVMC_TRACE, "[XvMC] Destroying subpicture %p.\n", subpicture); in XvMCDestroySubpicture()
463 if (!subpicture) in XvMCDestroySubpicture()
466 subpicture_priv = subpicture->privData; in XvMCDestroySubpicture()
471 XVMC_MSG(XVMC_TRACE, "[XvMC] Subpicture %p destroyed.\n", subpicture); in XvMCDestroySubpicture()
477 Status XvMCSetSubpicturePalette(Display *dpy, XvMCSubpicture *subpicture, unsigned char *palette) in XvMCSetSubpicturePalette() argument
487 if (!subpicture) in XvMCSetSubpicturePalette()
490 subpicture_priv = subpicture->privData; in XvMCSetSubpicturePalette()
494 dst_box.width = subpicture->num_palette_entries; in XvMCSetSubpicturePalette()
498 XVMC_MSG(XVMC_TRACE, "[XvMC] Palette of Subpicture %p set.\n", subpicture); in XvMCSetSubpicturePalette()
504 Status XvMCBlendSubpicture(Display *dpy, XvMCSurface *target_surface, XvMCSubpicture *subpicture, in XvMCBlendSubpicture() argument
514 …XVMC_MSG(XVMC_TRACE, "[XvMC] Associating subpicture %p with surface %p.\n", subpicture, target_sur… in XvMCBlendSubpicture()
521 if (!subpicture) in XvMCBlendSubpicture()
524 if (target_surface->context_id != subpicture->context_id) in XvMCBlendSubpicture()
530 subpicture_priv = subpicture->privData; in XvMCBlendSubpicture()
536 surface_priv->subpicture = subpicture; in XvMCBlendSubpicture()
544 … XvMCSubpicture *subpicture, short subx, short suby, unsigned short subw, unsigned short subh, in XvMCBlendSubpicture2() argument
552 if (!subpicture) in XvMCBlendSubpicture2()
555 if (source_surface->context_id != subpicture->context_id) in XvMCBlendSubpicture2()
558 if (source_surface->context_id != subpicture->context_id) in XvMCBlendSubpicture2()
567 Status XvMCSyncSubpicture(Display *dpy, XvMCSubpicture *subpicture) in XvMCSyncSubpicture() argument
571 if (!subpicture) in XvMCSyncSubpicture()
578 Status XvMCFlushSubpicture(Display *dpy, XvMCSubpicture *subpicture) in XvMCFlushSubpicture() argument
582 if (!subpicture) in XvMCFlushSubpicture()
589 Status XvMCGetSubpictureStatus(Display *dpy, XvMCSubpicture *subpicture, int *status) in XvMCGetSubpictureStatus() argument
593 if (!subpicture) in XvMCGetSubpictureStatus()