profile/ivi/mesa.git
13 years ago[g3dvl] cleanup error handling
Christian König [Sat, 23 Apr 2011 11:58:08 +0000 (13:58 +0200)]
[g3dvl] cleanup error handling

13 years ago[g3dvl] make ycbcr stream and block data a public interface
Christian König [Sat, 23 Apr 2011 11:24:35 +0000 (13:24 +0200)]
[g3dvl] make ycbcr stream and block data a public interface

13 years ago[g3dvl] start implementing zscan and quantification
Christian König [Sat, 23 Apr 2011 01:37:05 +0000 (03:37 +0200)]
[g3dvl] start implementing zscan and quantification

Not 100% complete, but at least a good start.

13 years ago[g3dvl] make motion vector buffers a public interface
Christian König [Wed, 20 Apr 2011 11:44:26 +0000 (13:44 +0200)]
[g3dvl] make motion vector buffers a public interface

13 years ago[g3dvl] revert commit 310eea52ca1e997295c84163066cc5d0fd4f8cf6
Christian König [Tue, 19 Apr 2011 19:06:59 +0000 (21:06 +0200)]
[g3dvl] revert commit 310eea52ca1e997295c84163066cc5d0fd4f8cf6

Using a seperate vertex buffer for mc and ycbcr handling is still better.

13 years ago[g3dvl] give each color component their own vertex buffer
Christian König [Sun, 17 Apr 2011 21:21:32 +0000 (23:21 +0200)]
[g3dvl] give each color component their own vertex buffer

13 years ago[g3dvl] no need for seperate mv vertex states any more
Christian König [Sun, 17 Apr 2011 19:31:31 +0000 (21:31 +0200)]
[g3dvl] no need for seperate mv vertex states any more

13 years ago[g3dvl] give mv their own vertex buffer back
Christian König [Sun, 17 Apr 2011 16:53:22 +0000 (18:53 +0200)]
[g3dvl] give mv their own vertex buffer back

13 years ago[g3dvl] move blender state into idct code
Christian König [Sun, 17 Apr 2011 11:01:56 +0000 (13:01 +0200)]
[g3dvl] move blender state into idct code

13 years ago[g3dvl] rename vl_mpeg12_mc_renderer into vl_mc
Christian König [Sun, 17 Apr 2011 10:15:14 +0000 (12:15 +0200)]
[g3dvl] rename vl_mpeg12_mc_renderer into vl_mc

It's still not 100% free from mpeg12 specific stuff,
but should now be a good start for other codecs.

13 years ago[g3dvl] move top/bottom field selection into mc code
Christian König [Sun, 17 Apr 2011 10:04:18 +0000 (12:04 +0200)]
[g3dvl] move top/bottom field selection into mc code

Removes the workaround and get interlaced videos to work 100% correctly.

13 years ago[g3dvl] make macroblock_size configurable in mc
Christian König [Sat, 16 Apr 2011 14:22:53 +0000 (16:22 +0200)]
[g3dvl] make macroblock_size configurable in mc

13 years ago[g3dvl] remove dummy sampler from mc
Christian König [Sat, 16 Apr 2011 14:02:40 +0000 (16:02 +0200)]
[g3dvl] remove dummy sampler from mc

13 years ago[g3dvl] move mc fb and viewport handling into buffer object
Christian König [Sat, 16 Apr 2011 11:40:19 +0000 (13:40 +0200)]
[g3dvl] move mc fb and viewport handling into buffer object

13 years ago[g3dvl] back to seperate mc for y and c planes
Christian König [Sat, 16 Apr 2011 11:04:04 +0000 (13:04 +0200)]
[g3dvl] back to seperate mc for y and c planes

13 years agovdpau: implement VDPAU_DUMP option
Christian König [Sat, 16 Apr 2011 10:57:45 +0000 (12:57 +0200)]
vdpau: implement VDPAU_DUMP option

13 years ago[g3dvl] give mc and ycbcr stage its own vertex element state
Christian König [Fri, 15 Apr 2011 20:15:17 +0000 (22:15 +0200)]
[g3dvl] give mc and ycbcr stage its own vertex element state

13 years ago[g3dvl] give mv and ycbcr stage its own vertex shader
Christian König [Fri, 15 Apr 2011 19:26:06 +0000 (21:26 +0200)]
[g3dvl] give mv and ycbcr stage its own vertex shader

13 years ago[g3dvl] set ref samplers to linear again
Christian König [Thu, 14 Apr 2011 22:01:27 +0000 (00:01 +0200)]
[g3dvl] set ref samplers to linear again

