Re: [Mesa-dev] [PATCH] st/vdpau: fix YCbCr down/up-loads for buffers larger than requested

2012-06-07 Thread Emeric Grange
2012/6/7 Andy Furniss > Andy Furniss wrote: > >> Andy Furniss wrote: >> >>> Christian König wrote: >>> When the video buffer turns out to be larger than requested by the application we shouldn't upload or download more data into / from it original requested. Fixes:

Re: [Mesa-dev] [PATCH 1/2] st/vdpau: add VC-1 startcode if none is found in the stream

2012-03-15 Thread Emeric Grange
2012/3/15 Christian König > Hi Emeric, > > On 15.03.2012 15:13, Emeric Grange wrote: > >> I actually made some code that does exactly the opposite, for H.264 and >> VP8, removing the start code from the first buffer containing it (so the >> first buffer alltoghethe

Re: [Mesa-dev] [PATCH 1/2] st/vdpau: add VC-1 startcode if none is found in the stream

2012-03-15 Thread Emeric Grange
2012/3/15 Christian König > Signed-off-by: Christian König > --- > src/gallium/state_trackers/vdpau/decode.c | 48 > > 1 files changed, 41 insertions(+), 7 deletions(-) > > diff --git a/src/gallium/state_trackers/vdpau/decode.c > b/src/gallium/state_trackers/vdpau

Re: [Mesa-dev] [PATCH 1/9] st/vdpau: fix chroma_format handling in VideoSurfaceQueryGetPutBitsYCbCrCapabilities

2012-03-09 Thread Emeric Grange
2012/3/9 Christian König > > On 08.03.2012 20:12, Andy Furniss wrote: >> >> Christian König wrote: >> mplayer sw decode + yuy2 vdpau output is corrupted. >>> >>> Yeah, still working on that. The problem is tilling related, just >>> disable 2D tilling and it works like a charm. I think I've fo

Re: [Mesa-dev] [PATCH 1/9] st/vdpau: fix chroma_format handling in VideoSurfaceQueryGetPutBitsYCbCrCapabilities

2012-03-07 Thread Emeric Grange
I'm not sure where to put this issue, but as this series seems to have some effect on it, here it is : I am trying to play a mpeg2 video with a 4:2:2 subsampling using mplayer, with vdpau video output and regular ffmpeg12 video codec (the mesa mpeg2 decoder cannot handle 4:2:2 subsampling anyway i

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

2012-03-07 Thread Emeric Grange
Hi ! I tested the new set of patches and I got xine almost working (it wasn't with the previous series). I can't start Xine alone, but Xine can run my samples if I starts them from the command line. So the problem seems to be drawing the background of the xine window. I get this error either way,

[Mesa-dev] [PATCH] st/vdpau: Link vdpau targets with librt to avoid unresolved symbols error related to the use of the clock_gettime() function

2011-09-22 Thread Emeric Grange
This patch fix a "Unresolved Symbols" run time error when using G3DVL through the VDPAU state tracker, by linking the vdpau targets with librt. Reported by Arkadiusz Miśkiewicz. Caused by this commit : commit e911dbb56374edf9f3b7c4cec0cf9a22738bb198 Author: Emeric Grange Date: Mon

[Mesa-dev] [PATCH 9/9] st/vdpau: Preliminary support for timestamped output surface into the presentation queue

2011-09-12 Thread Emeric Grange
Signed-off-by: Emeric Grange Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/presentation.c | 82 -- src/gallium/state_trackers/vdpau/vdpau_private.h |4 + 2 files changed, 80 insertions(+), 6 deletions(-) diff --git a/src/gallium/state_trackers

[Mesa-dev] [PATCH 8/9] st/vdpau: Output surfaces that are too large to fit into the display target will be clipped

2011-09-12 Thread Emeric Grange
Signed-off-by: Emeric Grange Reviewed-by: Christian König --- src/gallium/state_trackers/vdpau/presentation.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/presentation.c b/src/gallium/state_trackers/vdpau/presentation.c index

[Mesa-dev] [PATCH 7/9] st/vdpau: Add get_clear_color capability

2011-09-12 Thread Emeric Grange
Signed-off-by: Emeric Grange Reviewed-by: Christian König --- src/gallium/state_trackers/vdpau/presentation.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/presentation.c b/src/gallium/state_trackers/vdpau/presentation.c

[Mesa-dev] [PATCH 6/9] st/vdpau: Add documentation from the VDPAU API and update some traces

2011-09-12 Thread Emeric Grange
Signed-off-by: Emeric Grange Reviewed-by: Christian König --- src/gallium/state_trackers/vdpau/bitmap.c| 13 src/gallium/state_trackers/vdpau/decode.c| 21 ++- src/gallium/state_trackers/vdpau/device.c| 22 ++- src/gallium/state_trackers/vdpau/mixer.c

[Mesa-dev] [PATCH 5/9] st/vdpau: Various whitespace cleanups found while reading some code

2011-09-12 Thread Emeric Grange
Signed-off-by: Emeric Grange Reviewed-by: Christian König --- src/gallium/state_trackers/vdpau/bitmap.c|4 ++-- src/gallium/state_trackers/vdpau/decode.c|6 +++--- src/gallium/state_trackers/vdpau/device.c|6 +++--- src/gallium/state_trackers/vdpau/ftab.c

[Mesa-dev] [PATCH 4/9] nouveau: Add max_references parameter to vl_create_decoder()

2011-09-12 Thread Emeric Grange
Signed-off-by: Emeric Grange --- src/gallium/drivers/nouveau/nouveau_video.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_video.c b/src/gallium/drivers/nouveau/nouveau_video.c index 75124e5..162e1aa 100644 --- a/src

[Mesa-dev] [PATCH 3/9] g3dvl: Add max_references parameter to vl_create_decoder()

2011-09-12 Thread Emeric Grange
Signed-off-by: Emeric Grange --- src/gallium/auxiliary/vl/vl_decoder.c |4 ++-- src/gallium/auxiliary/vl/vl_decoder.h |2 +- src/gallium/auxiliary/vl/vl_mpeg12_decoder.c |3 ++- src/gallium/auxiliary/vl/vl_mpeg12_decoder.h |2 +- src/gallium/include/pipe

[Mesa-dev] [PATCH 2/9] g3dvl: Add get_clear_color capability

2011-09-12 Thread Emeric Grange
Signed-off-by: Emeric Grange Reviewed-by: Christian König --- src/gallium/auxiliary/vl/vl_compositor.c | 12 src/gallium/auxiliary/vl/vl_compositor.h |6 ++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src

[Mesa-dev] [PATCH 1/9] g3dvl: Various whitespace cleanups found while reading some code

2011-09-12 Thread Emeric Grange
Signed-off-by: Emeric Grange --- src/gallium/auxiliary/vl/vl_compositor.c | 16 +--- src/gallium/auxiliary/vl/vl_compositor.h | 12 ++-- src/gallium/auxiliary/vl/vl_video_buffer.c |2 +- src/gallium/auxiliary/vl/vl_video_buffer.h |8 4 files changed

[Mesa-dev] [PATCH 0/9] Various patches to the g3dvl stack

2011-09-12 Thread Emeric Grange
hopefully I didn't do any mistakes. Regards, Emeric Emeric Grange (9): g3dvl: Various whitespace cleanups found while reading some code g3dvl: Add get_clear_color capability g3dvl: Add max_references parameter to vl_create_decoder() nouveau: Add max_references parameter to vl_create