Xiang, Haihao [Mon, 7 Mar 2011 07:43:08 +0000 (15:43 +0800)]
i965_drv_video: map/unmap a tiled GEM BO
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 24 Feb 2011 07:22:46 +0000 (15:22 +0800)]
i965_dri_video: don't try to render an invalid surface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Gwenole Beauchesne [Thu, 27 Jan 2011 09:41:24 +0000 (10:41 +0100)]
i965_drv_video: make VADriverContext.vtable a pointer.
Gwenole Beauchesne [Thu, 27 Jan 2011 09:04:03 +0000 (10:04 +0100)]
Bump VA-API version to 0.32.0. Fix __vaDriverInit*() function name.
Osin, Alexander I [Wed, 9 Feb 2011 01:17:17 +0000 (09:17 +0800)]
i965_drv_video: set the number of elements in a buffer store.
Xiang, Haihao [Tue, 1 Feb 2011 04:30:28 +0000 (12:30 +0800)]
i965_drv_video: check frame store index firstly on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Gwenole Beauchesne [Thu, 27 Jan 2011 03:36:07 +0000 (11:36 +0800)]
[G45] Fix check for H.264 decoding support.
Gwenole Beauchesne [Thu, 27 Jan 2011 03:09:31 +0000 (11:09 +0800)]
[G45] Fix check for VC-1 decoding support
Xiang, Haihao [Wed, 26 Jan 2011 16:44:43 +0000 (00:44 +0800)]
i965_drv_video: VC-1 on Sandybridge
Currently support progressive picture.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 21 Jan 2011 01:35:46 +0000 (09:35 +0800)]
i965_drv_video: build shaders for decoding & post proscessing
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Singed-off-by: Chen, Yangyang <yangyang.chen@intel.com>
Singed-off-by: Han, Haofu <haofu.han@intel.com>
Xiang, Haihao [Mon, 10 Jan 2011 02:19:00 +0000 (10:19 +0800)]
i965_drv_video: support IA44/AI44 subpicture formats on Sandybridge
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=32868
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Damien Lespiau [Thu, 16 Dec 2010 16:12:50 +0000 (00:12 +0800)]
i965_drv_video: Fix a small typo in a comment
Obviousy 50 - 2 + 8 != 2, 50 - 2 + 8 - 2 seems to be 54 though.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Xiang, Haihao [Tue, 16 Nov 2010 06:49:16 +0000 (14:49 +0800)]
i965_drv_video/mpeg2: upload Quantizer Matrix in raster order on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 16 Nov 2010 02:15:56 +0000 (10:15 +0800)]
i965_drv_video: fix mpeg2 decoding on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 16 Nov 2010 01:20:05 +0000 (09:20 +0800)]
i965_drv_video: Enable BLT ring
Use BLT ring to clear background
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 15 Nov 2010 07:05:29 +0000 (15:05 +0800)]
i965_drv_video: release mfd context
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 15 Nov 2010 07:15:57 +0000 (15:15 +0800)]
i965_drv_video: add support for mpeg2 decoding on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 10 Nov 2010 05:56:45 +0000 (13:56 +0800)]
i965_drv_video/render: render sub-picture on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 10 Nov 2010 02:48:12 +0000 (10:48 +0800)]
i965_drv_video: Currently only use tiled-Y surfaces on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 08:56:13 +0000 (16:56 +0800)]
i965_drv_video: fix row data buffer for deblocking on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:30:39 +0000 (13:30 +0800)]
i965_drv_video: fix surface dimension
It is needed for Y-tiled surface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:08:47 +0000 (13:08 +0800)]
i965_drv_video/render: rendering for Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:07:50 +0000 (13:07 +0800)]
i965_drv_video/render: new fragmensts for Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:05:54 +0000 (13:05 +0800)]
i965_drv_video/render: remove i965_subpic_render_src_surface_state
i965_render_src_surfaces_state can be used to set source state for subpicture
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:05:07 +0000 (13:05 +0800)]
i965_drv_video/render: support tiled source surface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:04:22 +0000 (13:04 +0800)]
i965_drv_video/render: set surface base address
It is easy to fill the binding table without relocation and make sure
all offsets in binding table only uses bits[15:0]
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:02:49 +0000 (13:02 +0800)]
i965_drv_video: fix weight/offset for H.264 decoding on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:01:47 +0000 (13:01 +0800)]
i965_drv_video: fix mfx_avc_slice_state command
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:00:43 +0000 (13:00 +0800)]
i965_drv_video: set indirect bitsteam object base address
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 04:59:10 +0000 (12:59 +0800)]
i965_drv_video: Y-tiled surface for MFD on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 04:58:23 +0000 (12:58 +0800)]
i965_drv_video: H.264 decoding on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 04:53:05 +0000 (12:53 +0800)]
i965_drv_video: dump MFX commands
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 04:52:31 +0000 (12:52 +0800)]
i965_drv_video: check batch buffer emitting
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 04:51:37 +0000 (12:51 +0800)]
i965_drv_video: MACROs for MFX on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 03:25:50 +0000 (11:25 +0800)]
i965_drv_video: PCI IDs and new MI_FLUSH_DW command for Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 2 Sep 2010 07:22:39 +0000 (15:22 +0800)]
i965_drv_video: deinterlacing & scaling
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 2 Sep 2010 07:04:22 +0000 (15:04 +0800)]
i965_drv_video: add video processing kernels
Gwenole Beauchesne [Tue, 13 Jul 2010 14:55:29 +0000 (16:55 +0200)]
Fix rendering of subpictures.
Gwenole Beauchesne [Mon, 12 Jul 2010 23:02:19 +0000 (01:02 +0200)]
Fix vaGetImage() for YV12 format.
Gwenole Beauchesne [Mon, 12 Jul 2010 22:23:55 +0000 (00:23 +0200)]
Simplify vaGetImage().
Gwenole Beauchesne [Mon, 12 Jul 2010 21:57:23 +0000 (23:57 +0200)]
Fix vaGetImage() to wait for pending operations to complete.
Gwenole Beauchesne [Thu, 3 Jun 2010 06:57:45 +0000 (08:57 +0200)]
Add NV12 image format.
Gwenole Beauchesne [Mon, 12 Jul 2010 06:34:37 +0000 (08:34 +0200)]
Fix vaGetImage() bounds checking code.
Gwenole Beauchesne [Sun, 11 Jul 2010 15:05:12 +0000 (17:05 +0200)]
Move initialization of render_state->interleaved_uv to vaCreateContext().
Gwenole Beauchesne [Tue, 18 May 2010 15:16:57 +0000 (17:16 +0200)]
Fix out-of-source builds.
Gwenole Beauchesne [Thu, 3 Jun 2010 06:54:55 +0000 (08:54 +0200)]
Add I420 image format.
Xiang, Haihao [Mon, 12 Jul 2010 06:26:06 +0000 (14:26 +0800)]
i965_drv_video: use original widht/height for rendering
Gwenole Beauchesne [Wed, 9 Jun 2010 06:30:17 +0000 (08:30 +0200)]
Fix vaTerminate().
Gwenole Beauchesne [Wed, 4 Nov 2009 13:16:34 +0000 (13:16 +0000)]
Implement vaGetImage().
Gwenole Beauchesne [Wed, 4 Nov 2009 13:01:44 +0000 (13:01 +0000)]
Add YV12 image format.
Gwenole Beauchesne [Wed, 4 Nov 2009 13:23:40 +0000 (13:23 +0000)]
Don't return VA_STATUS_SUCCESS for unimplemented functions.
Gwenole Beauchesne [Wed, 4 Nov 2009 10:56:54 +0000 (10:56 +0000)]
Add RGBA subpictures.
Gwenole Beauchesne [Wed, 4 Nov 2009 12:13:41 +0000 (12:13 +0000)]
Fix subpictures formats array terminator.
Xiang, Haihao [Wed, 7 Jul 2010 06:29:36 +0000 (14:29 +0800)]
i965_drv_video: [H.264] fix slice_data_bit_offset
VASliceParameterBufferH264.slice_data_bit_offset will point into the part
of slice header if there are some escaped bytes in the slice header. The offset
to slice data is needed for BSD unit so that BSD unit can fetch right slice data
for processing. This fixes conformance case BASQP1_Sony_C.jsv
The method to get the total number of bytes in the slice header is provided by Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Xiang, Haihao [Mon, 5 Jul 2010 02:09:54 +0000 (10:09 +0800)]
i965_drv_video: [H.264] fix the start of a slice for a MBAFF picture
Xiang, Haihao [Mon, 5 Jul 2010 02:06:03 +0000 (10:06 +0800)]
i965_drv_video: fix BSD batch buffer size.
Some stress cases need a large BSD batch buffer.
Xiang, Haihao [Thu, 1 Jul 2010 05:01:31 +0000 (13:01 +0800)]
i965_drv_video: [H.264] fix different slice type in a same picture issue.
Xiang, Haihao [Fri, 25 Jun 2010 05:16:30 +0000 (13:16 +0800)]
i965_drv_video: [H.264] fix chroma issue
Xiang, Haihao [Fri, 18 Jun 2010 08:00:48 +0000 (16:00 +0800)]
i965_drv_video: fix AVC mc kernel
Xiang, Haihao [Thu, 10 Jun 2010 02:50:39 +0000 (10:50 +0800)]
i965_drv_video: [H.264] fix register blocks for ILDB
Xiang, Haihao [Tue, 8 Jun 2010 01:19:13 +0000 (09:19 +0800)]
i965_drv_video: [H.264] some code clean up
Xiang, Haihao [Wed, 2 Jun 2010 07:12:03 +0000 (15:12 +0800)]
i965_drv_video: new ring buffer flag
Xiang, Haihao [Wed, 2 Jun 2010 07:11:07 +0000 (15:11 +0800)]
i965_drv_video: fix graphics memory usage
Xiang, Haihao [Wed, 2 Jun 2010 06:27:14 +0000 (14:27 +0800)]
i965_drv_video: don't execute batch buffer after decoding a picture
Xiang, Haihao [Tue, 1 Jun 2010 09:29:09 +0000 (17:29 +0800)]
i965_drv_video: [H.264] enlarge concurrent threads for ILDB
Xiang, Haihao [Fri, 28 May 2010 05:20:17 +0000 (13:20 +0800)]
i965_drv_video: [H.264] devide the command buffer into smaller sections for HWscoreboard thread.
Xiang, Haihao [Tue, 18 May 2010 04:55:51 +0000 (12:55 +0800)]
i965_drv_vidoe: update max_thread for rendering
Xiang, Haihao [Mon, 17 May 2010 09:17:36 +0000 (17:17 +0800)]
i965_drv_video: fix initialization function
Xiang, Haihao [Fri, 7 May 2010 03:17:31 +0000 (11:17 +0800)]
i965_drv_video: [H.264] add support for ILDB
Xiang, Haihao [Mon, 19 Apr 2010 06:41:31 +0000 (14:41 +0800)]
i965_drv_video: move AVC-ILDB data buffer to struct i965_h264_context
Xiang, Haihao [Mon, 19 Apr 2010 05:31:23 +0000 (13:31 +0800)]
i965_drv_video: [H.264] fix weight 128 issue
Xiang, Haihao [Thu, 15 Apr 2010 01:18:53 +0000 (09:18 +0800)]
i965_drv_video: [H.264] fix for weight/offset state
Xiang, Haihao [Wed, 14 Apr 2010 07:14:50 +0000 (15:14 +0800)]
i965_drv_video: [H.264] track frame store index
Xiang, Haihao [Fri, 9 Apr 2010 07:33:35 +0000 (15:33 +0800)]
i965_drv_video: fix an assertion
Xiang, Haihao [Fri, 9 Apr 2010 05:54:58 +0000 (13:54 +0800)]
i965_drv_video: fix MBAFF issue
Xiang, Haihao [Thu, 8 Apr 2010 07:46:16 +0000 (15:46 +0800)]
i965_drv_video: surface width/height is 16Btye aligned.
Xiang, Haihao [Wed, 7 Apr 2010 09:28:52 +0000 (17:28 +0800)]
i965_drv_video: fix an assertion
Xiang, Haihao [Wed, 7 Apr 2010 03:27:11 +0000 (11:27 +0800)]
i965_drv_video: fix an error in the previous commit
Zou nan hai [Tue, 6 Apr 2010 09:02:42 +0000 (17:02 +0800)]
i965_drv_video: initialize depth buffer
Xiang, Haihao [Tue, 6 Apr 2010 07:06:45 +0000 (15:06 +0800)]
i965_drv_video: multiple slices in a picture for H.264
Xiang, Haihao [Wed, 31 Mar 2010 05:51:22 +0000 (13:51 +0800)]
i965_drv_video: move DMV buffer to private data
Xiang, Haihao [Mon, 29 Mar 2010 07:37:12 +0000 (15:37 +0800)]
i965_drv_video: fix POC value for current picture
Xiang, Haihao [Fri, 26 Mar 2010 04:48:50 +0000 (12:48 +0800)]
i965_drv_video: add support for H264 on Clarkdale/Arrandale
Gwenole Beauchesne [Mon, 8 Mar 2010 08:41:41 +0000 (09:41 +0100)]
Fix drivers build.
Austin Yuan [Mon, 8 Mar 2010 05:36:15 +0000 (13:36 +0800)]
Remove IN_LIBVA defines, Thanks for the patch from Gwenole
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Fri, 20 Nov 2009 08:07:03 +0000 (16:07 +0800)]
Merge branch 'master' of git+ssh://AustinYuan@git.freedesktop.org/git/libva
Gwenole Beauchesne [Wed, 18 Nov 2009 03:24:29 +0000 (11:24 +0800)]
fix rendering of RGBA subpicture
Gwenole Beauchesne [Wed, 18 Nov 2009 02:44:20 +0000 (10:44 +0800)]
simplify subpicture formats. make sure the returned VAImageFormats are correctly filled in
Gwenole Beauchesne [Wed, 18 Nov 2009 02:43:23 +0000 (10:43 +0800)]
fix upload of the subpicture palette.
Gwenole Beauchesne [Wed, 18 Nov 2009 02:41:26 +0000 (10:41 +0800)]
implement vaSetImagePalette
Gwenole Beauchesne [Wed, 18 Nov 2009 02:35:50 +0000 (10:35 +0800)]
the VA API spec metion that the dest rectangle to vaAssociateSubpicture() is relative to the parent surface. So, we have another level of scaling since the surface can be scaled during vaPutSurface. This patch tries to fix that.
Gwenole Beauchesne [Wed, 18 Nov 2009 02:32:11 +0000 (10:32 +0800)]
fix subpicture association and deassociation
Gwenole Beauchesne [Wed, 18 Nov 2009 02:09:47 +0000 (10:09 +0800)]
Add MAX helper function
Gwenole Beauchesne [Wed, 18 Nov 2009 02:06:25 +0000 (10:06 +0800)]
cleanup vaCreateImage, make it possible to add formats later
Gwenole Beauchesne [Wed, 18 Nov 2009 02:05:31 +0000 (10:05 +0800)]
fix vaDestroyImage()
Gwenole Beauchesne [Wed, 18 Nov 2009 03:44:03 +0000 (11:44 +0800)]
Fix vaAssociateSubpicture() arguments
Gwenole Beauchesne [Wed, 18 Nov 2009 03:43:23 +0000 (11:43 +0800)]
Fix VA driver version.
Gwenole Beauchesne [Wed, 18 Nov 2009 03:42:42 +0000 (11:42 +0800)]
Fix vaQueryImageFormats() to return 0 image formats supported at this time.
Gwenole Beauchesne [Wed, 18 Nov 2009 03:40:24 +0000 (11:40 +0800)]
Implement vaQueryDisplayAttributes() as a no-op.
Xiang, Haihao [Tue, 15 Sep 2009 05:39:31 +0000 (13:39 +0800)]
i965_drv_driver: use the horizontal position of a slice.