profile/ivi/libva.git
12 years agotest/encode/avcenc: use a small size for coded buffer.
Xiang, Haihao [Wed, 29 Jun 2011 12:54:46 +0000 (20:54 +0800)]
test/encode/avcenc: use a small size for coded buffer.

Must check the status of coded buffer, if overflow, enlarge the size
and try again.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agotest/encode/avcenc: directly uses coded buffer size
Xiang, Haihao [Wed, 29 Jun 2011 05:33:05 +0000 (13:33 +0800)]
test/encode/avcenc: directly uses coded buffer size

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agotest/encode/avcenc: directly save slice data
Xiang, Haihao [Wed, 29 Jun 2011 05:02:05 +0000 (13:02 +0800)]
test/encode/avcenc: directly save slice data

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agotest/encode/avcenc: use trail data to calculate slice length
Xiang, Haihao [Wed, 29 Jun 2011 01:30:35 +0000 (09:30 +0800)]
test/encode/avcenc: use trail data to calculate slice length

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agotest/encode/avcenc: don't generate slice header anymore
Xiang, Haihao [Tue, 28 Jun 2011 07:31:00 +0000 (15:31 +0800)]
test/encode/avcenc: don't generate slice header anymore

It is generated by driver

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agotest/encode/avcenc: pass all parameters to driver
Xiang, Haihao [Tue, 28 Jun 2011 02:04:09 +0000 (10:04 +0800)]
test/encode/avcenc: pass all parameters to driver

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agotest/encode/avcenc: use new buffer type to pass parameters
Xiang, Haihao [Mon, 20 Jun 2011 07:14:20 +0000 (15:14 +0800)]
test/encode/avcenc: use new buffer type to pass parameters

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agotest/encode/avcenc: indentation fix
Xiang, Haihao [Mon, 20 Jun 2011 06:58:23 +0000 (14:58 +0800)]
test/encode/avcenc: indentation fix

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agotest/encode/avcenc: Add bit rate control/const qp mode in test code.
Zhou Chang [Tue, 14 Jun 2011 03:01:47 +0000 (11:01 +0800)]
test/encode/avcenc: Add bit rate control/const qp mode in test code.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
12 years agotest/encode/avcenc: fix reading raw YUV file order bug.
Zhou Chang [Wed, 8 Jun 2011 07:24:04 +0000 (15:24 +0800)]
test/encode/avcenc: fix reading raw YUV file order bug.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
12 years agotest/encode/avcenc: bug fixed: B frame stream can't be decoded by JM.
Zhou Chang [Tue, 7 Jun 2011 02:41:38 +0000 (10:41 +0800)]
test/encode/avcenc: bug fixed: B frame stream can't be decoded by JM.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
12 years agotest/encode/avcenc: Support B frame in MFC and VME.
Zhou Chang [Thu, 2 Jun 2011 08:47:09 +0000 (16:47 +0800)]
test/encode/avcenc: Support B frame in MFC and VME.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
12 years agoAdd VAEncMiscParameterHRD data structure to pass HRD parameters to driver
Xiang, Haihao [Thu, 16 Feb 2012 01:53:43 +0000 (09:53 +0800)]
Add VAEncMiscParameterHRD data structure to pass HRD parameters to driver

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agova: fix vaErrorStr() to support new error codes.
Gwenole Beauchesne [Wed, 1 Feb 2012 23:13:48 +0000 (00:13 +0100)]
va: fix vaErrorStr() to support new error codes.

12 years agovainfo: silence compiler warning
Xiang, Haihao [Mon, 1 Aug 2011 00:41:37 +0000 (08:41 +0800)]
vainfo: silence compiler warning

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agovainfo: update vainfo for Video Proc Pipeline
Xiang, Haihao [Tue, 5 Jul 2011 07:46:55 +0000 (15:46 +0800)]
vainfo: update vainfo for Video Proc Pipeline

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agovpp: link modules from the main page.
Gwenole Beauchesne [Fri, 18 Nov 2011 12:49:32 +0000 (12:49 +0000)]
vpp: link modules from the main page.

12 years agoAllow 0.32.x drivers.
Gwenole Beauchesne [Mon, 2 Jan 2012 16:44:53 +0000 (17:44 +0100)]
Allow 0.32.x drivers.

