profile/ivi/vaapi-intel-driver.git
11 years agoadd packaging files 55/1555/2 1.0 1.0_branch accepted/2.0/20130306.231505 accepted/trunk/20120822.173412 submit/2.0/20130306.223001 submit/trunk/20120822.062726
Zhao Halley [Tue, 14 Aug 2012 01:34:25 +0000 (09:34 +0800)]
add packaging files

11 years agoadd nv12 to rgb conversion in post processing
Zhao Halley [Thu, 19 Jul 2012 10:26:12 +0000 (13:26 +0300)]
add nv12 to rgb conversion in post processing

11 years agoadd GPU shader for NV12->RGBX conversion
Zhao Halley [Thu, 12 Jul 2012 08:13:40 +0000 (11:13 +0300)]
add GPU shader for NV12->RGBX conversion

11 years agoadd rgbx to nv12 conversion in post-processing
Zhao Halley [Thu, 19 Jul 2012 10:12:41 +0000 (13:12 +0300)]
add rgbx to nv12 conversion in post-processing

11 years agoadd GPU shader for RGB->NV12 conversion
Zhao Halley [Thu, 12 Jul 2012 08:04:39 +0000 (11:04 +0300)]
add GPU shader for RGB->NV12 conversion

11 years agodefine RGB layout in static parameter
Zhao Halley [Thu, 19 Jul 2012 09:52:47 +0000 (12:52 +0300)]
define RGB layout in static parameter

11 years agodistinguish first plane width in pixel or in byte
Zhao Halley [Thu, 19 Jul 2012 09:49:08 +0000 (12:49 +0300)]
distinguish first plane width in pixel or in byte

11 years agoadd RGB format surface support
Zhao Halley [Thu, 19 Jul 2012 09:34:29 +0000 (12:34 +0300)]
add RGB format surface support

11 years agowayland: drop explicit dependencies to Wayland libraries.
Gwenole Beauchesne [Mon, 6 Aug 2012 14:11:47 +0000 (16:11 +0200)]
wayland: drop explicit dependencies to Wayland libraries.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agowayland: ship with wayland-drm protocol.
Zhao halley [Thu, 24 May 2012 09:13:31 +0000 (17:13 +0800)]
wayland: ship with wayland-drm protocol.

Signed-off-by: Zhao Halley <halley.zhao@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoAdd Wayland support.
Gwenole Beauchesne [Sat, 7 Apr 2012 18:08:03 +0000 (20:08 +0200)]
Add Wayland support.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoDrop explicit dependency on libva-x11.
Gwenole Beauchesne [Fri, 29 Jun 2012 12:56:28 +0000 (14:56 +0200)]
Drop explicit dependency on libva-x11.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoAllow build without VA/X11 API.
Dmitry Ermilov [Thu, 7 Jun 2012 12:03:01 +0000 (08:03 -0400)]
Allow build without VA/X11 API.

Signed-off-by: Dmitry Ermilov <dmitry.ermilov@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoAdd raw DRM support.
Dmitry Ermilov [Thu, 7 Jun 2012 12:03:01 +0000 (08:03 -0400)]
Add raw DRM support.

Signed-off-by: Dmitry Ermilov <dmitry.ermilov@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoAdd shared library utils.
Gwenole Beauchesne [Mon, 6 Aug 2012 11:22:07 +0000 (13:22 +0200)]
Add shared library utils.

Add a few helpers to open shared libraries and load specific symbols
from there.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agodri: cope with drm_state changes.
Gwenole Beauchesne [Fri, 6 Apr 2012 15:24:36 +0000 (17:24 +0200)]
dri: cope with drm_state changes.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoAdopt the new interfaces for JPEG decoding
Xiang, Haihao [Wed, 25 Jul 2012 22:44:52 +0000 (06:44 +0800)]
Adopt the new interfaces for JPEG decoding

Currently the HW only supprts JPEG baseline decoding

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoAdjust the search path and LUT_MV table in VME
Xiang, Haihao [Fri, 29 Jun 2012 06:33:44 +0000 (14:33 +0800)]
Adjust the search path and LUT_MV table in VME

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Tested-by: Zhang, Ouping <ouping.zhang@intel.com>
11 years agoAdd support for UYVY
Xiang, Haihao [Thu, 28 Jun 2012 04:01:32 +0000 (12:01 +0800)]
Add support for UYVY