13 years ago[g3dvl] use blending for mc of ref frames
Christian König [Thu, 14 Apr 2011 20:31:40 +0000 (22:31 +0200)]
[g3dvl] use blending for mc of ref frames

13 years ago[g3dvl] cleanup blender and sampler views
Christian König [Wed, 13 Apr 2011 22:40:24 +0000 (00:40 +0200)]
[g3dvl] cleanup blender and sampler views

13 years ago[g3dvl] split mc into seperate stages
Christian König [Wed, 13 Apr 2011 20:45:54 +0000 (22:45 +0200)]
[g3dvl] split mc into seperate stages

13 years ago[g3dvl] move intra handling into fetch_ycbcr
Christian König [Wed, 13 Apr 2011 18:07:21 +0000 (20:07 +0200)]
[g3dvl] move intra handling into fetch_ycbcr

13 years agoxvmc: use a pipe_video_rect for subpicture src & dst
Christian König [Wed, 13 Apr 2011 17:32:49 +0000 (19:32 +0200)]
xvmc: use a pipe_video_rect for subpicture src & dst

13 years agoxvmc: Define some Xv attribs to allow users to specify color standard and procamp
Christian König [Wed, 13 Apr 2011 16:50:18 +0000 (18:50 +0200)]
xvmc: Define some Xv attribs to allow users to specify color standard and procamp

13 years agoxvmc: move subpicture swizzle into own function
Christian König [Tue, 12 Apr 2011 20:07:03 +0000 (22:07 +0200)]
xvmc: move subpicture swizzle into own function

13 years agoxvmc: fix compiler warning
Christian König [Tue, 12 Apr 2011 19:51:41 +0000 (21:51 +0200)]
xvmc: fix compiler warning

13 years agoxvmc: flush surface of macroblock (0,0) is detected
Christian König [Tue, 12 Apr 2011 19:42:08 +0000 (21:42 +0200)]
xvmc: flush surface of macroblock (0,0) is detected

13 years ago[g3dvl] make resource_format param const
Christian König [Tue, 12 Apr 2011 18:45:31 +0000 (20:45 +0200)]
[g3dvl] make resource_format param const

13 years agoxvmc: cleanup headers
Christian König [Tue, 12 Apr 2011 18:38:21 +0000 (20:38 +0200)]
xvmc: cleanup headers

13 years agovdpau: switch cb cr planes in vlVdpVideoSurfacePutBitsYCbCr
Christian König [Tue, 12 Apr 2011 18:19:59 +0000 (20:19 +0200)]
vdpau: switch cb cr planes in vlVdpVideoSurfacePutBitsYCbCr

13 years agovdpau: set at least a basic csc matrix
Christian König [Tue, 12 Apr 2011 17:42:47 +0000 (19:42 +0200)]
vdpau: set at least a basic csc matrix

13 years ago[g3dvl] make resource format selection a public interface
Christian König [Tue, 12 Apr 2011 17:21:07 +0000 (19:21 +0200)]
[g3dvl] make resource format selection a public interface

13 years ago[g3dvl] fully support different formats for source and intermediate textures
Christian König [Mon, 11 Apr 2011 21:55:36 +0000 (23:55 +0200)]
[g3dvl] fully support different formats for source and intermediate textures

13 years agor600g: support textures with scaled number formats
Christian König [Sun, 10 Apr 2011 22:49:28 +0000 (00:49 +0200)]
r600g: support textures with scaled number formats

13 years ago[g3dvl] autoselect texture formats
Christian König [Sun, 10 Apr 2011 20:32:56 +0000 (22:32 +0200)]
[g3dvl] autoselect texture formats

13 years ago[g3dvl] autoconfigure nr of idct render targets
Christian König [Sun, 10 Apr 2011 18:49:18 +0000 (20:49 +0200)]
[g3dvl] autoconfigure nr of idct render targets

13 years ago[g3dvl] remove unused rasterizer state from mpeg decoder
Christian König [Sun, 10 Apr 2011 18:34:21 +0000 (20:34 +0200)]
[g3dvl] remove unused rasterizer state from mpeg decoder

13 years ago[g3dvl] give idct it's own init buffer function
Christian König [Sun, 10 Apr 2011 18:30:27 +0000 (20:30 +0200)]
[g3dvl] give idct it's own init buffer function

13 years ago[g3dvl] cleanup headers and comments
Christian König [Sun, 10 Apr 2011 17:16:38 +0000 (19:16 +0200)]
[g3dvl] cleanup headers and comments

