Xiang, Haihao [Fri, 11 Mar 2011 04:54:47 +0000 (12:54 +0800)]
i965_drv_video: Fixes the dimension of a surface on SandyBridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 11 Mar 2011 03:24:22 +0000 (11:24 +0800)]
i965_drv_video: rendere I420/YV12 surface on SandyBridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 11 Mar 2011 03:10:48 +0000 (11:10 +0800)]
i965_drv_video: only use tiled surface for NV12 on SandyBridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 10 Mar 2011 06:17:20 +0000 (14:17 +0800)]
i965_drv_video: deinterlacing & scaling on SandyBridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 10 Mar 2011 05:56:31 +0000 (13:56 +0800)]
i965_drv_video: shaders for post processing on SandyBridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 15 Feb 2011 08:07:04 +0000 (16:07 +0800)]
i965_drv_video: move pp_context to i965_driver_data and make it a pointer.
Later media_state/render_state/pp_context will be moved to object_context.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 10 Mar 2011 05:02:36 +0000 (13:02 +0800)]
i965_drv_video: don't support MPEG2/VC1/H264 without BSD support on SandyBridge.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 10 Mar 2011 02:26:23 +0000 (10:26 +0800)]
i965_drv_video: Implement vaDeriveImage()
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
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.
Austin Yuan [Wed, 9 Feb 2011 08:18:17 +0000 (16:18 +0800)]
Correct USE_EGL check and bump to libva 1.0.10
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Wed, 9 Feb 2011 08:01:44 +0000 (00:01 -0800)]
Remove suffix of libva.spec from the version string
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Wed, 9 Feb 2011 08:00:23 +0000 (16:00 +0800)]
Bump to libva 1.0.9
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Wed, 9 Feb 2011 07:07:07 +0000 (15:07 +0800)]
Fix build issue
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Wed, 9 Feb 2011 06:44:43 +0000 (22:44 -0800)]
1) cleanup for VA_FOOL
2) initial EGL support
3) libva.spec update for RPM build
Signed-off-by: Guoliang Ji <guoliangx.ji@intel.com>
Signed-off-by: Jason Hu <jason.hu@intel.com>
Signed-off-by: Stephen Ware <stephen.e.ware@intel.com>
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Gwenole Beauchesne [Thu, 27 Jan 2011 09:40:36 +0000 (10:40 +0100)]
dummy_drv_video: make VADriverContext.vtable a pointer.
Gwenole Beauchesne [Thu, 27 Jan 2011 09:36:37 +0000 (10:36 +0100)]
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>
Xiang, Haihao [Thu, 27 Jan 2011 08:17:10 +0000 (16:17 +0800)]
Update VAAPI to 0.32
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 [Wed, 26 Jan 2011 08:55:22 +0000 (16:55 +0800)]
Add profile into VAPictureParameterBufferVC1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Austin Yuan [Tue, 25 Jan 2011 07:31:10 +0000 (15:31 +0800)]
Bump to 1.0.8
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.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>
Austin Yuan [Fri, 14 Jan 2011 08:22:47 +0000 (16:22 +0800)]
Refine VA_FOOL, and delete the hard coded clip va_fool_264.h
Move test/vainfo into test/vainfo/*
Add prototype of vaCreateSurfacesForUserPtr for V4L2 user pointer support
Fix klocwork critical issues. Use strnlen and snprintf instead of strlen and sprintf.
New interface vaQuerySrufaceError for decode error report and concealment
Encode data structure change (long term reference picture interface)
Add h264 constrained baseline profile support.
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Signed-off-by: Bignlin Chen <binglin.chen.wang@intel.com>
Signed-off-by: Yan Zhuang <yanx.zhunag@intel.com>
Signed-off-by: Guoliang Ji <guoliangx.ji@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>
Xiang, Haihao [Wed, 5 Jan 2011 00:42:15 +0000 (08:42 +0800)]
bump library version to 1.0.7
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Austin Yuan [Tue, 21 Dec 2010 10:47:17 +0000 (18:47 +0800)]
Merge branch 'master' of git+ssh://AustinYuan@git.freedesktop.org/git/libva
Austin Yuan [Tue, 21 Dec 2010 10:46:53 +0000 (18:46 +0800)]
Fix the build issue on Android
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Damien Lespiau [Thu, 16 Dec 2010 16:12:51 +0000 (00:12 +0800)]
i965_drv_video: Bump the libdrm dependency to 2.4.23 for I915_EXEC_BLT
I915_EXEC_BLT has landed recently-ish in libdrm and you need v2.4.23 to
be able to compile the i965 driver.
Signed-off-by: Damien Lespiau <damien.lespiau@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>
Austin Yuan [Tue, 21 Dec 2010 03:33:27 +0000 (11:33 +0800)]
Remove config.h va/va_version.h (from Gwenole)
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Gwenole Beauchesne [Fri, 29 Oct 2010 08:47:23 +0000 (10:47 +0200)]
Add sysdeps.h for system-dependent definitions. e.g. Android.
Gwenole Beauchesne [Fri, 29 Oct 2010 09:35:50 +0000 (11:35 +0200)]
Android: try to auto generate <va/version.h>
Damien Lespiau [Tue, 8 Dec 2009 09:14:13 +0000 (17:14 +0800)]
It makes the compilation visually cleaner and the warnings easier to spot.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Damien Lespiau [Tue, 8 Dec 2009 09:14:13 +0000 (17:14 +0800)]
Which means adding the tests, the pc files and va/va_version.h (generated file) while removing fw/* which are neither part of the repository nor mentioned anywhere in the Makefiles.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Damien Lespiau [Tue, 8 Dec 2009 09:14:13 +0000 (17:14 +0800)]
It's quite useful to be able to see what we are going to build, esp. as the i965 driver is not enabled by default. Obviously the summary can be extended with extra information.
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>
Austin Yuan [Wed, 27 Oct 2010 23:26:04 +0000 (07:26 +0800)]
Added the missing files
Austin Yuan [Wed, 27 Oct 2010 23:18:18 +0000 (07:18 +0800)]
libva-1.0.6
1) Refinement for VA_TRACE, new LIBVA_FOOL, see the description in va_trace.c/va_fool.c
2) vaPutSurface flag VA_ENABLE_BLEND to blend the surface with a color
3) libva.spec for RPM package
4) Update VAAPI for dynamic bit rate control/AIR/maximum slice size ctrl
5) Added VA_STATUS_ERROR_DECODING/ENCODING_ERROR to report decode/encode error
6) Add config.h/va_vesion.h for Android
7) Update "vainfo.c" for Android
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Signed-off-by: Binglin Chen <binglin.chen@intel.com>
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
Signed-off-by: Jerry Dong <jerry.dong@intel.com>
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Sun, 26 Sep 2010 01:47:37 +0000 (09:47 +0800)]
For VAEncPictureParameterBufferH264:last_picture
1: means the last picture of sequence
2: means the last picture of stream
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Sat, 25 Sep 2010 05:58:37 +0000 (13:58 +0800)]
Remove VADisplayAttribCSCFormat
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Sat, 25 Sep 2010 05:56:18 +0000 (13:56 +0800)]
Fix x11/Makefile.am license header
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Sat, 25 Sep 2010 05:55:17 +0000 (13:55 +0800)]
Added libva-tpi.pc file
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Xiang, Haihao [Tue, 21 Sep 2010 07:21:21 +0000 (15:21 +0800)]
bump library version to 1.0.5
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
Xiang, Haihao [Thu, 2 Sep 2010 07:26:24 +0000 (15:26 +0800)]
add scaling flags for vaPutSurface()
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Austin Yuan [Mon, 26 Jul 2010 02:59:14 +0000 (10:59 +0800)]
Bump to 1.0.4
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Mon, 26 Jul 2010 02:23:34 +0000 (10:23 +0800)]
remove VADisplayAttribCSC* which is duplicated, and add VADisplayAttribCSCMatrix for customized CSC matrix
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Gwenole Beauchesne [Mon, 12 Jul 2010 11:11:08 +0000 (13:11 +0200)]
Fix detection of fglrx.
Gwenole Beauchesne [Fri, 23 Jul 2010 11:29:47 +0000 (13:29 +0200)]
Fix H.264 PicParam buffer trace.
Gwenole Beauchesne [Fri, 23 Jul 2010 11:28:29 +0000 (13:28 +0200)]
Fix va_TraceEndPicture() to unlock the VA surface.
Gwenole Beauchesne [Fri, 23 Jul 2010 11:27:15 +0000 (13:27 +0200)]
Fix VA trace warnings.
Missing declarations, wrong return values, if any, etc.
Xiang, Haihao [Wed, 21 Jul 2010 02:49:59 +0000 (10:49 +0800)]
Fix to require libdrm 2.4.21 or newer for i965 video driver.
This is necessary to support BSD command
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.
Gwenole Beauchesne [Wed, 9 Jun 2010 07:40:28 +0000 (09:40 +0200)]
Fix vaErrorStr() for VA_STATUS_ERROR_INVALID_IMAGE_FORMAT.
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