Tested on SNB and IVB.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agocolor conversion between planar and packed formats on IVB
Xiang, Haihao [Thu, 28 Jun 2012 03:54:24 +0000 (11:54 +0800)]
color conversion between planar and packed formats on IVB

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoNew shaders for color conversion between packed and planar YUV on IVB
Xiang, Haihao [Thu, 28 Jun 2012 03:35:50 +0000 (11:35 +0800)]
New shaders for color conversion between packed and planar YUV on IVB

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoadd YUY2 support in i965_GetSurfaceAttributes, fix a small issue
Zhao Halley [Wed, 27 Jun 2012 06:45:22 +0000 (09:45 +0300)]
add YUY2 support in i965_GetSurfaceAttributes, fix a small issue

11 years agosupport NV12/I420/YV12->I420/YV12 conversion
Zhao Halley [Wed, 27 Jun 2012 06:45:21 +0000 (09:45 +0300)]
support NV12/I420/YV12->I420/YV12 conversion

11 years agoconfigure: require automake >= 1.9 for tar-ustar option.
Gwenole Beauchesne [Wed, 27 Jun 2012 12:54:55 +0000 (14:54 +0200)]
configure: require automake >= 1.9 for tar-ustar option.

By default, newer automake versions make tar use the ancient tar V7 format
that limits filenames to 99 characters. This is troublesome for certain shader
sources files. Now require automake 1.9 and use the tar-ustar option so that
a newer format, defined in POSIX 1003.1-1988, is used. The limitation is now
256 characters.

PAX interchange format (POSIX 1003.1-2001) was considered but probably still
to young? Just stick to the intermediate format for now as this is enough for
our purposes.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoh264: fix 4K decoding (IVB).
Gwenole Beauchesne [Wed, 27 Jun 2012 09:14:29 +0000 (11:14 +0200)]
h264: fix 4K decoding (IVB).

Fix decoding of 4K videos on Ivy Bridge. Note that either dimension
shall not exceed 4096 pixels.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoFix the width of the UV surface for AVS on IVB
Xiang, Haihao [Wed, 27 Jun 2012 07:20:22 +0000 (15:20 +0800)]
Fix the width of the UV surface for AVS on IVB

The width is specified in units of pixel.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoonly update u/v offset for some video processes
Xiang, Haihao [Tue, 26 Jun 2012 07:20:50 +0000 (15:20 +0800)]
only update u/v offset for some video processes

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoFix the parameter initialization for IVB
Xiang, Haihao [Tue, 26 Jun 2012 07:03:38 +0000 (15:03 +0800)]
Fix the parameter initialization for IVB

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoFix the mapping between VA filters and internal video processing
Xiang, Haihao [Tue, 26 Jun 2012 04:58:54 +0000 (12:58 +0800)]
Fix the mapping between VA filters and internal video processing

Some new filters are added in va_vpp.h

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoFix the number of the supported image formats
Xiang, Haihao [Tue, 26 Jun 2012 04:53:15 +0000 (12:53 +0800)]
Fix the number of the supported image formats

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoUpdate the PA shader for ILK/SNB
Xiang, Haihao [Tue, 26 Jun 2012 04:51:29 +0000 (12:51 +0800)]
Update the PA shader for ILK/SNB

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoupdate image width of packed format
Zhao halley [Thu, 31 May 2012 09:00:29 +0000 (17:00 +0800)]
update image width of packed format

11 years agoadd YUY2 format support in getimage/putimage
Zhao halley [Thu, 31 May 2012 09:00:28 +0000 (17:00 +0800)]
add YUY2 format support in getimage/putimage

11 years agoadd YUY2 to supported image list
Zhao halley [Thu, 31 May 2012 09:00:27 +0000 (17:00 +0800)]
add YUY2 to supported image list

11 years agofix a mistake in PA_Load_8x8.asm
Zhao halley [Thu, 31 May 2012 09:00:26 +0000 (17:00 +0800)]
fix a mistake in PA_Load_8x8.asm

11 years agoadd YUY2->YV12 conversion in post processing (SNB/ILK)
Zhao halley [Thu, 31 May 2012 09:00:25 +0000 (17:00 +0800)]
add YUY2->YV12 conversion in post processing (SNB/ILK)

