Austin Yuan [Mon, 23 Nov 2009 08:21:41 +0000 (16:21 +0800)]
Merge branch 'master' of git+ssh://AustinYuan@git.freedesktop.org/git/libva
Austin Yuan [Mon, 23 Nov 2009 08:19:36 +0000 (16:19 +0800)]
Added a "magic" number to VADisplayContext in case an illeal VA dpy passed in
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Fri, 20 Nov 2009 08:07:03 +0000 (16:07 +0800)]
Merge branch 'master' of git+ssh://AustinYuan@git.freedesktop.org/git/libva
Austin Yuan [Fri, 20 Nov 2009 08:02:14 +0000 (16:02 +0800)]
Added VA_STATUS_ERROR_SURFACE_IN_DISPLAYING
Overlay may be used for vaPutSurface, in this case, vaSyncSurface can
return VA_STATUS_ERROR_SURFACE_IN_DISPLAYING to indication a failure
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Wed, 18 Nov 2009 03:24:29 +0000 (11:24 +0800)]
fix rendering of RGBA subpicture
Gwenole Beauchesne [Wed, 18 Nov 2009 02:44:20 +0000 (10:44 +0800)]
simplify subpicture formats. make sure the returned VAImageFormats are correctly filled in
Gwenole Beauchesne [Wed, 18 Nov 2009 02:43:23 +0000 (10:43 +0800)]
fix upload of the subpicture palette.
Gwenole Beauchesne [Wed, 18 Nov 2009 02:41:26 +0000 (10:41 +0800)]
implement vaSetImagePalette
Gwenole Beauchesne [Wed, 18 Nov 2009 02:35:50 +0000 (10:35 +0800)]
the VA API spec metion that the dest rectangle to vaAssociateSubpicture() is relative to the parent surface. So, we have another level of scaling since the surface can be scaled during vaPutSurface. This patch tries to fix that.
Gwenole Beauchesne [Wed, 18 Nov 2009 02:32:11 +0000 (10:32 +0800)]
fix subpicture association and deassociation
Gwenole Beauchesne [Wed, 18 Nov 2009 02:09:47 +0000 (10:09 +0800)]
Add MAX helper function
Gwenole Beauchesne [Wed, 18 Nov 2009 02:06:25 +0000 (10:06 +0800)]
cleanup vaCreateImage, make it possible to add formats later
Gwenole Beauchesne [Wed, 18 Nov 2009 02:05:31 +0000 (10:05 +0800)]
fix vaDestroyImage()
Gwenole Beauchesne [Wed, 18 Nov 2009 03:44:03 +0000 (11:44 +0800)]
Fix vaAssociateSubpicture() arguments
Gwenole Beauchesne [Wed, 18 Nov 2009 03:43:23 +0000 (11:43 +0800)]
Fix VA driver version.
Gwenole Beauchesne [Wed, 18 Nov 2009 03:42:42 +0000 (11:42 +0800)]
Fix vaQueryImageFormats() to return 0 image formats supported at this time.
Gwenole Beauchesne [Wed, 18 Nov 2009 03:40:24 +0000 (11:40 +0800)]
Implement vaQueryDisplayAttributes() as a no-op.
Xiang, Haihao [Tue, 15 Sep 2009 05:39:31 +0000 (13:39 +0800)]
i965_drv_driver: use the horizontal position of a slice.
Gwenole Beauchesne [Wed, 9 Sep 2009 11:23:43 +0000 (11:23 +0000)]
Clean up NVIDIA driver detection code.
Gwenole Beauchesne [Wed, 9 Sep 2009 11:09:59 +0000 (11:09 +0000)]
Drop assert() in isDRI1Connected().
Gwenole Beauchesne [Thu, 10 Sep 2009 13:40:22 +0000 (13:40 +0000)]
Add VASliceParameterBufferMPEG2.slice_horizontal_position for i965 driver.
Austin Yuan [Thu, 10 Sep 2009 03:34:10 +0000 (11:34 +0800)]
Merge branch 'master-fd.o'
Austin [Thu, 10 Sep 2009 03:13:53 +0000 (11:13 +0800)]
Removes references to SDS versioning in libva (from Gwenole)
Signed-off-by: Austin <austin@austin-desktop.(none)>
Austin Yuan [Thu, 3 Sep 2009 09:43:33 +0000 (17:43 +0800)]
Merge branch 'master-fd.o'
Austin Yuan [Thu, 3 Sep 2009 09:42:01 +0000 (17:42 +0800)]
Update va.h version number
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Thu, 3 Sep 2009 03:25:10 +0000 (11:25 +0800)]
Merge branch 'master-fd.o'
Austin Yuan [Thu, 3 Sep 2009 03:20:35 +0000 (11:20 +0800)]
Mv libva_display.pc.in -> libva-x11.pc.in to fix autogen.sh issue
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Fri, 21 Aug 2009 11:42:53 +0000 (11:42 +0000)]
Drop libva_display. Explicitly use libva-x11.
Gwenole Beauchesne [Thu, 13 Aug 2009 14:43:30 +0000 (14:43 +0000)]
Fix libva-x11-VERSION.so.* dependencies.
Gwenole Beauchesne [Thu, 13 Aug 2009 14:43:09 +0000 (14:43 +0000)]
Fix NVIDIA driver version string parser.
Gwenole Beauchesne [Thu, 27 Aug 2009 15:40:29 +0000 (15:40 +0000)]
Add VA_STATUS_ERROR_UNIMPLEMENTATION string representation.
Gwenole Beauchesne [Wed, 2 Sep 2009 09:33:10 +0000 (09:33 +0000)]
Drop references to SDS.
Austin Yuan [Mon, 31 Aug 2009 08:29:11 +0000 (16:29 +0800)]
Merge branch 'master-fd.o'
Austin Yuan [Mon, 31 Aug 2009 08:27:09 +0000 (16:27 +0800)]
__vaDriverInit_0_30 --> __vaDriverInit_0_31 for libva31
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Fri, 28 Aug 2009 09:33:21 +0000 (17:33 +0800)]
Merge branch 'master-fd.o'
Conflicts:
Makefile.am
configure.ac
dummy_drv_video/dummy_drv_video.c
i965_drv_video/Makefile.am
i965_drv_video/i965_drv_video.c
src/Makefile.am
src/va.c
src/va.h
src/va_backend.h
src/x11/va_x11.c
test/test_12.c
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Fri, 28 Aug 2009 09:25:21 +0000 (17:25 +0800)]
Remove context from vaSyncSurface
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Wed, 8 Jul 2009 07:54:44 +0000 (07:54 +0000)]
Split libva DSO into core (libva.so) and display-dependent parts (libva-x11.so).
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Thu, 27 Aug 2009 09:50:18 +0000 (17:50 +0800)]
Assgin VASurfaceRendering a non-zero value instead of 0
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Thu, 27 Aug 2009 09:45:40 +0000 (17:45 +0800)]
Combine vaPutImage/vaPutImage2, vaAssociateSubpicture/vaAssociateSubpicture2
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Thu, 27 Aug 2009 08:54:29 +0000 (16:54 +0800)]
Update VAAPI to 0.31, libva.so SONAME to libva.so.1
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Wed, 26 Aug 2009 16:01:10 +0000 (16:01 +0000)]
Add VA_STATUS_ERROR_UNIMPLEMENTED.
Gwenole Beauchesne [Wed, 8 Jul 2009 07:45:28 +0000 (07:45 +0000)]
Fix bit-fields types.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Wed, 8 Jul 2009 07:58:11 +0000 (07:58 +0000)]
Add new bit to signal VC-1 skipped P-frames.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Wed, 8 Jul 2009 07:57:54 +0000 (07:57 +0000)]
Add new H.264 fields for XvBA backend.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Wed, 8 Jul 2009 07:57:32 +0000 (07:57 +0000)]
Add new VC-1 fields for VDPAU backend.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Wed, 8 Jul 2009 07:57:17 +0000 (07:57 +0000)]
Add new H.264 fields for VDPAU backend.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Mon, 24 Aug 2009 19:32:22 +0000 (03:32 +0800)]
Sync latest fd.o libva:master
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Mon, 24 Aug 2009 16:35:05 +0000 (00:35 +0800)]
Merge branch 'test'
Austin Yuan [Fri, 14 Aug 2009 14:30:02 +0000 (22:30 +0800)]
Don't include VAAPI version to SONAME
VAAPI version upgrade doesn't mean it will break binary compatibility
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Wed, 8 Jul 2009 07:56:57 +0000 (07:56 +0000)]
Explicit API extensions versioning from SDS.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Wed, 8 Jul 2009 07:56:05 +0000 (07:56 +0000)]
Fix NVIDIA driver detection.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Wed, 8 Jul 2009 07:55:42 +0000 (07:55 +0000)]
Add <va_version.h> for versioning helpers.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Xiang, Haihao [Tue, 11 Aug 2009 05:49:28 +0000 (13:49 +0800)]
i965_drv_video: clear draw buffer before rendering.
Zou Nan hai [Fri, 7 Aug 2009 02:42:13 +0000 (10:42 +0800)]
i965_drv_video: fix rendering issue
Xiang, Haihao [Wed, 5 Aug 2009 03:48:18 +0000 (11:48 +0800)]
i965_drv_driver: fix assertion failure
Xiang, Haihao [Mon, 27 Jul 2009 09:11:25 +0000 (17:11 +0800)]
i965_drv_video: Eanble VAAPI on IGDNG
Xiang, Haihao [Mon, 27 Jul 2009 08:39:53 +0000 (16:39 +0800)]
i965_drv_video: add new compiled shader programs for IGDNG
Xiang, Haihao [Mon, 27 Jul 2009 08:35:56 +0000 (16:35 +0800)]
Check the version of intel-gen4asm in configure.ac
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>
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>
Gwenole Beauchesne [Wed, 8 Jul 2009 07:58:29 +0000 (07:58 +0000)]
Add VASliceParameterBufferBase.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Gwenole Beauchesne [Wed, 8 Jul 2009 07:49:23 +0000 (07:49 +0000)]
Fix tests.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
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>
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>
Gwenole Beauchesne [Wed, 8 Jul 2009 07:46:31 +0000 (07:46 +0000)]
Fix includes.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Austin Yuan [Fri, 12 Jun 2009 22:57:30 +0000 (06:57 +0800)]
remove vaSetSubpicturePalette
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>