summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl
Commit message (Collapse)AuthorAgeFilesLines
* g3dvl: Fix memory leaks on error paths.Vinson Lee2011-11-051-1/+4
| | | | | | Fixes Coverity resource leak defect. Reviewed-by: Brian Paul <[email protected]>
* state_trackers/vdpau: Implement VdpGenerateCSCMatrixMaarten Lankhorst2011-11-032-1/+21
| | | | | | With the smpte240 profile, which was missing. Signed-off-by: Maarten Lankhorst <[email protected]>
* g3dvl: remove some stale variable incrementChristian König2011-11-031-1/+1
| | | | | | | | Incrementing "td" before initializing it is pointless and just leads to an uninitialized variable warning with MSVC. Signed-off-by: Christian König <[email protected]>
* g3dvl: Don't use SCALED types for iDCTChristian König2011-09-251-4/+4
| | | | | | | This should bring g3dvl back to work until we figured out how SCALED types should really work. Signed-off-by: Christian König <[email protected]>
* gallium: move clear paths from rgba to a pointer to a color union (v2)Dave Airlie2011-09-182-16/+10
| | | | | | | | | | | | | | | This moves the gallium interface for clears from using a pointer to 4 floats to a pointer to a union of float/unsigned/int values. Notes: 1. the value is opaque. 2. only when the value is used should it be interpretered according to the surface format it is going to be used with. 3. float clears on integer buffers and vice-versa are undefined. v2: fixed up vega and graw, dropped hunks that shouldn't have been in patch. Signed-off-by: Dave Airlie <[email protected]>
* g3dvl: Add max_references parameter to vl_create_decoder()Emeric Grange2011-09-144-5/+6
| | | | Signed-off-by: Emeric Grange <[email protected]>
* g3dvl: Add get_clear_color capabilityEmeric Grange2011-09-142-0/+18
| | | | | Signed-off-by: Emeric Grange <[email protected]> Reviewed-by: Christian König <[email protected]>
* g3dvl: Various whitespace cleanups found while reading some codeEmeric Grange2011-09-144-18/+20
| | | | Signed-off-by: Emeric Grange <[email protected]>
* g3dvl: extend the functionality of the compositorChristian König2011-09-012-29/+77
| | | | Prepares for vdpau menu overlay.
* vl: Fix include styleKai Wasserbäch2011-08-2920-63/+63
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* g3dvl: Fix a bug not decoding the last 32-64 bits of an mpeg2 bitstream.Christian König2011-08-292-8/+7
| | | | Another bug found by Andy Furniss.
* g3dvl: use pointer_to_uintptr() to silence a cast warningBrian Paul2011-08-261-1/+2
|
* g3dvl: s/inline/INLINE/ to fix MSVC buildBrian Paul2011-08-261-3/+3
|
* g3dvl: fix compilation failure on MSVCBrian Paul2011-08-261-1/+2
| | | | I assume the intention of "mb = {}" was to zero-initialize it.
* g3dvl: Rewrite the mpeg 1&2 bitstream parserChristian König2011-08-264-1751/+923
| | | | | | | Based on work of Maarten Lankhorst this time. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Use a single texture for luma and chroma dataChristian König2011-08-266-140/+91
| | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 5/5Christian König2011-08-261-4/+11
| | | | | | | | Make setting the quant matrixes a generic interface. Also removes setting the quant matrix from the XvMC interface Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 4/5Christian König2011-08-262-2/+0
| | | | | | | | Make the picture_structure enum spec complient. Also remove it from the compositor. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 3/5Christian König2011-08-266-82/+301
| | | | | | | | Revert back to a macroblock based interface. The structure used tries to keep as close to the spec as possible. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 2/5Christian König2011-08-262-0/+19
| | | | | | | | Implement PIPE_CAP_NUM_BUFFERS_DESIRED giving the decoder control over the number of buffers a state tracker should allocate. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 1/5Christian König2011-08-262-220/+254
| | | | | | | | | 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. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: remove unused vs output from create_ref_vert_shaderChristian König2011-07-251-4/+1
| | | | | The position of the quad vertex is calculated in calc_position, so we don't need the output here any more.
* Revert "g3dvl: Preserve previously rendered components for MC output."Younes Manton2011-07-211-4/+4
| | | | | | This reverts commit b56daf71d2f63d044d4c53ab49c6f87e02991a28. The bug is actually in softpipe's blend and writemask interaction.
* g3dvl: remove unused vertex shader inputsMarek Olšák2011-07-202-4/+4
| | | | See also comments in the code.
* g3dvl: Preserve previously rendered components for MC output.Younes Manton2011-07-201-4/+4
| | | | Fixes xvmc-softpipe MC entrypoint, amongst others.
* g3dvl: Init/clean pipe fully when a shader-based decoder isn't used.Younes Manton2011-07-202-0/+26
| | | | Fixes VDPAU CSC-only mode.
* g3dvl: no need for flushing inside the compositor any moreChristian König2011-07-152-6/+2
| | | | Move that also inside the state tracker where needed.
* g3dvl: correctly distinct dst area and clip area in the compositorChristian König2011-07-152-10/+19
| | | | Otherwise xine won't scale correctly.
* g3dvl: change picture parameter of decode_bitstream to general versionChristian König2011-07-151-3/+5
| | | | Using pipe_mpeg12_picture_desc was unintentional here.
* g3dvl: Remove non-constant expression array initializers.Vinson Lee2011-07-132-7/+31
| | | | The array initializer must be a constant expression in MSVC.
* g3dvl: Remove designated initializers.Vinson Lee2011-07-131-4/+4
| | | | MSVC does not support designated initializers.
* g3dvl: s/inline/INLINE/Vinson Lee2011-07-133-36/+40
| | | | The inline keyword is not available in MSVC C.
* [g3dvl] don't upload all quant buffer layers at onceChristian König2011-07-133-21/+14
| | | | | | | There seems to be a bug in r600g when uploading more than one layer of a 3D resource at once with a hardware blit. So just do them one at a time to workaround this.
* [g3dvl] implement workaround for missing blender clamp controlChristian König2011-07-132-7/+35
| | | | It's about 20% slower, but should at least work with every hardware.
* [g3dvl] keep a pointer in idct buffer to idct objectChristian König2011-07-133-20/+26
| | | | So we always know to which idct object a buffer belongs
* [g3dvl] add some more PIPE_VIDEO_CAPsChristian König2011-07-124-0/+34
|
* [g3dvl] fix a whole bunch of memory leaksChristian König2011-07-113-4/+11
|
* [g3dvl] and finally remove pipe_video_contextChristian König2011-07-086-121/+92
|
* [g3dvl] move video buffer creation out of video contextChristian König2011-07-084-79/+91
|
* [g3dvl] move compositor creation and handling directly into the state trackersChristian König2011-07-083-83/+130
|
* [g3dvl] remove sampler view handling from video contextChristian König2011-07-081-86/+0
|
* [g3dvl] remove create_surface from video contextChristian König2011-07-081-13/+0
|
* [g3dvl] make pipe_context mandatory for creation pipe_video_contextChristian König2011-07-081-2/+0
|
* [g3dvl] rename is_format_supported to is_video_format_supported and move it ↵Christian König2011-07-083-31/+35
| | | | into screen object
* [g3dvl] rename get_param to get_video_param and move into screen objectChristian König2011-07-072-23/+17
|
* [g3dvl] rework video buffer format handlingChristian König2011-06-073-30/+53
|
* [g3dvl] move dummy quantification into xvmc state trackerChristian König2011-06-071-15/+3
|
* [g3dvl] split quant matrix out of picture infoChristian König2011-06-051-7/+14
|
* [g3dvl] rename map/unmap to begin/end frameChristian König2011-06-051-4/+4
| | | | | mapping and unmapping of buffers is just an implementation detail. begining and ending an frame is much more descriptive
* [g3dvl] remove unused and dublicate fields from picture structureChristian König2011-06-051-3/+3
|