profile/ivi/libva.git
13 years agoFixed number bugs in va_TraceSurface. 64/764/1
Alexander I Osin [Thu, 28 Apr 2011 16:03:04 +0000 (19:03 +0300)]
Fixed number bugs in va_TraceSurface.

13 years agotest/encode/avcenc: a simple encoder based on VA API for H.264 63/763/1
Zhou Chang [Thu, 28 Apr 2011 07:50:14 +0000 (15:50 +0800)]
test/encode/avcenc: a simple encoder based on VA API for H.264

Usage:
avcenc <width> <height> <input file> <output file> [qp]

Singed-off-by: Zhou Chang <chang.zhou@intel.com>
Singed-off-by: Lan Hai <hai.lan@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoMerge branch 'snb-encoder' 62/762/1
Xiang, Haihao [Tue, 26 Apr 2011 08:10:22 +0000 (16:10 +0800)]
Merge branch 'snb-encoder'

13 years agoi965_drv_video/encode: offset for coded buffer 61/761/1
Xiang, Haihao [Tue, 26 Apr 2011 05:26:38 +0000 (13:26 +0800)]
i965_drv_video/encode: offset for coded buffer

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: indentation fix 60/760/1
Xiang, Haihao [Fri, 22 Apr 2011 05:23:09 +0000 (13:23 +0800)]
i965_drv_video/encode: indentation fix

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: media read with sampler cache 59/759/1
Xiang, Haihao [Fri, 22 Apr 2011 05:09:03 +0000 (13:09 +0800)]
i965_drv_video/encode: media read with sampler cache

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/video: set base address for MV data 58/758/1
Xiang, Haihao [Fri, 22 Apr 2011 04:15:15 +0000 (12:15 +0800)]
i965_drv_video/video: set base address for MV data

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: merge global symbols in intra/inter shader 57/757/1
Xiang, Haihao [Fri, 22 Apr 2011 02:20:59 +0000 (10:20 +0800)]
i965_drv_video/encode: merge global symbols in intra/inter shader

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: remove all intra data in inter shader 56/756/1
Xiang, Haihao [Fri, 22 Apr 2011 02:01:02 +0000 (10:01 +0800)]
i965_drv_video/encode: remove all intra data in inter shader

Need to revert this commit if select inter-intra mixed mode for P/B frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: clean up gen6_mfc_avc_pipeline_programing 55/755/1
Xiang, Haihao [Fri, 22 Apr 2011 01:53:25 +0000 (09:53 +0800)]
i965_drv_video: clean up gen6_mfc_avc_pipeline_programing

don't need to map VME output for inter frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: merge the object command for intra/inter frame 54/754/1
Xiang, Haihao [Fri, 22 Apr 2011 01:43:11 +0000 (09:43 +0800)]
i965_drv_video/encode: merge the object command for intra/inter frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: also simplify the object command for inter frame 53/753/1
Xiang, Haihao [Fri, 22 Apr 2011 01:37:20 +0000 (09:37 +0800)]
i965_drv_video/encode: also simplify the object command for inter frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: reduce inline data for inter shader 52/752/1
Xiang, Haihao [Fri, 22 Apr 2011 01:30:32 +0000 (09:30 +0800)]
i965_drv_video/encode: reduce inline data for inter shader

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: simplify the object command for intra frame 51/751/1
Xiang, Haihao [Thu, 21 Apr 2011 05:17:00 +0000 (13:17 +0800)]
i965_drv_video: simplify the object command for intra frame

fixes some comments in intra_frame.asm as well.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: fetch neighbor pixel in intra shader 50/750/1
Xiang, Haihao [Thu, 21 Apr 2011 04:56:28 +0000 (12:56 +0800)]
i965_drv_video/encode: fetch neighbor pixel in intra shader

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: fix neighbor pixel luma value in VME message 49/749/1
Xiang, Haihao [Thu, 21 Apr 2011 04:53:39 +0000 (12:53 +0800)]
i965_drv_video/encode: fix neighbor pixel luma value in VME message

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: fix macroblock instra struct in VME message 48/748/1
Xiang, Haihao [Thu, 21 Apr 2011 05:23:56 +0000 (13:23 +0800)]
i965_drv_video/encode: fix macroblock instra struct in VME message

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: fix interface descriptor table 47/747/1
Xiang, Haihao [Thu, 14 Apr 2011 07:32:03 +0000 (15:32 +0800)]
i965_drv_video/encode: fix interface descriptor table

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoadd inter frame support in vme. 46/746/1
Zhou Chang [Thu, 14 Apr 2011 05:37:45 +0000 (13:37 +0800)]
add inter frame support in vme.

