OSDN Git Service

android-x86/hardware-intel-common-libva.git
15 years agoApply the patch to split va and display/x11 from Gwenole Beauchesne [mailto:gbeauches...
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
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
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
Austin Yuan [Thu, 20 Nov 2008 06:45:07 +0000 (01:45 -0500)]
add dependence check in autoconfig

15 years agochange video driver directory to /usr/lib/dri instead of /usr/X11R6/lib/modules/dri
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

15 years agoBump va to v0.30 delievered by Jonathan
Austin Yuan [Fri, 29 Aug 2008 14:31:35 +0000 (10:31 -0400)]
Bump va to v0.30 delievered by Jonathan

15 years agoAdded some FOURCC definitions
Austin Yuan [Wed, 9 Jul 2008 11:26:10 +0000 (07:26 -0400)]
Added some FOURCC definitions

16 years agoAdded the missing frame_rate into SequenceParameterMPEG4
Austin Yuan [Wed, 2 Jul 2008 17:28:44 +0000 (13:28 -0400)]
Added the missing frame_rate into SequenceParameterMPEG4

16 years agoUpdate for:
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

16 years agoCorrection for PictureParameterH264
Austin Yuan [Wed, 14 May 2008 14:57:33 +0000 (10:57 -0400)]
Correction for PictureParameterH264

16 years agoTypo correction
Austin Yuan [Wed, 7 May 2008 23:11:25 +0000 (19:11 -0400)]
Typo correction

16 years agoCorrect some mistakes in va.h
Austin Yuan [Mon, 5 May 2008 21:30:11 +0000 (17:30 -0400)]
Correct some mistakes in va.h

16 years agoMerge branch 'master' into mrst-video
Austin Yuan [Tue, 29 Apr 2008 22:35:52 +0000 (18:35 -0400)]
Merge branch 'master' into mrst-video

16 years agoAdd data structures of encode into va.h
Austin Yuan [Tue, 29 Apr 2008 22:00:52 +0000 (18:00 -0400)]
Add data structures of encode into va.h

16 years agoFix interface revision of dummy driver.
Waldo Bastian [Tue, 29 Apr 2008 00:56:51 +0000 (17:56 -0700)]
Fix interface revision of dummy driver.

16 years agoCall vaPutSurface
Waldo Bastian [Sat, 15 Mar 2008 01:40:03 +0000 (18:40 -0700)]
Call vaPutSurface

16 years agoMPEG2 example stream
Waldo Bastian [Sat, 15 Mar 2008 01:37:03 +0000 (18:37 -0700)]
MPEG2 example stream

16 years agoThe HW specific driver depends on "-lXfixes -lXdamage" to do correct display
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

16 years agoAdd MPEG2 VLD test case
Waldo Bastian [Thu, 13 Mar 2008 20:51:05 +0000 (13:51 -0700)]
Add MPEG2 VLD test case

16 years agoUpdate error messages
Waldo Bastian [Mon, 10 Mar 2008 23:41:43 +0000 (16:41 -0700)]
Update error messages

16 years agoAdded VA_STATUS_ERROR_RESOLUTION_NOT_SUPPORTED (still v0.29)
Waldo Bastian [Wed, 5 Mar 2008 00:49:52 +0000 (16:49 -0800)]
Added VA_STATUS_ERROR_RESOLUTION_NOT_SUPPORTED (still v0.29)

16 years agoAdd VA_STATUS_ERROR_INVALID_PARAMETER
Waldo Bastian [Wed, 20 Feb 2008 02:19:15 +0000 (18:19 -0800)]
Add VA_STATUS_ERROR_INVALID_PARAMETER

16 years ago* VC1: Add 'quantizer' to pic params
Waldo Bastian [Thu, 7 Feb 2008 23:10:11 +0000 (15:10 -0800)]
* VC1: Add 'quantizer' to pic params
* Bump version to 0.29

16 years ago* Add additional error code
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

16 years agovainfo: Readd VA API version
Waldo Bastian [Fri, 7 Dec 2007 00:41:10 +0000 (16:41 -0800)]
vainfo: Readd VA API version

16 years agoUpdate to VA API 0.28
Waldo Bastian [Fri, 7 Dec 2007 00:04:09 +0000 (16:04 -0800)]
Update to VA API 0.28

16 years agoInclude vainfo in Debian package
Waldo Bastian [Thu, 6 Dec 2007 22:51:19 +0000 (14:51 -0800)]
Include vainfo in Debian package

16 years agoAdd vainfo utility to get baseic driver info from command line
Waldo Bastian [Thu, 6 Dec 2007 22:42:29 +0000 (14:42 -0800)]
Add vainfo utility to get baseic driver info from command line

16 years agoGenerate proper error for NULL display.
Waldo Bastian [Sun, 11 Nov 2007 01:52:43 +0000 (17:52 -0800)]
Generate proper error for NULL display.

16 years agoDo no attempt vaCreateBuffer with VAImageBufferType
Waldo Bastian [Thu, 8 Nov 2007 23:14:37 +0000 (15:14 -0800)]
Do no attempt vaCreateBuffer with VAImageBufferType

16 years agoUpdate to VA API 0.26
Waldo Bastian [Wed, 7 Nov 2007 18:47:56 +0000 (10:47 -0800)]
Update to VA API 0.26
- Combine vaCreateBuffer and vaBufferData

16 years agoDefine VA_LSB_FIRST / VA_MSB_FIRST
Waldo Bastian [Thu, 1 Nov 2007 19:26:37 +0000 (12:26 -0700)]
Define VA_LSB_FIRST / VA_MSB_FIRST

16 years agoUpdate version numbers to 0.25
Waldo Bastian [Wed, 31 Oct 2007 17:03:53 +0000 (10:03 -0700)]
Update version numbers to 0.25

16 years agoUpdate to VA API v0.25
Waldo Bastian [Mon, 29 Oct 2007 23:17:23 +0000 (16:17 -0700)]
Update to VA API v0.25

16 years ago* Improve validation of input parameters & error reporting
Waldo Bastian [Thu, 25 Oct 2007 21:37:43 +0000 (14:37 -0700)]
* Improve validation of input parameters & error reporting

16 years ago* foward_mb -> forward_mb
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

16 years agopic_quantizer_scale needs 5 bits instead of 1
Waldo Bastian [Mon, 15 Oct 2007 18:10:21 +0000 (11:10 -0700)]
pic_quantizer_scale needs 5 bits instead of 1

16 years agoMore tests
Waldo Bastian [Tue, 25 Sep 2007 23:13:14 +0000 (16:13 -0700)]
More tests

16 years agoHandle some of the newer buffer types in vaCreateBuffer
Waldo Bastian [Tue, 25 Sep 2007 23:12:07 +0000 (16:12 -0700)]
Handle some of the newer buffer types in vaCreateBuffer

16 years agoMore tests
Waldo Bastian [Tue, 25 Sep 2007 13:43:03 +0000 (06:43 -0700)]
More tests

16 years agoFirst test cases
Waldo Bastian [Mon, 24 Sep 2007 19:34:03 +0000 (12:34 -0700)]
First test cases

16 years agoUpdate library version
Waldo Bastian [Thu, 20 Sep 2007 16:14:17 +0000 (09:14 -0700)]
Update library version

16 years agopreparing for release of v0.24
Waldo Bastian [Thu, 20 Sep 2007 16:10:29 +0000 (09:10 -0700)]
preparing for release of v0.24

16 years agoSwapped vaGetConfigAttributes and vaQueryConfigAttributes for API consistency
Waldo Bastian [Thu, 20 Sep 2007 15:38:06 +0000 (08:38 -0700)]
Swapped vaGetConfigAttributes and vaQueryConfigAttributes for API consistency

16 years agoUpdate to libva 0.24
Waldo Bastian [Thu, 20 Sep 2007 14:57:45 +0000 (07:57 -0700)]
Update to libva 0.24

16 years agoPlan for better test coverage.
Waldo Bastian [Wed, 19 Sep 2007 13:03:25 +0000 (06:03 -0700)]
Plan for better test coverage.

16 years agoweighted_bipred_idc needs 2 bits
Waldo Bastian [Mon, 17 Sep 2007 16:31:19 +0000 (09:31 -0700)]
weighted_bipred_idc needs 2 bits

16 years agoFix sign of some H264 params
Waldo Bastian [Fri, 14 Sep 2007 16:18:26 +0000 (09:18 -0700)]
Fix sign of some H264 params

16 years agobump libva to 23
Austin Yuan [Thu, 13 Sep 2007 02:12:28 +0000 (10:12 +0800)]
bump libva to 23

16 years agoInstall dummy driver to /usr/X11R6/lib/modules/dri
Waldo Bastian [Fri, 7 Sep 2007 15:50:47 +0000 (08:50 -0700)]
Install dummy driver to /usr/X11R6/lib/modules/dri

16 years agoMake dummy driver compile & load
Waldo Bastian [Fri, 7 Sep 2007 11:59:42 +0000 (04:59 -0700)]
Make dummy driver compile & load

16 years agoUpdated for 0.22
Waldo Bastian [Fri, 7 Sep 2007 11:34:25 +0000 (04:34 -0700)]
Updated for 0.22

16 years agoInclude sub-picture support (va 0.22)
root [Fri, 7 Sep 2007 11:29:54 +0000 (04:29 -0700)]
Include sub-picture support (va 0.22)

16 years agoMerge branch 'master' of ssh://wbastian@umd-repo.jf.intel.com/home/repos/development...
Waldo Bastian [Wed, 5 Sep 2007 00:13:02 +0000 (17:13 -0700)]
Merge branch 'master' of ssh://wbastian@umd-repo.jf.intel.com/home/repos/development-repositories/poulsbo-graphics/libva

16 years agoExplicit license text
Waldo Bastian [Thu, 30 Aug 2007 23:37:17 +0000 (16:37 -0700)]
Explicit license text

16 years agoExplicit license text
Waldo Bastian [Thu, 30 Aug 2007 23:37:17 +0000 (16:37 -0700)]
Explicit license text

16 years agoReplace autogen.sh with our own version
Waldo Bastian [Thu, 30 Aug 2007 23:30:49 +0000 (16:30 -0700)]
Replace autogen.sh with our own version

16 years agoadd "is_first_field" into VAPictureParameterBufferMPEG2
Austin Yuan [Thu, 30 Aug 2007 08:23:52 +0000 (16:23 +0800)]
add "is_first_field" into VAPictureParameterBufferMPEG2

16 years agoUpdate H.264 params
Waldo Bastian [Wed, 22 Aug 2007 19:27:00 +0000 (12:27 -0700)]
Update H.264 params

16 years agoH264 slice params: Fix typo "10" -> "l0"
Waldo Bastian [Mon, 20 Aug 2007 22:22:09 +0000 (15:22 -0700)]
H264 slice params: Fix typo "10" -> "l0"

16 years agoBump version to 0.20
Waldo Bastian [Thu, 9 Aug 2007 23:19:00 +0000 (16:19 -0700)]
Bump version to 0.20

16 years agoAdded num_skipped_macroblocks to MPEG2 MC params
Waldo Bastian [Thu, 9 Aug 2007 16:47:08 +0000 (09:47 -0700)]
Added num_skipped_macroblocks to MPEG2 MC params

16 years agoVC1 params: add loopfilter
Waldo Bastian [Wed, 8 Aug 2007 22:14:00 +0000 (15:14 -0700)]
VC1 params: add loopfilter

16 years agoFix typo (choma -> chroma)
Waldo Bastian [Wed, 8 Aug 2007 20:48:00 +0000 (13:48 -0700)]
Fix typo (choma -> chroma)

16 years agorev 0.20 (08/07/07 Jonathan Bian) - Added missing fields to VC-1 PictureParameter...
Waldo Bastian [Wed, 8 Aug 2007 20:20:58 +0000 (13:20 -0700)]
rev 0.20 (08/07/07 Jonathan Bian) - Added missing fields to VC-1 PictureParameter structure.

16 years agoInclude & export DRI interface as part of VA namespace
Waldo Bastian [Tue, 7 Aug 2007 18:45:16 +0000 (11:45 -0700)]
Include & export DRI interface as part of VA namespace

16 years agoFix compile
Waldo Bastian [Tue, 7 Aug 2007 00:08:57 +0000 (17:08 -0700)]
Fix compile

16 years agolibva 0.19 -> remove VAPictureBitPlaneBufferType
Waldo Bastian [Mon, 6 Aug 2007 23:27:32 +0000 (16:27 -0700)]
libva 0.19 -> remove VAPictureBitPlaneBufferType

16 years agorange_reduction_frame -> PICTURE_LAYER::RANGEREDFRM
Waldo Bastian [Fri, 20 Jul 2007 21:08:16 +0000 (14:08 -0700)]
range_reduction_frame -> PICTURE_LAYER::RANGEREDFRM

16 years agoAdd comment describing when to send picture parameters
Waldo Bastian [Fri, 20 Jul 2007 18:02:25 +0000 (11:02 -0700)]
Add comment describing when to send picture parameters

17 years agoDefine VA_INVALID_SURFACE
root [Tue, 3 Jul 2007 21:34:36 +0000 (14:34 -0700)]
Define VA_INVALID_SURFACE

17 years agoFix build dependencies
root [Thu, 21 Jun 2007 00:08:55 +0000 (17:08 -0700)]
Fix build dependencies

17 years agoInitial commit of libva
root [Tue, 19 Jun 2007 23:09:11 +0000 (16:09 -0700)]
Initial commit of libva