12 years agoAPI: bump minor version.
Gwenole Beauchesne [Mon, 2 Jan 2012 16:31:17 +0000 (17:31 +0100)]
API: bump minor version.

12 years agoAPI: add compat glue for older vaCreateSurfaces().
Gwenole Beauchesne [Mon, 2 Jan 2012 16:28:45 +0000 (17:28 +0100)]
API: add compat glue for older vaCreateSurfaces().

12 years agotests: cope with new vaCreateSurfaces() API.
Gwenole Beauchesne [Sun, 18 Dec 2011 22:51:46 +0000 (23:51 +0100)]
tests: cope with new vaCreateSurfaces() API.

12 years agoAPI: add surface attributes.
Gwenole Beauchesne [Sun, 18 Dec 2011 22:50:25 +0000 (23:50 +0100)]
API: add surface attributes.

12 years agovpp: add video processing hooks.
Gwenole Beauchesne [Sun, 18 Dec 2011 17:44:49 +0000 (18:44 +0100)]
vpp: add video processing hooks.

12 years agovpp: fix comments for *Count enumerations.
Gwenole Beauchesne [Sun, 18 Dec 2011 17:04:24 +0000 (18:04 +0100)]
vpp: fix comments for *Count enumerations.

12 years agovpp: allow input/output color primaries as requested.
Gwenole Beauchesne [Sun, 18 Dec 2011 17:00:54 +0000 (18:00 +0100)]
vpp: allow input/output color primaries as requested.

XXX: this is still a complicated usage model. The color primary could
be a surface atttribute instead.

12 years agovpp: move reference frames to pipeline parameter buffer.
Gwenole Beauchesne [Sun, 18 Dec 2011 16:39:45 +0000 (17:39 +0100)]
vpp: move reference frames to pipeline parameter buffer.

12 years agovpp: note that application of subpictures is now optional.
Gwenole Beauchesne [Sun, 18 Dec 2011 16:24:50 +0000 (17:24 +0100)]
vpp: note that application of subpictures is now optional.

12 years agovpp: add pipeline flags.
Gwenole Beauchesne [Sun, 18 Dec 2011 16:22:58 +0000 (17:22 +0100)]
vpp: add pipeline flags.

12 years agovpp: explain filter flags more.
Gwenole Beauchesne [Sun, 18 Dec 2011 16:12:09 +0000 (17:12 +0100)]
vpp: explain filter flags more.

12 years agovpp: add auto-saturation, auto-brightness, auto-contrast attributes.
Gwenole Beauchesne [Sun, 18 Dec 2011 15:22:06 +0000 (16:22 +0100)]
vpp: add auto-saturation, auto-brightness, auto-contrast attributes.

12 years agovpp: clarify background color semantics and driver behaviour.
Gwenole Beauchesne [Sun, 18 Dec 2011 15:06:32 +0000 (16:06 +0100)]
vpp: clarify background color semantics and driver behaviour.

12 years agovpp: keep VAProcFilterParameterBuffer value type as float.
Gwenole Beauchesne [Sun, 18 Dec 2011 14:56:30 +0000 (15:56 +0100)]
vpp: keep VAProcFilterParameterBuffer value type as float.

12 years agovpp: fix vaQueryVideoProcPipelineCaps() semantics.
Gwenole Beauchesne [Sun, 18 Dec 2011 14:56:05 +0000 (15:56 +0100)]
vpp: fix vaQueryVideoProcPipelineCaps() semantics.

12 years agovpp: mention that source surface also covers its associated subpictures.
Gwenole Beauchesne [Mon, 28 Nov 2011 13:46:32 +0000 (13:46 +0000)]
vpp: mention that source surface also covers its associated subpictures.

12 years agovpp: improve documentation for VAProcPipelineParameterBuffer.
Gwenole Beauchesne [Mon, 28 Nov 2011 13:38:33 +0000 (13:38 +0000)]
vpp: improve documentation for VAProcPipelineParameterBuffer.

12 years agovpp: fix vaQueryVideoProcFilterCaps() prototype.
Gwenole Beauchesne [Mon, 28 Nov 2011 12:36:10 +0000 (12:36 +0000)]
vpp: fix vaQueryVideoProcFilterCaps() prototype.

