Lines Matching refs:buffer_format
85 p_surf->templat.buffer_format = ChromaToPipeFormat(chroma_type); in vlVdpVideoSurfaceCreate()
95 if (p_surf->templat.buffer_format != PIPE_FORMAT_NONE) in vlVdpVideoSurfaceCreate()
169 … *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->video_buffer->buffer_format)); in vlVdpVideoSurfaceGetParameters()
173 *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->templat.buffer_format)); in vlVdpVideoSurfaceGetParameters()
187 pipe_format_to_chroma_format(p_surf->templat.buffer_format), in vlVdpVideoSurfaceSize()
203 enum pipe_format format, buffer_format; in vlVdpVideoSurfaceGetBitsYCbCr() local
226 buffer_format = vlsurface->video_buffer->buffer_format; in vlVdpVideoSurfaceGetBitsYCbCr()
227 if (format != buffer_format) { in vlVdpVideoSurfaceGetBitsYCbCr()
228 if (format == PIPE_FORMAT_YV12 && buffer_format == PIPE_FORMAT_NV12) in vlVdpVideoSurfaceGetBitsYCbCr()
230 else if (format == PIPE_FORMAT_NV12 && buffer_format == PIPE_FORMAT_YV12) in vlVdpVideoSurfaceGetBitsYCbCr()
232 else if ((format == PIPE_FORMAT_YUYV && buffer_format == PIPE_FORMAT_UYVY) || in vlVdpVideoSurfaceGetBitsYCbCr()
233 (format == PIPE_FORMAT_UYVY && buffer_format == PIPE_FORMAT_YUYV)) in vlVdpVideoSurfaceGetBitsYCbCr()
323 ((pformat != p_surf->video_buffer->buffer_format))) { in vlVdpVideoSurfacePutBitsYCbCr()
342 nformat != p_surf->video_buffer->buffer_format) { in vlVdpVideoSurfacePutBitsYCbCr()
348 p_surf->templat.buffer_format = nformat; in vlVdpVideoSurfacePutBitsYCbCr()
364 if (pformat != p_surf->video_buffer->buffer_format) { in vlVdpVideoSurfacePutBitsYCbCr()
366 p_surf->video_buffer->buffer_format == PIPE_FORMAT_NV12) in vlVdpVideoSurfacePutBitsYCbCr()
511 p_surf->video_buffer->buffer_format != PIPE_FORMAT_NV12) { in vlVdpVideoSurfaceDMABuf()