In libva 2.0 the VAProfileH264Baseline declaration has been
deprecated.
In the test/Makefile.am, we use -Wall -Werror so all warnings
are treated as errors. For GCC < 6.x, deprecated-declarations
are not flagged as warnings, thus don't break compilation.
However, GCC >= 6.x treats deprecated-declarations as warnings
and therefore breaks compilation.
Ignore deprecated-declarations with the -Wno-deprecated-declarations
compiler flag for now.
Fixes#49
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
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>
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>
vainfo has '--display' and '--device' options, but these options are
hidden, hence add '--help' to show these options
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
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>
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>
putsurface_wayland is a wayland client and should not include
the wayland-server.h header file. Instead, include the
wayland-client.h header instead.
Fixes#34
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
(cherry picked from commit 5f391c0f0e)
fedora-review complain on this old deprecated macro - rhbz#1437937
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
(cherry picked from commit 3e0dc1575c)
putsurface_wayland is a wayland client and should not include
the wayland-server.h header file. Instead, include the
wayland-client.h header instead.
Fixes#34
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>