OSDN Git Service
Haihao Xiang [Fri, 31 Aug 2018 05:10:13 +0000 (13:10 +0800)]
Add a new KBL PCI ID
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Bernd Kuhls [Sun, 29 Jul 2018 18:55:23 +0000 (20:55 +0200)]
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
Haihao Xiang [Thu, 19 Jul 2018 08:14:46 +0000 (16:14 +0800)]
Enable multiple pass by default
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Fri, 20 Jul 2018 06:05:51 +0000 (14:05 +0800)]
Change the sequence of reading MMIO registers
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Fri, 20 Jul 2018 04:54:35 +0000 (12:54 +0800)]
Removed the padded bytes
Image status mask and ctrl are used as compare mask and data
in MI_CONDITIONAL_BATCH_BUFFER_END, so they must be adjacent
in memory
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Fri, 20 Jul 2018 06:23:02 +0000 (14:23 +0800)]
Use the original picture size
vp8_context->frame_width/vp8_context->frame_height is aligned to 16 bytes,
however the original size is required
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Thu, 19 Jul 2018 07:16:15 +0000 (15:16 +0800)]
Correct the base address for the 2nd level batchbuffer
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Thu, 5 Jul 2018 05:39:54 +0000 (13:39 +0800)]
intel-vaapi-driver 2.2.1.pre1 for development
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Tue, 3 Jul 2018 05:56:04 +0000 (13:56 +0800)]
intel-vaapi-driver 2.2.0.pre1
Update NEWS and bump the version for 2.2.0.pre1
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Tue, 15 May 2018 05:02:22 +0000 (13:02 +0800)]
VPP: clear a surface using media pipeline on GEN8+
Remove the extra sync between BCS and CS rings
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Fri, 1 Jun 2018 04:50:26 +0000 (12:50 +0800)]
render: clear background using 3D pipeline on GEN8+
Remove the extra sync between BCS and CS rings
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Mon, 4 Jun 2018 05:27:55 +0000 (13:27 +0800)]
Update some CSC kernels for packed pixels
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Tue, 15 May 2018 05:02:22 +0000 (13:02 +0800)]
Move the function declaration to an internal header file
gen9_p010_scaling_post_processing was added for VPP internal usage only
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Nicolas Chauvet [Fri, 23 Mar 2018 11:08:01 +0000 (12:08 +0100)]
Don't show an error on hybrid driver failure
Distribution wants to have situation where both
hybrid/i965 drivers are avaible. Even when only the latter
is relevant on a given hardware.
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
Chih-Wei Huang [Thu, 31 May 2018 10:51:54 +0000 (18:51 +0800)]
android: get vaapi version from configure.ac
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Chih-Wei Huang [Thu, 31 May 2018 10:51:31 +0000 (18:51 +0800)]
android: get libva version from va_version.h
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Pierre Rudloff [Sun, 10 Jun 2018 09:23:40 +0000 (11:23 +0200)]
Update README.md
Fix title
Haihao Xiang [Fri, 18 May 2018 07:13:18 +0000 (15:13 +0800)]
Always set pre/post deblocking output buffer
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
carpalis [Sun, 20 May 2018 12:27:46 +0000 (14:27 +0200)]
genX_mfd: fix out-of-bounds reference pixel replication
Out-of-bounds reference pixel replication should take into account the frame
coding mode of the reference frame(s), not the frame coding mode of the
current frame.
Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
Patrick Waterlander [Wed, 30 May 2018 20:45:54 +0000 (13:45 -0700)]
i965_pciids: add kbl-y refresh PCI ID
Signed-off-by: Patrick Waterlander <patrick.waterlander@intel.com>
ottingerg [Wed, 16 May 2018 19:54:51 +0000 (21:54 +0200)]
make sure there is no copy_buffer_to_golden/copy_buffer_to_alternate if refresh_golden/refresh_alternate is set
ottingerg [Fri, 11 May 2018 19:37:11 +0000 (21:37 +0200)]
make sure reference objects are placed in the same slot / remove asserts
ottingerg [Fri, 11 May 2018 07:54:31 +0000 (09:54 +0200)]
vp8 encoder parameter check - do not check for ref frames if no no_ref_X flag is set
In VP8 encoding not always all reference frames (last, golden, altref) are provided.
This is indicated with the flags ref_flags.bits.no_ref_last, ref_flags.bits.no_ref_gf
and ref_flags.bits.no_ref_arf in VAEncPictureParameterBufferVP8.
While checking picture parameters, make sure that assert errors concerning invalid
reference frame only occure if no_ref_X is not set.
Mark Thompson [Wed, 25 Apr 2018 22:44:33 +0000 (23:44 +0100)]
Use f_code to determine max MV length
The motion vector length is constrained by the level but not set by it -
we should instead use the f_code values to set the max MV length.
This fixes encoding when the f_code values are not set to the highest
allowed for the level, and also adds support for intermediate levels such
as High 1440 which were not previously handled here.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
Mark Thompson [Thu, 15 Mar 2018 00:06:41 +0000 (00:06 +0000)]
Do not return FEI caps for non-FEI entrypoints
Signed-off-by: Mark Thompson <sw@jkqxz.net>
carpalis [Thu, 29 Mar 2018 07:37:44 +0000 (09:37 +0200)]
genX_mfd: ignore FASTUVMC for interlace frame P and B pictures
Interlace frame P and B pictures should ignore the FASTUVMC syntax element, as
stated in section 10.7.3.7 of VC-1 spec. Furthermore, prevent using the MVMODE
syntax element for interlace frame P and B pictures, as these picture types do
not include MVMODE or MVMODE2.
Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
Haihao Xiang [Thu, 15 Mar 2018 06:56:44 +0000 (14:56 +0800)]
Set the right height for VP9 encoding
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Wed, 14 Mar 2018 06:21:05 +0000 (14:21 +0800)]
Add '-fstack-protector' to CFLAGS
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Wed, 14 Mar 2018 04:45:32 +0000 (12:45 +0800)]
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
This fixes https://github.com/intel/intel-vaapi-driver/issues/364
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Mark Thompson [Tue, 13 Feb 2018 19:44:54 +0000 (19:44 +0000)]
Fix packed headers attribute test in vaCreateConfig()
If packed headers are supported, then the provided value must be some
(possibly empty) subset of the supported headers.
This fixes config creation with an empty packed header set, which the
user may pass if they don't want to provide any packed headers. This
pattern is used in at least libavcodec, where VP9 encoding is broken
prior to this change.
Since there is intent to deprecate this behaviour in future, also add
warnings to this case and the other possible failure modes here.
Fixes #362.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
peng.chen [Fri, 16 Mar 2018 05:44:56 +0000 (13:44 +0800)]
Fix a potential over run issue
Haihao Xiang [Wed, 14 Mar 2018 05:47:48 +0000 (13:47 +0800)]
Remove dead code
GEN95_AVC_MAX_LAMBDA is always less than 0xfffa and 0xffef
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 14 Mar 2018 03:58:23 +0000 (11:58 +0800)]
Remove self-assignment
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 14 Mar 2018 03:09:08 +0000 (11:09 +0800)]
Fix typo of variable name in JPEG decoding
h2 is typo of h1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 14 Mar 2018 03:00:31 +0000 (11:00 +0800)]
Add the missing 'break' in switch
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 14 Mar 2018 02:49:43 +0000 (10:49 +0800)]
Remove dead code
tmp_id is always VA_INVALID_ID
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 14 Mar 2018 02:25:04 +0000 (10:25 +0800)]
Remove 'if' statement
The two branches execute the same code
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 14 Mar 2018 01:25:20 +0000 (09:25 +0800)]
Fix typo of variable name
It should be height instead of width
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 14 Mar 2018 00:53:09 +0000 (08:53 +0800)]
Remove decode code.
The condition 'qp < 0' is not true.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 13 Mar 2018 08:39:03 +0000 (16:39 +0800)]
Don't compare an array against NULL
Instead we should use the corresponding pointers
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 13 Mar 2018 06:23:33 +0000 (14:23 +0800)]
Make sure a pointer is valid before using
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 13 Mar 2018 05:58:50 +0000 (13:58 +0800)]
Don't compare an unsigned variable with 0
For an unsigned variable xxx, 'xxx < 0U' is always false, and 'xxx >=
0U' is always true
In addition, this commit fixes a minor syntax error.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 13 Mar 2018 05:26:02 +0000 (13:26 +0800)]
Check function return value
i965_gpe_allocate_2d_resource() may return error
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 13 Mar 2018 04:50:50 +0000 (12:50 +0800)]
Correct the valid buffer size
Otherwise it might result in out-of-bounds access of i965->va_vendor
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Víctor Manuel Jáquez Leal [Wed, 14 Feb 2018 13:31:00 +0000 (14:31 +0100)]
Remove implicit truncation from unsigned int to bit field
All the members of struct i965_sampler_8x8_coefficient are signed
int of 8 bit long (ranging from -128 to 127).
But there is an assignation of 1U<<7 which is implicitly truncated
to -128.
To make explicit the casting, without losing the expresiveness of
the bitwise operation, this patch adds a macro which uses the
anonymous union technique.
Víctor Manuel Jáquez Leal [Wed, 14 Feb 2018 12:42:53 +0000 (13:42 +0100)]
Remove implicit truncations from int to bit-field
All the members in the structures scoreboard1 and scoreboard2 are
signed int of 4 bit long (this means they only admit values from
-8 to 7).
Along the code, these structures are assigned with values bigger
than 7 which are implicitly truncated to negative numbers. For
example, 0xF -> -1 or 0xE -> -2
It is better to explictly show the assigned values than rely on
implicit convertions. This patch aims to that direction.
Víctor Manuel Jáquez Leal [Wed, 14 Feb 2018 07:33:35 +0000 (08:33 +0100)]
Remove spurious assignations
Víctor Manuel Jáquez Leal [Wed, 14 Feb 2018 13:50:08 +0000 (14:50 +0100)]
build: fix meson build
When X11 is found, the variable assigned is HAVE_X11 but the used
one is WITH_X11, failing to define it in the config header.
Haihao Xiang [Wed, 7 Mar 2018 03:12:05 +0000 (11:12 +0800)]
Update .travis.yml
Like what we did in commit
14a2088 for libva, the corresponding fix is
also required for this driver to avoid locking dpkg file by an
unattended `apt-get` call
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Haihao Xiang [Thu, 8 Mar 2018 05:20:32 +0000 (13:20 +0800)]
Merge branch 'v2.1-branch' into master
Haihao Xiang [Mon, 12 Feb 2018 06:36:21 +0000 (14:36 +0800)]
intel-vaapi-driver 2.1.0
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Víctor Manuel Jáquez Leal [Fri, 3 Nov 2017 14:47:26 +0000 (15:47 +0100)]
Add meson support
Víctor Manuel Jáquez Leal [Thu, 1 Feb 2018 08:40:53 +0000 (09:40 +0100)]
build: delete shaders targets at distclean
Víctor Manuel Jáquez Leal [Thu, 1 Feb 2018 08:10:14 +0000 (09:10 +0100)]
build: EXTRA_DIST doesn't recognize wildcards
Víctor Manuel Jáquez Leal [Thu, 1 Feb 2018 08:08:36 +0000 (09:08 +0100)]
build: add to VPATH src and build dirs
In order to make out-of-tree builds and distcheck to work, we should
set the VPATH to look for sources also in srcdir and builddir.
Víctor Manuel Jáquez Leal [Thu, 1 Feb 2018 08:07:19 +0000 (09:07 +0100)]
build: automake options in configure.ac
Consolidate automake options in configure.ac rather than have them
dispersed.
Víctor Manuel Jáquez Leal [Mon, 22 Jan 2018 16:01:06 +0000 (17:01 +0100)]
build: remove undefined variable
WAYLAND_CFLAGS is not defined by configure.ac
Víctor Manuel Jáquez Leal [Mon, 22 Jan 2018 14:34:09 +0000 (15:34 +0100)]
build: autotools: clean check for wayland dependency
Clean up the the checks for wayland dependencies.
Víctor Manuel Jáquez Leal [Mon, 22 Jan 2018 14:30:11 +0000 (15:30 +0100)]
build: autotools: don't check for X11 libraries
The driver doesn't link with any X11 library so there is no need to
check for their pkgconfig's data.
Víctor Manuel Jáquez Leal [Mon, 22 Jan 2018 14:04:08 +0000 (15:04 +0100)]
build: autotools: don't check for EGL
libEGL is loaded in run-time using dlopen, thus there is no need to
check for it at comiplation time.
Víctor Manuel Jáquez Leal [Mon, 22 Jan 2018 14:14:24 +0000 (15:14 +0100)]
build: autotools: check for dlopen library
Víctor Manuel Jáquez Leal [Mon, 22 Jan 2018 13:58:46 +0000 (14:58 +0100)]
build: autotools: remove useless --enable-drm parameter
Link with libdrm is mandatory, thus there is no need for a configure
parameter.
In the other hand, link with libva-drm is only required when the unit
tests are enabled.
Víctor Manuel Jáquez Leal [Mon, 22 Jan 2018 13:07:04 +0000 (14:07 +0100)]
build: test: enable out-of-source building
It is a good practice to build packages out-of-source tree, but its
support for the unit test is not correct. This patch enables it.
Víctor Manuel Jáquez Leal [Mon, 22 Jan 2018 14:50:50 +0000 (15:50 +0100)]
build: automake: add -Wno-portability
In order to suppress the warning
src/Makefile.am:117: warning: '%'-style pattern rules are a GNU make extension
Víctor Manuel Jáquez Leal [Fri, 3 Nov 2017 13:08:17 +0000 (14:08 +0100)]
build: Remove unused variable
Fixes: #327
Víctor Manuel Jáquez Leal [Fri, 3 Nov 2017 14:47:41 +0000 (15:47 +0100)]
build: Add libdrm_intel dependency
Fixes: #326
Víctor Manuel Jáquez Leal [Mon, 22 Jan 2018 14:14:03 +0000 (15:14 +0100)]
build: fix variable name
Xiang, Haihao [Wed, 31 Jan 2018 07:14:47 +0000 (15:14 +0800)]
intel-vaapi-driver 2.1.0.pre1
Update NEWS and bump a new version
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 2 Feb 2018 04:23:58 +0000 (12:23 +0800)]
Support VBR for HEVC 10bit
VBR should be returned when querying the supported RC modes for
VAProfileHEVCMain10/VAEntrypointEncSlice pair
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 2 Feb 2018 01:26:56 +0000 (09:26 +0800)]
intel-vaapi-driver 2.1.1.pre1 for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
U. Artie Eoff [Thu, 1 Feb 2018 21:46:52 +0000 (13:46 -0800)]
test: add virtual dtor to abstract classes
Abstract classes should have virtual destructors.
Missing virtual dtor's can be detected with
-Wnon-virtual-dtor compiler flag, too.
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Xiang, Haihao [Thu, 1 Feb 2018 08:31:22 +0000 (16:31 +0800)]
Fix a typo
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 31 Jan 2018 07:54:47 +0000 (15:54 +0800)]
Add the missing files to the corresponding lists
Otherwise, the tar ball created by 'make dist' doesn't include these
files
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Sreerenj Balachandran [Wed, 31 Jan 2018 03:27:54 +0000 (18:27 -0900)]
i965_avc_encoder: Fix possible NULL pointer dereferencing
Xiang, Haihao [Tue, 30 Jan 2018 07:34:20 +0000 (15:34 +0800)]
ENC/VP8: set value to VA_ATTRIB_NOT_SUPPORTED when querying VAConfigAttribEncPackedHeaders
vaGetConfigAttributes() should return VA_ATTRIB_NOT_SUPPORTED if the
corresponding attribute is not supported for a given profile/entrypoint
pair. The driver doesn't support any packed header from application for
VP8 encoding.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 22 Jan 2018 03:03:22 +0000 (11:03 +0800)]
Return surface width/height in pixels
width/height in VADRMPRIMESurfaceDescriptor specifies the
surface width/height in pixels in VA-API, so we should set
the corresponding variables in pixels in the driver
This fixes https://github.com/01org/intel-vaapi-driver/issues/342,
thanks pkerling for the investigation and proposed fix for this issue.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 17 Jan 2018 06:13:00 +0000 (14:13 +0800)]
Enable VP9 non-low power encoding
We re-use KBL VP9 code
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 26 Dec 2017 13:00:47 +0000 (21:00 +0800)]
Add support for VDEnc VP9 CBR/VBR mode on CNL
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 19 Sep 2017 08:44:35 +0000 (16:44 +0800)]
Add support for VDEnc VP9 CQP mode on CNL
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 21 Sep 2017 07:42:52 +0000 (15:42 +0800)]
Add flags for VP9 low power encoding mode
Add some related checks as well
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 26 Dec 2017 08:25:54 +0000 (16:25 +0800)]
Add a flag for VP9 BRC mode in struct hw_codec_info
Use this new flag to check the supported BRC mode
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
peng.chen [Sat, 23 Sep 2017 06:37:38 +0000 (14:37 +0800)]
Add vdenc common commands for CNL
It provides helper functions for low power encoding on CNL
Signed-off-by: peng.chen <peng.c.chen@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 19 Sep 2017 06:18:04 +0000 (14:18 +0800)]
Add HuC common commands for CNL
It provides helper functions for low power encoding on CNL
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Signed-off-by: peng.chen <peng.c.chen@intel.com>
Xiang, Haihao [Tue, 14 Nov 2017 07:50:51 +0000 (15:50 +0800)]
Add GPE function for MI_COPY_MEM_MEM command
This function is used to reads 4 bytes from memory and stores the value
of that 4 bytes to back to memory, both source and destination addresses
are Per Process Graphics Address
It is a helper function for low power encoding support
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 26 Jan 2018 07:35:22 +0000 (15:35 +0800)]
Avoid dereferencing a pointer before checking pointer against NULL
It is possible a sequence parameter buffer is not provided by
application.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 25 Jan 2018 06:41:29 +0000 (14:41 +0800)]
New PCI IDs for CFL
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 23 Jan 2018 06:25:15 +0000 (14:25 +0800)]
CQP is supported for jpeg
This fixed regression since
336d891
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 23 Jan 2018 02:56:25 +0000 (10:56 +0800)]
VP8 encoding doesn't require packed header
The corresponding value is set to VA_ENC_PACKED_HEADER_NONE when
querying the supported packed headers. This fixes the regression
caused by
cccf2a3 when using FFmpeg/vaapi
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Pengfei Qu [Thu, 18 Jan 2018 09:39:36 +0000 (17:39 +0800)]
ENC:fix min resolution check for encoder
JPEG encoder allow min resolution 1x1
add min resolution check in vaCreateContext to avoid gtest failture
add fix for gtest case
fix the regression in
88249259d4abb2fd701ed3db229941738da2497e
Fixes #330 #333
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
U. Artie Eoff [Tue, 23 Jan 2018 04:25:31 +0000 (20:25 -0800)]
test/avce_context: update RC expectation for Stats entrypoint
Rate control attribute is unsupported for AVCE VAEntrypointStats.
This fixes the following test regressions since
336d8913aa30:
AVCEncode/AVCEContextTest.RateControl/3, where GetParam()
= (VAProfileH264ConstrainedBaseline, VAEntrypointStats)
AVCEncode/AVCEContextTest.RateControl/7, where GetParam()
= (VAProfileH264Main, VAEntrypointStats)
AVCEncode/AVCEContextTest.RateControl/11, where GetParam()
= (VAProfileH264High, VAEntrypointStats)
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Xiang, Haihao [Fri, 19 Jan 2018 05:48:56 +0000 (13:48 +0800)]
Check the flags of the packed headers when creating a config
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 19 Jan 2018 05:26:35 +0000 (13:26 +0800)]
Check the requirement on RC mode
This fixes https://github.com/01org/intel-vaapi-driver/issues/337
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 19 Jan 2018 03:01:29 +0000 (11:01 +0800)]
Check decoding mode
VA_DEC_SLICE_MODE_NORMAL is supported only for decoding
This fixes https://github.com/01org/intel-vaapi-driver/issues/336
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 13 Jul 2017 01:54:19 +0000 (09:54 +0800)]
Update .gitignore
Filter out generated Gen assembly files
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Oct 2017 21:09:51 +0000 (05:09 +0800)]
Use generic register instead of acc0 to calculate the Y/U/V or R/G/B offset
The instruction 'mov' cannot assign acc0 with :v anymore on CNL, so all AVS shaders
doesn't work as expected. Replacing acc0 with GRF registers works well on CNL and it
works on GEN8/GEN9 too.
v2: update code style
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Pengfei Qu [Wed, 17 Jan 2018 04:21:51 +0000 (12:21 +0800)]
ENC: add sanity check for invalid input resolution of encoder
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Pengfei Qu [Tue, 16 Jan 2018 06:02:45 +0000 (14:02 +0800)]
ENC: add mininum resolution query for encoder
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Xiang, Haihao [Mon, 15 Jan 2018 05:51:35 +0000 (13:51 +0800)]
Fix AVC encoding regression on KBL/GLK/CFL
adaptive transform decision is disabled by default for KBL/GLK/CFL
This fixes https://github.com/01org/intel-vaapi-driver/issues/323
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
jkyu [Thu, 22 Jun 2017 04:12:50 +0000 (00:12 -0400)]
enc: Add restriction to vp9 encoder frame rate to avoid hang
Signed-off-by: jkyu <jiankang.yu@intel.com>
Pengfei Qu [Tue, 26 Dec 2017 09:08:27 +0000 (17:08 +0800)]
ENC: fix AVC multi slice
Fixes #324
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>