platform/upstream/libva-intel-driver.git
11 years agoAdd the common BRC API to avoid the duplicated code
Zhao Yakui [Fri, 20 Jul 2012 01:16:04 +0000 (21:16 -0400)]
Add the common BRC API to avoid the duplicated code

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
11 years agoAdd the separated files for media encoder on haswell
Zhao Yakui [Fri, 20 Jul 2012 01:15:56 +0000 (21:15 -0400)]
Add the separated files for media encoder on haswell

There exist a lot of changes about the media encoder between Haswell
and IvyBridge. For example: the VME programming and the corresponding
general media command. To be simple, the separated files are added for
Haswell. Otherwise it has to consider the complex backward compatibility.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
11 years agohaswell: fix video post-processing setup.
Gwenole Beauchesne [Fri, 18 May 2012 09:40:59 +0000 (11:40 +0200)]
haswell: fix video post-processing setup.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agohaswell: fix render kernels.
Gwenole Beauchesne [Wed, 9 May 2012 12:40:53 +0000 (14:40 +0200)]
haswell: fix render kernels.

Regenerate render kernels for Haswell because JMPI instruction semantics
changed there. In particular, the offset is now expressed in bytes instead
of 64-bit units.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agohaswell: fix MPEG-2 decoding.
Gwenole Beauchesne [Mon, 7 May 2012 09:29:46 +0000 (11:29 +0200)]
haswell: fix MPEG-2 decoding.

Fix MPEG-2 decoding, though disable error concealment logic for now.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agohaswell: set "Shader Channel Select" fields in surface state.
Gwenole Beauchesne [Mon, 7 May 2012 07:17:55 +0000 (09:17 +0200)]
haswell: set "Shader Channel Select" fields in surface state.

For normal behaviour, each Shader Channel Select should be set to the
value indicating that same channel. i.e. Shader Channel Select Red is
set to SCS_RED, Shader Channel Select Green is set to SCS_GREEN, etc.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agohaswell: fix 3DSTATE_PS to fill in number of samples.
Gwenole Beauchesne [Mon, 7 May 2012 07:12:04 +0000 (09:12 +0200)]
haswell: fix 3DSTATE_PS to fill in number of samples.

The sample mask value must match what is set for 3DSTATE_SAMPLE_MASK,
through gen7_emit_invarient_states().

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agohaswell: fix max PS threads shift value.
Gwenole Beauchesne [Mon, 7 May 2012 07:09:48 +0000 (09:09 +0200)]
haswell: fix max PS threads shift value.

The maximum number of threads is now a 9-bit value. Thus, one more bit
towards LSB was re-used. i.e. bit position is now 23 instead of 24 on
Ivy Bridge.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agointel: fix max number of threads used on Ivy Bridge.
Gwenole Beauchesne [Mon, 7 May 2012 07:05:21 +0000 (09:05 +0200)]
intel: fix max number of threads used on Ivy Bridge.

Fix the max number of threads to be used on Ivy Bridge. In particular,
the GEN7_PS_MAX_THREADS_SHIFT offset was wrong, thus causing the GPU
to use half of what was specified.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agohaswell: use at least 64 URB entries for GT2+.
Gwenole Beauchesne [Mon, 7 May 2012 06:54:56 +0000 (08:54 +0200)]
haswell: use at least 64 URB entries for GT2+.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoAdd PCI IDs for Haswell
Gwenole Beauchesne [Mon, 7 May 2012 06:50:21 +0000 (08:50 +0200)]
Add PCI IDs for Haswell

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
11 years agofix ttmbf/ttfrm when vstransform is 0
Zhao Halley [Fri, 21 Sep 2012 02:30:55 +0000 (10:30 +0800)]
fix ttmbf/ttfrm when vstransform is 0
(cherry picked from commit c7d23b1e9376808dfa88192ee66a1af5acdf3b16)

11 years agoChange ILLEGAL instructions to NOP instructions in avc_mc.g4b.gen5
Homer Hsing [Thu, 27 Sep 2012 05:24:09 +0000 (13:24 +0800)]
Change ILLEGAL instructions to NOP instructions in avc_mc.g4b.gen5
(cherry picked from commit 3b02b9d396c4ec7ab07ca0429023f3f54201d51b)

11 years agorender: add support for display rotation attribute.
Gwenole Beauchesne [Wed, 29 Aug 2012 16:37:25 +0000 (18:37 +0200)]
render: add support for display rotation attribute.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit 8098e75a2a7d1dab08819e851a0eeb884f8e7f69)

11 years agorender: prepare for display attributes.
Gwenole Beauchesne [Wed, 29 Aug 2012 15:27:25 +0000 (17:27 +0200)]
render: prepare for display attributes.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit 8dda3077e56d95c937e92ee6d6964fe6a22e9fd0)

11 years agobuild: use libva-intel-driver as the package name.
Gwenole Beauchesne [Thu, 20 Sep 2012 08:01:30 +0000 (10:01 +0200)]
build: use libva-intel-driver as the package name.

