Gwenole Beauchesne [Wed, 3 Oct 2012 09:56:18 +0000 (11:56 +0200)]
debian: split libva packages based on the implemented API.
Align with OSVs (Ubuntu, Debian) for libva package names. i.e. split
the main libva1 package into Core (libva1) and as many packages as
there are backends enabled configure/dist time.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Wed, 3 Oct 2012 09:21:45 +0000 (11:21 +0200)]
debian: generate packing files from configure.
Use configure script substitution capabilities to handle Debian packaging
files, hence removing custom replacement functions at make dist time. This
also makes it possible to automatically generate the correct library major
version in package names.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Wed, 3 Oct 2012 08:58:53 +0000 (10:58 +0200)]
debian: drop references to obsolete libva 0.29.
Completely drop any reference the ancient libva 0.29. We don't care
of that any more, and people hardly used it distribution-wise.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 28 Sep 2012 14:10:59 +0000 (16:10 +0200)]
NEWS: updates.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Thu, 26 Jul 2012 14:26:37 +0000 (16:26 +0200)]
glx: fix gl_create_context() with parent context set.
If GLX window was created from a foreign Display, then that same Display shall
be used for subsequent glXMakeCurrent(). This means that gl_create_context()
will now use the same Display that the parent, if available.
This fixes cluttersink with the Intel GenX VA driver.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 28 Sep 2012 13:12:10 +0000 (15:12 +0200)]
dummy_drv_video: drop unused variables.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 28 Sep 2012 12:41:25 +0000 (14:41 +0200)]
dummy_drv_video: sanitize coding style of VA objects utilities.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Krzysztof Kotlenga [Wed, 19 Sep 2012 14:28:41 +0000 (16:28 +0200)]
dummy_drv_video: fix threading issues with VA objects.
Make base VA objects thread-safe. This is a straightforward port of
76ea06bab9c3e3ae9abb6150296504019d36fe7e from the VA intel-driver.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Xiang, Haihao [Mon, 26 Mar 2012 06:12:27 +0000 (14:12 +0800)]
dummy_drv_video: don't reallocate object heap, create new buckets instead.
When a heap needs to be expanded, don't reallocate the heap because objects
would be moved to a new address, while some threads would still rely on the
previous locations.
Initial patch from VA intel-driver and authored by Haihao Xiang.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 28 Sep 2012 09:03:53 +0000 (11:03 +0200)]
Drop VA/dummy backend.
This backend had no practical use but for bootstrapping/testing the
VA/Android backend.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Haitao Huang [Tue, 21 Aug 2012 18:26:28 +0000 (13:26 -0500)]
android: use common DRM driver detection code.
Change the driver used for android. Libva has to load the correct
driver and retain the vendor and device id's.
This change is to re-use common drm utils code for driver name
detection. Also removed non-android code in android specific files
and unneeded files in android directory.
Change-Id: I2893d8fcadfbf911e7c0b421a4e90d5aeb0d619e
Signed-off-by: Daniel Charles <daniel.charles@intel.com> (change driver)
Signed-off-by: Haitao Huang <haitao.huang@intel.com> (update using drm util)
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> (add missing headers)
Haitao Huang [Tue, 21 Aug 2012 18:26:26 +0000 (13:26 -0500)]
android: fix tests for Android ICS.
Change-Id: I478063713883fbb5fb1fac372dbc418b19ff7d2b
Signed-off-by: Haitao Huang <haitao.huang@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Haitao Huang [Tue, 21 Aug 2012 18:26:27 +0000 (13:26 -0500)]
android: export JPEG decode header.
Change-Id: Ic9aec3c23a3c1b40a0147aec88cbe14627591562
Signed-off-by: Haitao Huang <haitao.huang@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> (sort lines)
Daniel Charles [Fri, 17 Aug 2012 16:50:18 +0000 (09:50 -0700)]
android: rename the LOG_TAG per module.
LOG_TAG is defined per module compiled so that tracing back errors
from the Android logcat can be understood easily
Change-Id: I9353c27593ce92ae4e87e4412f033d4f487b9346
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Daniel Charles [Thu, 2 Aug 2012 17:30:44 +0000 (10:30 -0700)]
android: use Android logging utilities.
Log functions available are now Android compatible and log statements
will show on user space android logging system.
Defined a LOG_TAG and make it available for all versions of Android.
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 28 Sep 2012 08:09:51 +0000 (10:09 +0200)]
tests: include "sysdeps.h" wherever necessary.
Use "sysdeps.h" header instead of "config.h" so that to include the
necessary definitions for Android.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 28 Sep 2012 08:05:00 +0000 (10:05 +0200)]
tests: drop extraneous libva-x11.la dependency.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 28 Sep 2012 07:53:20 +0000 (09:53 +0200)]
autogen: modernize configure script generator.
Make it possible to run autogen.sh from a different location from the
original source directory. Make execution of the `configure' script
optional. i.e. don't run it by default if NO_CONFIGURE variable is set.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Thu, 27 Sep 2012 14:15:41 +0000 (16:15 +0200)]
configure: minor clean-ups.
Add AC_CONFIG_MACRO_DIR as suggested by "recent" autoconf versions.
Drop extraneous LIBVA_{CFLAGS,LIBS} that were not used through out
the libva repository. Also reorder the list of detected outputs in
a sensible way.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Thu, 27 Sep 2012 13:40:11 +0000 (15:40 +0200)]
tests: sanitize build of test cases.
Fix compiler paths when searching for dependencies, especially when they
are in non-standard locations. Drop _DEPENDENCIES that are automatically
generated. Also include a few cosmetics (vertical alignment).
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Thu, 27 Sep 2012 13:16:59 +0000 (15:16 +0200)]
build: drop useless Makefile variables.
libvacorelib and libvabackendlib variables are totally useless nowadays
since test cases use a common infrastructure for VA display options and
that other test cases are X11 specific anyway.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Thu, 27 Sep 2012 12:26:03 +0000 (14:26 +0200)]
Sanitize build dependencies.
Fix build dependencies for all backends (DRM, X11, GLX, EGL, Wayland),
especially when they don't live in standard locations.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Ami Fischman [Thu, 27 Sep 2012 07:36:30 +0000 (03:36 -0400)]
Fix the missing '=' in the test case
Gwenole Beauchesne [Fri, 13 Jul 2012 05:27:11 +0000 (07:27 +0200)]
wayland: add initial support for EMGD driver.
Signed-off-by: Zhao Halley <halley.zhao@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Zhao halley [Thu, 24 May 2012 09:13:31 +0000 (17:13 +0800)]
wayland: ship with wayland-drm protocol.
Signed-off-by: Zhao Halley <halley.zhao@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Benjamin Franzke [Tue, 21 Feb 2012 05:11:42 +0000 (13:11 +0800)]
tests: add PutSurface test for Wayland.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 6 Apr 2012 15:23:55 +0000 (17:23 +0200)]
tests: add support for Wayland.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 6 Apr 2012 15:23:55 +0000 (17:23 +0200)]
API: add support for Wayland.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Mon, 6 Aug 2012 16:22:40 +0000 (18:22 +0200)]
drm: don't export internal functions.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 27 Jul 2012 15:56:56 +0000 (17:56 +0200)]
drm: move driver name detection to utilities.
Move VA driver name characterisation into a dedicated utilities file.
This is also meant to be useful to VA/Android that can re-use the same
file as is since it is self-contained.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Dmitry Ermilov [Tue, 3 Jul 2012 13:34:24 +0000 (15:34 +0200)]
drm: fix build without X11 headers.
Signed-off-by: Dmitry Ermilov <dmitry.ermilov@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Mon, 2 Jul 2012 12:44:28 +0000 (14:44 +0200)]
drm: allow authentication through X11 server.
Make it possible to authenticate a DRM connection through an X server
that may already be running.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Mon, 2 Jul 2012 11:44:40 +0000 (13:44 +0200)]
drm: ensure DRM connection is authenticated.
Make sure the DRM connection is authenticated prior to returning a
valid display from vaGetDisplayDRM(). If an X or Wayland server is
running then authentication will also fail.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Mon, 6 Aug 2012 16:16:58 +0000 (18:16 +0200)]
configure: check for visibility attribute.
Add a check for GCC "visibility" attribute. Also define DLL_HIDDEN helper
so that to declare functions as internal to a particular shared library.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Dmitry Ermilov [Thu, 7 Jun 2012 15:37:21 +0000 (19:37 +0400)]
Allow build without VA/X11 API.
In this case, VA/GLX API is disabled and another backend shall be
built instead.
Signed-off-by: Dmitry Ermilov <dmitry.ermilov@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Dmitry Ermilov [Thu, 7 Jun 2012 15:41:16 +0000 (19:41 +0400)]
tests: add support for raw DRM.
Signed-off-by: Dmitry Ermilov <dmitry.ermilov@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Dmitry Ermilov [Thu, 7 Jun 2012 15:29:14 +0000 (19:29 +0400)]
API: add support for raw DRM.
This API makes it possible to use DRM-based VA drivers without an X server.
Since this is a renderless API, vaPutSurface() is not available.
Signed-off-by: Dmitry Ermilov <dmitry.ermilov@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 6 Apr 2012 12:31:42 +0000 (14:31 +0200)]
API: backend: add VA display types.
Make it possible to easily find how the VA display was created. This
helps implement multiple backends in VA drivers. e.g. X11, Wayland
while keeping a single generated binary.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 6 Apr 2012 11:19:46 +0000 (13:19 +0200)]
API: backend: rename VADriverContext.dri_state to drm_state.
VADriverContext.drm_state holds data structures derived from struct
drm_state, thus also including struct dri_state for VA/X11 drivers.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Benjamin Franzke [Fri, 6 Apr 2012 09:45:28 +0000 (11:45 +0200)]
API: introduce DRM common utilities and data structures.
Add <va/va_drmcommon.h> header for DRM-based drivers to use common
base utilities and data structures. So far, only the DRM state is
shared so that to maintain binary compatibility.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Mon, 16 Jul 2012 10:57:30 +0000 (12:57 +0200)]
tests: avcenc: allow selection of display.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Tue, 10 Jul 2012 13:58:31 +0000 (15:58 +0200)]
tests: allow selection of display.
Make it possible to select display for test applications that need
to render the decoded surfaces. Usage: --display <name> args.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Dmitry Ermilov [Thu, 7 Jun 2012 15:45:15 +0000 (19:45 +0400)]
tests: avcenc: use common VA display creation routines.
Signed-off-by: Dmitry Ermilov <dmitry.ermilov@intel.com>
Gwenole Beauchesne [Fri, 6 Apr 2012 14:45:34 +0000 (16:45 +0200)]
tests: simplify VA display construction.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Haitao Huang [Fri, 6 Jul 2012 12:08:47 +0000 (14:08 +0200)]
test/encode/avcenc: rename swap32() to va_swap32().
Signed-off-by: Haitao Huang <haitao.huang@intel.com>
Haitao Huang [Fri, 6 Jul 2012 11:52:18 +0000 (13:52 +0200)]
test: remove trailing whitespaces in Android.mk files.
Signed-off-by: Haitao Huang <haitao.huang@intel.com>
Gwenole Beauchesne [Wed, 26 Sep 2012 08:48:35 +0000 (10:48 +0200)]
Revert Pixmap-based EGL interfaces.
This was work-in-progress and it turned out to be less efficient
than a dedicated API that could allow direct texturing from YUV
components.
This reverts the following commits:
30b5e62: fix license template for Makefile.am
d1acbc9: add the missing license header to some files
fc8f1b8: include va_egl.h instead of va.h
c3ab994: array bound check
7b663dc: update the VA/EGL implementation in VAAPI
0851426: move va_egl.h to va/ to avoid compile error
1cda440: VA/EGL interfaces
af294d1: fix compiling error if GLESv1_CM isn't installed in the default location
2a4fcff: fix the number of the allocated elements
2f484d7: update VA/EGL test case as well
2ac9bac: a test case to use VA/EGL interfaces
731d575: new hooks to create/free native pixmap
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Tue, 31 Jul 2012 08:48:27 +0000 (10:48 +0200)]
jpeg: pad Huffman table to 4-byte boundaries (Haihao).
Some VA driver implementations require alignment to 4-byte boundaries
so that to allow for direct memory transfers.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit
f8aa29ff28dcbe8134661c3c3c5ca30a8eadcad8)
Gwenole Beauchesne [Tue, 31 Jul 2012 09:04:24 +0000 (11:04 +0200)]
tests: fix JPEG decoding test to match the latest API.
Fix bug in parsing Huffman DC table and also sync the code to match
the latest API change. In particular, pad the Huffman table with
zero to suit 4-byte boundaries.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit
d4c88950dafefead1a775c0ae6636917e23339fd)
Gwenole Beauchesne [Wed, 25 Jul 2012 22:56:41 +0000 (00:56 +0200)]
test/basic: fix make dist.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Xiang, Haihao [Tue, 24 Jul 2012 21:56:31 +0000 (05:56 +0800)]
tests: merge JPEG decoding example from staging branch.
Cherry-pick'ed from:
1af5416: update JPEG decode demo to match current API
da40f08: fix display of dimensions
54b1002: mark default Huffman table as valid
d3b46ce: update JPEG decoding test case
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 13 Apr 2012 14:20:35 +0000 (16:20 +0200)]
Merge JPEG decoding API from staging branch.
This API is only suitable to Baseline profile.
Cherry-pick'ed from:
336a563: add initial JPEG decoding API
8a7f92b: cosmetics (vertical align)
9092ecf: fix IQ matrix and Huffman table buffer name
5d30647: add "Baseline" suffix the existing data structures
6eefff7: document decoding API is only suitable to baseline profile
de2df79: include <va/va_dec_jpeg.h> into core VA header
979f0e1: drop JPEG-2000 fields from structures for baseline profile
8a6b12d: drop sample_precision since P=8 for baseline profile
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Xiang, Haihao [Thu, 12 Jul 2012 07:17:04 +0000 (15:17 +0800)]
Fix compiling error
egl test case depends on va-egl
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Haitao Huang [Wed, 11 Jul 2012 08:42:45 +0000 (16:42 +0800)]
test/basic: changed build target to noinst so they are built by default
Signed-off-by: Haitao Huang <haitao.huang@intel.com>
Haitao Huang [Fri, 6 Jul 2012 11:41:29 +0000 (13:41 +0200)]
test/basic: fix build of basic tests.
Signed-off-by: Haitao Huang <haitao.huang@intel.com>
Gwenole Beauchesne [Fri, 6 Jul 2012 13:18:10 +0000 (15:18 +0200)]
test/egl: fix license template for Makefile.am.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Xiang, Haihao [Fri, 29 Jun 2012 05:04:05 +0000 (13:04 +0800)]
Add the missing license header to some files
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Austin Yuan [Mon, 21 May 2012 01:05:07 +0000 (21:05 -0400)]
license header: add the missing license header to files
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Gwenole Beauchesne [Thu, 28 Jun 2012 09:02:34 +0000 (11:02 +0200)]
Revert "libva 1.1.0"
API changes were not ready for distribution.
This reverts commit
465d96e609764b256383a1a5cd0dd2c8752f2e6f.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Thu, 28 Jun 2012 08:54:08 +0000 (10:54 +0200)]
build: fix make dist.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Mon, 16 Apr 2012 08:41:56 +0000 (10:41 +0200)]
Fix build with alternate X11, GLX and EGL prefixes.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Xiang, Haihao [Tue, 29 May 2012 03:28:58 +0000 (11:28 +0800)]
new version for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 29 May 2012 02:20:40 +0000 (10:20 +0800)]
libva 1.1.0
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 10 May 2012 05:13:39 +0000 (13:13 +0800)]
Build EGL if EGL/egl.h isn't installed in the default path
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 10 May 2012 05:03:16 +0000 (13:03 +0800)]
Fix regression caused by
027a1298c22aeecc2fee2d270cd86790530892f6
VA/EGL depends on EGL/egl.h, so checking for eglGetDisplay in -lEGL
doesn't mean it could be compiled or not.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Bastien Nocera [Fri, 13 Apr 2012 22:46:23 +0000 (23:46 +0100)]
test: fix build of v4l encode demo.
This fixes:
capture.cpp: In function ‘int read_frame()’:
capture.cpp:140:64: error: ‘read’ was not declared in this scope
capture.cpp: In function ‘void init_userp(unsigned int)’:
capture.cpp:431:30: error: ‘getpagesize’ was not declared in this scope
avcenc.cpp:283:26: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
capture.cpp: In function ‘void close_device()’:
capture.cpp:643:24: error: ‘close’ was not declared in this scope
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Yuanhan Liu [Tue, 10 Apr 2012 06:41:45 +0000 (14:41 +0800)]
Fix bad Makefile indent
We should use TAB instead of SPACES there.
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Xiang, Haihao [Tue, 10 Apr 2012 06:04:06 +0000 (14:04 +0800)]
Fix configure error.
......
checking for GLESv1_CM... no
configure: error: Package requirements (glesv1_cm) were not met:
No package 'glesv1_cm' found
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Gwenole Beauchesne [Sun, 8 Apr 2012 05:29:59 +0000 (07:29 +0200)]
.gitignore: update.
- Add new tests and generated files.
- Sort the lines by alphabetical order.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Sat, 7 Apr 2012 05:15:07 +0000 (07:15 +0200)]
configure: fix GLX and EGL tests.
Migrate checks for GLX and EGL to pkg-config checks or use default
include and libraries for testing.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 6 Apr 2012 09:29:37 +0000 (11:29 +0200)]
Revert "declare vaGetDisplay in va.h instead of va_xxx.h"
vaGetDisplay() belongs to winsys headers.
This reverts commit
52c87f898b210cddde70231021097c5a0bb6fdc3.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Fri, 6 Apr 2012 09:25:34 +0000 (11:25 +0200)]
API: h264 decode: fix the definition of slice_data_bit_offset.
Align with the existing practice in various media stacks available
in Linux today. i.e. codec layer submits slice data that represents
the original bitstream, thus including any emulation prevent bytes.
However, the slice_data_bit_offset represents an offset relative
to the buffer that contains the NAL unit byte and the rest of the
slice with any emulation prevention bytes removed.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Tue, 3 Apr 2012 08:08:59 +0000 (10:08 +0200)]
API: h264 decode: clarify slice_data_bit_offset field.
slice_data_bit_offset represents a bit offset from the NAL Header Unit
byte to the begining of the slice_data(), thus including any emulation
prevention bytes. Baiscally, this represents the number of bits parsed
for slice_header().
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Mon, 2 Jan 2012 16:44:53 +0000 (17:44 +0100)]
Allow 0.32.x drivers.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Tue, 3 Apr 2012 14:54:46 +0000 (16:54 +0200)]
API: bump version to 0.33.0 (libva 1.1.0).
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Xiang, Haihao [Thu, 29 Mar 2012 06:33:26 +0000 (14:33 +0800)]
test/egl: Fix compiling error if GLESv1_CM isn't installed in the default location
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Signed-off-by: Hai Lan <hai.lan@intel.com>
Sven Putteneers [Mon, 26 Mar 2012 13:37:56 +0000 (15:37 +0200)]
Demo code v4l/h264 encode/decode using Libva
See README.txt for details
Signed-off-by: Sven Putteneers <svenx.putteneers@intel.com>
Signed-off-by: Lecluse, Philippe <Philippe.Lecluse@intel.com>
Xiang, Haihao [Tue, 7 Feb 2012 06:07:19 +0000 (14:07 +0800)]
update vainfo
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhao Halley [Tue, 7 Feb 2012 05:01:53 +0000 (13:01 +0800)]
A simple JPEG example to use VAAPI
It is based on Luc Saillard <luc@saillard.org>'s JPEG program
Usage: loadjpeg <input_filename.jpeg>
Signed-off-by: Zhao Halley <halley.zhao@intel.com>
Singed-off-by: Wind Yuan <feng.yuan@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 6 Feb 2012 08:13:19 +0000 (16:13 +0800)]
Fix comment for JPEG quantization table
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 01:13:07 +0000 (09:13 +0800)]
Remove the macros for JPEG components
The range of component id is 0-255 (see B.2.2)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 12 Jan 2012 05:32:10 +0000 (13:32 +0800)]
Directly use component id instead of component index in VASliceParameterBufferJPEG
The user application doesn't need to calculate the index anymore.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 12 Jan 2012 02:09:44 +0000 (10:09 +0800)]
Modify the interface of Huffman table for JPEG decoding
The user application will send up to 4 huffman table to driver,
and driver will select the right huffman table for each component
via dc_selector and ac_selector.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 11 Jan 2012 08:24:59 +0000 (16:24 +0800)]
Support 16-bits quantization element for JPEG decoding
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 11 Jan 2012 07:12:35 +0000 (15:12 +0800)]
Modify the interface of Quantization table for JPEG decoding
The user application will send up to 4 quantization table to driver,
and driver will select the right quantization table for each component
via quantiser_table_selector. The quantization elements are specified
in zig-zag scan order
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 24 Oct 2011 05:22:40 +0000 (13:22 +0800)]
refine the JPEG decoding interface
Xiang, Haihao [Wed, 7 Sep 2011 08:15:56 +0000 (16:15 +0800)]
va: add data structure for JPEG decoding
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Jan 2012 05:27:48 +0000 (13:27 +0800)]
include va_egl.h instead of va.h
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 13 Jan 2012 07:00:45 +0000 (15:00 +0800)]
fix the check for EGL
It is possible that EGL/egl.h doesn't exist however EGL library is
available. We don't want to build EGL related stuff in this case
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 13 Jan 2012 03:12:02 +0000 (11:12 +0800)]
Don't build egl case without EGL
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 10 Jan 2012 06:40:04 +0000 (14:40 +0800)]
Remove dependency on X11/Xlib.h
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 5 Jan 2012 06:16:23 +0000 (14:16 +0800)]
Remove legacy DRI support
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 6 Jan 2012 06:55:20 +0000 (14:55 +0800)]
Don't build the EGL test case without GLESv1_CM
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 2 Dec 2011 04:58:10 +0000 (12:58 +0800)]
egl/va_egl_x11: fix the number of the allocated elements
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 2 Dec 2011 04:57:41 +0000 (12:57 +0800)]
Array bound check
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 1 Dec 2011 07:30:52 +0000 (15:30 +0800)]
Update VA/EGL test case as well
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 1 Dec 2011 07:29:18 +0000 (15:29 +0800)]
Update the VA/EGL implementation in VAAPI
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 1 Dec 2011 07:26:53 +0000 (15:26 +0800)]
Update VA/EGL interfaces
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Xiang, Haihao [Wed, 30 Nov 2011 05:00:12 +0000 (13:00 +0800)]
Move va_egl.h to va/ to avoid compile error
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 10 Nov 2011 02:34:45 +0000 (10:34 +0800)]
a test case to use VA/EGL interfaces
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>