Lines Matching defs:format
195 * YCbCr format.
205 enum pipe_format format, buffer_format;
221 format = FormatYCBCRToPipe(destination_ycbcr_format);
222 if (format == PIPE_FORMAT_NONE)
229 if (format != buffer_format) {
230 if (format == PIPE_FORMAT_YV12 && buffer_format == PIPE_FORMAT_NV12)
232 else if (format == PIPE_FORMAT_NV12 && buffer_format == PIPE_FORMAT_YV12)
234 else if ((format == PIPE_FORMAT_YUYV && buffer_format == PIPE_FORMAT_UYVY) ||
235 (format == PIPE_FORMAT_UYVY && buffer_format == PIPE_FORMAT_YUYV))
283 util_copy_rect(destination_data[i] + destination_pitches[i] * j, sv->texture->format,
297 * Copy image data from application memory in a specific YCbCr format to
331 /* Determine the most suitable format for the new surface */
356 /* and try to create the video buffer with the new format */
548 if (surf->format == PIPE_FORMAT_R8_UNORM)
549 result->format = VDP_RGBA_FORMAT_R8;
551 result->format = VDP_RGBA_FORMAT_R8G8;