1. Use FourCC VA_FOURCC_BGRP to indicate Planar BGR format;
2. Share the same surface layout VA_RT_FORMAT_RGBP as Planar RGB.
Signed-off-by: Furong Zhang <furong.zhang@intel.com>
When updating libva-utils from 2.4.0 to 2.6.0 in Chrome OS I bumped into
the following error:
portage/media-video/libva-utils-2.6.0-r1/work/libva-utils-2.6.0/videoprocess/vppscaling_n_out_usrptr.cpp:41:10: fatal error:
'va/va_x11.h' file not found
Signed-off-by: Edward Baker <edward.baker@intel.com>
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
v2: remove gtest meson file
v3: install binaries
respect disabled libraries
apply cpp_args to all test files
add full version
v4: define HAVE_* macros
v5: Downgrade meson requirement to 0.42.0
malloc/calloc/realloc/strdup may return NULL, so we should check the returned
pointer before using.
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
vaPutSurface only used in libva-utils. The actual application/omx
implementation never use it.
It will introduce many header files in android framework.Android change
rapidly, the directory or file name changed in versionto version. It's
hard to catch up and maintain support for many versionof android.
Add new Android.mk in the top source directory and some sub-directories,
update some existent Android.mk files. Then I fixed compilation errors
Signed-off-by: Xiang, Haihao <haihao.xiang@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>