13 years ago[g3dvl] make number of idct render targets configurable
Christian König [Sun, 10 Apr 2011 17:08:11 +0000 (19:08 +0200)]
[g3dvl] make number of idct render targets configurable

13 years ago[g3dvl] also use video buffer for idct intermediate
Christian König [Sun, 10 Apr 2011 16:46:31 +0000 (18:46 +0200)]
[g3dvl] also use video buffer for idct intermediate

13 years ago[g3dvl] get softpipe to work again
Christian König [Sat, 9 Apr 2011 22:33:36 +0000 (00:33 +0200)]
[g3dvl] get softpipe to work again

13 years agoxvmc: add a workaround for xines xxmc vo plugin
Christian König [Sat, 9 Apr 2011 18:46:24 +0000 (20:46 +0200)]
xvmc: add a workaround for xines xxmc vo plugin

13 years ago[g3dvl] make mv weights a public interface
Christian König [Sat, 9 Apr 2011 18:38:20 +0000 (20:38 +0200)]
[g3dvl] make mv weights a public interface

13 years ago[g3dvl] give each mv an individual weight
Christian König [Sat, 9 Apr 2011 10:01:29 +0000 (12:01 +0200)]
[g3dvl] give each mv an individual weight

13 years agovdpau: Implement basic output functionality
Christian König [Fri, 8 Apr 2011 23:32:25 +0000 (01:32 +0200)]
vdpau: Implement basic output functionality

Even with totally wrong color space conversion
we finally se a picture with VDPAU. Yeah!

13 years agovdpau: get at least the very basic mixer functions working
Christian König [Fri, 8 Apr 2011 20:13:46 +0000 (22:13 +0200)]
vdpau: get at least the very basic mixer functions working

13 years ago[g3dvl] use scissor to handle compositor dst_area
Christian König [Fri, 8 Apr 2011 20:07:30 +0000 (22:07 +0200)]
[g3dvl] use scissor to handle compositor dst_area

13 years agovdpau: add compositor to mixer
Christian König [Fri, 8 Apr 2011 18:12:30 +0000 (20:12 +0200)]
vdpau: add compositor to mixer

13 years agovdpau: add compositor to presentation queue
Christian König [Fri, 8 Apr 2011 18:03:35 +0000 (20:03 +0200)]
vdpau: add compositor to presentation queue

13 years agovdpau: implement output surface creation
Christian König [Fri, 8 Apr 2011 17:21:13 +0000 (19:21 +0200)]
vdpau: implement output surface creation

13 years ago[g3dvl] stop waiting for replay of DRI2CopyRegion
Christian König [Thu, 7 Apr 2011 21:04:10 +0000 (23:04 +0200)]
[g3dvl] stop waiting for replay of DRI2CopyRegion

13 years ago[g3dvl] create composite buffer with USAGE_STREAM
Christian König [Thu, 7 Apr 2011 20:59:48 +0000 (22:59 +0200)]
[g3dvl] create composite buffer with USAGE_STREAM

Also add PIPE_TRANSFER_DONTBLOCK to mapping options

13 years ago[g3dvl] add support for different decoding entry points
Christian König [Thu, 7 Apr 2011 18:10:55 +0000 (20:10 +0200)]
[g3dvl] add support for different decoding entry points

13 years ago[g3dvl] move mapping/unmapping and uploading of blocks out of idct code
Christian König [Thu, 7 Apr 2011 17:24:22 +0000 (19:24 +0200)]
[g3dvl] move mapping/unmapping and uploading of blocks out of idct code

13 years agovdpau: implement vlVdpVideoSurfacePutBitsYCbCr
Christian König [Wed, 6 Apr 2011 18:38:16 +0000 (20:38 +0200)]
vdpau: implement vlVdpVideoSurfacePutBitsYCbCr

13 years ago[g3dvl] set buffer_format correctly
Christian König [Wed, 6 Apr 2011 18:36:31 +0000 (20:36 +0200)]
[g3dvl] set buffer_format correctly

13 years ago[g3dvl] and finally split the decoder part out of the context
Christian König [Tue, 5 Apr 2011 22:06:20 +0000 (00:06 +0200)]
[g3dvl] and finally split the decoder part out of the context

This should give a good basis to implement vdpau ontop of it.

13 years ago[g3dvl] rename ycbcr buffer to video buffer and add some more functionality
Christian König [Mon, 4 Apr 2011 21:28:18 +0000 (23:28 +0200)]
[g3dvl] rename ycbcr buffer to video buffer and add some more functionality

