profile/ivi/libva.git
13 years agoi965_drv_video: add support for VA_SUBPICTURE_DESTINATION_IS_SCREEN_COORD. 20/820/1
Gwenole Beauchesne [Tue, 28 Jun 2011 01:30:21 +0000 (18:30 -0700)]
i965_drv_video: add support for VA_SUBPICTURE_DESTINATION_IS_SCREEN_COORD.

13 years agoi965_drv_video: fix subpicture scale factor for Y axis. 19/819/1
Gwenole Beauchesne [Tue, 28 Jun 2011 04:19:51 +0000 (21:19 -0700)]
i965_drv_video: fix subpicture scale factor for Y axis.

13 years agoi965_drv_video: simplify put_surface() and put_subpicture() args. 18/818/1
Gwenole Beauchesne [Tue, 28 Jun 2011 00:02:58 +0000 (17:02 -0700)]
i965_drv_video: simplify put_surface() and put_subpicture() args.

13 years agova/test/putsurface_x11: avoid warning 'warning: ‘win’ is used uninitialized in this... 17/817/1
Xiang, Haihao [Fri, 24 Jun 2011 01:20:32 +0000 (09:20 +0800)]
va/test/putsurface_x11: avoid warning 'warning: ‘win’ is used uninitialized in this function'

This fixes broken putsurface on X11

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agova/test: return a value to silence compiler waring 16/816/1
Xiang, Haihao [Fri, 24 Jun 2011 01:14:10 +0000 (09:14 +0800)]
va/test: return a value to silence compiler waring

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agova: fix warning about memset. 15/815/1
Xiang, Haihao [Fri, 24 Jun 2011 01:10:47 +0000 (09:10 +0800)]
va: fix warning about memset.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agotest/putsurface: more cleanup, remove #ifdef ANDROID from putsurface_common.c 14/814/1
Austin Yuan [Mon, 20 Jun 2011 08:03:41 +0000 (01:03 -0700)]
test/putsurface: more cleanup, remove #ifdef ANDROID from putsurface_common.c

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agotest/putsurface: add UV element into the auto-generated image 13/813/1
Austin Yuan [Mon, 20 Jun 2011 03:15:23 +0000 (20:15 -0700)]
test/putsurface: add UV element into the auto-generated image

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agoFix vaTerminate() with non DRI-based drivers. 12/812/1
Gwenole Beauchesne [Thu, 16 Jun 2011 13:03:46 +0000 (21:03 +0800)]
Fix vaTerminate() with non DRI-based drivers.

13 years agova-android: same as X11, also always create a new VA display on android 11/811/1
Austin Yuan [Thu, 16 Jun 2011 05:58:11 +0000 (13:58 +0800)]
va-android: same as X11, also always create a new VA display on android

Previously a VA display will be shared if a native display is shared by multiple threads,
it will casue some thread safety issue in a multi-threaded program.

Remove the global VADisplayContextP pDisplayContexts which is not thread safe

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agoi965_drv_video: fix assertion failure 10/810/1
Xiang, Haihao [Wed, 15 Jun 2011 01:11:26 +0000 (09:11 +0800)]
i965_drv_video: fix assertion failure

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: fix GPU hang issue when decoding field coded MPEG2 picture. 09/809/1
Xiang, Haihao [Tue, 14 Jun 2011 01:49:44 +0000 (09:49 +0800)]
i965_drv_video: fix GPU hang issue when decoding field coded MPEG2 picture.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agolibva: fix memeory leaks in libva 08/808/1
Edgar Hucek [Mon, 13 Jun 2011 05:46:06 +0000 (13:46 +0800)]
libva: fix memeory leaks in libva

Signed-off-by: Edgar Hucek <gimli@dark-green.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: fix memory leaks in i965 driver 07/807/1
Edgar Hucek [Mon, 13 Jun 2011 05:43:37 +0000 (13:43 +0800)]
i965_drv_video: fix memory leaks in i965 driver

Signed-off-by: Edgar Hucek <gimli@dark-green.com>
13 years agoi965_drv_video: track the internal format of a surface 06/806/1
Xiang, Haihao [Mon, 13 Jun 2011 04:46:16 +0000 (12:46 +0800)]
i965_drv_video: track the internal format of a surface

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoRevert the change in VA_DRI2SwapBuffers: _XReply -->_XSend 05/805/1
Austin Yuan [Fri, 10 Jun 2011 06:00:11 +0000 (14:00 +0800)]
Revert the change in VA_DRI2SwapBuffers: _XReply -->_XSend

We should use _XReplay. _XSend will introduce more CPU usage