12 years agovpp: remove obsolete sample code.
Gwenole Beauchesne [Thu, 24 Nov 2011 14:24:36 +0000 (14:24 +0000)]
vpp: remove obsolete sample code.

12 years agovpp: fix VAProcPipelineParameterBuffer typedef.
Gwenole Beauchesne [Thu, 24 Nov 2011 14:23:46 +0000 (14:23 +0000)]
vpp: fix VAProcPipelineParameterBuffer typedef.

12 years agoAPI: add video processing interfaces.
Gwenole Beauchesne [Thu, 17 Nov 2011 19:08:15 +0000 (19:08 +0000)]
API: add video processing interfaces.

12 years agoAPI: encode: document VACodedBufferSegment.
Gwenole Beauchesne [Sun, 18 Dec 2011 18:13:43 +0000 (19:13 +0100)]
API: encode: document VACodedBufferSegment.

Make it clear that there shall be one VACodedBufferSegment per NAL unit.
It's up to the driver to calculate the various offsets to the NAL units.

12 years agoAPI: h264 encode: add VA_RC_VBR_CONSTRAINED.
Gwenole Beauchesne [Sun, 18 Dec 2011 18:03:25 +0000 (19:03 +0100)]
API: h264 encode: add VA_RC_VBR_CONSTRAINED.

12 years agoAPI: h264 encode: fix VAConfigAttribEncMaxRefFrames semantics.
Gwenole Beauchesne [Sun, 18 Dec 2011 18:00:45 +0000 (19:00 +0100)]
API: h264 encode: fix VAConfigAttribEncMaxRefFrames semantics.

12 years agoAPI: h264 encode: add more explicit packed header types for H.264.
Gwenole Beauchesne [Thu, 24 Nov 2011 17:04:10 +0000 (17:04 +0000)]
API: h264 encode: add more explicit packed header types for H.264.

12 years agoAPI: h264 encode: add packed SEI header.
Gwenole Beauchesne [Thu, 24 Nov 2011 16:50:42 +0000 (16:50 +0000)]
API: h264 encode: add packed SEI header.

12 years agoAPI: h264 encode: make bitstream writers more consistent.
Gwenole Beauchesne [Thu, 24 Nov 2011 14:05:59 +0000 (14:05 +0000)]
API: h264 encode: make bitstream writers more consistent.

Avoid downcasts to the generic bitstream writer, libva will handle
(and check this) internally.

12 years agoAPI: h264 encode: add macroblock-info config attribute.
Gwenole Beauchesne [Thu, 24 Nov 2011 13:57:41 +0000 (13:57 +0000)]
API: h264 encode: add macroblock-info config attribute.

12 years agoAPI: h264 encode: move up num_macroblocks, next to macroblock_address.
Gwenole Beauchesne [Thu, 24 Nov 2011 13:56:37 +0000 (13:56 +0000)]
API: h264 encode: move up num_macroblocks, next to macroblock_address.

12 years agoAPI: h264 encode: remove dec_ref_pic_marking().
Gwenole Beauchesne [Thu, 24 Nov 2011 13:51:10 +0000 (13:51 +0000)]
API: h264 encode: remove dec_ref_pic_marking().

12 years agoAPI: h264 encode: remove ref_pic_list_modification().
Gwenole Beauchesne [Thu, 24 Nov 2011 13:49:39 +0000 (13:49 +0000)]
API: h264 encode: remove ref_pic_list_modification().

12 years agoAPI: h264 encode: fix comment for RefPicList0/1.
Gwenole Beauchesne [Thu, 24 Nov 2011 13:29:51 +0000 (13:29 +0000)]
API: h264 encode: fix comment for RefPicList0/1.

12 years agoAPI: h264 encode: add intra_idr_period to sequence parameter.
Gwenole Beauchesne [Thu, 24 Nov 2011 13:13:49 +0000 (13:13 +0000)]
API: h264 encode: add intra_idr_period to sequence parameter.

