Commit Graph

50 Commits

Author SHA1 Message Date
U. Artie Eoff 71919fc27e configure: libva-xyz should be same version as detected libva
This will help prevent erroneous linking to mixed versions
of libva-xyz window system libraries that may not be binary
compatible.  For example,
 1. User installs libva-dev from distro packages that
    provides all libva-xyz.pc/.so window system libraries.
 2. Then, user compiles and installs libva from source with 1
    or more [auto] disabled libva-xyz window system libraries.
 3. Finally, user compiles libva-utils from source, but configure
    finds a mix of distro installed and user compiled
    libva-xyz window system libraries and encounters linker
    error when not binary compatible with user installed
    libva.so.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2023-04-02 11:42:17 +08:00
Carl Zhang 027b2eda6f libva-utils 2.19.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2023-03-17 04:33:57 -04:00
Carl Zhang ceb4811e6b libva-utils 2.18.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2023-03-17 03:57:53 -04:00
Brian Norris ecd26b3910 test_va_api: Don't assume our DRM node is first
Similar to:

  bfb6b98ed6 exclude vgem node and invalid drm node in vainfo

But adapted to use drmGetDevices2() for more generic handling.

It's possible to have a vgem node at 128, and the VA-API node is at 129,
for example.

Signed-off-by: Brian Norris <briannorris@chromium.org>
2023-02-03 13:50:26 +08:00
Carl Zhang e544399ef9 libva-utils 2.17.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-10-08 02:28:07 -04:00
Carl Zhang 1c8ff0ee2b libva-utils 2.16.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-07-04 13:42:58 +08:00
Carl Zhang bfb6b98ed6 exclude vgem node and invalid drm node in vainfo
call drm function to avoid invalid node
check the name of vgem

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-02-17 02:58:30 -05:00
Carl Zhang dc4e5a8d94 libva-utils 2.15.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-02-16 10:51:29 -05:00
Carl Zhang b2c650bb73 libva-utils 2.13.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2021-07-01 11:30:38 -04:00
Carl Zhang 133931dfe6 libva-utils 2.12.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2021-05-07 10:24:00 -04:00
Carl Zhang 324793b98f libva-utils 2.11.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2021-03-23 07:35:56 -04:00
Carl Zhang 1764831f5d libva-utils 2.9.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2020-07-17 05:18:28 -04:00
Carl Zhang c85cfdd5fe libva-utils 2.8.0.pre1
bump master version to 2.8.0.pre1

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2020-04-01 18:12:25 -04:00
Jan Beich ecd10997ae autotools: drop libdrm dependency (only libva-drm is used) 2020-04-01 21:45:08 +08:00
Jan Beich 3f75ccede6 autotools: drop unused X11 dependencies 2020-04-01 21:45:08 +08:00
Carl Zhang 87d7724693 libva 2.6.0.pre1
Bump master version to 2.6.0.pre1

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2019-07-08 06:34:30 -04:00
Bernd Kuhls d71e260497 Check for -fstack-protector
Not all toolchains provide support for -fstack-protector. This patch
provides a configure check to avoid build errors like

/home/buildroot/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/6.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lssp_nonshared
/home/buildroot/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/6.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lssp
2019-04-09 07:20:01 -07:00
kanghuaz 957a269f02 sample code for decode SFC
1. SFC is for decode Scalar & Format Converter
2. Shows downscaling and ARGB conversion
3. Only shows one frame

Signed-off-by: kanghuaz <kanghua.zhu@intel.com>
2018-10-26 17:45:43 +08:00
XinfengZhang 809b18606e libva-utils 2.4.0.pre1
Bump version to 2.4.0.pre1 for future development.

release process:
1. master will always be pre release version
2. branch will have official release such as 2.3.0, 2.3.1,2.4.0
3. after branch out release branch, minor version will be bumped.

Signed-off-by: XinfengZhang <carl.zhang@intel.com>
2018-10-22 18:32:02 +08:00
XinfengZhang e35ced362c libva-utils 2.3.0 pre1
Bump libva-utils to 2.3.0

Signed-off-by: XinfengZhang <carl.zhang@intel.com>
2018-09-30 23:41:57 +08:00
Zhengguo.Xu 9298d85ce5 Add sample code for avc decode streamout
Add new folder 'vendor/intel' and give sample code for how to use avc streamout