Signed-off-by: Edgar Hucek <gimli@dark-green.com>
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/libva 04/804/1
Austin Yuan [Fri, 10 Jun 2011 05:42:56 +0000 (13:42 +0800)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/libva

13 years agotest/encode/avcenc: don't include <pciaccess.h> 03/803/1
Xiang, Haihao [Fri, 10 Jun 2011 02:53:29 +0000 (10:53 +0800)]
test/encode/avcenc: don't include <pciaccess.h>

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: encode on Ivybridge 02/802/1
Xiang, Haihao [Fri, 10 Jun 2011 02:48:16 +0000 (10:48 +0800)]
i965_drv_video: encode on Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: fix VME shaders 01/801/1
Xiang, Haihao [Thu, 9 Jun 2011 08:22:03 +0000 (16:22 +0800)]
i965_drv_video: fix VME shaders

1. The response length for inter type on Ivybridge is 6.
2. fix register region

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: new shaders for VME on Ivybridge 00/800/1
Xiang, Haihao [Thu, 9 Jun 2011 05:13:24 +0000 (13:13 +0800)]
i965_drv_video: new shaders for VME on Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoCorrected trace prints (updated, change format, etc), replaced \t by spaces in source... 99/799/1
Alexander Osin [Tue, 7 Jun 2011 18:37:11 +0000 (22:37 +0400)]
Corrected trace prints (updated, change format, etc), replaced \t by spaces in source code

13 years agoi965_drv_video: set surface base address in VME 98/798/1
Xiang, Haihao [Thu, 9 Jun 2011 01:56:16 +0000 (09:56 +0800)]
i965_drv_video: set surface base address in VME

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: clean up 97/797/1
Xiang, Haihao [Thu, 26 May 2011 02:33:47 +0000 (10:33 +0800)]
i965_drv_video: clean up

Don't emit PIPE_CONTROL directly, instead call intel_batchbuffer_emit_mi_flush.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: Added check of obj_surface->bo field inside i965_media_h264_surface_s... 96/796/1
Alexander Osin [Tue, 7 Jun 2011 18:35:33 +0000 (22:35 +0400)]
i965_drv_video: Added check of obj_surface->bo field inside i965_media_h264_surface_state()

13 years agotest/basic testing programs do not need to be installed 95/795/1
Austin Yuan [Wed, 8 Jun 2011 01:48:19 +0000 (18:48 -0700)]
test/basic testing programs do not need to be installed
in /usr/bin; one can run make valgrind here as a check,
or run them under make check too.

From gimli at dark-green.com

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agoi965_drv_video: improved MV quality for VME 94/794/1
Zhou Chang [Wed, 1 Jun 2011 08:01:14 +0000 (16:01 +0800)]
i965_drv_video: improved MV quality for VME

13 years agoBump to 1.0.13 93/793/1 libva-1.0.13
Austin Yuan [Tue, 31 May 2011 02:10:12 +0000 (19:10 -0700)]
Bump to 1.0.13

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agolibva: several changes 92/792/1
Austin Yuan [Tue, 31 May 2011 02:02:25 +0000 (19:02 -0700)]
libva: several changes

1) add free_drawable
2) clean the license of Android.mk
3) define VA_ROTATION_270 to 3 instead of 4

Signed-off-by: Zhaohan Ren <zhaohan.ren@intel.com>
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agoi965_drv_video: clean up codes 91/791/1
Xiang, Haihao [Wed, 25 May 2011 06:14:42 +0000 (14:14 +0800)]
i965_drv_video: clean up codes

Check and allocate surface BO in a same function

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: rendering for Ivybridge 90/790/1
Xiang, Haihao [Wed, 25 May 2011 04:55:46 +0000 (12:55 +0800)]
i965_drv_video: rendering for Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: new shaders for rendering on Ivybridge 89/789/1
Xiang, Haihao [Wed, 25 May 2011 01:32:50 +0000 (09:32 +0800)]
i965_drv_video: new shaders for rendering on Ivybridge

SEND on Ivybridge uses GRFs instead of MRFs

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: VC1 decoding on Ivybridge 88/788/1
Xiang, Haihao [Wed, 25 May 2011 01:27:07 +0000 (09:27 +0800)]
i965_drv_video: VC1 decoding on Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: H.264 & MPEG2 decoding on Ivybridge 87/787/1
Xiang, Haihao [Wed, 25 May 2011 01:24:08 +0000 (09:24 +0800)]
i965_drv_video: H.264 & MPEG2 decoding on Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: Ivybridge PCI IDs 86/786/1
Xiang, Haihao [Tue, 17 May 2011 09:00:22 +0000 (17:00 +0800)]
i965_drv_video: Ivybridge PCI IDs

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: thread safety for object allocation 85/785/1
Xiang, Haihao [Mon, 16 May 2011 01:49:01 +0000 (09:49 +0800)]
i965_drv_video: thread safety for object allocation

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_vidoe: thread safety for rendering 84/784/1
Xiang, Haihao [Fri, 13 May 2011 07:45:22 +0000 (15:45 +0800)]
i965_drv_vidoe: thread safety for rendering

13 years agova: always create a new VA display on X11 83/783/1
Xiang, Haihao [Mon, 16 May 2011 03:42:51 +0000 (11:42 +0800)]
va: always create a new VA display on X11

Previously a VA display will be shared if a native display is shared by
multiple threads, it will casue some thread safety issue in a multi-threaded
program.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agotest/putsurface/putsurface: fix multi-thread issue on X11 82/782/1
Xiang, Haihao [Mon, 16 May 2011 00:48:01 +0000 (08:48 +0800)]
test/putsurface/putsurface: fix multi-thread issue on X11