12 years agoAPI: h264 encode: fix max-frame-size parameter buffer type.
Gwenole Beauchesne [Thu, 24 Nov 2011 13:08:39 +0000 (13:08 +0000)]
API: h264 encode: fix max-frame-size parameter buffer type.

12 years agoAPI: h264 encode: add max-frame-size misc buffer type.
Gwenole Beauchesne [Thu, 24 Nov 2011 13:04:19 +0000 (13:04 +0000)]
API: h264 encode: add max-frame-size misc buffer type.

12 years agoAPI: h264 encode: remove TABs in newly added code.
Gwenole Beauchesne [Thu, 24 Nov 2011 12:29:06 +0000 (12:29 +0000)]
API: h264 encode: remove TABs in newly added code.

12 years agoAPI: h264 encode: add constant QP rate control attribute.
Gwenole Beauchesne [Thu, 24 Nov 2011 12:24:40 +0000 (12:24 +0000)]
API: h264 encode: add constant QP rate control attribute.

12 years agoAPI: h264 encode: fix comments.
Gwenole Beauchesne [Thu, 24 Nov 2011 12:15:52 +0000 (12:15 +0000)]
API: h264 encode: fix comments.

12 years agoAPI: h264 encode: add new VA config attributes (max-slices, slice-structure).
Gwenole Beauchesne [Thu, 24 Nov 2011 12:14:27 +0000 (12:14 +0000)]
API: h264 encode: add new VA config attributes (max-slices, slice-structure).

12 years agoAPI: h264 encode: renumber config attributes used for encoding.
Gwenole Beauchesne [Thu, 24 Nov 2011 10:53:19 +0000 (10:53 +0000)]
API: h264 encode: renumber config attributes used for encoding.

12 years agoAPI: h264 encode: improve VA config attributes documentation.
Gwenole Beauchesne [Thu, 24 Nov 2011 10:46:09 +0000 (10:46 +0000)]
API: h264 encode: improve VA config attributes documentation.

12 years agodoc: link modules from the main page.
Gwenole Beauchesne [Fri, 18 Nov 2011 12:52:29 +0000 (12:52 +0000)]
doc: link modules from the main page.

12 years agoAPI: h264 encode: add bitstream writers.
Gwenole Beauchesne [Tue, 15 Nov 2011 16:52:37 +0000 (16:52 +0000)]
API: h264 encode: add bitstream writers.

12 years agoAPI: h264 encode: add new config attributes for encoding (max-ref-frames).
Gwenole Beauchesne [Tue, 15 Nov 2011 13:24:09 +0000 (13:24 +0000)]
API: h264 encode: add new config attributes for encoding (max-ref-frames).

12 years agoAPI: h264 encode: document DPB usage.
Gwenole Beauchesne [Tue, 15 Nov 2011 10:42:46 +0000 (10:42 +0000)]
API: h264 encode: document DPB usage.

12 years agoAPI: h264 encode: add macroblock parameter buffer.
Gwenole Beauchesne [Thu, 10 Nov 2011 17:23:54 +0000 (17:23 +0000)]
API: h264 encode: add macroblock parameter buffer.

12 years agoAPI: h264 encode: rename insert_emulation_bytes to has_emulation_bytes.
Gwenole Beauchesne [Thu, 10 Nov 2011 17:06:19 +0000 (17:06 +0000)]
API: h264 encode: rename insert_emulation_bytes to has_emulation_bytes.

12 years agoAPI: h264 encode: drop extraneous comment.
Gwenole Beauchesne [Wed, 9 Nov 2011 10:23:51 +0000 (02:23 -0800)]
API: h264 encode: drop extraneous comment.

12 years agoAPI: h264 encode: drop profile_idc.
Gwenole Beauchesne [Wed, 9 Nov 2011 10:11:54 +0000 (02:11 -0800)]
API: h264 encode: drop profile_idc.

12 years agoAPI: h264 encode: re-define packed-headers buffer type ids.
Gwenole Beauchesne [Wed, 9 Nov 2011 10:10:42 +0000 (02:10 -0800)]
API: h264 encode: re-define packed-headers buffer type ids.