Most OSVs adopted XXX-intel-driver as their shipping packages for the
Intel VA driver, with XXX = { vaapi, libva }. Adopt libva-intel-driver
from now on for upstream packages too.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit a52e577cc78abcfe5f008a9bffe08927a02908ac)

11 years agoThe block mask workaround is only available for Sandy bridge
Xiang, Haihao [Wed, 12 Sep 2012 07:27:46 +0000 (03:27 -0400)]
The block mask workaround is only available for Sandy bridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agowork around hw limitation(dword alignment) of horizontal offset
Zhao Halley [Thu, 2 Aug 2012 09:28:48 +0000 (12:28 +0300)]
work around hw limitation(dword alignment) of horizontal offset

on dst surface left edge for nv12 scaling (not avs)

11 years agowork around hw limitation(dword alignment) of horizontal offset
Zhao Halley [Thu, 2 Aug 2012 09:22:33 +0000 (12:22 +0300)]
work around hw limitation(dword alignment) of horizontal offset

on dst surface left edge for load/save procedure

11 years agouse load/save procedure instead of scaling only when
Zhao Halley [Thu, 2 Aug 2012 09:15:01 +0000 (12:15 +0300)]
use load/save procedure instead of scaling only when

src and dst rect have exactly same geometry

11 years agoreload horizontal mask after the first block in asm code
Zhao Halley [Mon, 13 Aug 2012 01:12:14 +0000 (09:12 +0800)]
reload horizontal mask after the first block in asm code

work around hw limiration(dword alignment) of horizontal offset

11 years agowork around hw limitation(dword alignment) of horizontal offset
Zhao Halley [Thu, 2 Aug 2012 09:04:37 +0000 (12:04 +0300)]
work around hw limitation(dword alignment) of horizontal offset

on dst surface left edge (nv12 avs)

11 years agoPL8x4_Save_IMC3.asm fix of masked block
Zhao Halley [Thu, 26 Jul 2012 09:56:14 +0000 (12:56 +0300)]
PL8x4_Save_IMC3.asm fix of masked block

11 years agoreload block mask for the last(bottom/right) block in a strip
Zhao Halley [Thu, 26 Jul 2012 09:53:23 +0000 (12:53 +0300)]
reload block mask for the last(bottom/right) block in a strip

11 years agoenable horizontal and vertical mask for bottom/right boundary blocks
Zhao Halley [Thu, 26 Jul 2012 08:27:45 +0000 (11:27 +0300)]
enable horizontal and vertical mask for bottom/right boundary blocks

- usually it is 0xff/0xffff for common blocks in grf5
- one mask is setup in object_walker when the last group of blocks are met
- another mask should setup when the last block (in a group) is met.
  it will be done in asm code, we make it ready in grf6

11 years agoadd RGBX/BGRX to supported image list
Zhao Halley [Thu, 16 Aug 2012 06:03:11 +0000 (14:03 +0800)]
add RGBX/BGRX to supported image list

11 years agoadd format conversion stage in video post processing
Zhao Halley [Fri, 31 Aug 2012 00:35:21 +0000 (08:35 +0800)]
add format conversion stage in video post processing

11 years agoAdjust vertical scaling step for AVS on IVB
Xiang, Haihao [Wed, 29 Aug 2012 05:24:00 +0000 (01:24 -0400)]
Adjust vertical scaling step for AVS on IVB

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoAVS workaround on IVB
Xiang, Haihao [Wed, 29 Aug 2012 05:29:44 +0000 (01:29 -0400)]
AVS workaround on IVB

Update AVS shaders and add CURBE parameters for AVS workaround

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoUpdate the shader for DI on IVB
Xiang, Haihao [Thu, 23 Aug 2012 02:55:00 +0000 (22:55 -0400)]
Update the shader for DI on IVB

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoAdd support DN on IVB
Xiang, Haihao [Fri, 29 Jun 2012 08:51:00 +0000 (16:51 +0800)]
Add support DN on IVB

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoNew combined shaders for Ivybridge
Xiang, Haihao [Wed, 22 Aug 2012 06:51:40 +0000 (02:51 -0400)]
New combined shaders for Ivybridge

In addtion, add the license header.

You need the latest intel-gen4asm to build these shaders

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
11 years agoencode: sequence params should be reusable across frames
Haitao Huang [Wed, 15 Aug 2012 17:43:56 +0000 (12:43 -0500)]
encode: sequence params should be reusable across frames

Client should not be required to send seq for each picture.

Change-Id: I4f24ac7dd7ad2d0657a641fb82793c9bae665694

11 years agointel-driver: Call intel_driver_terminate after i965_destroy_heap
Stéphane Marchesin [Fri, 3 Aug 2012 03:06:26 +0000 (20:06 -0700)]
intel-driver: Call intel_driver_terminate after i965_destroy_heap

Otherwise this leads to use-after-free of the bufmgr.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
(cherry picked from commit 5a449f5d2608adaf29c4c052aa28687d9e80a37a)

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)

12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>