Hi, Here is a series of small patches to the g3dvl video decoding stack. Most of these are extracted from my GSoC 2011 work and are not related to VP8 decoding (http://cgit.freedesktop.org/~emericg/mesa-vp8/).
The third and fourth patches are only useful for codecs that use more than 2 reference surfaces or a variable number of reference surfaces. The sixth patch adds short functions description to the VDPAU state tracker. I just used the "official" VDPAU API documentation from : ftp://download.nvidia.com/XFree86/vdpau/doxygen/html/index.html. The ninth patch adds support for the mplayer2 VDPAU output. So far only mplayer and mplayer2 are working with the VDPAU state tracker, and I was not able to a run gstreamer based media player or xbmc with it, however the errors encountered are not from the state tracker. These are my first patches sent so please bear with me, and 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_decoder() st/vdpau: Various whitespace cleanups found while reading some code st/vdpau: Add documentation from the VDPAU API and update some traces st/vdpau: Add get_clear_color capability st/vdpau: Output surfaces that are too large to fit into the display target will be clipped st/vdpau: Preliminary support for timestamped output surface into the presentation queue src/gallium/auxiliary/vl/vl_compositor.c | 28 ++++- src/gallium/auxiliary/vl/vl_compositor.h | 18 ++- 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/auxiliary/vl/vl_video_buffer.c | 2 +- src/gallium/auxiliary/vl/vl_video_buffer.h | 8 +- src/gallium/drivers/nouveau/nouveau_video.c | 13 +- src/gallium/include/pipe/p_context.h | 2 +- src/gallium/include/pipe/p_video_decoder.h | 1 + src/gallium/state_trackers/vdpau/bitmap.c | 17 +++- src/gallium/state_trackers/vdpau/decode.c | 31 ++++-- src/gallium/state_trackers/vdpau/device.c | 28 ++++- src/gallium/state_trackers/vdpau/ftab.c | 2 +- src/gallium/state_trackers/vdpau/mixer.c | 38 ++++++- src/gallium/state_trackers/vdpau/output.c | 43 ++++++- src/gallium/state_trackers/vdpau/preemption.c | 24 +++-- src/gallium/state_trackers/vdpau/presentation.c | 137 ++++++++++++++++++++-- src/gallium/state_trackers/vdpau/query.c | 71 ++++++++++-- src/gallium/state_trackers/vdpau/surface.c | 17 +++ src/gallium/state_trackers/vdpau/vdpau_private.h | 22 +++-- src/gallium/state_trackers/xorg/xvmc/context.c | 2 +- 23 files changed, 421 insertions(+), 94 deletions(-) -- 1.7.6.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev