Lines Matching refs:xvimage_id
52 int xvimage_id) in XvIDToPipe() argument
57 switch (xvimage_id) { in XvIDToPipe()
77 XVMC_MSG(XVMC_ERR, "[XvMC] Unrecognized Xv image ID 0x%08X.\n", xvimage_id); in XvIDToPipe()
83 …R, "[XvMC] Unsupported 2D format %s for Xv image ID 0x%08X.\n", util_format_name(ret), xvimage_id); in XvIDToPipe()
90 static unsigned NumPaletteEntries4XvID(int xvimage_id) in NumPaletteEntries4XvID() argument
92 switch (xvimage_id) { in NumPaletteEntries4XvID()
101 XVMC_MSG(XVMC_ERR, "[XvMC] Unrecognized Xv image ID 0x%08X.\n", xvimage_id); in NumPaletteEntries4XvID()
147 static Status Validate(Display *dpy, XvPortID port, int surface_type_id, int xvimage_id) in Validate() argument
162 if (subpictures[i].id == xvimage_id) { in Validate()
172 … port, surface_type_id, xvimage_id, subpictures[i].type, subpictures[i].byte_order, in Validate()
262 unsigned short width, unsigned short height, int xvimage_id) in XvMCCreateSubpicture() argument
289 ret = Validate(dpy, context->port, context->surface_type_id, xvimage_id); in XvMCCreateSubpicture()
299 tex_templ.format = XvIDToPipe(pipe->screen, xvimage_id); in XvMCCreateSubpicture()
333 subpicture->xvimage_id = xvimage_id; in XvMCCreateSubpicture()
336 subpicture->num_palette_entries = NumPaletteEntries4XvID(xvimage_id); in XvMCCreateSubpicture()
428 if (subpicture->xvimage_id != image->id) in XvMCCompositeSubpicture()