Gwenole Beauchesne [Sun, 18 Dec 2011 22:51:46 +0000 (23:51 +0100)]
tests: cope with new vaCreateSurfaces() API.
Gwenole Beauchesne [Sun, 18 Dec 2011 22:50:25 +0000 (23:50 +0100)]
API: add surface attributes.
Gwenole Beauchesne [Sun, 18 Dec 2011 17:44:49 +0000 (18:44 +0100)]
vpp: add video processing hooks.
Gwenole Beauchesne [Sun, 18 Dec 2011 17:04:24 +0000 (18:04 +0100)]
vpp: fix comments for *Count enumerations.
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.
Gwenole Beauchesne [Sun, 18 Dec 2011 16:39:45 +0000 (17:39 +0100)]
vpp: move reference frames to pipeline parameter buffer.
Gwenole Beauchesne [Sun, 18 Dec 2011 16:24:50 +0000 (17:24 +0100)]
vpp: note that application of subpictures is now optional.
Gwenole Beauchesne [Sun, 18 Dec 2011 16:22:58 +0000 (17:22 +0100)]
vpp: add pipeline flags.
Gwenole Beauchesne [Sun, 18 Dec 2011 16:12:09 +0000 (17:12 +0100)]
vpp: explain filter flags more.
Gwenole Beauchesne [Sun, 18 Dec 2011 15:22:06 +0000 (16:22 +0100)]
vpp: add auto-saturation, auto-brightness, auto-contrast attributes.
Gwenole Beauchesne [Sun, 18 Dec 2011 15:06:32 +0000 (16:06 +0100)]
vpp: clarify background color semantics and driver behaviour.
Gwenole Beauchesne [Sun, 18 Dec 2011 14:56:30 +0000 (15:56 +0100)]
vpp: keep VAProcFilterParameterBuffer value type as float.
Gwenole Beauchesne [Sun, 18 Dec 2011 14:56:05 +0000 (15:56 +0100)]
vpp: fix vaQueryVideoProcPipelineCaps() semantics.
Gwenole Beauchesne [Mon, 28 Nov 2011 13:46:32 +0000 (13:46 +0000)]
vpp: mention that source surface also covers its associated subpictures.
Gwenole Beauchesne [Mon, 28 Nov 2011 13:38:33 +0000 (13:38 +0000)]
vpp: improve documentation for VAProcPipelineParameterBuffer.
Gwenole Beauchesne [Mon, 28 Nov 2011 12:36:10 +0000 (12:36 +0000)]
vpp: fix vaQueryVideoProcFilterCaps() prototype.
Gwenole Beauchesne [Thu, 24 Nov 2011 14:24:36 +0000 (14:24 +0000)]
vpp: remove obsolete sample code.
Gwenole Beauchesne [Thu, 24 Nov 2011 14:23:46 +0000 (14:23 +0000)]
vpp: fix VAProcPipelineParameterBuffer typedef.
Gwenole Beauchesne [Thu, 17 Nov 2011 19:08:15 +0000 (19:08 +0000)]
API: add video processing interfaces.
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.
Gwenole Beauchesne [Sun, 18 Dec 2011 18:03:25 +0000 (19:03 +0100)]
API: h264 encode: add VA_RC_VBR_CONSTRAINED.
Gwenole Beauchesne [Sun, 18 Dec 2011 18:00:45 +0000 (19:00 +0100)]
API: h264 encode: fix VAConfigAttribEncMaxRefFrames semantics.
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.
Gwenole Beauchesne [Thu, 24 Nov 2011 16:50:42 +0000 (16:50 +0000)]
API: h264 encode: add packed SEI header.
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.
Gwenole Beauchesne [Thu, 24 Nov 2011 13:57:41 +0000 (13:57 +0000)]
API: h264 encode: add macroblock-info config attribute.
Gwenole Beauchesne [Thu, 24 Nov 2011 13:56:37 +0000 (13:56 +0000)]
API: h264 encode: move up num_macroblocks, next to macroblock_address.
Gwenole Beauchesne [Thu, 24 Nov 2011 13:51:10 +0000 (13:51 +0000)]
API: h264 encode: remove dec_ref_pic_marking().
Gwenole Beauchesne [Thu, 24 Nov 2011 13:49:39 +0000 (13:49 +0000)]
API: h264 encode: remove ref_pic_list_modification().
Gwenole Beauchesne [Thu, 24 Nov 2011 13:29:51 +0000 (13:29 +0000)]
API: h264 encode: fix comment for RefPicList0/1.
Gwenole Beauchesne [Thu, 24 Nov 2011 13:13:49 +0000 (13:13 +0000)]
API: h264 encode: add intra_idr_period to sequence parameter.
Gwenole Beauchesne [Thu, 24 Nov 2011 13:08:39 +0000 (13:08 +0000)]
API: h264 encode: fix max-frame-size parameter 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.
Gwenole Beauchesne [Thu, 24 Nov 2011 12:29:06 +0000 (12:29 +0000)]
API: h264 encode: remove TABs in newly added code.
Gwenole Beauchesne [Thu, 24 Nov 2011 12:24:40 +0000 (12:24 +0000)]
API: h264 encode: add constant QP rate control attribute.
Gwenole Beauchesne [Thu, 24 Nov 2011 12:15:52 +0000 (12:15 +0000)]
API: h264 encode: fix comments.
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).
Gwenole Beauchesne [Thu, 24 Nov 2011 10:53:19 +0000 (10:53 +0000)]
API: h264 encode: renumber config attributes used for encoding.
Gwenole Beauchesne [Thu, 24 Nov 2011 10:46:09 +0000 (10:46 +0000)]
API: h264 encode: improve VA config attributes documentation.
Gwenole Beauchesne [Fri, 18 Nov 2011 12:52:29 +0000 (12:52 +0000)]
doc: link modules from the main page.
Gwenole Beauchesne [Tue, 15 Nov 2011 16:52:37 +0000 (16:52 +0000)]
API: h264 encode: add bitstream writers.
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).
Gwenole Beauchesne [Tue, 15 Nov 2011 10:42:46 +0000 (10:42 +0000)]
API: h264 encode: document DPB usage.
Gwenole Beauchesne [Thu, 10 Nov 2011 17:23:54 +0000 (17:23 +0000)]
API: h264 encode: add macroblock parameter buffer.
Gwenole Beauchesne [Thu, 10 Nov 2011 17:06:19 +0000 (17:06 +0000)]
API: h264 encode: rename insert_emulation_bytes to has_emulation_bytes.
Gwenole Beauchesne [Wed, 9 Nov 2011 10:23:51 +0000 (02:23 -0800)]
API: h264 encode: drop extraneous comment.
Gwenole Beauchesne [Wed, 9 Nov 2011 10:11:54 +0000 (02:11 -0800)]
API: h264 encode: drop profile_idc.
Gwenole Beauchesne [Wed, 9 Nov 2011 10:10:42 +0000 (02:10 -0800)]
API: h264 encode: re-define packed-headers buffer type ids.
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>
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>
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>
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>
Gwenole Beauchesne [Thu, 24 Nov 2011 14:16:37 +0000 (14:16 +0000)]
doc: improve Doxyfile configuration.
Gwenole Beauchesne [Fri, 18 Nov 2011 12:17:50 +0000 (12:17 +0000)]
doc: don't add timestamps in generated documentation.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Gwenole Beauchesne [Mon, 17 Oct 2011 12:00:44 +0000 (14:00 +0200)]
dummy_drv_video: fix last commit.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 14 Oct 2011 16:13:54 +0000 (18:13 +0200)]
dummy_drv_video: only build if requested.
Gwenole Beauchesne [Fri, 14 Oct 2011 15:31:24 +0000 (17:31 +0200)]
pkgconfig: move files to a specific directory.
Gwenole Beauchesne [Fri, 14 Oct 2011 15:11:56 +0000 (17:11 +0200)]
configure: drop check for intel-gen4asm (moved to intel-driver).
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Austin Yuan [Mon, 17 Oct 2011 02:29:03 +0000 (22:29 -0400)]
va_tpi: correct the first argument of vaCreateSurfaceFromKBuf
"VADisplay dpy" --> "VADriverContextP ctx"
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Gwenole Beauchesne [Tue, 11 Oct 2011 08:34:37 +0000 (10:34 +0200)]
va_fglrx: fix driver name detection.
VA_FGLRXGetClientDriverName() used to return success even if no
valid driver name was found, thus returning a NULL driver name.
Also fixed the X display name matching routine to filter out the
screen number, which may not be in the string, and make sure to
compare screen numbers from what ADL returns too.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Austin Yuan [Thu, 22 Sep 2011 03:29:45 +0000 (23:29 -0400)]
vatrace/vafool: refine it
remove va_fool_getframe.c which looks strange
correct some coding style for file va.c
simplify va_fool.c for both decode and encode
refine the surface dump of va_trace.c
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
jiguoliang [Thu, 25 Aug 2011 15:39:53 +0000 (11:39 -0400)]
va_tpi: vaCreateSurfaceFromKBuf for streaming the video playback to remote monitor
For such use case, the pipeline is: decode->encode->send to network.
The local decode/playback and the encode process are seperated, thus it
needs the buffer sharing b/w the decode and encode in seperate process.
This API creates/wraps the decoded surface into an encode surface. Its
input parameter is the kernel buffer handle of decoded surface which is
only understandable by driver implementation.
Change-Id: I7953ecf3b7333c1cdb6af5a0f45b054c8840f8e2
Signed-off-by: jiguoliang <guoliangx.ji@intel.com>
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
ywan171 [Tue, 2 Aug 2011 14:38:05 +0000 (22:38 +0800)]
va.h: TopFieldOrderCnt/BottomFieldOrderCnt should be signed instead of unsigned
POC should be integer.
Change-Id: I75281aafa148c88f0de58981969e1c43ea8d2684
Signed-off-by: ywan171 <yi.a.wang@intel.com>
Xiang, Haihao [Mon, 19 Sep 2011 02:02:39 +0000 (10:02 +0800)]
va: remove i965 driver from libva repository
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 19 Sep 2011 01:12:33 +0000 (09:12 +0800)]
va/test: Fix DSO link issue
I didn't see this issue until I upgraded my system recently.
It's evident the default behavior of the linker is changed.
Explicitly adding the missing libraries to the link step can resolve
this issue.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 2 Aug 2011 07:06:09 +0000 (15:06 +0800)]
va: update the check for intel-gen4asm
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 28 Jul 2011 00:38:03 +0000 (08:38 +0800)]
bump to 1.0.14
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Gwenole Beauchesne [Tue, 26 Jul 2011 11:48:25 +0000 (19:48 +0800)]
i965_drv_video: don't export internal driver functions.
Make sure to use our internal functions. In particular, we override
some DRM functions and they have to be used. e.g. this fixes VA/GLX.
Austin Yuan [Tue, 26 Jul 2011 06:11:08 +0000 (14:11 +0800)]
va.h: VA_DECODE_ERROR_TYPE changed to VADecodeErrorType for unified codying style (CamelCase)
VA_DECODE_SLICE_MISSING --> VADecodeSliceMissing
VA_DECODE_MB_ERROR --> VADecodeMBError
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Gwenole Beauchesne [Wed, 20 Jul 2011 15:44:29 +0000 (17:44 +0200)]
dri2: ignore BadDrawable errors.
Hi,
This patch fixes the following error.
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 137 (DRI2)
Minor opcode of failed request: 4 (DRI2DestroyDrawable)
Resource id in failed request: 0x4800001
Serial number of failed request: 30
Current serial number in output stream: 32
The X drawable can die before we notice it in free_drawable_hashtable(),
called through vaTerminate(). This patch is ported from Mesa (GLX/DRI2).
Regards,
Gwenole.
Gwenole Beauchesne [Wed, 20 Jul 2011 14:48:51 +0000 (16:48 +0200)]
Fix make dist.
Gwenole Beauchesne [Wed, 20 Jul 2011 14:19:52 +0000 (16:19 +0200)]
Fix out-of-source builds.
Gwenole Beauchesne [Wed, 20 Jul 2011 11:10:08 +0000 (13:10 +0200)]
i965_drv_video: cosmetics (cleanup Makefile).
Gwenole Beauchesne [Wed, 20 Jul 2011 11:01:28 +0000 (13:01 +0200)]
cosmetics: clean up Makefiles.