[Mesa-dev] [PATCH] r600g: Make unaligned 3D textures work on +evergreen

2011-08-29 Thread deathsimple
From: Christian König The layersize calculation is slightly different on +evergreen. This makes mpeg2 video decoding and piglits texture-packed-formats test work correctly on this hardware. --- src/gallium/drivers/r600/r600_texture.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-

[Mesa-dev] [PATCH 6/7] g3dvl: Use a single texture for luma and chroma data

2011-08-24 Thread deathsimple
From: Christian König --- src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c | 20 ++-- src/gallium/auxiliary/vl/vl_mpeg12_bitstream.h |5 +- src/gallium/auxiliary/vl/vl_mpeg12_decoder.c | 146 +++- src/gallium/auxiliary/vl/vl_mpeg12_decoder.h |8 +- src/gallium/au

[Mesa-dev] [PATCH 5/7] g3dvl: Rework the decoder interface part 5/5

2011-08-24 Thread deathsimple
From: Christian König Make setting the quant matrixes a generic interface. Also removes setting the quant matrix from the XvMC interface --- src/gallium/auxiliary/vl/vl_mpeg12_decoder.c | 15 +++ src/gallium/include/pipe/p_video_decoder.h |3 +-- src/gallium/include/pipe/

[Mesa-dev] [PATCH 1/7] g3dvl: Rework the decoder interface part 1/5

2011-08-24 Thread deathsimple
From: Christian König First of all get ride of the decode_buffer structure, while still giving the decoder the ability to organize it's buffers depending on the needs of the state tracker. --- src/gallium/auxiliary/vl/vl_mpeg12_decoder.c | 465 +++- src/gallium/auxiliary/v

[Mesa-dev] [PATCH 4/7] g3dvl: Rework the decoder interface part 4/5

2011-08-24 Thread deathsimple
From: Christian König Make the picture_structure enum spec complient. Also remove it from the compositor. --- src/gallium/auxiliary/vl/vl_compositor.c|1 - src/gallium/auxiliary/vl/vl_compositor.h|1 - src/gallium/include/pipe/p_video_state.h| 12 s

[Mesa-dev] [PATCH 2/7] g3dvl: Rework the decoder interface part 2/5

2011-08-24 Thread deathsimple
From: Christian König Implement PIPE_CAP_NUM_BUFFERS_DESIRED giving the decoder control over the number of buffers a state tracker should allocate. --- src/gallium/auxiliary/vl/vl_decoder.c| 13 +++ src/gallium/auxiliary/vl/vl_decoder.h|6 +++ src/gallium/driver

[Mesa-dev] Reworking the g3dvl interface and mpeg 2 bitstream parser

2011-08-24 Thread deathsimple
Hi, the following patchset is the second version of reworking the g3dvl driver interface. Additionally to the first version it also replaces the mpeg 2 bitstream decoder and all the GPL licensed code with another implementation. The new bitstream parser is based on code from Maarten Lankhorst and