11 years agoadd pa_load_save_pl3 for YUY2-->YV12 conversion (SNB/ILK)
Zhao halley [Thu, 31 May 2012 09:00:24 +0000 (17:00 +0800)]
add pa_load_save_pl3 for YUY2-->YV12 conversion (SNB/ILK)

11 years agojpeg: fix submission of quantization and Huffman tables.
Gwenole Beauchesne [Mon, 28 May 2012 14:07:49 +0000 (04:07 -1000)]
jpeg: fix submission of quantization and Huffman tables.

Upload quantiser and Huffman tables only if they are marked as dirty.
i.e. the user requested to load them.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoImplementation for i965_SyncSurface and i965_QuerySurfaceStatus
Dmitry Ermilov [Fri, 15 Jun 2012 04:24:37 +0000 (00:24 -0400)]
Implementation for i965_SyncSurface and i965_QuerySurfaceStatus
(cherry picked from commit 25673c458932caa09ae3f47c6dbe7e040dbae032)

11 years agosilence compiler warning
Xiang, Haihao [Mon, 11 Jun 2012 02:46:22 +0000 (10:46 +0800)]
silence compiler warning

gen6_mfc.c: In function ‘gen6_mfc_brc_init’:
gen6_mfc.c:814:44: warning: initialization from incompatible pointer type [enabled by default]
gen6_mfc.c: In function ‘gen6_mfc_avc_prepare’:
gen6_mfc.c:1058:18: warning: unused variable ‘rate_control_mode’ [-Wunused-variable]

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoFix slice delta for CBR mode
Xiang, Haihao [Mon, 11 Jun 2012 01:52:47 +0000 (09:52 +0800)]
Fix slice delta for CBR mode

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoNew BRC algorithm to match HRD
Rogozhkin, Dmitry V [Mon, 11 Jun 2012 01:45:41 +0000 (09:45 +0800)]
New BRC algorithm to match HRD

It reduces the number of recoding as well.

Signed-off-by: Rogozhkin, Dmitry V <dmitry.v.rogozhkin@intel.com>
11 years agoCurrently only SNB supports packed YUV image
Xiang, Haihao [Thu, 7 Jun 2012 06:48:25 +0000 (14:48 +0800)]
Currently only SNB supports packed YUV image

Check the returned status as well.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoFix coded buffer size calculating for CBR mode
Xiang, Haihao [Thu, 7 Jun 2012 05:53:42 +0000 (13:53 +0800)]
Fix coded buffer size calculating for CBR mode

The encoded frame includes not only all macroblocks,
but also PPS/SPS/Slice headers.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoFix QP setting for CBR mode
Xiang, Haihao [Thu, 7 Jun 2012 01:02:30 +0000 (09:02 +0800)]
Fix QP setting for CBR mode

The QP specified in MFX_AVC_SLICE_STATE is also used as the starting
QP in the first MB of a slice. In addition, add assertions for QP releated
setting for 8-bit pixel bit-depth support

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Signed-off-by: Rogozhkin, Dmitry V <dmitry.v.rogozhkin@intel.com>
11 years agoAccept packed misc data package such as SEI data
Xiang, Haihao [Thu, 31 May 2012 10:49:44 +0000 (18:49 +0800)]
Accept packed misc data package such as SEI data

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Tested-by: Dmitry Ermilov <dmitry.ermilov@intel.com>
11 years agoFix weight denom for implicit weight tables on SNB for encoding
Xiang, Haihao [Wed, 30 May 2012 05:12:58 +0000 (13:12 +0800)]
Fix weight denom for implicit weight tables on SNB for encoding

It is the same of commit fd9c532

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoDon't render the target surface with background if alpha value is 0
Xiang, Haihao [Wed, 30 May 2012 01:21:38 +0000 (09:21 +0800)]
Don't render the target surface with background if alpha value is 0

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoclear background under right context
Xiang, Haihao [Wed, 30 May 2012 01:18:59 +0000 (09:18 +0800)]
clear background under right context

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoOptimal parameters for Intra prediction mode
Rogozhkin, Dmitry V [Tue, 29 May 2012 00:05:20 +0000 (08:05 +0800)]
Optimal parameters for Intra prediction mode

12 years agoFix the regression caused by d90a5ea9f21bc20f35c26457dec57f41f7a184d1
Xiang, Haihao [Thu, 24 May 2012 01:14:45 +0000 (09:14 +0800)]
Fix the regression caused by d90a5ea9f21bc20f35c26457dec57f41f7a184d1

