Home
last modified time | relevance | path

Searched refs:subpicture (Results 1 - 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/xvmc/
H A Dsubpicture.c163 XVMC_MSG(XVMC_TRACE, "[XvMC] Found requested subpicture format.\n" \ in Validate()
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 in XvMCCreateSubpicture()
370 XvMCClearSubpicture(Display *dpy, XvMCSubpicture *subpicture, short x, short y, unsigned short width, unsigned short height, unsigned int color) XvMCClearSubpicture() argument
409 XvMCCompositeSubpicture(Display *dpy, XvMCSubpicture *subpicture, XvImage *image, short srcx, short srcy, unsigned short width, unsigned short height, short dstx, short dsty) XvMCCompositeSubpicture() argument
455 XvMCDestroySubpicture(Display *dpy, XvMCSubpicture *subpicture) XvMCDestroySubpicture() argument
477 XvMCSetSubpicturePalette(Display *dpy, XvMCSubpicture *subpicture, unsigned char *palette) XvMCSetSubpicturePalette() argument
504 XvMCBlendSubpicture(Display *dpy, XvMCSurface *target_surface, XvMCSubpicture *subpicture, short subx, short suby, unsigned short subw, unsigned short subh, short surfx, short surfy, unsigned short surfw, unsigned short surfh) XvMCBlendSubpicture() argument
543 XvMCBlendSubpicture2(Display *dpy, XvMCSurface *source_surface, XvMCSurface *target_surface, XvMCSubpicture *subpicture, short subx, short suby, unsigned short subw, unsigned short subh, short surfx, short surfy, unsigned short surfw, unsigned short surfh) XvMCBlendSubpicture2() argument
567 XvMCSyncSubpicture(Display *dpy, XvMCSubpicture *subpicture) XvMCSyncSubpicture() argument
578 XvMCFlushSubpicture(Display *dpy, XvMCSubpicture *subpicture) XvMCFlushSubpicture() argument
589 XvMCGetSubpictureStatus(Display *dpy, XvMCSubpicture *subpicture, int *status) XvMCGetSubpictureStatus() argument
[all...]
H A Dsurface.c387 subpicture_priv = surface_priv->subpicture ? surface_priv->subpicture->privData : NULL; in XvMCPutSurface()
424 XVMC_MSG(XVMC_TRACE, "[XvMC] Surface %p has subpicture %p.\n", surface, surface_priv->subpicture); in XvMCPutSurface()
435 surface_priv->subpicture = NULL; in XvMCPutSurface()
H A Dxvmc_private.h78 /* The subpicture associated with this surface, if any. */
79 XvMCSubpicture *subpicture; member
90 /* optional palette for this subpicture */
96 /* The surface this subpicture is currently associated with, if any. */
99 /* Some XvMC functions take a subpicture but not a context,
100 so we keep track of which context each subpicture belongs to. */
/third_party/mesa3d/src/gallium/frontends/xvmc/tests/
H A Dtest_subpicture.c71 XvMCSubpicture subpicture = {0}; in main() local
147 assert(XvMCCreateSubpicture(display, NULL, &subpicture, subpic_width, subpic_height, subpics[0].id) == XvMCBadContext); in main()
148 /* Test NULL subpicture */ in main()
150 /* Test invalid subpicture */ in main()
151 assert(XvMCCreateSubpicture(display, &context, &subpicture, subpic_width, subpic_height, -1) == BadMatch); in main()
153 assert(XvMCCreateSubpicture(display, &context, &subpicture, 16384, subpic_height, subpics[0].id) == BadValue); in main()
155 assert(XvMCCreateSubpicture(display, &context, &subpicture, subpic_width, 16384, subpics[0].id) == BadValue); in main()
157 assert(XvMCCreateSubpicture(display, &context, &subpicture, 16384, 16384, subpics[0].id) == BadValue); in main()
161 assert(XvMCCreateSubpicture(display, &context, &subpicture, subpic_width, subpic_height, subpics[i].id) == Success); in main()
162 /* Test subpicture i in main()
[all...]
/third_party/mesa3d/src/gallium/frontends/va/
H A Dsubpicture.c66 VASubpictureID *subpicture) in vlVaCreateSubpicture()
90 *subpicture = handle_table_add(VL_VA_DRIVER(ctx)->htab, sub); in vlVaCreateSubpicture()
97 vlVaDestroySubpicture(VADriverContextP ctx, VASubpictureID subpicture) in vlVaDestroySubpicture() argument
108 sub = handle_table_get(drv->htab, subpicture); in vlVaDestroySubpicture()
115 handle_table_remove(drv->htab, subpicture); in vlVaDestroySubpicture()
122 vlVaSubpictureImage(VADriverContextP ctx, VASubpictureID subpicture, VAImageID image) in vlVaSubpictureImage() argument
140 sub = handle_table_get(drv->htab, subpicture); in vlVaSubpictureImage()
151 vlVaSetSubpictureChromakey(VADriverContextP ctx, VASubpictureID subpicture, in vlVaSetSubpictureChromakey() argument
161 vlVaSetSubpictureGlobalAlpha(VADriverContextP ctx, VASubpictureID subpicture, float global_alpha) in vlVaSetSubpictureGlobalAlpha() argument
170 vlVaAssociateSubpicture(VADriverContextP ctx, VASubpictureID subpicture, in vlVaAssociateSubpicture() argument
65 vlVaCreateSubpicture(VADriverContextP ctx, VAImageID image, VASubpictureID *subpicture) vlVaCreateSubpicture() argument
247 vlVaDeassociateSubpicture(VADriverContextP ctx, VASubpictureID subpicture, VASurfaceID *target_surfaces, int num_surfaces) vlVaDeassociateSubpicture() argument
[all...]
H A Dva_private.h397 VAStatus vlVaCreateSubpicture(VADriverContextP ctx, VAImageID image, VASubpictureID *subpicture);
398 VAStatus vlVaDestroySubpicture(VADriverContextP ctx, VASubpictureID subpicture);
399 VAStatus vlVaSubpictureImage(VADriverContextP ctx, VASubpictureID subpicture, VAImageID image);
400 VAStatus vlVaSetSubpictureChromakey(VADriverContextP ctx, VASubpictureID subpicture,
403 VAStatus vlVaSetSubpictureGlobalAlpha(VADriverContextP ctx, VASubpictureID subpicture, float global_alpha);
404 VAStatus vlVaAssociateSubpicture(VADriverContextP ctx, VASubpictureID subpicture, VASurfaceID *target_surfaces,
409 VAStatus vlVaDeassociateSubpicture(VADriverContextP ctx, VASubpictureID subpicture,

Completed in 4 milliseconds