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 [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: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:45:53 +0000 (02:45 +0800)]
rename vaDbgCopySurfaceToBuffer ->vaCopySurfaceToBuffer, vaDbgCreateSurfaceFromMRSTVL42Buffer->vaCreateSurfaceFromMRSTVL42Buffer
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
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
Austin Yuan [Wed, 2 Jul 2008 17:28:44 +0000 (13:28 -0400)]
Added the missing frame_rate into SequenceParameterMPEG4
Austin Yuan [Tue, 1 Jul 2008 13:57:16 +0000 (09:57 -0400)]
Update for:
1. SkipFrame for vaQuerySurfaceStatus
2. disable_deblocking_filter_idc for VAEncSliceParameterBuffer
Austin Yuan [Wed, 14 May 2008 14:57:33 +0000 (10:57 -0400)]
Correction for PictureParameterH264
Austin Yuan [Wed, 7 May 2008 23:11:25 +0000 (19:11 -0400)]
Typo correction
Austin Yuan [Mon, 5 May 2008 21:30:11 +0000 (17:30 -0400)]
Correct some mistakes in va.h
Austin Yuan [Tue, 29 Apr 2008 22:35:52 +0000 (18:35 -0400)]
Merge branch 'master' into mrst-video
Austin Yuan [Tue, 29 Apr 2008 22:00:52 +0000 (18:00 -0400)]
Add data structures of encode into va.h
Waldo Bastian [Tue, 29 Apr 2008 00:56:51 +0000 (17:56 -0700)]
Fix interface revision of dummy driver.
Waldo Bastian [Sat, 15 Mar 2008 01:40:03 +0000 (18:40 -0700)]
Call vaPutSurface
Waldo Bastian [Sat, 15 Mar 2008 01:37:03 +0000 (18:37 -0700)]
MPEG2 example stream
Austin Yuan [Fri, 14 Mar 2008 22:44:32 +0000 (18:44 -0400)]
The HW specific driver depends on "-lXfixes -lXdamage" to do correct display
under rotation mode, but a issue is found that after vaTerminate, XCloseDisplay
will meet a SIGSEGV, and debuging shows libXdamage is unloaded from application
address space after vaTerminate, and keeping libXdamage all along can workaround
this issue. So always link libva with libXdamage here
Waldo Bastian [Thu, 13 Mar 2008 20:51:05 +0000 (13:51 -0700)]
Add MPEG2 VLD test case
Waldo Bastian [Mon, 10 Mar 2008 23:41:43 +0000 (16:41 -0700)]
Update error messages
Waldo Bastian [Wed, 5 Mar 2008 00:49:52 +0000 (16:49 -0800)]
Added VA_STATUS_ERROR_RESOLUTION_NOT_SUPPORTED (still v0.29)
Waldo Bastian [Wed, 20 Feb 2008 02:19:15 +0000 (18:19 -0800)]
Add VA_STATUS_ERROR_INVALID_PARAMETER
Waldo Bastian [Thu, 7 Feb 2008 23:10:11 +0000 (15:10 -0800)]
* VC1: Add 'quantizer' to pic params
* Bump version to 0.29
Waldo Bastian [Tue, 5 Feb 2008 02:46:07 +0000 (18:46 -0800)]
* Add additional error code
* VC1: reference_distance can have values of 0 - 16 inclusive and needs 5 bits
Waldo Bastian [Fri, 7 Dec 2007 00:41:10 +0000 (16:41 -0800)]
vainfo: Readd VA API version
Waldo Bastian [Fri, 7 Dec 2007 00:04:09 +0000 (16:04 -0800)]
Update to VA API 0.28
Waldo Bastian [Thu, 6 Dec 2007 22:51:19 +0000 (14:51 -0800)]
Include vainfo in Debian package
Waldo Bastian [Thu, 6 Dec 2007 22:42:29 +0000 (14:42 -0800)]
Add vainfo utility to get baseic driver info from command line
Waldo Bastian [Sun, 11 Nov 2007 01:52:43 +0000 (17:52 -0800)]
Generate proper error for NULL display.
Waldo Bastian [Thu, 8 Nov 2007 23:14:37 +0000 (15:14 -0800)]
Do no attempt vaCreateBuffer with VAImageBufferType
Waldo Bastian [Wed, 7 Nov 2007 18:47:56 +0000 (10:47 -0800)]
Update to VA API 0.26
- Combine vaCreateBuffer and vaBufferData
Waldo Bastian [Thu, 1 Nov 2007 19:26:37 +0000 (12:26 -0700)]
Define VA_LSB_FIRST / VA_MSB_FIRST
Waldo Bastian [Wed, 31 Oct 2007 17:03:53 +0000 (10:03 -0700)]
Update version numbers to 0.25
Waldo Bastian [Mon, 29 Oct 2007 23:17:23 +0000 (16:17 -0700)]
Update to VA API v0.25
Waldo Bastian [Thu, 25 Oct 2007 21:37:43 +0000 (14:37 -0700)]
* Improve validation of input parameters & error reporting
Waldo Bastian [Tue, 16 Oct 2007 19:00:32 +0000 (12:00 -0700)]
* foward_mb -> forward_mb
* Expand mv_mode from 2 to 3 bits
Waldo Bastian [Mon, 15 Oct 2007 18:10:21 +0000 (11:10 -0700)]
pic_quantizer_scale needs 5 bits instead of 1
Waldo Bastian [Tue, 25 Sep 2007 23:13:14 +0000 (16:13 -0700)]
More tests
Waldo Bastian [Tue, 25 Sep 2007 23:12:07 +0000 (16:12 -0700)]
Handle some of the newer buffer types in vaCreateBuffer
Waldo Bastian [Tue, 25 Sep 2007 13:43:03 +0000 (06:43 -0700)]
More tests
Waldo Bastian [Mon, 24 Sep 2007 19:34:03 +0000 (12:34 -0700)]
First test cases
Waldo Bastian [Thu, 20 Sep 2007 16:14:17 +0000 (09:14 -0700)]
Update library version
Waldo Bastian [Thu, 20 Sep 2007 16:10:29 +0000 (09:10 -0700)]
preparing for release of v0.24