Re: [Mesa-dev] [PATCH 9/9] vl/video_buffer: add YUYV and UYVY support

2012-03-05 Thread Andy Furniss
Christian König wrote: That assertion is indeed incorrect now, but the problem lies even deeper. Neither our MPEG2 decoder nor xines software decoder can handle 4:2:2 streams, so I couldn't find a way to test that probably. Xine is just checking for YUY2 support before using VDPAU in any way, so

Re: [Mesa-dev] [PATCH 9/9] vl/video_buffer: add YUYV and UYVY support

2012-03-05 Thread Christian König
On 04.03.2012 14:59, Andy Furniss wrote: Christian König wrote: This gets xine working with VDPAU. Didn't for me but my xine may be borked :-( But then YUY2 with mplayer is also failing - vl/vl_video_buffer.c:451:vl_video_buffer_create_ex: Assertion `tmpl->chroma_format == PIPE_VIDEO_CHROMA

Re: [Mesa-dev] [PATCH 9/9] vl/video_buffer: add YUYV and UYVY support

2012-03-04 Thread Andy Furniss
Christian König wrote: This gets xine working with VDPAU. Didn't for me but my xine may be borked :-( But then YUY2 with mplayer is also failing - vl/vl_video_buffer.c:451:vl_video_buffer_create_ex: Assertion `tmpl->chroma_format == PIPE_VIDEO_CHROMA_FORMAT_444' failed. Same stream works w

[Mesa-dev] [PATCH 9/9] vl/video_buffer: add YUYV and UYVY support

2012-03-04 Thread Christian König
This gets xine working with VDPAU. Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_video_buffer.c | 52 +--- 1 files changed, 47 insertions(+), 5 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_video_buffer.c b/src/gallium/auxiliary/vl/vl_video_bu