13 years agoi965_drv_video/encode: fix CURBE usage for VME 45/745/1
Xiang, Haihao [Thu, 14 Apr 2011 05:29:14 +0000 (13:29 +0800)]
i965_drv_video/encode: fix CURBE usage for VME

This fixes a potential GPU hang issue

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: fix the format of a derived image for MPEG2 on ILK 44/744/1
Xiang, Haihao [Mon, 11 Apr 2011 02:13:17 +0000 (10:13 +0800)]
i965_drv_video: fix the format of a derived image for MPEG2 on ILK

The native format used for MPEG2 decoding on ILK is I420

13 years agoi965_drv_video: associate the derived image with the surface 43/743/1
Xiang, Haihao [Mon, 11 Apr 2011 01:04:37 +0000 (09:04 +0800)]
i965_drv_video: associate the derived image with the surface

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agodisabling cabac zeros words inert, using 0x00000000 as end of bit streaming flag. 42/742/1
Zhou Chang [Wed, 6 Apr 2011 02:31:39 +0000 (10:31 +0800)]
disabling cabac zeros words inert, using 0x00000000 as end of bit streaming flag.

13 years agoSupport Inter frames in driver. 41/741/1
Zhou Chang [Sat, 2 Apr 2011 08:47:41 +0000 (16:47 +0800)]
Support Inter frames in driver.

13 years agotest/encode/h264encode: Destroy config after context. 40/740/1
Xiang, Haihao [Sat, 2 Apr 2011 08:23:13 +0000 (16:23 +0800)]
test/encode/h264encode: Destroy config after context.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agofix for VAEncCodedBufferType 39/739/1
Xiang, Haihao [Sat, 2 Apr 2011 08:16:04 +0000 (16:16 +0800)]
fix for VAEncCodedBufferType

It matches VA spec.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoWorkaround for 720p/1080p encoding 38/738/1
Xiang, Haihao [Sat, 2 Apr 2011 05:54:53 +0000 (13:54 +0800)]
Workaround for 720p/1080p encoding

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agorelease all BOs when terminating 37/737/1
Xiang, Haihao [Sat, 2 Apr 2011 04:38:36 +0000 (12:38 +0800)]
release all BOs when terminating

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agofix internal buffer size 36/736/1
Xiang, Haihao [Sat, 2 Apr 2011 04:05:10 +0000 (12:05 +0800)]
fix internal buffer size

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agofix for interface descriptor 35/735/1
Xiang, Haihao [Sat, 2 Apr 2011 04:02:57 +0000 (12:02 +0800)]
fix for interface descriptor

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_vidoe: Encoder on Sandy Bridge 34/734/1
Zhou Chang [Fri, 1 Apr 2011 07:07:46 +0000 (15:07 +0800)]
i965_drv_vidoe: Encoder on Sandy Bridge