Signed-off-by: Zhengguo.Xu <zhengguo.xu@intel.com>
2018-09-07 10:29:19 +08:00
Haihao Xiang 726ec7fe80 libva-utils 2.2.1.pre1 for development
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2018-07-05 13:41:06 +08:00
Haihao Xiang b8f5acac60 libva-utils 2.2.0 pre1
Update NEWS as well

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2018-06-29 15:43:10 +08:00
Haihao Xiang 3532d7e9da Use the new link URLs
We moved libva from github/01org to github/intel, however some files
still have links to the old 01org URLs, this commit updates these
links to the new intel URLs. In addition, this commit added a contact
email address for security issue reporting

https://github.com/intel/libva-utils/issues/103

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2018-03-15 11:04:26 +08:00
Xiang, Haihao fb32e18b31 libva-utils 2.1.1.pre1 for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2018-02-02 09:04:13 +08:00
U. Artie Eoff a95be999a7 test: remove local va_version.h.in
The locally generated va_version.h was erroneous and
not even being used in the tests.  This is because
va/va.h already includes the "real" va/va_version.h.

Thus, remove local va_version.h.in.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2018-01-12 08:35:10 +08:00
Xiang, Haihao 624b382df7 Bump libva-utils to 2.0.1.pre1 for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-09-29 13:45:54 +08:00
Xiang, Haihao f448a68386 libva-utils 2.0.0.pre1 for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-09-13 15:04:41 +08:00
Li Xiaowei 62ffe376c8 vavpp: add video processing test case
Test case for deinterlacing, denoise, color balance, sharpening,
blending, scaling and some surface formats conversion
(NV12<->YV12<-->I420).

v7:
* Rename program name to vavpp
* Change noinst_PROGRAMS to bin_PROGRAMS so that the binary will be
installed.

v6:
Apply the patch to libva-utils and fix the corresponding files (Haihao)

Version5:
1). Clean dependecy on X11 in Makefile.am
2). Change bin_PROGRAMS to noinst_PROGRAMS for valgrind check

Version4:
1). Remove dependency on X11.
2). Change bin_PROGRAMS to noinst_PROGRAMS to avoid installing test
    application to system directory.
3). Correct copy right time and adjust some code style.

Version3:
1). Realloc surface attribute array if its size is smaller than the
    requirement of driver when calling vaQuerySurfaceAttrib() function.
2). Fix typo error of BLENDING_GLOBAL_ALPHA in config file.

Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
2017-09-06 09:35:00 +08:00
Sreerenj Balachandran 222133a8dc FEI: Bump the required VA-API version
FEI support has been added in VA-API version 0.40.1, which
is the minum required version for the libva-utils too.

libva PR: https://github.com/01org/libva/pull/105

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
2017-08-24 10:27:07 +08:00
Lim Siew Hoon 780b91ef32 Fix to retrieve libva version.
Fixes #41

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
2017-08-16 12:59:04 +08:00
Xiang, Haihao 44de5826b9 configure fails if requirement can't be met for user's explicit request
Notify user an error if user provides --enable-wayland/--enable-x11 however the
requirement can't be met. drm has been checked mandatorily

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-06-18 23:32:27 +08:00
Xiang, Haihao 0d93f1eab4 Fix compilation failures
When wayland-client meets the requirement but libva-wayland doesn't
exist, we will get the following error because USE_WAYLAND and
HAVE_VA_WAYLAND don't keep consistency

  CXXLD    mpeg2vldemo
