Zhao Halley [Sun, 28 Apr 2013 07:47:15 +0000 (15:47 +0800)]
update spec file for wayland build
Zhao Halley [Sun, 28 Apr 2013 07:46:32 +0000 (15:46 +0800)]
Update Makefile.am of build for putsurface_wayland
Zhao Halley [Sun, 28 Apr 2013 07:35:35 +0000 (15:35 +0800)]
rebase to latest upstream code and use 2.0 packaging files first
Austin Yuan [Sun, 28 Apr 2013 04:34:01 +0000 (12:34 +0800)]
h264encode: use frame height not the height from VAImage which may be wrong
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Sun, 28 Apr 2013 03:58:54 +0000 (11:58 +0800)]
h264encode: correct negative POC after a new IDR
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Sun, 28 Apr 2013 03:57:59 +0000 (11:57 +0800)]
vatrace: only print info of valid reference frames
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Sat, 27 Apr 2013 08:48:13 +0000 (16:48 +0800)]
h264encode: fix encode corruption issue with multiple IDR (-idr_period XX)
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Xiang, Haihao [Fri, 26 Apr 2013 06:02:46 +0000 (14:02 +0800)]
Check the returned handle
This is to fix klockwork critical issue.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 26 Apr 2013 05:13:52 +0000 (13:13 +0800)]
Check the device name before opening the device
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Elaine Wang [Sat, 27 Apr 2013 13:43:06 +0000 (21:43 +0800)]
h264encode: add some comments
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Elaine Wang [Sat, 27 Apr 2013 10:08:23 +0000 (18:08 +0800)]
h264encode: refine calculation logic of reference frame setting
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Elaine Wang [Wed, 24 Apr 2013 10:57:09 +0000 (18:57 +0800)]
vatrace: dump flags of VAPictureH264
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Elaine Wang [Thu, 18 Apr 2013 17:25:50 +0000 (01:25 +0800)]
h264encode: fix wrong print information
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Austin Yuan [Wed, 17 Apr 2013 05:16:45 +0000 (13:16 +0800)]
Remove dummy backend
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Jonathan Bian [Wed, 10 Apr 2013 23:26:37 +0000 (16:26 -0700)]
Added support for VP8 encoding.
Fei Jiang [Wed, 27 Mar 2013 20:29:36 +0000 (04:29 +0800)]
LIBVA_DRIVER_NAME still needs va_getDriverName to open DRM device
va_getDriverName is bypassed when LIBVA_DRIVER_NAME is set, but driver
needs DRM device fd which is only opened in va_getDriverName
Change-Id: I4fe11edf9d8c328806255d4c93313cf99655a91d
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
Elaine Wang [Wed, 17 Apr 2013 16:02:10 +0000 (00:02 +0800)]
va_trace: refine the log format
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Jonathan Bian [Mon, 8 Apr 2013 04:00:13 +0000 (21:00 -0700)]
Added mirroring, STE and TCC filters to the VPP pipeline.
Austin Yuan [Sun, 7 Apr 2013 10:09:36 +0000 (18:09 +0800)]
vatrace: print function name for vaMapBuffer trace with coded buffer
also fall into default va_TraceVABuffers if the buffer type falls into
"default"
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Jonathan Bian [Thu, 14 Mar 2013 23:36:38 +0000 (16:36 -0700)]
Changes to VASliceParameterBufferVP8 to make it consistent with slice parameter buffer structure for other formats.
Jonathan Bian [Mon, 1 Apr 2013 00:14:50 +0000 (17:14 -0700)]
Renamed de-interlacing flags to be more general and added new flag VA_DEINTERLACING_ONE_FIELD
Jonathan Bian [Fri, 15 Mar 2013 02:18:01 +0000 (19:18 -0700)]
Renamed num_ref_ifx_lX_active_minus1 in VAPictureParameterBufferH264 to match the latest spec.
Xiang, Haihao [Fri, 15 Mar 2013 08:22:57 +0000 (16:22 +0800)]
Fix possible memory leak
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Jonathan Bian [Mon, 11 Mar 2013 05:11:26 +0000 (22:11 -0700)]
Added new attribute and data structure to support slice decoding base mode.
Jonathan Bian [Mon, 11 Mar 2013 05:46:32 +0000 (22:46 -0700)]
Added new VA_RT_FORMAT_RGBP and VA_FOURCC_411R
Jonathan Bian [Mon, 11 Mar 2013 05:34:51 +0000 (22:34 -0700)]
Added VASliceParameterBufferVP8 to describe data partition related fields.
Austin Yuan [Thu, 7 Mar 2013 02:52:11 +0000 (10:52 +0800)]
vaPutSurface test on Android: fix build isste on Android JB
Change-Id: Ibfb3d6a653f9af924422edb052e751b84015ffd0
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Thu, 7 Mar 2013 02:32:19 +0000 (10:32 +0800)]
vaPutSurface on Android: move the drawable to ANativeWindow
Change-Id: I21b886966bbe70ff902daafe828de47ad3f0b956
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Thu, 7 Mar 2013 02:57:32 +0000 (10:57 +0800)]
h264encode: fix build warning on Android
Change-Id: Iee2886bde2362e75d7e1837211553d9672bba650
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Tue, 5 Mar 2013 02:53:52 +0000 (10:53 +0800)]
h264encode: remove the leftover file h264encode_android.cpp
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Elaine Wang [Tue, 5 Mar 2013 13:17:47 +0000 (21:17 +0800)]
h264encode: fix some issues
1. reference frame setting looks odd
2. fix the issue that the first 16 frames are encoded twice
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Austin Yuan [Fri, 1 Mar 2013 02:45:40 +0000 (10:45 +0800)]
SurfaceAttribMemoryType: add ION memory type for Android
ION is the new Android memory manager for cross-components buffer
sharing. Adding this memory type for it.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Fri, 1 Mar 2013 00:42:22 +0000 (08:42 +0800)]
ASurfaceAttribExternalBuffers flags: add more memory attribute flags
The external user pointer buffers may be allocated as cacheable or
non-cacheable, with the addtitional cache attribute flags, it can help
driver implementation to set correct cache attribute into device
memory controller (e.g. MMU)
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Jonathan Bian [Thu, 28 Feb 2013 11:46:55 +0000 (03:46 -0800)]
Relocate rotation/blending related fields in VAProcPipelineParameterBuffer and VAProcPipelineCaps.
Austin Yuan [Thu, 28 Feb 2013 06:28:14 +0000 (14:28 +0800)]
test/h264encode: refine the h264encode to support advanced mode
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Xiang, Haihao [Wed, 27 Feb 2013 05:12:40 +0000 (13:12 +0800)]
vainfo: Add the support for the new VA profiles
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Jonathan Bian [Fri, 22 Feb 2013 05:57:40 +0000 (21:57 -0800)]
Added luma_scale2 and luma_shift2 to VAPictureParameterBufferVC1 to support intensity compensation for P interlace picture
Adrian Marius Negreanu [Wed, 13 Feb 2013 14:10:16 +0000 (16:10 +0200)]
android: copy va_enc_mpeg2.h target-product directory
intel-driver includes va_enc_mpeg2.h but since it's not copied
over to target-product, it results in an error
Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu@intel.com>
Adrian Marius Negreanu [Mon, 11 Feb 2013 08:21:33 +0000 (10:21 +0200)]
vatrace: buffer_type_to_string: add missing VABufferType
sync with VABufferType in va/va.h.
Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu@intel.com>
Xiang, Haihao [Wed, 6 Feb 2013 04:35:57 +0000 (12:35 +0800)]
Fix the broken install
install -d /usr/share/doc/libva/html
install -m 0644 html-out/* /usr/share/doc/libva/html
install: omitting directory `html-out/search'
make[2]: *** [install-html-local] Error 1
make[2]: Leaving directory `/home/xhh/graphics/ex/vaapi/libva/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/xhh/graphics/ex/vaapi/libva/doc'
make: *** [install-recursive] Error 1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 6 Feb 2013 01:39:34 +0000 (09:39 +0800)]
Don't try to build the documentation if doxygen isn't found
Making all in doc
make[2]: Entering directory `/home/xhh/graphics/ex/vaapi/libva/doc'
enable_docs=no Doxyfile
/bin/bash: Doxyfile: command not found
make[2]: *** [html-out/index.html] Error 127
make[2]: Leaving directory `/home/xhh/graphics/ex/vaapi/libva/doc'
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Austin Yuan [Wed, 6 Feb 2013 03:28:59 +0000 (11:28 +0800)]
test/putsurface_x11.c: don't hard code the DISPLAY to ":0.0"
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Tue, 5 Feb 2013 06:00:15 +0000 (14:00 +0800)]
va_x11: fix klockscan issue (details is bellow)
File: va_x11.c
Function: va_DisplayContextGetDriverName -> va_DRI2GetDriverName -> dri2_util.c:isDRI2Connected
Line: 154 -> 84 -> dri2_util.c:184
Code:
TRACEBACK
va_x11.c:151: driver_name is NULL
va_x11.c:154: 'driver_name' is passed to function 'va_DRI2GetDriverName'.
dri2_util.c:84: 'driver_name' is passed to function 'isDRI2Connected'.
dri2_util.c:184: 'driver_name' is explicitly dereferenced.
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Elaine Wang [Thu, 31 Jan 2013 14:52:13 +0000 (22:52 +0800)]
Fix va_fool.c klocwork issue
BZ: 83882
Fix klocwork issue that complaine array 'fool_context[idx].fool_buf'
of size 43 may use index value(s) 0..255
Change-Id: I196a36c0067e2b7e390567a203ef1520af5b873f
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Jonathan Bian [Wed, 9 Jan 2013 22:44:18 +0000 (14:44 -0800)]
Added "flags" field to VAProcFilterParameterBufferDeinterlacing to indicate TOP/BOTTOM field in the input frame and which field to use for BOB deinterlacing.
Austin Yuan [Thu, 27 Dec 2012 10:00:30 +0000 (18:00 +0800)]
va_parseConfig: still need to check env_value
env_value may be NULL which means the caller doens't
care the value of the environment variable, just check
if it is set.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Elaine Wang [Thu, 27 Dec 2012 07:18:15 +0000 (15:18 +0800)]
klockwork: Fix libva klocwork scaning issues
Fix NULL pointer dereference risk issues and uninitialized variables
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Change-Id: I839a9def7b08c41c1f075e4cd1cc06e8bb0c8c9e
Austin Yuan [Wed, 5 Dec 2012 05:41:36 +0000 (13:41 +0800)]
vatrace: fix build issue
Change-Id: I1727528df6aaf48209774bada5cf136cfa1e4ee3
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Austin Yuan [Wed, 5 Dec 2012 05:24:22 +0000 (13:24 +0800)]
va_trace: dump basic_unit_size/rc_flags in RateControl data struct
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Elaine Wang [Fri, 9 Nov 2012 07:35:23 +0000 (15:35 +0800)]
vatrace: Fix encoded coded buffer dump function
libva trace can't dump coded buffer. It's caused by the wrong
decison in vaTraceEndPicture function which only dump coded buffer
when surface dumping is enabled.
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Change-Id: I8b0ec01e59faff3bfd5345d95cbf0e781f6f3706
Elaine Wang [Tue, 23 Oct 2012 08:04:59 +0000 (16:04 +0800)]
vatrace: fix vatrace crash during video recording
Video recording crash when va trace is enabled. It's caused by
using wrong buffer type to trace slice buffer. This patch distinguish buffer
type VAEncSliceParameterBuffer from VAEncSliceParameterBufferH264 by
the buffer size.
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Change-Id: Ibc5c6a17b155e305151a25580b4e613702665ad1
Gwenole Beauchesne [Tue, 3 Apr 2012 12:28:40 +0000 (14:28 +0200)]
API: vpp: add blend state for composition.
Add a new VABlendState structure that defines the blending operations for
composition. So far, only luma keying, alpha blending and premultiplied
alpha are supported.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Tue, 3 Apr 2012 09:32:54 +0000 (11:32 +0200)]
API: vpp: add rotation state.
Add the ability to rotate a source surface clockwise by a fixed number
of degrees (VA_ROTATION_xxx flags). The outcome of this operation is
scaled to fit the specified output_region.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Xiang, Haihao [Fri, 7 Dec 2012 08:00:04 +0000 (16:00 +0800)]
mpeg2enc: find the proper profile and level
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 6 Dec 2012 08:13:35 +0000 (16:13 +0800)]
mpeg2enc: Fix the picture header for B frame
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 6 Dec 2012 08:12:45 +0000 (16:12 +0800)]
mpeg2enc: Fix time_code_seconds in time_code
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 6 Dec 2012 07:56:12 +0000 (15:56 +0800)]
mpeg2enc: temporal_referenc and GOP header follow MPEG-2 Spec.
temporal_reference is reset to zero at each group of pictures header
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 6 Dec 2012 07:19:02 +0000 (15:19 +0800)]
mpeg2enc: Silence compiler warning
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 6 Dec 2012 07:17:27 +0000 (15:17 +0800)]
test/encode: Add -Wall option to default build flags
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 6 Dec 2012 07:15:07 +0000 (15:15 +0800)]
mpeg2enc: Simplify the mapping between display order and encoding order
mode 0:
D: IIIII...
E: IIIII...
mode 1:
D: IPPPP...
E: IPPPP...
mode 2:
D: IBBPBBPBBPBBPBBPIBBP...
E: IPBBPBBPBBPBBPBBIPBB...
B frame is supported now
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 5 Dec 2012 08:18:20 +0000 (16:18 +0800)]
mpeg2enc: set the frames between I and P frames
The default valude is 2
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 5 Dec 2012 08:15:32 +0000 (16:15 +0800)]
mpeg2enc: forward and backword referenc follow the picture type
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 29 Nov 2012 02:02:28 +0000 (10:02 +0800)]
mpeg2enc: Remove the assertion for mode 1
P frame is supported now
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 29 Nov 2012 01:56:06 +0000 (09:56 +0800)]
mpeg2enc: f_code[s][t] follows the picture coding type
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 29 Nov 2012 01:37:44 +0000 (09:37 +0800)]
mpeg2enc: level and profile follow the user setting
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 29 Nov 2012 01:30:47 +0000 (09:30 +0800)]
mpeg2enc: Options for profile and level
--profile <0|1> specify the profile 0(Simple), or 1(Main, default)
--level <0|1|2> specify the level 0(Low), 1(Main, default) or 2(High)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 29 Nov 2012 01:11:39 +0000 (09:11 +0800)]
mpeg2enc: enumerate mode type
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 29 Nov 2012 00:41:18 +0000 (08:41 +0800)]
mpeg2enc: fix a typo
s/patter/pattern
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 28 Nov 2012 03:32:02 +0000 (11:32 +0800)]
mpeg2enc: Set default qp to 8
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 28 Nov 2012 00:27:41 +0000 (08:27 +0800)]
mpeg2enc: Keep the packed data consistent with each parameters
So update paramters before packing SPS/PPS data buffers
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 27 Nov 2012 08:24:07 +0000 (16:24 +0800)]
mpeg2enc: update time_code for the new GOP
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 26 Nov 2012 08:16:00 +0000 (16:16 +0800)]
mpeg2enc: update temporal_reference
Insert a GOP header once temporal_reference is 0
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 26 Nov 2012 08:05:38 +0000 (16:05 +0800)]
mpeg2enc: Fix the period between I frames
1 for mode 0, and 16 for mode 1 and mode 2. Also temporarily
assert mode 1 and mode 2
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 26 Nov 2012 08:00:37 +0000 (16:00 +0800)]
mpeg2enc: add --mode option to command line
Usage: --mode <0|1|2>
0 means I frames only
1 means I and P frames
2 means I, P and B frames
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 26 Nov 2012 07:23:40 +0000 (15:23 +0800)]
mpeg2enc: insert picture header for each picture
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 26 Nov 2012 03:12:22 +0000 (11:12 +0800)]
mpeg2enc: Fix top_field_first
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 26 Nov 2012 03:05:57 +0000 (11:05 +0800)]
mpeg2enc: f_code[s][t] takes the value 15 for I frame
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 26 Nov 2012 02:55:55 +0000 (10:55 +0800)]
mpeg2enc: make sure start codes are byte aligned
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 26 Nov 2012 02:15:27 +0000 (10:15 +0800)]
mpeg2enc: VBV buffer size
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 26 Nov 2012 01:54:59 +0000 (09:54 +0800)]
mpeg2enc: find the right frame_rate_code
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 23 Nov 2012 02:39:14 +0000 (10:39 +0800)]
mpeg2enc: Update intra slice flag
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 23 Nov 2012 02:36:34 +0000 (10:36 +0800)]
mpeg2enc: Pass slice parameters in a group
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 19 Oct 2012 02:56:09 +0000 (10:56 +0800)]
mpeg2enc: A simple MPEG-2 encoder based on VA-API
Support I frame firstly
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Rob Bradford [Fri, 2 Nov 2012 10:57:47 +0000 (10:57 +0000)]
wayland: port to 1.0 protocol.
With the change in protocol the hash of globals maintained by the client was
dropped. Instead we must setup a listener on the registry and get the globals
in a stream from that.
Signed-off-by: Rob Bradford <rob@linux.intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
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>
Gwenole Beauchesne [Thu, 15 Nov 2012 12:53:47 +0000 (13:53 +0100)]
wayland: merge Wayland 0.95 support from master.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Rob Bradford [Fri, 2 Nov 2012 11:39:33 +0000 (11:39 +0000)]
tests: fix printf in putsurface_wayland test
Signed-off-by: Rob Bradford <rob@linux.intel.com>
Jonathan Bian [Mon, 22 Oct 2012 04:49:51 +0000 (21:49 -0700)]
Added new VAEncPackedHeaderRawData value to VAEncPackedHeaderType
Gwenole Beauchesne [Tue, 9 Oct 2012 04:21:59 +0000 (06:21 +0200)]
tests: add missing -lpthread link option.
Some tests (avcenc, mpeg2transcode) were using the pthread library but
were missing -lpthread link option. This regression was exhausted on
Fedora 15+ thanks to Yakui.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Thu, 4 Oct 2012 13:28:07 +0000 (15:28 +0200)]
tests: fix build with alternate X11 paths.
If a program explicitly uses libfoo functions (libX11 for instance here),
then it shall be explicitly linked against that library. So, fix all
instances where X11 functions are called to include the right paths
to headers and libraries.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit
c31d2e8a1bb2c1210fee922b5c54e14ec3077605)
Gwenole Beauchesne [Fri, 28 Sep 2012 08:31:34 +0000 (10:31 +0200)]
android: fix build of test programs.
Cope with the recent changes to use "sysdeps.h" wherever possible
in test programs.
Change-Id: Id2fd2567fae4ee0f9e5a8a562e994598685ac86b
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)
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>
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>
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>
Zhao Yakui [Mon, 24 Sep 2012 21:17:19 +0000 (17:17 -0400)]
Add the SEI segment for CBR mode to pass HRD test
Otherwise the encoded h264 video stream can't be parsed by HRD test software.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>