profile/ivi/libva.git
14 years agoi965_drv_driver: fix assertion failure 42/442/1
Xiang, Haihao [Wed, 5 Aug 2009 03:48:18 +0000 (11:48 +0800)]
i965_drv_driver: fix assertion failure

14 years agoi965_drv_video: Eanble VAAPI on IGDNG 41/441/1
Xiang, Haihao [Mon, 27 Jul 2009 09:11:25 +0000 (17:11 +0800)]
i965_drv_video: Eanble VAAPI on IGDNG

14 years agoi965_drv_video: add new compiled shader programs for IGDNG 40/440/1
Xiang, Haihao [Mon, 27 Jul 2009 08:39:53 +0000 (16:39 +0800)]
i965_drv_video: add new compiled shader programs for IGDNG

14 years agoCheck the version of intel-gen4asm in configure.ac 39/439/1
Xiang, Haihao [Mon, 27 Jul 2009 08:35:56 +0000 (16:35 +0800)]
Check the version of intel-gen4asm in configure.ac

15 years agoput drivers into /usr/lib/dri by default 38/438/1
Austin Yuan [Wed, 8 Jul 2009 09:50:16 +0000 (17:50 +0800)]
put drivers into /usr/lib/dri by default

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agodon't build i965 driver by default 37/437/1
Austin Yuan [Wed, 8 Jul 2009 09:48:06 +0000 (17:48 +0800)]
don't build i965 driver by default

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd VASliceParameterBufferBase. 36/436/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:58:29 +0000 (07:58 +0000)]
Add VASliceParameterBufferBase.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRemove obsolete fields. 35/435/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:56:26 +0000 (07:56 +0000)]
Remove obsolete fields.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd new DSO versioning (SONAME changed to libva-VERSION.so.CURRENT.REVISION.AGE). 34/434/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:54:02 +0000 (07:54 +0000)]
Add new DSO versioning (SONAME changed to libva-VERSION.so.CURRENT.REVISION.AGE).

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix memory leak (VADriverContext.dri_state). 33/433/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:53:37 +0000 (07:53 +0000)]
Fix memory leak (VADriverContext.dri_state).

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd VA_INVALID_ID helper macro. 32/432/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:53:08 +0000 (07:53 +0000)]
Add VA_INVALID_ID helper macro.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix make install (<va/va_x11.h>). Actually drop extraneous space. ;-) 31/431/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:52:49 +0000 (07:52 +0000)]
Fix make install (<va/va_x11.h>). Actually drop extraneous space. ;-)

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd check for libXfixes. 30/430/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:51:58 +0000 (07:51 +0000)]
Add check for libXfixes.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoDrop duplicate LIBDRM_DEPS pkg-config check. 29/429/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:51:42 +0000 (07:51 +0000)]
Drop duplicate LIBDRM_DEPS pkg-config check.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix driver name retrieval for dri1 and dri2. 28/428/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:51:21 +0000 (07:51 +0000)]
Fix driver name retrieval for dri1 and dri2.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix va_DisplayContextGetDriverName() to check for LIBVA_DRIVER_NAME first. 27/427/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:50:40 +0000 (07:50 +0000)]
Fix va_DisplayContextGetDriverName() to check for LIBVA_DRIVER_NAME first.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAllow conditional build of video drivers (dummy, i965). 26/426/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:50:01 +0000 (07:50 +0000)]
Allow conditional build of video drivers (dummy, i965).

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix tests. 25/425/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:49:23 +0000 (07:49 +0000)]
Fix tests.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoInstall drivers into pkglibdir/va/. 24/424/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:48:10 +0000 (07:48 +0000)]
Install drivers into pkglibdir/va/.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix dummy_drv_video.so init function name. 23/423/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:47:15 +0000 (07:47 +0000)]
Fix dummy_drv_video.so init function name.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix includes. 22/422/1
Gwenole Beauchesne [Wed, 8 Jul 2009 07:46:31 +0000 (07:46 +0000)]
Fix includes.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agotest: Use IN_LIBVA, so that they can be built out of libva 21/421/1
Austin Yuan [Wed, 8 Jul 2009 06:46:49 +0000 (14:46 +0800)]
test: Use IN_LIBVA, so that they can be built out of libva

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix test build issue 20/420/1
Austin Yuan [Wed, 8 Jul 2009 06:27:44 +0000 (14:27 +0800)]
Fix test build issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix build of vainfo. 19/419/1
Gwenole Beauchesne [Thu, 2 Jul 2009 09:15:58 +0000 (09:15 +0000)]
Fix build of vainfo.