12 years agoAPI: add new H.264 encoding API for main and high profiles.
Gwenole Beauchesne [Fri, 4 Nov 2011 16:25:20 +0000 (17:25 +0100)]
API: add new H.264 encoding API for main and high profiles.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoAPI: drop H.264 specific VA buffer types.
Gwenole Beauchesne [Wed, 9 Nov 2011 10:08:28 +0000 (02:08 -0800)]
API: drop H.264 specific VA buffer types.

VAEncH264VUIBufferType and VAEncH264SEIBufferType were never used
in any driver. Besides, they are codec-specific which is against
the generic buffer type policy. A new scheme will be developed.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoAPI: rename H.264 encoding buffer structs with a Baseline suffix.
Gwenole Beauchesne [Fri, 4 Nov 2011 16:23:48 +0000 (17:23 +0100)]
API: rename H.264 encoding buffer structs with a Baseline suffix.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoAPI: add a generic value type.
Gwenole Beauchesne [Tue, 15 Nov 2011 17:33:41 +0000 (17:33 +0000)]
API: add a generic value type.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agodoc: improve Doxyfile configuration.
Gwenole Beauchesne [Thu, 24 Nov 2011 14:16:37 +0000 (14:16 +0000)]
doc: improve Doxyfile configuration.

12 years agodoc: don't add timestamps in generated documentation.
Gwenole Beauchesne [Fri, 18 Nov 2011 12:17:50 +0000 (12:17 +0000)]
doc: don't add timestamps in generated documentation.

12 years agodoc: add placeholder for the Core API.
Gwenole Beauchesne [Fri, 4 Nov 2011 16:33:48 +0000 (17:33 +0100)]
doc: add placeholder for the Core API.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agova_tpi.h: corret a typo (Kbuf->KBuf) 73/873/1
Austin Yuan [Wed, 16 Nov 2011 05:59:58 +0000 (00:59 -0500)]
va_tpi.h: corret a typo (Kbuf->KBuf)

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
13 years agoconfigure: add check for EGL. 72/872/1
Gwenole Beauchesne [Thu, 3 Nov 2011 09:41:59 +0000 (10:41 +0100)]
configure: add check for EGL.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agoconfigure: simplify summary. 71/871/1
Gwenole Beauchesne [Thu, 3 Nov 2011 09:28:00 +0000 (10:28 +0100)]
configure: simplify summary.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agoconfigure: cosmetics (clean up configure options). 70/870/1
Gwenole Beauchesne [Thu, 3 Nov 2011 09:36:42 +0000 (10:36 +0100)]
configure: cosmetics (clean up configure options).

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agoconfigure: cosmetics (sort AC_OUTPUT Makefiles). 69/869/1
Gwenole Beauchesne [Thu, 3 Nov 2011 09:16:13 +0000 (10:16 +0100)]
configure: cosmetics (sort AC_OUTPUT Makefiles).

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agodoc: add Doxygen templates. 68/868/1
Gwenole Beauchesne [Wed, 2 Nov 2011 16:08:39 +0000 (17:08 +0100)]
doc: add Doxygen templates.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agolibva: bump version for development. 67/867/1
Gwenole Beauchesne [Wed, 2 Nov 2011 14:28:53 +0000 (15:28 +0100)]
libva: bump version for development.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years ago1.0.15. 66/866/1 libva-1.0.15
Gwenole Beauchesne [Fri, 28 Oct 2011 13:40:28 +0000 (15:40 +0200)]
1.0.15.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agodebian: add package for vainfo. 65/865/1
Gwenole Beauchesne [Fri, 28 Oct 2011 13:34:26 +0000 (15:34 +0200)]
debian: add package for vainfo.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agodebian: don't use simple-patchsys (upstream has no patches). 64/864/1
Gwenole Beauchesne [Fri, 28 Oct 2011 13:20:08 +0000 (15:20 +0200)]
debian: don't use simple-patchsys (upstream has no patches).

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agoAdd NEWS file. 63/863/1
Gwenole Beauchesne [Wed, 26 Oct 2011 11:45:50 +0000 (13:45 +0200)]
Add NEWS file.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agova: fix compiler warnings (drop unused variables). 62/862/1
Gwenole Beauchesne [Thu, 20 Oct 2011 12:05:38 +0000 (14:05 +0200)]
va: fix compiler warnings (drop unused variables).

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agoAdd auto-generated Debian packaging. 61/861/1
Gwenole Beauchesne [Fri, 14 Oct 2011 16:19:03 +0000 (18:19 +0200)]
Add auto-generated Debian packaging.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agolibva: bump version for development. 60/860/1
Gwenole Beauchesne [Tue, 18 Oct 2011 14:06:19 +0000 (16:06 +0200)]
libva: bump version for development.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agolibva: allow pre-releases. 59/859/1
Gwenole Beauchesne [Tue, 18 Oct 2011 14:05:50 +0000 (16:05 +0200)]
libva: allow pre-releases.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agolibva: fix reported version as the one from VA-API. 58/858/1
Gwenole Beauchesne [Sun, 16 Oct 2011 10:09:02 +0000 (12:09 +0200)]
libva: fix reported version as the one from VA-API.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agovainfo: report both VA-API and libva versions. 57/857/1
Gwenole Beauchesne [Sun, 16 Oct 2011 10:09:10 +0000 (12:09 +0200)]
vainfo: report both VA-API and libva versions.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agoAPI: fix versioning. 56/856/1
Gwenole Beauchesne [Sun, 16 Oct 2011 10:08:52 +0000 (12:08 +0200)]
API: fix versioning.

