Commit Graph

22 Commits

Author SHA1 Message Date
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
Haihao Xiang 72dab0c109 vavpp: csc with AYUV format
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2019-03-13 14:04:23 +08:00
Haihao Xiang fc8944a2c4 vavpp: requires BGRA frame when saving a BGRA file
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2019-03-13 13:54:25 +08:00
kelly-du 76df4460fb add VP sample for Blending.
Signed-off-by: kelly-du <kelly.du@intel.com>
2019-02-01 06:49:01 -08:00
kelly-du 375e4eaae3 add VP seperate sample for scaling,csc,sharpness,denoise,chromasitting.
Signed-off-by: kelly-du <kelly.du@intel.com>
2018-11-01 14:04:14 +08:00
Haihao Xiang 1bea64e121 Add '-Wall' or '-fstack-protector' compilation flags
In addition, this fixes all warnings reported by -Wall

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2018-06-05 14:18:03 +08:00
tiantian 71fc4bb9ba add vainfo support in android
Signed-off-by: tiantian <tiantian.wang@intel.com>
2018-06-05 13:45:17 +08:00
Lionel Landwerlin 5b10b33025 add meson build
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
2018-03-21 08:34:47 +08:00
Haihao Xiang 90e524f551 Fix resource leak
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2018-03-19 16:18:23 +08:00
Haihao Xiang d084e2b359 Make sure there is no out-of-bound access
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2018-03-19 16:18:23 +08:00
Haihao Xiang e36fda43a7 Check pointers before using it
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>
2018-03-19 16:18:23 +08:00
Xu Guangxin 9c42f5ae8b android: remove vaPutSurface dependency
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.
2018-01-26 10:33:56 +08:00
Xiang, Haihao 7b4827ed5e vavpp: read / write RGB32 surface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-12-19 12:30:08 -08:00
Xiang, Haihao 2385910bee Build libva-utils on 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>
2017-09-29 14:51:42 +08:00
Xiang, Haihao d941b8b179 vavpp: Add support for P010/I010 YUV surface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-09-06 09:35:00 +08:00
Xiang, Haihao e9f41e1e95 vavpp: Add support for NV12 input file
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-09-06 09:35:00 +08:00
Xiang, Haihao 079c03bdb5 vavpp: User can set output file format
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-09-06 09:35:00 +08:00
Xiang, Haihao b843b74ba6 vavpp: support YUY2 / UYVY source file
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-09-06 09:35:00 +08:00
Xiang, Haihao c187d36744 vavpp: User can set the source YUV file format
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2017-09-06 09:35:00 +08:00
Sirisha Muppavarapu 65ae1676d4 vavpp: Added code in the unit test to support optimization of STDE.
The current enhancement will support STDE optimization for STDE factors:
0(default), 3, 6 and 9
2017-09-06 09:35:00 +08:00
Sirisha Muppavarapu 3498707b0f vavpp: Add STDE(Skin tone detection and enhancement) test case.
In this commit, I added a testcase for VPP-STDE feature.
I also made relevant changes to the methods and the config file.
2017-09-06 09:35:00 +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