../common/.libs/libva-display.a(libva_display_la-va_display.o):(.data.rel+0x0):
undefined reference to `va_display_hooks_wayland'
collect2: error: ld returned 1 exit status

This fixes https://github.com/01org/libva-utils/issues/42

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-06-18 23:32:27 +08:00
Xiang, Haihao d7da46e6c0 Bump libva-utils to 1.8.4.pre1 for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-06-13 00:02:38 +08:00
Xiang, Haihao ac663c8e4f Bump libva-utils 1.8.3.pre1 for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-05-16 13:30:23 +08:00
Xiang, Haihao 0bb87bae2b Bump libva-utils 1.8.2.pre1 for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-04-06 21:14:54 +08:00
Nicolas Chauvet 3e0dc1575c libva-utils: Switch AC_PROG_LIBTOOL to LT_INIT
fedora-review complain on this old deprecated macro - rhbz#1437937

Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
2017-04-06 12:05:54 +08:00
Daniel Charles d80c78c5f2 configure: change the tarball name to comply with naming convention
Compilation scripts on different distributions (i.e. arch, gentoo) rely
on the tarball name to use hyphens between words.

This patch will create tarballs with hyphenated names

TEST="make dist, should produce libva-utils.tar.*"

Fixes #21

Signed-off-by: Daniel Charles <daniel.charles@intel.com>
2017-03-13 21:35:22 -07:00
Daniel Charles 076e0c3079 configure: don't print driver path information
On the summary the driver folder doesn't need to be shown
as libva and intel-vaapi-driver are already exposing such
information

Fixes #15

Signed-off-by: Daniel Charles <daniel.charles@intel.com>
2017-02-23 09:17:57 -08:00
Sean V Kelley 8948fd4b88 Bump pre-release to 1.8.0.pre2
Done to get some packages upstream ahead of release

Signed-off-by: Sean V Kelley <seanvk@posteo.de>
2017-02-18 13:55:18 -08:00
Daniel Charles 772d7d8256 enable-tests: normalize configure flag name
libva-utils contains utilities and example applications to
use VA-API.

--enable-tests configure flag enables a suite of unit tests
that are based on Google Test Framework

The flag name is modified to keep consistency with intel-vaapi-driver
unit tests configuration flag

Fixes:#12

Signed-off-by: Daniel Charles <daniel.charles@intel.com>
2017-02-16 16:52:59 -08:00
Sean V Kelley b89ecea7b9 config: Remove unsupported deps
Remove copy & paste configs as they are unused.

fixes #7

Signed-off-by: Sean V Kelley <seanvk@posteo.de>
2017-02-04 09:59:46 -08:00
Sean V Kelley 81cdabb6bd config: Initial release will be 1.80
So set version to 1.80.pre1 for development

fixes #7

Signed-off-by: Sean V Kelley <seanvk@posteo.de>
2017-02-04 09:59:46 -08:00
Sean V Kelley ac7f3ed57a config: Fix file permissions
Remove executable bits.

fixes #7

Signed-off-by: Sean V Kelley <seanvk@posteo.de>
2017-02-04 09:59:46 -08:00
Sean V Kelley c5e40bbbf7 debian: Remove legacy packaging
debian control files are maintained by packagers

Yes there is a "convenience" factor to roll your
own debian package, but this is not maintained by
us and represents a fork from debian packagers.
As with the bit rot of libva.spec, remove this.

fixes #6

Signed-off-by: Sean V Kelley <seanvk@posteo.de>
2017-02-03 11:30:14 -08:00
Sean V Kelley 8525a0d5cc config: replace reference to libyamiutils
Signed-off-by: Sean V Kelley <seanvk@posteo.de>
2017-01-31 20:38:59 -08:00
Daniel Charles feaf67d346 putsurface: add putsurface folder from libva
the set of examples is used for rpm creation, port them to keep
compatibility

Signed-off-by: Daniel Charles <daniel.charles@intel.com>
2016-12-06 13:33:42 -08:00
Daniel Charles 45c32e3484 gtest: initial Gtest set for VA-API
This initial set of files covers the va.h API for all the
functions used to exercise successfully the VA-API.

Tests are divided per VA-API function with a common Fixture that
contains all calling functions to the VA-API.  For the use cases
covered already there are tests for the proper functionality and also
for expected error situations.

The tests creates combinations with all the inputs to the VA-API function
and then it checks the results based on what the driver implementation reports
as supported

The set of tests can be run on any h/w supported and any driver.

The VendorString test is assuming Intel i965 driver, please help
adding the test for other drivers

More tests will be continously added

Signed-off-by: Daniel Charles <daniel.charles@intel.com>
2016-11-29 11:41:17 -08:00
U. Artie Eoff 085e356489 toolchain: build gtest convenience library
Define autoconf/automake rules to build libgtest.la
as a convenience library.

Add --enable-gtests configure option (default:no).

All Gtests are built by configure flag, since this is a test
repository then the differentiation is made.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
2016-11-29 11:41:17 -08:00
Daniel Charles c9af683d6c libva-utils: initial commit
libva-utils is a new git repository that will host sample applications
for libva, conformance tests and others relevant to libva

It is using the same version as libva and it should follow libva version.
It is intended to be released together with libva
It has the same license as libva

Initial functionality ports the vainfo application from libva repository.
The git history for it will remain on libva.  To port vainfo, also the
a common libva-display library was ported. The original tests for encoder
and decoder are also ported to this repository. debian folder for vainfo
was also ported

The basic tests are going to be substituted by a new set of tests based
on Gtest framework.

libva-utils will dynamically link libva, use pkg-config to compile and
link properly.

Signed-off-by: Daniel Charles <daniel.charles@intel.com>
2016-11-29 11:41:17 -08:00