commit f8aebf54e0d6b2411cb495f9fab71dc8a05c245c
Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Date:   Thu Jun 25 14:06:38 2009 +0000

    Further fixes to vainfo: use strrchr() instead of rindex(), make
    profile_string() and entrypoint_string() always return a value.

commit 4e6d19d5588998b5a9da30500ce727410b5787ef
Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Date:   Wed Jun 24 12:43:55 2009 +0000

    Fix vainfo error messages.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoDrop explicit CFLAGS override. 18/418/1
Gwenole Beauchesne [Wed, 24 Jun 2009 07:52:36 +0000 (07:52 +0000)]
Drop explicit CFLAGS override.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix make dist (i965_drv_video missing files, Paul Bender). 17/417/1
Gwenole Beauchesne [Fri, 3 Jul 2009 15:40:54 +0000 (15:40 +0000)]
Fix make dist (i965_drv_video missing files, Paul Bender).

commit a02c6205509411b9e444b5546023dd8c5672fd99
Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Date:   Thu Jul 2 09:28:02 2009 +0000

    Fix make dist (tests).

commit 93db0794456910eb4b1daf2e1c1a7f45448897c1
Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Date:   Wed Jun 24 07:49:02 2009 +0000

    Fix make dist.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix build after X11 -> x11 move 16/416/1