Currently it supports Intra frame

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoUse constant instead of enum for RenderDevice/RenderMode 33/733/1 libva-1.0.12
Austin Yuan [Fri, 1 Apr 2011 07:07:31 +0000 (15:07 +0800)]
Use constant instead of enum for RenderDevice/RenderMode

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agoFix build issue again 32/732/1
Austin Yuan [Fri, 1 Apr 2011 04:47:17 +0000 (12:47 +0800)]
Fix build issue again

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agoFix build issue 31/731/1
Austin Yuan [Fri, 1 Apr 2011 03:46:23 +0000 (11:46 +0800)]
Fix build issue

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agoBump to 1.0.12 30/730/1
Austin Yuan [Fri, 1 Apr 2011 03:41:04 +0000 (11:41 +0800)]
Bump to 1.0.12

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years ago 1. add interface VARenderDevice for output the video into an external device... 29/729/1
Austin Yuan [Fri, 1 Apr 2011 03:34:47 +0000 (11:34 +0800)]
1. add interface VARenderDevice for output the video into an external device when the WM is not aware of it
    2. add interface VARenderMode for APP to swith between overlay and GPU post-processing
    3. add VADisplayAttribOverlayColorKey/VADisplayAttribOverlayAutoPaintColorKey which is simliar to Xv for overlay post-processing
    4. fix the build issue on Android 2.3

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Signed-off-by: Jason Hu <jason.hu@intel.com>
Signed-off-by: Zhaohan Ren <zhaohan.ren@intel.com>
13 years agobump library version to 1.0.11 28/728/1 libva-1.0.11
Xiang, Haihao [Mon, 28 Mar 2011 06:17:42 +0000 (14:17 +0800)]
bump library version to 1.0.11

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/VC1: fix for single intensity compensation parameter setting 27/727/1
Xiang, Haihao [Mon, 14 Mar 2011 05:05:57 +0000 (13:05 +0800)]
i965_drv_video/VC1: fix for single intensity compensation parameter setting

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/VC1: fix data offset for Main/Simple profile 26/726/1
Xiang, Haihao [Mon, 14 Mar 2011 01:52:54 +0000 (09:52 +0800)]
i965_drv_video/VC1: fix data offset for Main/Simple profile

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/VC1: disable overlap if PQUANT is less than 9 in Main/Simple profile 25/725/1
Xiang, Haihao [Fri, 11 Mar 2011 07:49:09 +0000 (15:49 +0800)]
i965_drv_video/VC1: disable overlap if PQUANT is less than 9 in Main/Simple profile

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: Fixes the dimension of a surface on SandyBridge 24/724/1
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>
13 years agoi965_drv_video: rendere I420/YV12 surface on SandyBridge 23/723/1
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>
13 years agoi965_drv_video: only use tiled surface for NV12 on SandyBridge 22/722/1
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>
13 years agoi965_drv_video: deinterlacing & scaling on SandyBridge 21/721/1
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>
13 years agoi965_drv_video: shaders for post processing on SandyBridge 20/720/1
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>
13 years agoi965_drv_video: move pp_context to i965_driver_data and make it a pointer. 19/719/1
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>
13 years agoi965_drv_video: don't support MPEG2/VC1/H264 without BSD support on SandyBridge. 18/718/1
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>
13 years agoi965_drv_video: Implement vaDeriveImage() 17/717/1
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>
13 years agoi965_drv_video: map/unmap a tiled GEM BO 16/716/1
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>
13 years agoi965_dri_video: don't try to render an invalid surface 15/715/1
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>
13 years agoi965_drv_video: make VADriverContext.vtable a pointer. 14/714/1
Gwenole Beauchesne [Thu, 27 Jan 2011 09:41:24 +0000 (10:41 +0100)]
i965_drv_video: make VADriverContext.vtable a pointer.

13 years agoCorrect USE_EGL check and bump to libva 1.0.10 13/713/1 libva-1.0.10
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>
13 years agoRemove suffix of libva.spec from the version string 12/712/1
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>
13 years agoBump to libva 1.0.9 11/711/1
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>
13 years agoFix build issue 10/710/1
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>
13 years ago 1) cleanup for VA_FOOL 09/709/1
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>
13 years agodummy_drv_video: make VADriverContext.vtable a pointer. 08/708/1
Gwenole Beauchesne [Thu, 27 Jan 2011 09:40:36 +0000 (10:40 +0100)]
dummy_drv_video: make VADriverContext.vtable a pointer.

13 years agoMake VADriverContext.vtable a pointer. 07/707/1
Gwenole Beauchesne [Thu, 27 Jan 2011 09:36:37 +0000 (10:36 +0100)]
Make VADriverContext.vtable a pointer.

13 years agoBump VA-API version to 0.32.0. Fix __vaDriverInit*() function name. 06/706/1
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.

13 years agoi965_drv_video: set the number of elements in a buffer store. 05/705/1
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.

13 years agoi965_drv_video: check frame store index firstly on Sandybridge 04/704/1
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>
13 years agoUpdate VAAPI to 0.32 03/703/1
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>
13 years ago[G45] Fix check for H.264 decoding support. 02/702/1
Gwenole Beauchesne [Thu, 27 Jan 2011 03:36:07 +0000 (11:36 +0800)]
[G45] Fix check for H.264 decoding support.

