Since intel/libva#250, driver names are no longer restricted
to a whitelist. Thus, any driver name is legal except for
a few corner cases (i.e. empty name and name > 255 chars).
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@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
Otherwise the package made by 'make dist' fails to build with similar
errors below:
CC avcstreamoutdemo.o
avcstreamoutdemo.c:46:10: fatal error: avcstreamoutdemo.h: No such file
or directory
#include "avcstreamoutdemo.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:456: recipe for target 'avcstreamoutdemo.o' failed
make[1]: *** [avcstreamoutdemo.o] Error 1
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
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>
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>
vp8enc is a simple VP8 encoder application.
It expects yuv420p raw video input and support
CQP, CBR and VBR modes. Encoded video is stored
in the IVF container fileformat.
It supports 2 or 3 temporal layers, which can
be activated by using the '--temp_svc X' command
line.
Note that the alternate reference frame is
not used - this design decission was carried
on from libyami - in order to allow single
Layer 2 frames to be dropped independently.
vp8enc and VP8 SVCT are part part of GSOC 2018.
Fixes https://github.com/intel/libva-utils/issues/108
The following fixes were done during the merge
processs:
fix typo in vp8enc_show_help
fix numbering of long_opts and minor typos
changed comment concerning QMatrix
added dedicated input surface
remove unecessary parameter settings for KEY Frames
changed assert to return VP8ENC_FAIL in command line checks
moved is_golden_refreshed to vaapi_context
added thread support for processing the input yuv
Conformance tests should be as generic as possible and
not assume availability of any specific driver.
Fixes#93Fixes#94Fixes#95
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
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>
Driver should allow 0x0 (i.e. VA_ENC_PACKED_HEADER_NONE) value
for the VAConfigAttribEncPackedHeaders attribute during
vaCreateConfig when the attribute is supported.
This test supercedes intel/intel-vaapi-driver#361
Also see intel/intel-vaapi-driver#358 and intel/libva#178
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Like what we did in commit 14a2088 for libva, the corresponding fix is
also required for libva-utils to avoid locking dpkg file by an
unattended `apt-get` call
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
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>
Drivers aren't required to implement display attribute
support. Thus, handle and validate paths where this
is the case.
Fixes#96
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Allow custom skip test message.
Basic checks to determine whether a test should be
skipped could fail (e.g. query profiles/entrypoints
to determine if test should be skipped). Thus, don't
log test as skipped if there are any failures before
the test fixture destructs.
Fixes#99
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
vaCreateBuffer needs the sizeof the actual buffer
data structure associated with the buffer type, which
could be profile specific.
Previous test logic was passing the sizeof the
buffer "type" enum, which is wrong.
Fix the tests so that the correct buffer size is
calculated based on profile specific buffer types.
Several buffer types were removed from the previous test
parameters since their size may be application specific,
arbitrary, and/or require additional setup beyond the
capabilities of the current buffer test cases. These
rules will need to be fleshed-out and tests for them
added later on.
Fixes#89
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
The result of doGetMaxNumConfigAttribs is only needed
by queryConfigAttributes. Thus, just call
vaMaxNumConfigAttributes in queryConfigAttributes when
necessary (it should have low call overhead). This
also removes the need to use a member state variable.
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Existing profile/entrypoint methods require too
much state overhead in the fixture and force tests
to make multiple calls to different methods to get
the information they need. Thus, add new methods
for profile/entrypoint queries so tests can regain
more control and simplicity. These new methods
also do not require member variables to operate.
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>