Lines Matching refs:buffer_format
86 p_surf->templat.buffer_format = pipe->screen->get_video_param in vlVdpVideoSurfaceCreate()
102 if (p_surf->templat.buffer_format != PIPE_FORMAT_NONE) in vlVdpVideoSurfaceCreate()
171 … *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->video_buffer->buffer_format)); in vlVdpVideoSurfaceGetParameters()
175 *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->templat.buffer_format)); in vlVdpVideoSurfaceGetParameters()
189 pipe_format_to_chroma_format(p_surf->templat.buffer_format), in vlVdpVideoSurfaceSize()
205 enum pipe_format format, buffer_format; in vlVdpVideoSurfaceGetBitsYCbCr() local
228 buffer_format = vlsurface->video_buffer->buffer_format; in vlVdpVideoSurfaceGetBitsYCbCr()
229 if (format != buffer_format) { in vlVdpVideoSurfaceGetBitsYCbCr()
230 if (format == PIPE_FORMAT_YV12 && buffer_format == PIPE_FORMAT_NV12) in vlVdpVideoSurfaceGetBitsYCbCr()
232 else if (format == PIPE_FORMAT_NV12 && buffer_format == PIPE_FORMAT_YV12) in vlVdpVideoSurfaceGetBitsYCbCr()
234 else if ((format == PIPE_FORMAT_YUYV && buffer_format == PIPE_FORMAT_UYVY) || in vlVdpVideoSurfaceGetBitsYCbCr()
235 (format == PIPE_FORMAT_UYVY && buffer_format == PIPE_FORMAT_YUYV)) in vlVdpVideoSurfaceGetBitsYCbCr()
327 ((pformat != p_surf->video_buffer->buffer_format))) { in vlVdpVideoSurfacePutBitsYCbCr()
346 nformat != p_surf->video_buffer->buffer_format) { in vlVdpVideoSurfacePutBitsYCbCr()
352 p_surf->templat.buffer_format = nformat; in vlVdpVideoSurfacePutBitsYCbCr()
368 if (pformat != p_surf->video_buffer->buffer_format) { in vlVdpVideoSurfacePutBitsYCbCr()
370 p_surf->video_buffer->buffer_format == PIPE_FORMAT_NV12) in vlVdpVideoSurfacePutBitsYCbCr()
517 p_surf->video_buffer->buffer_format != PIPE_FORMAT_NV12) { in vlVdpVideoSurfaceDMABuf()