We have to consider three distinct versions at this time: the VA-API
version, the library package version number, and the DSO version.

* VA-API version:
- increment major for any ABI change (which shall not occur!)
- increment minor for any interface change (e.g. new or modified function)
- increment micro for any other change (e.g. new flag, new codec definitions)
- reset micro version to zero when minor version is incremented
- reset minor version to zero when major version is incremented

* libva package version number:
- major version is automatically generated from VA-API major version
- minor version is automatically generated from VA-API minor version
- increment micro for any library release
- reset micro version to zero when VA-API major or minor version is incremented

* DSO version:
The SONAME shall remain to libva.so.1 for VA-API 0.x.y as long as the ABI
is not changed. Thus, the library name is generated as libva.<x>.<y>.0 where
<x> = VA-API major version + 1
<y> = 100 * VA-API minor version + VA-API micro version

For example:
VA-API 0.32.0 generates libva.so.1.3200.0 (libva 1.0.14 as of today)
VA-API 0.34.1 generates libva.so.1.3401.0 (e.g. libva 1.2.1)
VA-API 1.2.13 generates libva.so.2.213.0  (e.g. libva 2.2.13)

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agotest: fix build warnings on Android 55/855/1
Austin Yuan [Thu, 20 Oct 2011 05:43:12 +0000 (01:43 -0400)]
test: fix build warnings on Android

Change-Id: Ibc4231395af8dfcdef403d44b98c644349e2ba04
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agoandroid: fix <va/va_version.h> dependencies 54/854/1
Gwenole Beauchesne [Tue, 18 Oct 2011 13:00:52 +0000 (15:00 +0200)]
android: fix <va/va_version.h> dependencies

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agoandroid: fix generation of <va/va_version.h> 53/853/1
Gwenole Beauchesne [Tue, 18 Oct 2011 12:05:48 +0000 (14:05 +0200)]
android: fix generation of <va/va_version.h>

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agova: generate __vaDriverInit_*() function name at run-time. 52/852/1
Gwenole Beauchesne [Tue, 18 Oct 2011 12:25:52 +0000 (14:25 +0200)]
va: generate __vaDriverInit_*() function name at run-time.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agova: don't explicitly include "config.h" 51/851/1
Gwenole Beauchesne [Tue, 18 Oct 2011 12:04:02 +0000 (14:04 +0200)]
va: don't explicitly include "config.h"

sysdeps.h is the internal header file to include that will eventually
include config.h, if necessary. e.g. we don't use it on Android.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agobuild: drop generated files. 50/850/1
Gwenole Beauchesne [Tue, 18 Oct 2011 12:03:10 +0000 (14:03 +0200)]
build: drop generated files.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
13 years agovainfo: use system or user-defined DISPLAY to create the X display. 49/849/1
Gwenole Beauchesne [Mon, 17 Oct 2011 13:31:10 +0000 (15:31 +0200)]
vainfo: use system or user-defined DISPLAY to create the X display.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>