OSDN Git Service
Sreerenj Balachandran [Wed, 31 May 2017 19:26:43 +0000 (12:26 -0700)]
gen9_avc_encoder: Fix mbenc curbe size of KBL and GLK
Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
peng.chen [Wed, 24 May 2017 06:53:29 +0000 (14:53 +0800)]
Use the down sampled NV12 surface as the RAW surface
This NV12 surface is converted from the input P010 surface
as the input of some kernels
Signed-off-by: peng.chen <peng.c.chen@intel.com>
U. Artie Eoff [Thu, 25 May 2017 17:52:55 +0000 (10:52 -0700)]
README.md: update Slack Team invite URL
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Jun Zhao [Tue, 16 May 2017 15:26:34 +0000 (23:26 +0800)]
Fix AUD insert issue in AVC encoder with GEN6/7.5/8.
If find the AUD NAL in raw data list, it will insert AUD first in
the bitstream.
Fix #155
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Jun Zhao [Tue, 16 May 2017 12:19:46 +0000 (20:19 +0800)]
Fix typo in comments.
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Mark Thompson [Mon, 15 May 2017 20:18:54 +0000 (21:18 +0100)]
Gen9 H.264 encoders: Fix condition for enabling MB rate control
As documented in va.h, it should not be enabled when the user passes
the value 2 here. This now matches the behaviour of the H.265
encoder.
Fixes #166.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
Xiang, Haihao [Tue, 16 May 2017 02:19:19 +0000 (10:19 +0800)]
Bump intel-vaapi-driver to 1.8.3.pre1 for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 12 May 2017 02:01:25 +0000 (10:01 +0800)]
VP8 encoder can support VBR method since using the new media kernel
This fixes https://github.com/01org/intel-vaapi-driver/issues/164
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 13 Apr 2017 07:45:57 +0000 (15:45 +0800)]
This silences a gcc warning
This fixes https://github.com/01org/intel-vaapi-driver/issues/114
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 13 Apr 2017 07:43:04 +0000 (15:43 +0800)]
Fix coding style in the previous commits
Otherwise the pre-commit hook will block the changes to these files
in the future.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Pengfei Qu [Fri, 28 Apr 2017 01:05:03 +0000 (09:05 +0800)]
ENC: fix the low quality at the first GOP for AVC encoder on the platform previous SKL
RC logic initialize the big QP at the first GOP, this cause the low quality.
Fixes #147
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
peng.chen [Tue, 2 May 2017 01:09:52 +0000 (09:09 +0800)]
Improve the performance of HEVC fast level encoding
Fixes #137
Signed-off-by: peng.chen <peng.c.chen@intel.com>
Pengfei Qu [Fri, 5 May 2017 02:25:23 +0000 (10:25 +0800)]
Fix: AVC encoder cause bad frame when quality level 1 on SKL/APL
Fixes #158
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Pengfei Qu [Mon, 17 Apr 2017 08:00:15 +0000 (16:00 +0800)]
Enc:support multi slice for AVC encoder on SKL/APL/KBL
this patch enable the multi slice of AVC encoder. The VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS is added.
Fixes #142
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
U. Artie Eoff [Fri, 28 Apr 2017 02:08:00 +0000 (19:08 -0700)]
test/jpege: skip >4k res test cases on CHV/BSW
Only Gen9+ supports res > 4K for JPEG encoding.
Fixes #149
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Chih-Wei Huang [Wed, 26 Apr 2017 06:02:32 +0000 (14:02 +0800)]
android: move the libraries to /vendor
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Chih-Wei Huang [Fri, 7 Apr 2017 06:10:53 +0000 (14:10 +0800)]
Make the compiler happy
To avoid the error:
src/gen6_mfc_common.c:487:1: error: control may reach end of non-void function [-Werror,-Wreturn-type]
}
^
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Chih-Wei Huang [Fri, 7 Apr 2017 03:01:01 +0000 (11:01 +0800)]
Move source lists into Makefile.sources
Factor the source lists into a shared makefile. This prevents duplicate of
source lists, and hence prevents the Android build from breaking as often.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Chih-Wei Huang [Thu, 6 Apr 2017 10:48:41 +0000 (18:48 +0800)]
android: set the installation path
Use the path similar to linux desktop.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Chih-Wei Huang [Thu, 6 Apr 2017 10:34:16 +0000 (18:34 +0800)]
android: remove the unused script
The gen_version.sh violates the read-only rule of Android build system.
The rules to generate intel_version.h are rewritten. Remove this unused
script.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Chih-Wei Huang [Thu, 6 Apr 2017 10:33:57 +0000 (18:33 +0800)]
android: fix the rules to generate intel_version.h
Android source tree has to be read-only. The generated files should
be put to the $(OUT)/gen/ dir. Rewrite the makefile to be compliant
with the rules.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Chih-Wei Huang [Thu, 6 Apr 2017 09:48:31 +0000 (17:48 +0800)]
android: remove deprecated include paths
The include paths are exported from the linked modules directly.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Chih-Wei Huang [Thu, 6 Apr 2017 07:42:58 +0000 (15:42 +0800)]
android: remove redundant -DANDROID
It has already been defined by the Android build system.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Chih-Wei Huang [Thu, 6 Apr 2017 07:39:51 +0000 (15:39 +0800)]
Remove the unnecessary exec bit
These files are not executables.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
peng.chen [Wed, 19 Apr 2017 02:36:34 +0000 (10:36 +0800)]
Add the support of multi-slices for the HEVC encoder
Signed-off-by: peng.chen <peng.c.chen@intel.com>
Pengfei Qu [Tue, 18 Apr 2017 03:12:23 +0000 (11:12 +0800)]
Enc: support AVC MVC encoder on SKL/APL/KBL
Fixes #143
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Zhao Yakui [Wed, 19 Apr 2017 08:37:50 +0000 (16:37 +0800)]
Fix the suspicious reference before check NULL pointer
Fix #140
https://github.com/01org/intel-vaapi-driver/issues/140
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Xiang, Haihao [Wed, 19 Apr 2017 05:11:49 +0000 (13:11 +0800)]
Merge branch 'v1.8-branch' into 01org--master
Conflicts:
configure.ac
src/gen9_avc_const_def.c
src/gen9_avc_encoder.c
src/gen9_avc_encoder.h
src/gen9_avc_encoder_kernels.c
src/gen9_vme.c
src/i965_avc_encoder_common.h
src/i965_drv_video.c
src/i965_encoder.c
src/i965_encoder_common.h
Daniel Charles [Thu, 13 Apr 2017 01:42:27 +0000 (18:42 -0700)]
gen9_vp9_encoder: fix parameters sent to the shaders
buffer fullness intially has to be set to half the target bitrate.
Also the scaled 4x width and height in mb has to be updated properly
for distortion buffer to operate properly
v2: remove downscaled_width_4x_in_mb and dowscaled_height_4x_in_mb from
gen9_encoder_context_vp9
Fixes #132
TEST="see bug for proper test analysis"
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
jkyu [Thu, 13 Apr 2017 05:04:43 +0000 (01:04 -0400)]
Enable HEVC encoder for GLK
Fix https://github.com/01org/intel-vaapi-driver/issues/134
Signed-off-by: jkyu <jiankang.yu@intel.com>
peng.chen [Thu, 13 Apr 2017 05:23:17 +0000 (13:23 +0800)]
Set the quality range and default level for hevc encoder
Signed-off-by: peng.chen <peng.c.chen@intel.com>
peng.chen [Thu, 13 Apr 2017 05:23:17 +0000 (13:23 +0800)]
Add the RC_VBR in GetConfigAttributes for HEVC encoding
Signed-off-by: peng.chen <peng.c.chen@intel.com>
peng.chen [Thu, 13 Apr 2017 05:23:17 +0000 (13:23 +0800)]
Improve the HEVC encoding quality on SKL/APL/KBL
V1:
1, Update the commit date
2, Add extern to a function prototype
3, Reallocate resource for different resolution pictures
4, Move static constant array ftq_25i[]
5, Free res_pak_slice_batch_buffer before flush the batch buffer
6, Add cache attribute setting
7, Fix write domain issue of output surface
8, Remove the wrong bit setting in pipe_select
9, Correct the licensing declaration
10, Move hevc enc apis declaration to the enc common api file
11, Add two field bits in PAK pic_state
V2:
1, Move QM/FM default tables out of the function
2, Set the private_data for obj_surface before allocating the surface
3, Move hevc_qpc_table[] into gen9_hevc_encoder.c
4, Alocate independent ME gpe context for each HMEs
5, Reconfigure the VFE state
6, Remove the i965_zero_gpe_resource in ALLOC_GPE_RESOURCE
7, Unify the coding style
V3:
1, Fix memory clear size mistake in intra_distortion
2, Disable multi-slices support for HEVC encoding
Signed-off-by: peng.chen <peng.c.chen@intel.com>
peng.chen [Thu, 13 Apr 2017 05:23:17 +0000 (13:23 +0800)]
Add the new kernel binary for the improved HEVC encoder on SKL/APL/KBL
V1:
Move kernel binary into new file
V2:
Unify the coding style
Signed-off-by: peng.chen <peng.c.chen@intel.com>
Wang, Tiantian [Mon, 10 Apr 2017 06:12:24 +0000 (02:12 -0400)]
Check and allocate (if not exist) bo for dst_obj_surface in vpp
This fixes #20
https://github.com/01org/intel-vaapi-driver/issues/20
Signed-off-by: Wang Tiantian <tiantian.wang@intel.com>
Pengfei Qu [Wed, 5 Apr 2017 02:59:48 +0000 (10:59 +0800)]
ENC: add AUD nal unit at the beginning of picture
v0:parse nal type with generic method
Fixes #110
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Víctor Manuel Jáquez Leal [Tue, 11 Apr 2017 17:43:38 +0000 (19:43 +0200)]
dri: error for more unimplemented surface formats
Such as commit
396bf01a, RGB formats are not display correctly
in X11. Hence, return unimplemented error.
Fixes #131
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Víctor Manuel Jáquez Leal [Tue, 11 Apr 2017 12:03:34 +0000 (14:03 +0200)]
Fix: check height alignment against hpitch
Commit
43a75ea introduced a regression when importing dmabuf from v4l2,
returning VA_STATUS_ERROR_INVALID_PARAMETER.
This is because, when checking the check height alignment, the wpitch
was used, when hpitch is the one to compare.
Fixes #129
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Xiang, Haihao [Mon, 10 Apr 2017 08:17:40 +0000 (16:17 +0800)]
intel-vaapi-driver 1.8.1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 24 Mar 2017 01:13:24 +0000 (09:13 +0800)]
Add pre-commit hook
Check that the code follows a consistant coding style before committing.
The current command will be interrupted if the commit doesn't follow the
code style
This fixes https://github.com/01org/intel-vaapi-driver/issues/99
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 23 Mar 2017 07:31:47 +0000 (15:31 +0800)]
Unify the coding style in the driver
Linux coding style is used in the driver source code. Use the command
below to format/indent .c/.h files
$> astyle --style=linux -cnpUH -s4 -M120 <file>
A script of style_unify is added in the top-level directory to
handle all .c/.h files in the driver. There is no change to any
functionality
This fixes https://github.com/01org/intel-vaapi-driver/issues/99
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Sreerenj Balachandran [Thu, 6 Apr 2017 19:05:38 +0000 (12:05 -0700)]
gen9_avc_encoder: macro optimization
Avoid duplicated multiplication, do the frame size
calculation once and reuse the result.
Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Wang, Tiantian [Thu, 30 Mar 2017 01:22:03 +0000 (21:22 -0400)]
Add imported surface alignment check
This fixes issues #62
https://github.com/01org/intel-vaapi-driver/issues/62
Signed-off-by: Wang Tiantian <tiantian.wang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Wang, Tiantian [Thu, 30 Mar 2017 01:35:55 +0000 (21:35 -0400)]
Fix wrong y_cb/cr_offset when the imported surfaces's fourcc is VA_FOURCC_411P
Signed-off-by: Wang Tiantian <tiantian.wang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
jkyu [Thu, 30 Mar 2017 23:28:02 +0000 (19:28 -0400)]
Add the video encoder support for GLK
HEVC encoder will be enabled later.
Fix https://github.com/01org/intel-vaapi-driver/issues/111
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Wang, TianTian<tiantian.wang@intel.com>
Signed-off-by: jkyu <jiankang.yu@intel.com>
Xiang, Haihao [Thu, 6 Apr 2017 13:03:23 +0000 (21:03 +0800)]
Bump intel-vaapi-driver to 1.8.2.pre1 for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 6 Apr 2017 12:57:11 +0000 (20:57 +0800)]
intel-vaapi-driver 1.8.1.pre1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 6 Apr 2017 14:26:09 +0000 (22:26 +0800)]
test: check whether MVC encoding is support
This fixes https://github.com/01org/intel-vaapi-driver/issues/123
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit
e3c99c4a993e4fc9d1c693a99453770bc0d95f1b)
Xiang, Haihao [Thu, 6 Apr 2017 14:26:09 +0000 (22:26 +0800)]
test: check whether MVC encoding is support
This fixes https://github.com/01org/intel-vaapi-driver/issues/123
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Pengfei Qu [Wed, 5 Apr 2017 05:52:13 +0000 (13:52 +0800)]
ENC: Disable the ROI feature of AVC encoder on SKL/APL/KBL
this is WA to disable the feature as the new improved AVC encoder does not support it by now.
Fixes #108
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
eb2b7f3e9f40f32506136be4f2cec3f1b8d1699f)
Pengfei Qu [Wed, 5 Apr 2017 06:21:29 +0000 (14:21 +0800)]
ENC:disable SVC feature of AVC encoder on SKL/APL/KBL
this is WA to disable SVC featrue as new improved AVC does not support it
Fixes #116
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
e984be6a7b6d019fed79db037683cfec4ef09ab9)
Pengfei Qu [Wed, 5 Apr 2017 09:28:23 +0000 (17:28 +0800)]
ENC: Add the attribute of VAConfigAttribEncMaxSlices for AVC/HEVC encoder
this patch enable the VAConfigAttribEncMaxSlices attribute and
this also add WA to disable multi slcie feature on APL/KBL/SKL as the improved AVC encoder does not support it.
Fixes #117
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
49a6356ac4585cfdf85b852b566d29667219055d)
Pengfei Qu [Wed, 5 Apr 2017 06:00:41 +0000 (14:00 +0800)]
ENC: disable MVC feature of AVC encoder on SKL/APL/KBL
this is WA to disable the MVC feature as the new improved AVC encoder does not support it by now.
Fixes #115
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
94425f771292bb0430b755c172a8dfa5c1b80631)
Pengfei Qu [Wed, 5 Apr 2017 05:52:13 +0000 (13:52 +0800)]
ENC: Disable the ROI feature of AVC encoder on SKL/APL/KBL
this is WA to disable the feature as the new improved AVC encoder does not support it by now.
Fixes #108
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Pengfei Qu [Wed, 5 Apr 2017 06:21:29 +0000 (14:21 +0800)]
ENC:disable SVC feature of AVC encoder on SKL/APL/KBL
this is WA to disable SVC featrue as new improved AVC does not support it
Fixes #116
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Pengfei Qu [Wed, 5 Apr 2017 09:28:23 +0000 (17:28 +0800)]
ENC: Add the attribute of VAConfigAttribEncMaxSlices for AVC/HEVC encoder
this patch enable the VAConfigAttribEncMaxSlices attribute and
this also add WA to disable multi slcie feature on APL/KBL/SKL as the improved AVC encoder does not support it.
Fixes #117
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Pengfei Qu [Wed, 5 Apr 2017 06:00:41 +0000 (14:00 +0800)]
ENC: disable MVC feature of AVC encoder on SKL/APL/KBL
this is WA to disable the MVC feature as the new improved AVC encoder does not support it by now.
Fixes #115
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Sebastian Ramacher [Sat, 1 Apr 2017 18:50:22 +0000 (20:50 +0200)]
Fix spelling of 'extended'
Signed-off-by: Sebastian Ramacher <sramacher@debian.org>
Xiang, Haihao [Fri, 31 Mar 2017 07:47:08 +0000 (15:47 +0800)]
intel-vaapi-driver 1.8.0
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Víctor Manuel Jáquez Leal [Mon, 27 Mar 2017 16:05:40 +0000 (09:05 -0700)]
gen8: accept P010 as valid format
The functions gen8_gpe_set_surface2_state() and
gen8_gpe_media_chroma_surface_setup() asserts for the surface color
format, admiting only NV12.
Nonetheless, gen8 also can encoder surfaces with P010 color format.
This patch adds P010 color format in the assertion condition.
Fixes #106
Xiang, Haihao [Mon, 27 Mar 2017 13:30:33 +0000 (21:30 +0800)]
intel-vaapi-driver 1.8.0.pre3
Update NEWS as well
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Pengfei Qu [Mon, 27 Mar 2017 01:43:30 +0000 (09:43 +0800)]
Fix: WA the AVC B frame issue with high profile
this is WA to disable the transform_8x8_mode_flag in the driver.
Fixes #97
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
228e4fc197e2a180dcbfcaba4df2a0717f6ec853)
Pengfei Qu [Fri, 24 Mar 2017 08:09:24 +0000 (16:09 +0800)]
Fix: wrong type define and cause the memory access error
Fixes #101
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
aaca4330a016b9e83c802389921f651ecafefcb5)
Pengfei Qu [Mon, 20 Mar 2017 06:02:31 +0000 (14:02 +0800)]
Encoder: AVC encoder improved on KBL
v1:
add gtest support for quality range on KBL
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
c0ea9ac2f8f4742a1a038f2c1b2255cf4800c3e6)
Pengfei Qu [Mon, 20 Mar 2017 06:02:28 +0000 (14:02 +0800)]
Fix:code refine and replace 52 with Marco defines
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
ef9b655e057a641ad1767bb9c19038f4ed27819a)
Pengfei Qu [Mon, 20 Mar 2017 06:02:24 +0000 (14:02 +0800)]
Encoder: add AVC encoder pipeline support on KBL
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
e9a0038f780bd4822ad472b1059ff1bee2fcd0be)
Pengfei Qu [Mon, 20 Mar 2017 06:02:20 +0000 (14:02 +0800)]
ENC: use common gpe structure in AVC encoder
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
91b79375b8c5550933ef90cf6b2b7c074ba3b818)
Pengfei Qu [Mon, 20 Mar 2017 06:02:17 +0000 (14:02 +0800)]
Encoder: add mbenc structure for KBL
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
beb8d637e80ee13bd98b00097b8799a77680d8a3)
Pengfei Qu [Mon, 20 Mar 2017 06:02:13 +0000 (14:02 +0800)]
Encoder: add AVC const data for KBL
add member variable for KBL.
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
011139fd3cf8c45a08ee90947df254473e12f79d)
Pengfei Qu [Mon, 20 Mar 2017 06:01:09 +0000 (14:01 +0800)]
Encoder: add AVC kernel binary on KBL
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
4b7f68d39521dc3372b7874129c8a15c42aa2d11)
Pengfei Qu [Mon, 27 Mar 2017 01:43:30 +0000 (09:43 +0800)]
Fix: WA the AVC B frame issue with high profile
this is WA to disable the transform_8x8_mode_flag in the driver.
Fixes #97
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Xiang, Haihao [Thu, 23 Mar 2017 03:43:11 +0000 (11:43 +0800)]
Update shaders for VP8 encoding
This fixes https://github.com/01org/intel-vaapi-driver/issues/59
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit
52cf914f355a074933ffaf14071ca1405c98df97)
Pengfei Qu [Fri, 24 Mar 2017 08:09:24 +0000 (16:09 +0800)]
Fix: wrong type define and cause the memory access error
Fixes #101
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Xiang, Haihao [Thu, 23 Mar 2017 03:43:11 +0000 (11:43 +0800)]
Update shaders for VP8 encoding
This fixes https://github.com/01org/intel-vaapi-driver/issues/59
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Pengfei Qu [Mon, 20 Mar 2017 06:02:31 +0000 (14:02 +0800)]
Encoder: AVC encoder improved on KBL
v1:
add gtest support for quality range on KBL
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Pengfei Qu [Mon, 20 Mar 2017 06:02:28 +0000 (14:02 +0800)]
Fix:code refine and replace 52 with Marco defines
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Pengfei Qu [Mon, 20 Mar 2017 06:02:24 +0000 (14:02 +0800)]
Encoder: add AVC encoder pipeline support on KBL
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Pengfei Qu [Mon, 20 Mar 2017 06:02:20 +0000 (14:02 +0800)]
ENC: use common gpe structure in AVC encoder
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Pengfei Qu [Mon, 20 Mar 2017 06:02:17 +0000 (14:02 +0800)]
Encoder: add mbenc structure for KBL
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Pengfei Qu [Mon, 20 Mar 2017 06:02:13 +0000 (14:02 +0800)]
Encoder: add AVC const data for KBL
add member variable for KBL.
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Pengfei Qu [Mon, 20 Mar 2017 06:01:09 +0000 (14:01 +0800)]
Encoder: add AVC kernel binary on KBL
Fixes #73
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Xiang, Haihao [Thu, 16 Mar 2017 07:12:56 +0000 (15:12 +0800)]
intel-vaapi-driver 1.8.0.pre2
Update NEWS as well
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 16 Mar 2017 05:32:13 +0000 (13:32 +0800)]
Avoid NULL pointer in avc_get_first_mb_bit_offset_with_epb()
This fixes https://github.com/01org/intel-vaapi-driver/issues/92
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit
1d43c90ae9f0cf40cabca11bd9f5abb06a31d8ef)
Xiang, Haihao [Thu, 16 Mar 2017 05:32:13 +0000 (13:32 +0800)]
Avoid NULL pointer in avc_get_first_mb_bit_offset_with_epb()
This fixes https://github.com/01org/intel-vaapi-driver/issues/92
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 14 Mar 2017 07:18:37 +0000 (15:18 +0800)]
Check pointers against NULL before using
This fixes https://github.com/01org/intel-vaapi-driver/issues/90
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit
ee5ccfbe72118a43c8f5da1a0304af4ca9fe15b7)
Xiang, Haihao [Tue, 14 Mar 2017 07:18:37 +0000 (15:18 +0800)]
Check pointers against NULL before using
This fixes https://github.com/01org/intel-vaapi-driver/issues/90
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Pengfei Qu [Wed, 15 Mar 2017 03:16:47 +0000 (11:16 +0800)]
Fix:ROI number should be 4
Fixes #88
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
(cherry picked from commit
a0d92a8793028922ee1c1c0c2704c056e9a94a80)
Daniel Charles [Mon, 13 Mar 2017 17:41:13 +0000 (10:41 -0700)]
configure: change package tarball name to use hyphens
Compilation scripts on different distributions (i.e. arch, gentoo) rely
on the tarball name to use hyphens between words.
This patch will create tarballs with hyphenated names and keep the
legacy package naming
TEST="make dist, should produce intel-vaapi-driver.tar.*"
Fixes #85
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
(cherry picked from commit
a06c385f99319abc541723b5e42f8e8db288a0f2)
Leonardo Taccari [Mon, 6 Mar 2017 21:40:25 +0000 (22:40 +0100)]
i965_decoder_utils: replace alloca(3) with malloc(3) and free(3)
alloca(3) usage is less portable than malloc(3)/free(3) (this fixes
issue #76 pointed out by building intel-vaapi-driver on NetBSD).
Suggested and thanks to @xhaihao and @yakuizhao via pull request #77.
Signed-off-by: Leonardo Taccari <iamleot@gmail.com>
(cherry picked from commit
ef83d404e54cd797a9485ce0c4359ec0e6a8b759)
peng.chen [Fri, 10 Mar 2017 07:19:25 +0000 (02:19 -0500)]
Add the support for GLK in the intel-driver
Decoder and VPP are enabled with this patch.
Encoder will be enabled later.
Fix https://github.com/01org/intel-vaapi-driver/issues/80
Signed-off-by: Peng.Chen <peng.c.chen@intel.com>
Signed-off-by: Yu, JianKang <jiankang.yu@intel.com>
Signed-off-by: Wang, TianTian<tiantian.wang@intel.com>
Pengfei Qu [Wed, 15 Mar 2017 03:16:47 +0000 (11:16 +0800)]
Fix:ROI number should be 4
Fixes #88
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Daniel Charles [Mon, 13 Mar 2017 17:41:13 +0000 (10:41 -0700)]
configure: change package tarball name to use hyphens
Compilation scripts on different distributions (i.e. arch, gentoo) rely
on the tarball name to use hyphens between words.
This patch will create tarballs with hyphenated names and keep the
legacy package naming
TEST="make dist, should produce intel-vaapi-driver.tar.*"
Fixes #85
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
Leonardo Taccari [Mon, 6 Mar 2017 21:40:25 +0000 (22:40 +0100)]
i965_decoder_utils: replace alloca(3) with malloc(3) and free(3)
alloca(3) usage is less portable than malloc(3)/free(3) (this fixes
issue #76 pointed out by building intel-vaapi-driver on NetBSD).
Suggested and thanks to @xhaihao and @yakuizhao via pull request #77.
Signed-off-by: Leonardo Taccari <iamleot@gmail.com>
Lim Siew Hoon [Wed, 8 Mar 2017 11:51:22 +0000 (19:51 +0800)]
Fix src_obj_surf->orig_height assign to src_rect.height.
Fixes https://github.com/01org/intel-vaapi-driver/issues/79
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Xiang, Haihao [Tue, 7 Mar 2017 15:53:17 +0000 (23:53 +0800)]
Bump intel-vaapi-driver to 1.8.1.pre1 for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 7 Mar 2017 06:37:49 +0000 (14:37 +0800)]
Update NEWS for 1.8.0.pre1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Pengfei Qu [Fri, 3 Mar 2017 09:46:19 +0000 (17:46 +0800)]
Fix the quality range regression issue
v1:
use bool to define the member
define the one map data for quality range according to the platform type
Fixed #72
For low quali# Please enter the commit message for your changes. Lines starting
Zhao Yakui [Mon, 6 Mar 2017 05:38:17 +0000 (13:38 +0800)]
VDENC: Avoid using the first index reference frame for the invalid reference
Maybe the ref_list_idx[0][X] is also initialized to zero even for the invalid
reference frame, which is also regarded as valid. In such case the
VDENC_PIPE_BUF will program the valid GPU address for the invalid reference.
>For example: FWD Ref1 is invalid
Fix #70
https://github.com/01org/intel-vaapi-driver/issues/70
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Pengfei Qu [Tue, 14 Feb 2017 09:51:25 +0000 (17:51 +0800)]
ENC:support more quality level and switch to new AVC encoder solution on SKL/APL
v1:
add AVC encoder support on APL
Fixes #43
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Reviewed-by: Sean V Kelley<seanvk@posteo.de>
Pengfei Qu [Tue, 14 Feb 2017 09:46:12 +0000 (17:46 +0800)]
ENC: add MFX pipeline for AVC encoder
MFX pipeline:
add MFX command for AVC encoder
add MFX Picture slice level command init for AVC
add MFX pipeline init prepare run for AVC encode
add VME/MFX context init for AVC encoder
v1:
set memory MOCS property
v2:
add Macro definition of the AVC quality level range
v3:
add check for the reference frame num.
Fixes #43
Reviewed-by: Sean V Kelley<seanvk@posteo.de>
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>