13 years agog3dvl/vdpau: some more indention fixes
Christian König [Sun, 3 Apr 2011 20:01:15 +0000 (22:01 +0200)]
g3dvl/vdpau: some more indention fixes

13 years ago[g3dvl] fix vertex buffer size calculation
Christian König [Sun, 3 Apr 2011 18:49:15 +0000 (20:49 +0200)]
[g3dvl] fix vertex buffer size calculation

13 years ago[g3dvl] some more debugging output in xvmc st
Christian König [Sun, 3 Apr 2011 17:57:49 +0000 (19:57 +0200)]
[g3dvl] some more debugging output in xvmc st

13 years ago[g3dvl] split compositor out of video context
Christian König [Sun, 3 Apr 2011 14:09:23 +0000 (16:09 +0200)]
[g3dvl] split compositor out of video context

Also redesign the compositor a bit and make the result a public available interface

13 years ago[g3dvl] start to cleanup the mess and provide at least basic functionality
Christian König [Sat, 2 Apr 2011 22:14:38 +0000 (00:14 +0200)]
[g3dvl] start to cleanup the mess and provide at least basic functionality

13 years ago[g3dvl] start over with vdpau decoding
Christian König [Sat, 2 Apr 2011 22:09:01 +0000 (00:09 +0200)]
[g3dvl] start over with vdpau decoding

13 years agovdpau: get state tracker to compile again
Christian König [Sat, 2 Apr 2011 21:16:21 +0000 (23:16 +0200)]
vdpau: get state tracker to compile again

13 years ago[g3dvl] remove unused color_swizzle from idct code
Christian König [Sat, 2 Apr 2011 20:36:26 +0000 (22:36 +0200)]
[g3dvl] remove unused color_swizzle from idct code

13 years ago[g3dvl] rework mpeg12 context error handling
Christian König [Sat, 2 Apr 2011 20:26:06 +0000 (22:26 +0200)]
[g3dvl] rework mpeg12 context error handling

13 years agog3dvl/xvmc: fix a stupid of by one bug
Christian König [Sat, 2 Apr 2011 18:29:27 +0000 (20:29 +0200)]
g3dvl/xvmc: fix a stupid of by one bug

13 years ago[g3dvl] remove PIPE_CAP_DECODE_TARGET_PREFERRED_FORMAT
Christian König [Sat, 2 Apr 2011 17:50:37 +0000 (19:50 +0200)]
[g3dvl] remove PIPE_CAP_DECODE_TARGET_PREFERRED_FORMAT

It wasn't fully implemented anyway.

13 years ago[g3dvl] splitt vertex element state into y, cb, cr
Christian König [Sat, 2 Apr 2011 10:05:22 +0000 (12:05 +0200)]
[g3dvl] splitt vertex element state into y, cb, cr

13 years ago[g3dvl] some minor cleanup
Christian König [Fri, 1 Apr 2011 21:47:20 +0000 (23:47 +0200)]
[g3dvl] some minor cleanup

13 years ago[g3dvl] let mc code work on the different color planes seperately
Christian König [Tue, 29 Mar 2011 18:01:49 +0000 (20:01 +0200)]
[g3dvl] let mc code work on the different color planes seperately

13 years ago[g3dvl] remove texture dependencies from mc code
Christian König [Sun, 27 Mar 2011 18:41:43 +0000 (20:41 +0200)]
[g3dvl] remove texture dependencies from mc code

13 years ago[g3dvl] introduction of ycbcr buffers
Christian König [Sun, 27 Mar 2011 17:43:02 +0000 (19:43 +0200)]
[g3dvl] introduction of ycbcr buffers

Moves most of the buffer creation out of the idct code.

13 years ago[g3dvl] no need for individual samplers for idct stage 1 & 2
Christian König [Sun, 27 Mar 2011 00:53:04 +0000 (01:53 +0100)]
[g3dvl] no need for individual samplers for idct stage 1 & 2

13 years ago[g3dvl] cleanup and improve idct error handling
Christian König [Sun, 27 Mar 2011 00:41:10 +0000 (01:41 +0100)]
[g3dvl] cleanup and improve idct error handling

13 years ago[g3dvl] improve and cleanup mc error handling
Christian König [Sun, 27 Mar 2011 00:04:00 +0000 (01:04 +0100)]
[g3dvl] improve and cleanup mc error handling