13 years ago[G45] Fix check for VC-1 decoding support 01/701/1
Gwenole Beauchesne [Thu, 27 Jan 2011 03:09:31 +0000 (11:09 +0800)]
[G45] Fix check for VC-1 decoding support

13 years agoi965_drv_video: VC-1 on Sandybridge 00/700/1
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>
13 years agoAdd profile into VAPictureParameterBufferVC1 99/699/1
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>
13 years agoBump to 1.0.8 98/698/1 libva-1.0.8
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>
13 years agoi965_drv_video: build shaders for decoding & post proscessing 97/697/1
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>
13 years ago Refine VA_FOOL, and delete the hard coded clip va_fool_264.h 96/696/1
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>
13 years agoi965_drv_video: support IA44/AI44 subpicture formats on Sandybridge 95/695/1
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>
13 years agobump library version to 1.0.7 94/694/1 libva-1.0.7
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>
13 years agoMerge branch 'master' of git+ssh://AustinYuan@git.freedesktop.org/git/libva 93/693/1
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

13 years agoFix the build issue on Android 92/692/1
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>
13 years agoi965_drv_video: Bump the libdrm dependency to 2.4.23 for I915_EXEC_BLT 91/691/1
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>
13 years agoi965_drv_video: Fix a small typo in a comment 90/690/1
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>
13 years agoRemove config.h va/va_version.h (from Gwenole) 89/689/1
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>
13 years agoAdd sysdeps.h for system-dependent definitions. e.g. Android. 88/688/1
Gwenole Beauchesne [Fri, 29 Oct 2010 08:47:23 +0000 (10:47 +0200)]
Add sysdeps.h for system-dependent definitions. e.g. Android.

13 years agoAndroid: try to auto generate <va/version.h> 87/687/1
Gwenole Beauchesne [Fri, 29 Oct 2010 09:35:50 +0000 (11:35 +0200)]
Android: try to auto generate <va/version.h>

13 years agoIt makes the compilation visually cleaner and the warnings easier to spot. 86/686/1
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>
13 years agoWhich means adding the tests, the pc files and va/va_version.h (generated file) while... 85/685/1
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>
13 years agoIt's quite useful to be able to see what we are going to build, esp. as the i965... 84/684/1
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>
13 years agoi965_drv_video/mpeg2: upload Quantizer Matrix in raster order on Sandybridge 83/683/1
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>
13 years agoi965_drv_video: fix mpeg2 decoding on Sandybridge 82/682/1
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>
13 years agoi965_drv_video: Enable BLT ring 81/681/1
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>
13 years agoi965_drv_video: release mfd context 80/680/1
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>
13 years agoi965_drv_video: add support for mpeg2 decoding on Sandybridge 79/679/1
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>
13 years agoi965_drv_video/render: render sub-picture on Sandybridge 78/678/1
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>
13 years agoi965_drv_video: Currently only use tiled-Y surfaces on Sandybridge 77/677/1
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>
13 years agoi965_drv_video: fix row data buffer for deblocking on Sandybridge 76/676/1
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>
13 years agoi965_drv_video: fix surface dimension 75/675/1
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>
13 years agoi965_drv_video/render: rendering for Sandybridge 74/674/1
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>
13 years agoi965_drv_video/render: new fragmensts for Sandybridge 73/673/1
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>
13 years agoi965_drv_video/render: remove i965_subpic_render_src_surface_state 72/672/1
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>
13 years agoi965_drv_video/render: support tiled source surface 71/671/1
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>
13 years agoi965_drv_video/render: set surface base address 70/670/1
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>
13 years agoi965_drv_video: fix weight/offset for H.264 decoding on Sandybridge 69/669/1
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>
13 years agoi965_drv_video: fix mfx_avc_slice_state command 68/668/1
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>
13 years agoi965_drv_video: set indirect bitsteam object base address 67/667/1
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>
13 years agoi965_drv_video: Y-tiled surface for MFD on Sandybridge 66/666/1
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>
13 years agoi965_drv_video: H.264 decoding on Sandybridge 65/665/1
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>