Xiang, Haihao [Thu, 15 Mar 2012 06:05:48 +0000 (14:05 +0800)]
VME: dual start and adaptive search
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 15 Mar 2012 01:46:37 +0000 (09:46 +0800)]
VME: Handle multiple macroblocks in a single thread
In addition, merge include files for GEN6 & GEN7
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 9 Mar 2012 00:35:32 +0000 (08:35 +0800)]
Setup pipeline to create MFC batchbuffer on Sandybridge
Also clean up the source
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 8 Mar 2012 05:00:35 +0000 (13:00 +0800)]
Setup pipeline to create MFC batchbuffer on IVB
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 8 Mar 2012 04:58:37 +0000 (12:58 +0800)]
New shader for MFC batchbuffer
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 2 Mar 2012 07:40:51 +0000 (15:40 +0800)]
Add two helper functions for batchbuffer
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
teaonly [Fri, 2 Mar 2012 06:41:44 +0000 (14:41 +0800)]
Synced gen7 with gen6 for HRD.
Xiang, Haihao [Thu, 1 Mar 2012 05:17:54 +0000 (13:17 +0800)]
Fix the issue of vaGetImage()/vaPutImage() in multi-threads
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 1 Mar 2012 04:57:21 +0000 (12:57 +0800)]
Fix map/unmap mismatches
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhou,Chang [Wed, 29 Feb 2012 05:57:42 +0000 (13:57 +0800)]
Synced IVB with SNB, added HRD and multipul slices support.
Xiang, Haihao [Wed, 29 Feb 2012 07:59:46 +0000 (15:59 +0800)]
Fixed VME result offset issue for IVB.
Signe-off-by: Zhou Chang <chang.zhou@intel.com>
Signe-off-by: Xiang, Haihao <haihao.xiang@intel.com
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 29 Feb 2012 07:45:07 +0000 (15:45 +0800)]
Preprocess VME shader first
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhou,Chang [Wed, 29 Feb 2012 05:54:52 +0000 (13:54 +0800)]
Fixed multipul slices issue, change end of coded buffer judge.
Xiang, Haihao [Wed, 29 Feb 2012 02:15:47 +0000 (10:15 +0800)]
Cleanup VME
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 28 Feb 2012 03:19:10 +0000 (11:19 +0800)]
Fix memory leak
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 27 Feb 2012 06:54:06 +0000 (14:54 +0800)]
Use the right slice parameters for multi-slice encoding
Previously it always fills SLICE_STATE with the first slice
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 23 Feb 2012 06:35:01 +0000 (14:35 +0800)]
Reissue all states before executing VME
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 14 Feb 2012 05:56:05 +0000 (13:56 +0800)]
Merge branch 'master' into vaapi-ext
Conflicts:
src/gen6_mfc.c
src/gen7_mfd.c
src/gen7_mfd.h
src/i965_drv_video.c
src/i965_drv_video.h
src/i965_encoder.c
src/i965_post_processing.c
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 14 Feb 2012 01:14:17 +0000 (09:14 +0800)]
Use the same the binding table index on Sandybridge & Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 14 Feb 2012 01:41:16 +0000 (09:41 +0800)]
Create batchbuffer for VME via GPU shader on Sandybridge
It is the same of commits a4ff1bd and a4ff1bd
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 13 Feb 2012 01:09:04 +0000 (09:09 +0800)]
Fill VME batchbuffer by GPU instead of CPU
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 14 Feb 2012 01:28:57 +0000 (09:28 +0800)]
A new shader to create VME batchbuffer on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 7 Feb 2012 07:43:43 +0000 (15:43 +0800)]
Clean up
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 10 Feb 2012 06:08:23 +0000 (14:08 +0800)]
Fix the address of the surface state for vme output buffer
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 10 Feb 2012 06:07:33 +0000 (14:07 +0800)]
Fix surface state size
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 7 Feb 2012 01:27:05 +0000 (09:27 +0800)]
Fix compile error after cherry-pick
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 6 Feb 2012 06:39:08 +0000 (14:39 +0800)]
A workaround for JPEG decoding on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 08:28:37 +0000 (16:28 +0800)]
Fix y offset for Cb/Cr
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 01:17:13 +0000 (09:17 +0800)]
JPEG component id macros are removed, so don't use them in driver
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 01:01:59 +0000 (09:01 +0800)]
Fix frame height/width for YUV400/YUV444/YUV422V_2Y JPEG image
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 01:00:48 +0000 (09:00 +0800)]
Map JPEG component id to Y, Cb, Cr
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 00:59:09 +0000 (08:59 +0800)]
Render YUV400 image on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 7 Feb 2012 01:19:03 +0000 (09:19 +0800)]
Fix graphics memory allocation for VA surface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 12 Jan 2012 05:30:34 +0000 (13:30 +0800)]
use the revised JPEG decoding interface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Hai Lan [Wed, 21 Dec 2011 22:03:44 +0000 (06:03 +0800)]
Fix the bug for IVB jpeg decoding
When call i965_BeginPicture for JPEG decoding, Assertion `0' failed.
Signed-off-by: Hai Lan <hai.lan@intel.com>
Xiang, Haihao [Mon, 24 Oct 2011 05:28:42 +0000 (13:28 +0800)]
use the new JPEG decoding interface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 7 Sep 2011 08:18:19 +0000 (16:18 +0800)]
i965_drv_video: support JPEG decoding on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 20 Jun 2011 06:15:14 +0000 (14:15 +0800)]
i965_drv_video: Postpone releasing internal buffer.
Also fix memory leak in driver
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 20 Jun 2011 02:09:15 +0000 (10:09 +0800)]
i965_drv_video: Simplify render buffer function
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhou Chang [Mon, 6 Feb 2012 15:50:38 +0000 (23:50 +0800)]
Added HRD support for Gen6.
Zhou Chang [Mon, 6 Feb 2012 15:49:44 +0000 (23:49 +0800)]
Initail HRD control framwork.
Zhou Chang [Mon, 6 Feb 2012 13:29:23 +0000 (21:29 +0800)]
Added SEI header help functions.
Xiang, Haihao [Mon, 6 Feb 2012 06:39:08 +0000 (14:39 +0800)]
A workaround for JPEG decoding on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 6 Feb 2012 06:36:21 +0000 (14:36 +0800)]
Pixel format conversion for IMC1/IMC3
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Gwenole Beauchesne [Tue, 29 Nov 2011 16:26:35 +0000 (17:26 +0100)]
vc1: fix motion vector mode (IVB).
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Thu, 2 Feb 2012 03:34:03 +0000 (11:34 +0800)]
The software implementation of vaPutImage() on G4x
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 2 Feb 2012 03:09:40 +0000 (11:09 +0800)]
Fix the surface format in vaPutImage()
Set the format of surface format to the format
of the input image if the usage is unknown
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 2 Feb 2012 02:37:38 +0000 (10:37 +0800)]
Guess the format of a VA surface in vaDeriveImage()
Sometimes we don't know the usage of a VA surface, so we have to
guess the format according to the current valid context (a hint).
Note it is not always right, pixel format conversion is
needed internally for mismatched pixel format.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Gwenole Beauchesne [Sun, 29 Jan 2012 18:07:37 +0000 (19:07 +0100)]
h264: fix and simplify REF_IDX_STATE (ILK, SNB, IVB).
Original code was parsing RefPicList0/1 over what is actually available
and filled in, i.e. wrt. num_ref_idx_l0/1_minus1 + 1. Besides, bit 5 of
Reference List Entry set to 1 means a frame, not a field.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Mon, 30 Jan 2012 10:05:17 +0000 (11:05 +0100)]
Factor out type definitions (GenFrameStore, GenBuffer).
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Xiang, Haihao [Wed, 1 Feb 2012 06:26:51 +0000 (14:26 +0800)]
Add support for I420, YV12 etc. formatted YUV surface for encoding
MFX only supports NV12 formatted YUV surface, so the driver converts
I420/YV12 formatted surface to NV12 surface internally.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 1 Feb 2012 06:22:56 +0000 (14:22 +0800)]
Fix the base offset of cr(V) surface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 30 Jan 2012 08:38:13 +0000 (16:38 +0800)]
Accelerated vaGetImage() on Sandybridge & Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 30 Jan 2012 07:17:30 +0000 (15:17 +0800)]
Reuse AVS kernel for pixel format conversion on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 30 Jan 2012 07:07:58 +0000 (15:07 +0800)]
Add support for I420/YV12/IMC1/IMC3 input/output surface for AVS on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 02:44:33 +0000 (10:44 +0800)]
Build new shaders for Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 30 Jan 2012 05:52:51 +0000 (13:52 +0800)]
Normal scaling on Ivybridge
Need to adjust parameters later
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 30 Jan 2012 05:33:06 +0000 (13:33 +0800)]
Clear target surface with specified color
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 30 Jan 2012 05:42:09 +0000 (13:42 +0800)]
Fix AVS parameters for Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 08:28:37 +0000 (16:28 +0800)]
Fix y offset for Cb/Cr
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 08:25:33 +0000 (16:25 +0800)]
Remove whitespace following trailing backslash
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 01:17:13 +0000 (09:17 +0800)]
JPEG component id macros are removed, so don't use them in driver
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 01:01:59 +0000 (09:01 +0800)]
Fix frame height/width for YUV400/YUV444/YUV422V_2Y JPEG image
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 01:00:48 +0000 (09:00 +0800)]
Map JPEG component id to Y, Cb, Cr
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 00:59:09 +0000 (08:59 +0800)]
Render YUV400 image on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 18 Jan 2012 03:27:10 +0000 (11:27 +0800)]
Fix graphics memory allocation for VA surface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 13 Jan 2012 00:44:46 +0000 (08:44 +0800)]
use AM_V_GEN to generate files quietly on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 13 Jan 2012 00:43:00 +0000 (08:43 +0800)]
Add the missed register for vme on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 12 Jan 2012 08:48:21 +0000 (16:48 +0800)]
Merge branch 'master' into vaapi-ext
Conflicts:
.gitignore
src/i965_drv_video.c
src/shaders/post_processing/Makefile.am
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 12 Jan 2012 05:30:34 +0000 (13:30 +0800)]
use the revised JPEG decoding interface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 29 Dec 2011 08:27:24 +0000 (16:27 +0800)]
Avoid depending on va_backend.h for some files
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 10 Jan 2012 06:59:21 +0000 (14:59 +0800)]
Remove legacy DRI support
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Hai Lan [Wed, 21 Dec 2011 22:03:44 +0000 (06:03 +0800)]
Fix the bug for IVB jpeg decoding
When call i965_BeginPicture for JPEG decoding, Assertion `0' failed.
Signed-off-by: Hai Lan <hai.lan@intel.com>
Xiang, Haihao [Fri, 15 Jul 2011 08:33:41 +0000 (16:33 +0800)]
i965_drv_video: check the internal format of a surface before rendering
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 19 Dec 2011 00:55:20 +0000 (08:55 +0800)]
Split Gen6 MFC and Gen7 MFC
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 16 Dec 2011 05:38:32 +0000 (13:38 +0800)]
Add support for transform 8x8 on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 16 Dec 2011 01:03:49 +0000 (09:03 +0800)]
Fix INSERT_OBJECT command on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 7 Dec 2011 00:43:29 +0000 (08:43 +0800)]
Add support for B43 chipset
B43 is another 4 series chipset like G41/G45
Signed-off-by: Alexander Inyukhin <shurick@sectorb.msk.ru>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 24 Nov 2011 06:21:03 +0000 (14:21 +0800)]
Fix parameters for SCALING & AVS
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 22 Nov 2011 05:47:36 +0000 (13:47 +0800)]
add support for VAQMatrixBufferType
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 17 Nov 2011 03:23:32 +0000 (11:23 +0800)]
Using deinterlaced chroma in DNDI kernel
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 17 Nov 2011 02:47:45 +0000 (10:47 +0800)]
Fixed surface height for DN/DI
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 16 Nov 2011 07:42:34 +0000 (15:42 +0800)]
Internal CSC if the format of the input surface of VPP isn't NV12
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 16 Nov 2011 06:16:38 +0000 (14:16 +0800)]
Update DNDI kernel and DNDI states on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 10 Nov 2011 05:27:23 +0000 (13:27 +0800)]
Switch scaling method according to the setting
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Gwenole Beauchesne [Wed, 2 Nov 2011 14:32:32 +0000 (15:32 +0100)]
configure: bump version for development.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Xiang, Haihao [Wed, 2 Nov 2011 01:57:54 +0000 (09:57 +0800)]
support picture order count type 2 for H.264 encoding
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Gwenole Beauchesne [Fri, 28 Oct 2011 14:32:40 +0000 (16:32 +0200)]
NEWS: add missing entry for auto-generated Debian packaging.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 28 Oct 2011 14:20:23 +0000 (16:20 +0200)]
build: fix make dist when intel-gen4asm is not installed.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 28 Oct 2011 13:43:39 +0000 (15:43 +0200)]
1.0.15.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 28 Oct 2011 13:42:45 +0000 (15:42 +0200)]
debian: don't use simple-patchsys (upstream has no patches).
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Xiang, Haihao [Wed, 26 Oct 2011 06:02:20 +0000 (14:02 +0800)]
Update surface state, sampler state and kernel for AVS on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 25 Oct 2011 07:38:27 +0000 (15:38 +0800)]
Use the same tiling format for VPP input/output surface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 24 Oct 2011 05:28:42 +0000 (13:28 +0800)]
use the new JPEG decoding interface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhou Chang [Fri, 21 Oct 2011 01:24:28 +0000 (09:24 +0800)]
Fixed CAVLC/CABAC hardcoded issue.
Xiang, Haihao [Mon, 24 Oct 2011 05:15:36 +0000 (13:15 +0800)]
Update for post processing on IVB
AVS works on IVB
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Gwenole Beauchesne [Mon, 17 Oct 2011 13:13:39 +0000 (15:13 +0200)]
i965_drv_video: fix return values to vaRenderPicture().
Undefined status was returned from vaRenderPicture() with no VA buffer.
Likewise, any failure to process a VA buffer could still lead to success.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Mon, 17 Oct 2011 12:58:05 +0000 (14:58 +0200)]
build: use AM_V_GEN to generate files quietly.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Mon, 17 Oct 2011 12:44:21 +0000 (14:44 +0200)]
build: use GEN4ASM variable to hold path to intel-gen4asm program.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Mon, 17 Oct 2011 12:43:39 +0000 (14:43 +0200)]
.gitignore: filter out generated Gen assembly files.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>