On X11, a VA display is dependent on the display returned by XOpenDisplay,
vaPutSurface maybe accesses this display. So the same access mechanism is needed
for vaPutSurface and other Xlib funtion calls. Another way is to call XInitThreads
before XOpenDisplay.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agotest/putsurface/putsurface: pass a valid DRAWABLE to vaPutSurface 81/781/1
Xiang, Haihao [Fri, 13 May 2011 07:43:51 +0000 (15:43 +0800)]
test/putsurface/putsurface: pass a valid DRAWABLE to vaPutSurface

13 years agoi965_drv_video: move batchbuffer to context 80/780/1
Xiang, Haihao [Fri, 13 May 2011 05:17:58 +0000 (13:17 +0800)]
i965_drv_video: move batchbuffer to context

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: clean up batchbuffer interface 79/779/1
Xiang, Haihao [Thu, 12 May 2011 08:00:30 +0000 (16:00 +0800)]
i965_drv_video: clean up batchbuffer interface

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoupdate .gitignore 78/778/1
Xiang, Haihao [Wed, 11 May 2011 03:20:29 +0000 (11:20 +0800)]
update .gitignore

13 years agoi965_drv_video: store post process parameters in context 77/777/1
Xiang, Haihao [Tue, 10 May 2011 05:06:22 +0000 (13:06 +0800)]
i965_drv_video: store post process parameters in context

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: store kernel info in the corresponding context 76/776/1
Xiang, Haihao [Tue, 10 May 2011 04:52:05 +0000 (12:52 +0800)]
i965_drv_video: store kernel info in the corresponding context

13 years agoi965_drv_video: use the same structure for all kernels 75/775/1
Xiang, Haihao [Tue, 10 May 2011 04:45:56 +0000 (12:45 +0800)]
i965_drv_video: use the same structure for all kernels

13 years agoi965_drv_video: create media_state per context 74/774/1
Xiang, Haihao [Tue, 10 May 2011 04:49:54 +0000 (12:49 +0800)]
i965_drv_video: create media_state per context

Also clean up some codes

13 years agotest/encode/avcenc: fix for VAEncSequenceParameterBufferH264 73/773/1
Xiang, Haihao [Fri, 6 May 2011 01:29:56 +0000 (09:29 +0800)]
test/encode/avcenc: fix for VAEncSequenceParameterBufferH264

13 years agoImplemented i965_LockSurface, i965_UnlockSurface, i965_BufferInfo 72/772/1
Alexander I Osin [Thu, 28 Apr 2011 15:52:55 +0000 (18:52 +0300)]
Implemented i965_LockSurface, i965_UnlockSurface, i965_BufferInfo

13 years agoAdded locked_image_id in struct object_surface 71/771/1
Alexander I Osin [Thu, 28 Apr 2011 15:53:55 +0000 (18:53 +0300)]
Added locked_image_id in struct object_surface

13 years agova: fix build issue 70/770/1
Xiang, Haihao [Fri, 6 May 2011 06:14:20 +0000 (14:14 +0800)]
va: fix build issue

va_trace.c:410: error: conflicting types for ‘va_TraceInitialize’
va_trace.h:33: note: previous declaration of ‘va_TraceInitialize’ was here
va_trace.c:420: error: conflicting types for ‘va_TraceTerminate’
va_trace.h:39: note: previous declaration of ‘va_TraceTerminate’ was here

13 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/libva 69/769/1
Austin Yuan [Fri, 6 May 2011 04:52:44 +0000 (12:52 +0800)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/libva

13 years ago1) test/*: enable/refine the test/* for both X11 and Android 68/768/1
Austin Yuan [Fri, 6 May 2011 03:04:50 +0000 (20:04 -0700)]
1) test/*: enable/refine the test/* for both X11 and Android
2) va_dri2.c: use _XSend instead of _XReply which is time-consuming
3) trace message for vaPutSurface/vaInitialize/vaTerminate

Signed-off-by: Guoliang Ji <guoliangx.ji@intel.com>
Signed-off-by: Zhaohan Ren <zhaohan.ren@intel.com>
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years ago1) test/*: enable/refine the test/* for both X11 and Android 67/767/1
Austin Yuan [Fri, 6 May 2011 03:04:50 +0000 (20:04 -0700)]
1) test/*: enable/refine the test/* for both X11 and Android
2) va_dri2.c: use _XSend instead of _XReply which is time-consuming
3) trace message for vaPutSurface/vaInitialize/vaTerminate

Signed-off-by: Guoliang Ji <guoliangx.ji@intel.com>
Signed-off-by: Zhaohan Ren <zhaohan.ren@intel.com>
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agocorrected vaBufferInfo interface 66/766/1
Alexander I Osin [Thu, 28 Apr 2011 16:05:45 +0000 (19:05 +0300)]
corrected vaBufferInfo interface

13 years agocorrected vaBufferInfo interface 65/765/1
Alexander I Osin [Thu, 28 Apr 2011 16:05:18 +0000 (19:05 +0300)]
corrected vaBufferInfo interface

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>