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>
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>
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>
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>
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>
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
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>
Jeff Rous [Wed, 20 May 2009 17:39:05 +0000 (10:39 -0700)]
Make libva pass compilation with old and new dri2proto
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>
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>
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>
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>
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>
Austin Yuan [Wed, 22 Apr 2009 20:03:45 +0000 (16:03 -0400)]
Merge branch 'DRI2'
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>
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>
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
root [Wed, 22 Apr 2009 16:37:59 +0000 (12:37 -0400)]
Added DRI2 files
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>
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>
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>
Austin Yuan [Thu, 26 Mar 2009 23:17:03 +0000 (19:17 -0400)]
Revert "patch 108_drivers_path.patch"
This reverts commit
adac1a519de44803b0cdfff29829508cdd419a01.
Ren, Zhaohan [Thu, 26 Mar 2009 21:09:55 +0000 (05:09 +0800)]
Add 'bits' field for structure VAEncSliceParameterBuffer
Ren, Zhaohan [Wed, 25 Mar 2009 22:03:10 +0000 (06:03 +0800)]
Add -DIN_LIBVA
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
Ren, Zhaohan [Wed, 25 Mar 2009 21:44:33 +0000 (05:44 +0800)]
Move files from X11 to va
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>
Ren, Zhaohan [Wed, 25 Mar 2009 19:50:48 +0000 (03:50 +0800)]
patch 107_cosmetics.patch
Ren, Zhaohan [Wed, 25 Mar 2009 19:37:51 +0000 (03:37 +0800)]
patch 109_VA_FOURCC.patch
Ren, Zhaohan [Wed, 25 Mar 2009 19:20:31 +0000 (03:20 +0800)]
patch 108_drivers_path.patch
Ren, Zhaohan [Wed, 25 Mar 2009 18:55:43 +0000 (02:55 +0800)]
patch 106_libva_includedir.patch
Ren, Zhaohan [Wed, 25 Mar 2009 18:45:35 +0000 (02:45 +0800)]
patch 105_libdrm_headers_check.patch
Ren, Zhaohan [Wed, 25 Mar 2009 18:27:15 +0000 (02:27 +0800)]
patch 103_fix_includes.patch
Ren, Zhaohan [Wed, 25 Mar 2009 18:25:03 +0000 (02:25 +0800)]
patch 102_fix_make_dist.patch
Ren, Zhaohan [Wed, 25 Mar 2009 15:38:28 +0000 (23:38 +0800)]
Merge branch VA-ISOC-conformance
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>
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>
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>
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
Austin Yuan [Mon, 16 Feb 2009 13:37:07 +0000 (08:37 -0500)]
clean vaDbyCreateSurfaceFromMrstV4L2Buf
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
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>
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
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>
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>
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>
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>
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>
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>
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>
chenbinglin [Tue, 20 Jan 2009 03:06:29 +0000 (22:06 -0500)]
not include header at right directory, Compile error fixed
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>
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>
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>
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>
Austin Yuan [Thu, 20 Nov 2008 06:45:07 +0000 (01:45 -0500)]
add dependence check in autoconfig
root [Wed, 22 Oct 2008 10:46:50 +0000 (18:46 +0800)]
change video driver directory to /usr/lib/dri instead of /usr/X11R6/lib/modules/dri
Austin Yuan [Fri, 29 Aug 2008 14:31:35 +0000 (10:31 -0400)]
Bump va to v0.30 delievered by Jonathan
Austin Yuan [Wed, 9 Jul 2008 11:26:10 +0000 (07:26 -0400)]
Added some FOURCC definitions