13 years ago[g3dvl] remove unused backbuffer from xvmc
Christian König [Sat, 26 Mar 2011 23:19:25 +0000 (00:19 +0100)]
[g3dvl] remove unused backbuffer from xvmc

13 years ago[g3dvl] fully implement paletted subpictures
Christian König [Sat, 26 Mar 2011 11:36:01 +0000 (12:36 +0100)]
[g3dvl] fully implement paletted subpictures

13 years ago[g3dvl] correct subpicture stride in upload
Christian König [Sat, 26 Mar 2011 10:53:27 +0000 (11:53 +0100)]
[g3dvl] correct subpicture stride in upload

13 years ago[g3dvl] start implementing palettes for subpictures
Christian König [Sat, 26 Mar 2011 10:46:07 +0000 (11:46 +0100)]
[g3dvl] start implementing palettes for subpictures

13 years ago[g3dvl] get sampler swizzle right for subpictures
Christian König [Sat, 26 Mar 2011 09:58:38 +0000 (10:58 +0100)]
[g3dvl] get sampler swizzle right for subpictures

This should make ai44 work correctly.

13 years ago[g3dvl] add blend state to compositor
Christian König [Sat, 26 Mar 2011 01:03:16 +0000 (02:03 +0100)]
[g3dvl] add blend state to compositor

This seems to get at least mplayer working

13 years ago[g3dvl] correct layer size calculation
Christian König [Sat, 26 Mar 2011 00:26:52 +0000 (01:26 +0100)]
[g3dvl] correct layer size calculation

13 years ago[g3dvl] use quads instead of triangles for the compositor
Christian König [Sat, 26 Mar 2011 00:01:18 +0000 (01:01 +0100)]
[g3dvl] use quads instead of triangles for the compositor

13 years ago[g3dvl] the sampler textview map is no longer needed
Christian König [Fri, 25 Mar 2011 23:30:22 +0000 (00:30 +0100)]
[g3dvl] the sampler textview map is no longer needed

13 years ago[g3dvl] throw out all unused parts of the interface
Christian König [Fri, 25 Mar 2011 23:20:16 +0000 (00:20 +0100)]
[g3dvl] throw out all unused parts of the interface

13 years ago[g3dvl] rework supicture handling
Christian König [Fri, 25 Mar 2011 22:38:50 +0000 (23:38 +0100)]
[g3dvl] rework supicture handling

This gets ia44 and ai44 at least partial working

13 years ago[g3dvl] start implementing AI44 and IA44 subpicture
Christian König [Fri, 25 Mar 2011 20:10:56 +0000 (21:10 +0100)]
[g3dvl] start implementing AI44 and IA44 subpicture

13 years ago[g3dvl] make ref_surface handling more sane
Christian König [Fri, 25 Mar 2011 18:32:22 +0000 (19:32 +0100)]
[g3dvl] make ref_surface handling more sane

13 years ago[g3dvl] move sampler views for reference frames into context
Christian König [Thu, 24 Mar 2011 20:24:58 +0000 (21:24 +0100)]
[g3dvl] move sampler views for reference frames into context

13 years ago[g3dvl] make mapping and flushing of buffers a public interface
Christian König [Thu, 24 Mar 2011 19:33:32 +0000 (20:33 +0100)]
[g3dvl] make mapping and flushing of buffers a public interface

13 years ago[g3dvl] fix configure.ac for r600 video targets
Christian König [Tue, 22 Mar 2011 20:58:28 +0000 (21:58 +0100)]
[g3dvl] fix configure.ac for r600 video targets

13 years ago[g3dvl] buffers must be aligned to macroblock size
Christian König [Tue, 22 Mar 2011 20:52:06 +0000 (21:52 +0100)]
[g3dvl] buffers must be aligned to macroblock size

13 years ago[g3dvl] make video buffer a public available interface
Christian König [Tue, 22 Mar 2011 18:58:21 +0000 (19:58 +0100)]
[g3dvl] make video buffer a public available interface

13 years ago[g3dvl] handle different mc types more similary
Christian König [Sun, 20 Mar 2011 21:50:09 +0000 (22:50 +0100)]
[g3dvl] handle different mc types more similary

13 years ago[g3dvl] simplify motion vector calculation
Christian König [Sun, 20 Mar 2011 21:14:49 +0000 (22:14 +0100)]
[g3dvl] simplify motion vector calculation

13 years ago[g3dvl] rename motion vector fields
Christian König [Sun, 20 Mar 2011 20:34:38 +0000 (21:34 +0100)]
[g3dvl] rename motion vector fields