The DNDI kernel is still inapplicable.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoadd yuyv->nv12 conversion in image processing
Zhao halley [Thu, 17 May 2012 07:49:34 +0000 (15:49 +0800)]
add yuyv->nv12 conversion in image processing

12 years agoadd YUYV to NV12 conversion(pa_load_save_nv12.asm etc)
Zhao halley [Wed, 16 May 2012 23:58:31 +0000 (07:58 +0800)]
add YUYV to NV12 conversion(pa_load_save_nv12.asm etc)

12 years agoadd YV12 to YUY2 conversion
Zhao halley [Thu, 17 May 2012 07:39:43 +0000 (15:39 +0800)]
add YV12 to YUY2 conversion

12 years agoadd pl3_load_save_pa.asm etc
Zhao halley [Thu, 3 May 2012 02:50:51 +0000 (10:50 +0800)]
add pl3_load_save_pa.asm etc

12 years agoadd NV12 to YUY2 color conversion
Zhao halley [Thu, 17 May 2012 07:28:16 +0000 (15:28 +0800)]
add NV12 to YUY2 color conversion

12 years agoadd nv12_load_save_pa.asm
Halley Zhao [Fri, 27 Apr 2012 05:54:13 +0000 (13:54 +0800)]
add nv12_load_save_pa.asm

12 years agoadd 422/YUY2 to surface formats
Zhao halley [Thu, 17 May 2012 07:19:11 +0000 (15:19 +0800)]
add 422/YUY2 to surface formats

12 years agoEnable Stream-Out on IVB
Zhou Chang [Mon, 14 May 2012 07:35:53 +0000 (15:35 +0800)]
Enable Stream-Out on IVB

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
12 years agosrc/Android.mk: add new files for mfc, gpe, enc
Haitao Huang [Fri, 11 May 2012 13:34:47 +0000 (08:34 -0500)]
src/Android.mk: add new files for mfc, gpe, enc

Change-Id: I76a344b6d44ebc00eef507e5c633c0722c3b201a
Signed-off-by: Haitao Huang <haitao.huang@intel.com>
12 years agointel-driver: initial porting to Android ICS
Haitao Huang [Fri, 11 May 2012 13:34:45 +0000 (08:34 -0500)]
intel-driver: initial porting to Android ICS

Added Android make files, conditionally compile PutSurface
implementation, which is not needed for Android ICS.

For: AIA-418
Change-Id: Ifd6a6ec2dabd8ee1ad4d34a41b3d274f8817f965
Depends-Change-Id: I2feabf6941379ef4d756e942f30eba059de641f1
Depends-Change-Id: I3452f6e784f11c39d4d925c57cd844bd4cc9dc9e
Signed-off-by: Haitao Huang <haitao.huang@intel.com>
12 years agojpeg: drop explicit check for VA/JPEG decoding API.
Gwenole Beauchesne [Fri, 11 May 2012 15:18:36 +0000 (17:18 +0200)]
jpeg: drop explicit check for VA/JPEG decoding API.

Staging branch VA driver needs to be built against a staging branch
libva. So, the VA/JPEG decoding API is present and actually mandatory
for VA-API >= 0.34.

12 years agojpeg: fix configure check for newer API.
Gwenole Beauchesne [Fri, 11 May 2012 14:26:22 +0000 (16:26 +0200)]
jpeg: fix configure check for newer API.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agojpeg: update to latest API.
Haitao Huang [Fri, 11 May 2012 13:34:46 +0000 (08:34 -0500)]
jpeg: update to latest API.

Signed-off-by: Haitao Huang <haitao.huang@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoconfigure: enforce build against VA-API 0.34.
Gwenole Beauchesne [Fri, 11 May 2012 15:17:37 +0000 (17:17 +0200)]
configure: enforce build against VA-API 0.34.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoENC: Enable all Intra mode on Ivybridge
Xiang, Haihao [Tue, 8 May 2012 07:37:37 +0000 (15:37 +0800)]
ENC: Enable all Intra mode on Ivybridge