Gwenole Beauchesne [Mon, 6 Jul 2009 10:41:05 +0000 (10:41 +0000)]
Fix build after X11 -> x11 move

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoX11->x11 per the suggestion from Gwenole 15/415/1
Austin Yuan [Mon, 6 Jul 2009 09:18:37 +0000 (17:18 +0800)]
X11->x11 per the suggestion from Gwenole

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMove back dri --> src/X11 14/414/1
Austin Yuan [Fri, 3 Jul 2009 03:04:34 +0000 (11:04 +0800)]
Move back dri --> src/X11

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded the patch from Zou Naihai to correct DRI2XXX --> VA_DRI2XXX 13/413/1
Austin Yuan [Wed, 1 Jul 2009 03:33:58 +0000 (11:33 +0800)]
Added the patch from  Zou Naihai to correct DRI2XXX --> VA_DRI2XXX

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agova_backend.h: X11/va_x11.h --> dri/va_x11.h 12/412/1
Austin Yuan [Wed, 1 Jul 2009 01:27:47 +0000 (09:27 +0800)]
va_backend.h: X11/va_x11.h --> dri/va_x11.h

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRemove vaSetSubpicturePalette, please use vaSetImagePalette 11/411/1
Austin Yuan [Tue, 30 Jun 2009 16:08:42 +0000 (00:08 +0800)]
Remove vaSetSubpicturePalette, please use vaSetImagePalette

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRefine the directory, move src/X11 to dri/ 10/410/1
Austin Yuan [Thu, 2 Jul 2009 09:51:41 +0000 (17:51 +0800)]
Refine the directory, move src/X11 to dri/

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoApply the patch from Nanhai to support MPEG2 VLD on Intel integrated G45 graphics 09/409/1
Austin Yuan [Thu, 2 Jul 2009 09:02:12 +0000 (17:02 +0800)]
Apply the patch from Nanhai to support MPEG2 VLD on Intel integrated G45 graphics

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded missing file test/mpeg2-I.jpg, mpeg2-i.mpg 08/408/1
Austin Yuan [Thu, 25 Jun 2009 21:41:02 +0000 (05:41 +0800)]
Added missing file test/mpeg2-I.jpg, mpeg2-i.mpg

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded version number for libVA. Current version is 0.30.4 07/407/1 20090625_5.1.0.0111 20090702_5.1.0.0112 20090707_5.1.0.0113 20090710_5.1.0.0114 20090716_5.1.0.0115 20090723_5.1.0.0116 20090724_5.1.0.0117 20090727_5.1.0.0118 20090731_5.1.0.0119 20090806_5.1.0.0120 20090820_5.1.0.0120.1 20090821_5.1.0.0120.1 20090821_5.1.0.0122 20090909_5.1.0.0124 20091002_PreAlpha_Int 20091015_5.1.0.0125 20091021_5.1.0.0126 20091103_PreAlpha5 menlow-beta video-img1.5-poc ww30.1-rar-video ww30.3-video ww30.5-video ww31.2-pm-video ww31.2-video ww32.1-video
Austin Yuan [Wed, 24 Jun 2009 01:01:05 +0000 (09:01 +0800)]
Added version number for libVA. Current version is 0.30.4

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoProposed new vaCreateSurfaceFromV4L2Buffer to replace origin vaCreateSurfaceFromMrstV... 06/406/1
Austin Yuan [Fri, 19 Jun 2009 18:20:52 +0000 (02:20 +0800)]
Proposed new vaCreateSurfaceFromV4L2Buffer to replace origin vaCreateSurfaceFromMrstV4L2 buffer to make it more generic

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded more comments for vaCreateBufferFromV4L2Buffer 05/405/1
Austin Yuan [Fri, 19 Jun 2009 18:17:40 +0000 (02:17 +0800)]
Added more comments for vaCreateBufferFromV4L2Buffer

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFixed dummy driver compile issue 04/404/1 20090618_Alpha2.3
Austin Yuan [Thu, 18 Jun 2009 20:14:12 +0000 (04:14 +0800)]
Fixed dummy driver compile issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agorefine vaCreateSurfaceFromMrstV4L2Buf to vaCreateSurfaceFromV4L2Buf to make it more... 03/403/1
Austin Yuan [Thu, 18 Jun 2009 19:30:16 +0000 (03:30 +0800)]
refine vaCreateSurfaceFromMrstV4L2Buf to vaCreateSurfaceFromV4L2Buf to make it  more generic

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRename vaDbgCopySurfaceToBuffer ->vaCopySurfaceToBuffer, vaDbgCreateSurfaceFromMrstVL... 02/402/1
Austin Yuan [Thu, 18 Jun 2009 18:59:00 +0000 (02:59 +0800)]
Rename vaDbgCopySurfaceToBuffer ->vaCopySurfaceToBuffer, vaDbgCreateSurfaceFromMrstVL42Buffer->vaCreateSurfaceFromMrstVL42Buffer

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agorename vaDbgCopySurfaceToBuffer ->vaCopySurfaceToBuffer, vaDbgCreateSurfaceFromMRSTVL... 01/401/1
Austin Yuan [Thu, 18 Jun 2009 18:45:53 +0000 (02:45 +0800)]
rename vaDbgCopySurfaceToBuffer ->vaCopySurfaceToBuffer, vaDbgCreateSurfaceFromMRSTVL42Buffer->vaCreateSurfaceFromMRSTVL42Buffer

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix the issue that all files are moved into a sub-directory libva. 00/400/1
Austin Yuan [Sat, 13 Jun 2009 01:17:46 +0000 (09:17 +0800)]
Fix the issue that all files are moved into a sub-directory libva.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoUpload latest libVA library 99/399/1
Austin Yuan [Fri, 12 Jun 2009 23:18:20 +0000 (07:18 +0800)]
Upload latest libVA library

    1. Upgrade VAAPI to version 0.30 which has encode support
    2. Incorporate Gwenole Beauchesne's patches 102, 103, 104. 105, 106, 107, 109 and part of 202
       (see http://www.splitted-desktop.com/~gbeauchesne/libva/patches/)
    3. DRI2 support

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix vaSetSubpicturePalette compile issue 98/398/1 20090616_Alpha2.2.1
Austin Yuan [Fri, 12 Jun 2009 23:16:42 +0000 (07:16 +0800)]
Fix vaSetSubpicturePalette compile issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoremove vaSetSubpicturePalette 97/397/1
Austin Yuan [Fri, 12 Jun 2009 22:57:30 +0000 (06:57 +0800)]
remove vaSetSubpicturePalette

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoChage VASurfaceSkipped from 3 to 4 96/396/1 20090608_Alpha2.2
Austin Yuan [Fri, 5 Jun 2009 02:49:11 +0000 (10:49 +0800)]
Chage VASurfaceSkipped from 3 to 4

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoremove Xv checkouk in config 95/395/1
Austin Yuan [Wed, 3 Jun 2009 18:21:56 +0000 (14:21 -0400)]
remove Xv checkouk in config

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded va_dri2tokens.h for DRI2 tokens definition 94/394/1
Austin Yuan [Wed, 3 Jun 2009 18:03:57 +0000 (14:03 -0400)]
Added va_dri2tokens.h for DRI2 tokens definition

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRemove uncessary link form libva.so by adding flag RTLD_NODELETE into 93/393/1
Austin Yuan [Wed, 3 Jun 2009 15:14:46 +0000 (11:14 -0400)]
Remove uncessary link form libva.so by adding flag RTLD_NODELETE into
dlopen

Here is the background of this fix
Investigation indicates MRST Moblin Alpha1 0529 and 0520 uses the same libva source package
(which is from graphics Alpha1.4 pakcage
\\mid-depot.amr.corp.intel.com\Exchange\Moblin2\PackageSubmit\1.0.7_05142009-4_Alpha1.4),
and the rootcause is that the linkage of libva dependence libraries is
chaned in 0529 build. I am not sure why 0529 build has this change, and this
change indeed causes libva application segment fault issue.

See the detailed investigation and explanation in the attached
libva-0520-vs-0529.PNG picture.

Reproduce Steps(steps,current result, reproduce possibility)
===========================================================
(1) boot 0529 build
(2) Install libva testsuits into 0529 build
(3) run "mpeg4vld -x -i /var/clips/demo.m4v"

Expected result:
===========================================================
libVA application should exit cleanly

Possible root cause:
================================
There was a global change which helps reduce unnecessary linking
utilizing a
feature in binutils. We could opt liva out of this easily, however I
would
recommend fixing the package to do the right linking instead of relying
on the
tools to do so, Arjan, any suggestions?

Anas
=============================
summary of the picture:

the "new" libva does no longer link to

* libXv

* libdrm

* librt

* libpthread

HOWEVER; libva doesn't USE any of these! I don't see how not linking to
these could lead to a crash, since they truely are not used.

================================
Basically it is a known issue. If we remove these library link from
libVA, we will always get a segment fault when XCloseDisplay is called in
application.
Libva doesn't use these liXv/libdrm libraries, but libVA will dlopen HW
specific driver, and the driver links with these libXv/libdrm libraries.
We found the issue can be worked around by adding the link into libVA.
Using binutil to remove unnecessary link makes sense for most of libraries,
but for libva, it disables our workaround.

Austin

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMerge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva 92/392/1 05282009_Alpha2.1 menlow-port_05282009_Alpha2.1
Austin Yuan [Mon, 25 May 2009 05:55:52 +0000 (13:55 +0800)]
Merge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva

15 years agoAdded "intra_period" into VAEncSequenceParameterBufferH263 91/391/1
Austin Yuan [Mon, 25 May 2009 05:53:44 +0000 (13:53 +0800)]
Added "intra_period" into VAEncSequenceParameterBufferH263

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMake libva pass compilation with old and new dri2proto 90/390/1 05212009_Alpha1.5
Jeff Rous [Wed, 20 May 2009 17:39:05 +0000 (10:39 -0700)]
Make libva pass compilation with old and new dri2proto

15 years agoTest write permission 89/389/1
Austin Yuan [Tue, 19 May 2009 03:03:44 +0000 (11:03 +0800)]
Test write permission

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMake libva pass compilation with old DRI2 proto which dri2tokens.h hasn't DRI2DriverD... 88/388/1
root [Fri, 15 May 2009 03:51:32 +0000 (11:51 +0800)]
Make libva pass compilation with old DRI2 proto which dri2tokens.h hasn't DRI2DriverDRI definition

Signed-off-by: root <root@Austin-Develop.localdomain>
15 years agoAdded build information (build date/time, git commit point) into the library 87/387/1 05142009_Alpha1.4 menlow-port-05142009_Alpha1.4
Austin Yuan [Tue, 12 May 2009 11:12:30 +0000 (07:12 -0400)]
Added build information (build date/time, git commit point) into the library

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix binary compatibility issue caused by VAAPI ISO-C conformance fix 86/386/1 04282009_ww18 04302009_Alpha1.2 05082009_Alpha1.3 menlow-port-05082009-Alpha1.3
Austin Yuan [Wed, 29 Apr 2009 18:26:11 +0000 (14:26 -0400)]
Fix binary compatibility issue caused by VAAPI ISO-C conformance fix

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdded va_dri2str.h so that don't relay on dri2proto 85/385/1
Austin Yuan [Thu, 23 Apr 2009 15:44:22 +0000 (11:44 -0400)]
Added va_dri2str.h so that don't relay on dri2proto

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMerge branch 'DRI2' 84/384/1 04212009_Alpha1.1-DRI2 local-branch-testing-rework-drm-04232009 menlow-port-rework-drm-04232009
Austin Yuan [Wed, 22 Apr 2009 20:03:45 +0000 (16:03 -0400)]
Merge branch 'DRI2'

15 years agoMust link with Xv, orelse segment fault when XCloseDisplay 83/383/1
Austin Yuan [Wed, 22 Apr 2009 20:03:05 +0000 (16:03 -0400)]
Must link with Xv, orelse segment fault when XCloseDisplay

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMore update for DRI2 support 82/382/1
Austin Yuan [Wed, 22 Apr 2009 19:54:26 +0000 (15:54 -0400)]
More update for DRI2 support

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMerge branch 'DRI2' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva into... 81/381/1
root [Wed, 22 Apr 2009 16:38:56 +0000 (12:38 -0400)]
Merge branch 'DRI2' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva into DRI2

15 years agoAdded DRI2 files 80/380/1
root [Wed, 22 Apr 2009 16:37:59 +0000 (12:37 -0400)]
Added DRI2 files

15 years agoInitial support for DRI2 79/379/1
Austin Yuan [Wed, 22 Apr 2009 16:36:20 +0000 (12:36 -0400)]
Initial support for DRI2

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix vainfo unsupported_profile vastatus issue 78/378/1 04082009 04132009 04142009 04212009_Alpha1.1
Austin Yuan [Fri, 3 Apr 2009 22:03:17 +0000 (18:03 -0400)]
Fix vainfo unsupported_profile vastatus issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agovainfo: print more information about supported profile:entrypoints 77/377/1
Austin Yuan [Fri, 3 Apr 2009 17:15:10 +0000 (13:15 -0400)]
vainfo: print more information about supported profile:entrypoints

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoRevert "patch 108_drivers_path.patch" 76/376/1 04032009
Austin Yuan [Thu, 26 Mar 2009 23:17:03 +0000 (19:17 -0400)]
Revert "patch 108_drivers_path.patch"

This reverts commit adac1a519de44803b0cdfff29829508cdd419a01.

15 years agoAdd 'bits' field for structure VAEncSliceParameterBuffer 75/375/1
Ren, Zhaohan [Thu, 26 Mar 2009 21:09:55 +0000 (05:09 +0800)]
Add 'bits' field for structure VAEncSliceParameterBuffer

15 years agoAdd -DIN_LIBVA 74/374/1
Ren, Zhaohan [Wed, 25 Mar 2009 22:03:10 +0000 (06:03 +0800)]
Add -DIN_LIBVA

15 years agoMerge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva 73/373/1
Ren, Zhaohan [Wed, 25 Mar 2009 21:45:59 +0000 (05:45 +0800)]
Merge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva

15 years agoMove files from X11 to va 72/372/1
Ren, Zhaohan [Wed, 25 Mar 2009 21:44:33 +0000 (05:44 +0800)]
Move files from X11 to va

15 years agorepatch 106_libva_includedir.patch, modify #include <va/va_x11.h> to #include <X11... 71/371/1
Ren, Zhaohan [Wed, 25 Mar 2009 20:12:51 +0000 (04:12 +0800)]
repatch 106_libva_includedir.patch, modify #include <va/va_x11.h> to #include <X11/va_x11.h>

15 years agopatch 107_cosmetics.patch 70/370/1
Ren, Zhaohan [Wed, 25 Mar 2009 19:50:48 +0000 (03:50 +0800)]
patch 107_cosmetics.patch

15 years agopatch 109_VA_FOURCC.patch 69/369/1
Ren, Zhaohan [Wed, 25 Mar 2009 19:37:51 +0000 (03:37 +0800)]
patch 109_VA_FOURCC.patch

15 years agopatch 108_drivers_path.patch 68/368/1
Ren, Zhaohan [Wed, 25 Mar 2009 19:20:31 +0000 (03:20 +0800)]
patch 108_drivers_path.patch

15 years agopatch 106_libva_includedir.patch 67/367/1
Ren, Zhaohan [Wed, 25 Mar 2009 18:55:43 +0000 (02:55 +0800)]
patch 106_libva_includedir.patch

15 years agopatch 105_libdrm_headers_check.patch 66/366/1
Ren, Zhaohan [Wed, 25 Mar 2009 18:45:35 +0000 (02:45 +0800)]
patch 105_libdrm_headers_check.patch

15 years agopatch 103_fix_includes.patch 65/365/1
Ren, Zhaohan [Wed, 25 Mar 2009 18:27:15 +0000 (02:27 +0800)]
patch 103_fix_includes.patch

15 years agopatch 102_fix_make_dist.patch 64/364/1
Ren, Zhaohan [Wed, 25 Mar 2009 18:25:03 +0000 (02:25 +0800)]
patch 102_fix_make_dist.patch

15 years agoMerge branch VA-ISOC-conformance 63/363/1
Ren, Zhaohan [Wed, 25 Mar 2009 15:38:28 +0000 (23:38 +0800)]
Merge branch VA-ISOC-conformance

15 years agoUpdate from Jonathan's latest vaAPI_r030v2.txt 62/362/1
Austin Yuan [Tue, 3 Mar 2009 18:01:16 +0000 (13:01 -0500)]
Update from Jonathan's latest vaAPI_r030v2.txt

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoUpdate from Jonathan, 61/361/1
Austin Yuan [Tue, 3 Mar 2009 16:39:36 +0000 (11:39 -0500)]
Update from Jonathan,

1. Updated copyright notices, change history, acknowledge, and overview sections
2. Added two new flags to vaPutSurface to convey whether the source is BT601 or BT709
3. Incorporated the ISO C conformance fixes from Gwenole.
4. Updates about encode API/data structures

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agolink with libXv 60/360/1 20090323 menlow-port-20090314
Austin Yuan [Mon, 2 Mar 2009 22:55:23 +0000 (17:55 -0500)]
link with libXv

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMerge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva 59/359/1 20090306
Austin Yuan [Mon, 16 Feb 2009 13:42:14 +0000 (08:42 -0500)]
Merge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva

15 years agoclean vaDbyCreateSurfaceFromMrstV4L2Buf 58/358/1
Austin Yuan [Mon, 16 Feb 2009 13:37:07 +0000 (08:37 -0500)]
clean vaDbyCreateSurfaceFromMrstV4L2Buf

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFixed the case that vaXXXX pass a corrupted vaDisplay point 57/357/1
Austin Yuan [Wed, 11 Feb 2009 08:39:35 +0000 (03:39 -0500)]
Fixed the case that vaXXXX pass a corrupted vaDisplay point

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoMerge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva 56/356/1
Austin Yuan [Fri, 6 Feb 2009 13:39:55 +0000 (08:39 -0500)]
Merge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva

15 years agoAdded vaDbgCreateSurfaceFromUB for V4L2 buffer sharing 55/355/1
Austin Yuan [Fri, 6 Feb 2009 13:38:25 +0000 (08:38 -0500)]
Added vaDbgCreateSurfaceFromUB for V4L2 buffer sharing

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFixed strncpy isssue, should copy "\0" too 54/354/1
Austin Yuan [Fri, 6 Feb 2009 04:23:55 +0000 (23:23 -0500)]
Fixed strncpy isssue, should copy "\0" too

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix vainfo build issue 53/353/1
Austin Yuan [Wed, 4 Feb 2009 13:30:14 +0000 (08:30 -0500)]
Fix vainfo build issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoPrototype of vaCreateSurfaceFromCIFrame 52/352/1
Austin Yuan [Wed, 4 Feb 2009 10:07:54 +0000 (05:07 -0500)]
Prototype of vaCreateSurfaceFromCIFrame

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFixed issues reported by Klockwork 51/351/1
Austin Yuan [Sun, 1 Feb 2009 16:54:54 +0000 (11:54 -0500)]
Fixed issues reported by Klockwork

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFix path issue of "va_x11.h" 50/350/1
Austin Yuan [Wed, 21 Jan 2009 11:29:34 +0000 (06:29 -0500)]
Fix path issue of "va_x11.h"

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoFixed compile issue 49/349/1
Austin Yuan [Mon, 19 Jan 2009 16:44:33 +0000 (11:44 -0500)]
Fixed compile issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agonot include header at right directory, Compile error fixed 48/348/1
chenbinglin [Tue, 20 Jan 2009 03:06:29 +0000 (22:06 -0500)]
not include header at right directory, Compile error fixed

15 years agoRemove garbage files 47/347/1
Austin Yuan [Mon, 12 Jan 2009 12:33:13 +0000 (07:33 -0500)]
Remove garbage files

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoApply the patch to split va and display/x11 from Gwenole Beauchesne [mailto:gbeauches... 46/346/1
Austin Yuan [Mon, 12 Jan 2009 11:49:57 +0000 (06:49 -0500)]
Apply the patch to split va and display/x11 from Gwenole Beauchesne [mailto:gbeauchesne@splitted-desktop.com]

Bellow is his explanation:

> Finally, looking further at <va_x11.h>, I think it should be enough to have
> vaInitialize() in display-dependent headers/libs. The va_x11_getDriverName()
> suggestion was to factor out the thing at the implementation (source
> code/files) level.
>
> Or we could keep vaInitialize() in common lib and rather have vaGetDisplay()
> in the display-specific part? And, while being at it, also rename the
> function to vaCreateDisplay(), to be meaningful about the API change?
>
> Besides, for a different windowing system, we probably would need more than
> just the Display (as we have in X11 land) anyway. e.g. what about OpenGL,
> OpenGL E|S? I don't know, it's just an idea.
>
> I read that Canmore/Sodaville are using the same engines as the Poulsbo
> (SGX535 and VXD370). However, the former platforms only support OpenGL E|S.
> So, how does video acceleration work here? I know it works, I saw it but
> since we still haven't received the machines, I just don't know about the
> actual API. You'd probably want libVA there too.
>
> Splitting libVA between a Core API and a Display API would make it possible
> to reduce code duplication from a player point of view. i.e. I don't think
> it's necessary to have client applications implement
> vaBeginPicture()..vaEndPicture() sequences themselves. I think it should be
> the role of the codec library (ffmpeg, in my case), and it should be able to
> do so without an explicit dependency on X11.
>
> On the other hand, the Core API won't be useful/functional alone. So, that
> could be confusing too.
>
> In practise, I would like to have it working as follows. It's my ideal
> vision, not necessarily the right/correct one. ;-)
>
> Roles of a codec implementation library:
> - Create buffers
> - Render the pictures, in the vaBeginPicture()..vaEndPicture(),
> vaRenderPicture() sense
>
> Roles of a player application:
> - Create display, surfaces, and decode pipeline for the codec library
> - Render the picture, visually, i.e. in the vaPutSurface() sense
>
> Example use:
> VApplication|initialize display
> CodecLibrary|characterise bitstream (codec and other useful info)
> VApplication|create decode pipeline
> VApplication|create surfaces
> CodecLibrary|create buffers (1)
> CodecLibrary|render picture (2)
> VApplication|display picture (3)
> repeat (1) -> (3) while the end of stream is not reached
> VApplication|destroy everything
>
> Have CodecLibrary linked against libva-core-VERSION.so.MAJOR, without any
> dependency on windowing system library.
>
> Have VApplication linked against libva-x11-VERSION.so.MAJOR, itself linked
> against libva-core-VERSION.so.MAJOR and other windowing system libraries.
>
> Regards,
> Gwenole.
>

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoAdd definition of FOURCC IYUV 45/345/1 lincroft-gfx-video-prealpha-rc2-encode-hotfix lincroft-gfx-video-prealpha-rc3
Austin Yuan [Fri, 19 Dec 2008 16:34:22 +0000 (11:34 -0500)]
Add definition of FOURCC IYUV
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agodummy driver by default installed into /usr/lib/dri 44/344/1
Austin Yuan [Thu, 18 Dec 2008 13:25:20 +0000 (08:25 -0500)]
dummy driver by default installed into /usr/lib/dri

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
15 years agoadd dependence check in autoconfig 43/343/1 Phase3-12082008 lincroft-gfx-video-prealpha-rc1 lincroft-gfx-video-prealpha-rc2
Austin Yuan [Thu, 20 Nov 2008 06:45:07 +0000 (01:45 -0500)]
add dependence check in autoconfig