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>
Xiang, Haihao [Thu, 10 Nov 2011 02:47:03 +0000 (10:47 +0800)]
VA/EGL interfaces
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 9 Nov 2011 08:32:51 +0000 (16:32 +0800)]
New hooks to create/free native pixmap
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 8 Nov 2011 02:29:40 +0000 (10:29 +0800)]
declare vaGetDisplay in va.h instead of va_xxx.h
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 8 Nov 2011 02:22:43 +0000 (10:22 +0800)]
rename NativeDisplay to VANativeDisplay
Signed-off-by: Xiang, Haihao <haihao.xiang@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).