The same fields will be ignored on Sandybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoVPP: it should be float for normalized_x/y
Xiang, Haihao [Fri, 4 May 2012 08:34:55 +0000 (16:34 +0800)]
VPP: it should be float for normalized_x/y

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoVPP: pass the origin of source region to vpp kernel
Xiang, Haihao [Fri, 4 May 2012 08:33:47 +0000 (16:33 +0800)]
VPP: pass the origin of source region to vpp kernel

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoFix the error code for unsupported resolution
Xiang, Haihao [Fri, 4 May 2012 03:05:52 +0000 (11:05 +0800)]
Fix the error code for unsupported resolution

Thank Gwenole for pointing it out

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit d0dfefde77ebe6093e304a84df796c6e1157f00a)

12 years agoVPP: Render target surface with background color
Xiang, Haihao [Fri, 4 May 2012 02:58:48 +0000 (10:58 +0800)]
VPP: Render target surface with background color

Currently ignore alpha value. We will fix it once the
alpha blend kernel is ready

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoMPEG-2: Fix MFX_QM_STATE command on Ivybridge
Xiang, Haihao [Thu, 3 May 2012 05:45:50 +0000 (13:45 +0800)]
MPEG-2: Fix MFX_QM_STATE command on Ivybridge

If load_intra_quantiser_matrix/load_non_intra_quantiser_matrix is set to 0, then
there is no change to quantisation matrix. In this case, submit MFX_QM_STATE
with previous setting

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 1c00e5916b59439fc7d8b0a59e82bc6bce2eb2de)

Conflicts:

src/gen7_mfd.c

12 years agoEnlarge some internal buffer for H.264 decoding on Ivybridge
Xiang, Haihao [Wed, 2 May 2012 08:23:59 +0000 (16:23 +0800)]
Enlarge some internal buffer for H.264 decoding on Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit c3f06e2b32197d403d96b548b6b7589b245e8aaa)

12 years agoSupport mixed mode for VME
Xiang, Haihao [Wed, 25 Apr 2012 05:14:43 +0000 (13:14 +0800)]
Support mixed mode for VME

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoFix the filling of MFC batchbuffer for software path
Xiang, Haihao [Mon, 23 Apr 2012 08:35:36 +0000 (16:35 +0800)]
Fix the filling of MFC batchbuffer for software path

VME has output more macroblock messages which should be used
when filling the MFC batchbuffer

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoAdded workaroud for CBR support in IVB.
Zhou Chang [Fri, 20 Apr 2012 08:20:00 +0000 (16:20 +0800)]
Added workaroud for CBR support in IVB.

12 years agoRemove hard-coded code.
Xiang, Haihao [Thu, 19 Apr 2012 06:45:03 +0000 (14:45 +0800)]
Remove hard-coded code.

Istead, the MFX setting depends on the user setting parameters

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoDon't use DNDI kernel on Ivybridge temporarily
Xiang, Haihao [Thu, 19 Apr 2012 05:11:44 +0000 (13:11 +0800)]
Don't use DNDI kernel on Ivybridge temporarily

We will integrate the right kernel for DN/DI on Ivybridge as soon as possible.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoDon't call VPP if the kernel isn't ready.
Xiang, Haihao [Thu, 19 Apr 2012 03:24:06 +0000 (11:24 +0800)]
Don't call VPP if the kernel isn't ready.

This avoids segment fault in VPP

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoFix parameter setting for AVS on Ivybridge
Xiang, Haihao [Thu, 19 Apr 2012 02:22:34 +0000 (10:22 +0800)]
Fix parameter setting for AVS on Ivybridge

DU multiplied by width in SURFACE_STATE must be less
than 16 for the sample_8x8 message.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoAdd support for new Ivybridge chipset
Xiang, Haihao [Fri, 13 Apr 2012 02:44:57 +0000 (10:44 +0800)]
Add support for new Ivybridge chipset

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 4e3a3146128c6f790c9f586c2141ae96955069cd)

12 years agoDon't need to expand MVs on Ivybridge
Xiang, Haihao [Tue, 10 Apr 2012 07:27:08 +0000 (15:27 +0800)]
Don't need to expand MVs on Ivybridge

The MVs in the VME output are consistent to MFC on Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoFix MvSize on Ivybridge
Xiang, Haihao [Tue, 10 Apr 2012 07:05:56 +0000 (15:05 +0800)]
Fix MvSize on Ivybridge

The MvSize in the writeback message on Sandybridge is inconsistent to
MFC, however it is consistent to MFC on Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoCorrect the setting for search path in VME_STATE
Xiang, Haihao [Tue, 10 Apr 2012 01:34:35 +0000 (09:34 +0800)]
Correct the setting for search path in VME_STATE

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoFix the length of writeback message for Inter frame
Xiang, Haihao [Tue, 10 Apr 2012 01:39:47 +0000 (09:39 +0800)]
Fix the length of writeback message for Inter frame

A GRF register consists of two OWords

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoChange to none-block in CBR mode
Zhou Chang [Fri, 6 Apr 2012 07:57:40 +0000 (15:57 +0800)]
Change to none-block in CBR mode

12 years agoFixed multipul slices edge prediction issue for Intra
Zhou Chang [Fri, 6 Apr 2012 07:57:13 +0000 (15:57 +0800)]
Fixed multipul slices edge prediction issue for Intra

12 years agoAdded interlace mode check, just a workaround.
Zhou Chang [Fri, 6 Apr 2012 07:56:42 +0000 (15:56 +0800)]
Added interlace mode check, just a workaround.

12 years agoSupport sub-partition for Inter frame
Xiang, Haihao [Fri, 6 Apr 2012 07:46:18 +0000 (15:46 +0800)]
Support sub-partition for Inter frame

Also support 32 MVs

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoDirectly use the size of the output MV from VME to format MFC_AVC_PAK_OBJECT command
Xiang, Haihao [Fri, 6 Apr 2012 07:34:20 +0000 (15:34 +0800)]
Directly use the size of the output MV from VME to format MFC_AVC_PAK_OBJECT command

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoUpdate LUT_MV table
Xiang, Haihao [Fri, 6 Apr 2012 03:25:00 +0000 (11:25 +0800)]
Update LUT_MV table

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoExpand 8 MVs
Xiang, Haihao [Fri, 6 Apr 2012 03:23:01 +0000 (11:23 +0800)]
Expand 8 MVs

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoCorrect the register region in VME kernel
Xiang, Haihao [Fri, 6 Apr 2012 00:45:32 +0000 (08:45 +0800)]
Correct the register region in VME kernel

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoSupport sub-macroblocks for Inter frame
Xiang, Haihao [Thu, 5 Apr 2012 08:40:13 +0000 (16:40 +0800)]
Support sub-macroblocks for Inter frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoUse the output from VME to format MFC_AVC_PAK_OBJEC command for Inter frame
Xiang, Haihao [Thu, 5 Apr 2012 08:38:51 +0000 (16:38 +0800)]
Use the output from VME to format MFC_AVC_PAK_OBJEC command for Inter frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoOutput more information in VME output buffer for Inter frame
Xiang, Haihao [Thu, 5 Apr 2012 07:51:25 +0000 (15:51 +0800)]
Output more information in VME output buffer for Inter frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoExpand the VME output buffer for Inter frame
Xiang, Haihao [Thu, 5 Apr 2012 07:49:42 +0000 (15:49 +0800)]
Expand the VME output buffer for Inter frame

Prepare for 32 MVs(128 bytes) and other information(32 bytes) from VME. In addition, use
macros instead of magic numbers

Signed-off-by :Xiang, Haihao <haihao.xiang@intel.com>

12 years agorender: fix rendering of interlaced surfaces.
Gwenole Beauchesne [Mon, 12 Mar 2012 14:30:13 +0000 (15:30 +0100)]
render: fix rendering of interlaced surfaces.

Handle bob-deinterlacing flags passed to vaPutSurface().
i.e. VA_TOP_FIELD|VA_BOTTOM_FIELD.

Avoid advanced deinterlacing kernels as they allocate extra temporary
surfaces, which are useless for such simple tasks. i.e. display either
field of an interlaced surface.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agovpp: drop "flags" field in pipeline caps.
Gwenole Beauchesne [Wed, 4 Apr 2012 08:52:27 +0000 (10:52 +0200)]
vpp: drop "flags" field in pipeline caps.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoUpdate LUT_MbMode for set 0
Xiang, Haihao [Sun, 1 Apr 2012 02:21:19 +0000 (10:21 +0800)]
Update LUT_MbMode for set 0

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoOnly disable INTRA_8x8 if transform_8x8_mode_flag isn't set
Xiang, Haihao [Sun, 1 Apr 2012 02:18:10 +0000 (10:18 +0800)]
Only disable INTRA_8x8 if transform_8x8_mode_flag isn't set

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>