Zhao Yakui [Tue, 4 Mar 2014 08:23:07 +0000 (16:23 +0800)]
Use the XXX_render_put_surface/put_subpicture as callback function for rendering
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit
9db92268b7b7bf6763ae76df0021608effe260ec)
Zhao Yakui [Tue, 4 Mar 2014 08:23:07 +0000 (16:23 +0800)]
Define i965_DestroySurfaces in header file explicitly to avoid multiple declaration
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit
af0687252bfc6f81ff5361feedba7ec8989b3555)
Zhao Yakui [Tue, 4 Mar 2014 01:08:43 +0000 (09:08 +0800)]
BDW: Follow the spec to add the MEDIA_STATE_FLUSH before MEDIA_INTERFACE_LOAD
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit
a90acbe7f08d66084e70113859198c3975f63b80)
Zhao Yakui [Tue, 4 Mar 2014 01:08:38 +0000 (09:08 +0800)]
bdw: Follow the spec to update the PIPE_CONTROL command
This is the hardware requirement.
Signed-off-by: Zhao Yakui <Yakui.zhao@intel.com>
(cherry picked from commit
fc4d39f3b849366ed04223620fa371d76cf813b0)
Zhao Yakui [Tue, 4 Mar 2014 01:08:34 +0000 (09:08 +0800)]
bdw: Fix the FENCE message in GPU shader for H264 encoding
Use the real register as write_back register instead of NULL register
although the Fence Message doesn't touch it.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit
7ac4263ff2dae5c877b92356d04df4ccfe10d7c9)
Xiang, Haihao [Tue, 25 Mar 2014 00:55:14 +0000 (08:55 +0800)]
1.3.1.pre1 for development
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 24 Mar 2014 11:12:07 +0000 (19:12 +0800)]
Intel driver 1.3.0
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 24 Mar 2014 08:52:52 +0000 (16:52 +0800)]
Fix the broken package made by 'make dist'
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 18 Mar 2014 00:49:04 +0000 (08:49 +0800)]
Fix broken make dist
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 17 Mar 2014 04:50:08 +0000 (12:50 +0800)]
Bump version to 1.3.0.pre1
To build the code, a new version of VA-API is needed, so
update the dependency on VA-API as well
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 18 Mar 2014 00:40:45 +0000 (08:40 +0800)]
Update NEWS
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 3 Mar 2014 02:34:43 +0000 (19:34 -0700)]
configure.ac: update the dependency on intel-gen4asm
The new version of intel-gen4asm is required to build shaders
for BDW
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhao Yakui [Sun, 26 Jan 2014 01:43:52 +0000 (18:43 -0700)]
intel-vaapi: Add more checks for H264 decoding parameter to filter the unsupported clip
Signed-off-by: Yuan Feng <feng.yuan@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Xiang, Haihao [Mon, 20 Jan 2014 03:13:11 +0000 (11:13 +0800)]
Remove the redundant if () from gen8_pp_upload_constants
This fixed the issue reported by Klockwork
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 20 Jan 2014 03:04:24 +0000 (11:04 +0800)]
Warning fixes
gen8_mfd.c: In function ‘gen8_mfd_vp8_decode_init’:
gen8_mfd.c:2773:5: warning: implicit declaration of function ‘intel_update_vp8_frame_store_index’ [-Wimplicit-function-declaration]
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 20 Jan 2014 02:59:10 +0000 (10:59 +0800)]
Don't use assert() in case getting wrong parameters from user
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhao Yakui [Mon, 20 Jan 2014 01:58:06 +0000 (09:58 +0800)]
Fix the wrong setting in MI_BATCH_BATCH_START command on Snb/Ivy/Haswell
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Xiang, Haihao [Fri, 17 Jan 2014 08:51:20 +0000 (16:51 +0800)]
Use the right parameters to initialize bit rate context
Reported-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Fri, 17 Jan 2014 08:46:52 +0000 (16:46 +0800)]
Don't advertise CBR for MPEG-2 encoding
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhao, Halley [Wed, 15 Jan 2014 05:21:46 +0000 (13:21 +0800)]
Fix vp8 partition offset set error
Signed-off-by: Zhong Li <zhong.li@intel.com>
Zhong Li [Tue, 14 Jan 2014 02:44:55 +0000 (10:44 +0800)]
Fix vp8 p frame decode error issue.
Signed-off-by: Zhong Li <zhong.li@intel.com>
Zhao, Halley [Fri, 10 Jan 2014 01:53:16 +0000 (09:53 +0800)]
vp8 dec: fix when bool_coder_ctx.count is 0
bool_coder_ctx.count is remaining bits,
hw requires used-bits-count: 8-bool_coder_ctx.count, range [0,7]
update offset and partition_size[0] as well
Signed-off-by: Zhao Halley <halley.zhao@intel.com>
Zhao, Halley [Wed, 8 Jan 2014 19:14:24 +0000 (03:14 +0800)]
vp8 dec: follows va_dec_vp8.h update
key_frame:0 means an intra frame
bool_coder_ctx.count is the remaining bits in bool_coder_ctx.value, range[0,7)
slice_data_offset/macroblock_offset update
Signed-off-by: Zhao Halley <halley.zhao@intel.com>
Zhao Yakui [Mon, 13 Jan 2014 01:42:32 +0000 (09:42 +0800)]
Remove the unnecessary sorting to simplify the DPB buffer management
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Mon, 13 Jan 2014 01:42:28 +0000 (09:42 +0800)]
Complain the warning instead of assert fault when slice picture is not found in DPB for decoder
This is to fix the bug https://bugs.freedesktop.org/show_bug.cgi?id=72660
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Li Xiaowei [Thu, 9 Jan 2014 05:33:44 +0000 (13:33 +0800)]
VPP: Correct return value of vpp gpe functions
Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
Xiang, Haihao [Thu, 9 Jan 2014 01:23:13 +0000 (09:23 +0800)]
Remove the whitespace following trailing backslash in a Makefile.am
src/shaders/post_processing/gen8/Makefile.am:31: whitespace following trailing backslash
src/shaders/post_processing/gen8/Makefile.am:32: whitespace following trailing backslash
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Li Xiaowei [Tue, 7 Jan 2014 03:38:09 +0000 (11:38 +0800)]
VPP: Enable sharpening feature on BDW
Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
Li Xiaowei [Tue, 7 Jan 2014 02:45:56 +0000 (10:45 +0800)]
VPP: Refine code for sharpening on Haswell
Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
Xiang, Haihao [Tue, 7 Jan 2014 05:13:25 +0000 (13:13 +0800)]
VEBOX/bdw: set downsample method
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 7 Jan 2014 05:10:58 +0000 (13:10 +0800)]
VEBOX/bdw: DW0-DW8 are used for dndi parameters in VEBOX_DNDI_STATE
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhao Yakui [Mon, 30 Dec 2013 04:42:55 +0000 (12:42 +0800)]
Add one environment variable to check the benchmark of decoding/vaPutsurface
The swap_buffer callback will wait for the completion of buffer swap, which
will affect the benchmark test of decoding/vaPutSurface.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Xiang, Haihao [Mon, 30 Dec 2013 04:42:51 +0000 (12:42 +0800)]
Render/BDW: Align each offset with 64 bytes
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Xiang, Haihao [Mon, 30 Dec 2013 04:42:47 +0000 (12:42 +0800)]
Render/BDW: Initialize the blend_state for rendering
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Xiang, Haihao [Mon, 30 Dec 2013 01:39:04 +0000 (09:39 +0800)]
Render/HSW: Fix the bug caused by merging code
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhao Yakui [Fri, 27 Dec 2013 07:56:37 +0000 (15:56 +0800)]
Update the MFX_AVC_IMAGE_STATE to follow the spec
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 27 Dec 2013 07:56:33 +0000 (15:56 +0800)]
Fix the incorrect MV upper bound setting of MFC_IND_OBJ_BASE_ADDRESS_STAE for encoding on gen8
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 27 Dec 2013 07:16:37 +0000 (15:16 +0800)]
Fix the wrong VPP initialization function for Dn/DI on Ivybridge
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 27 Dec 2013 07:05:45 +0000 (15:05 +0800)]
Add the VPP shader of conversion between YUY2 and YUY2 on BDW
Signed-off-by: Zhao Yakui <yakui.zhao2intel.com>
Zhao Yakui [Fri, 27 Dec 2013 07:05:44 +0000 (15:05 +0800)]
Use the pp_null_initialize function for the unsupported VPP on BDW
The Dn/DI will be implemented by using VEBOX and doesn't use the VPP shader any more.
So the corresponding VPP shader should use the pp_null_initialize hook function.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 27 Dec 2013 07:05:44 +0000 (15:05 +0800)]
Fix the error for the VPP conversion of NV12->NV12 on BDW
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 27 Dec 2013 07:05:44 +0000 (15:05 +0800)]
Use the correct sub-context for VPP on BDW to avoid the NULL pointer
The structure of sub-context is updated for VPP in the commit of
4faf6bf47f8e4e2fe587e3bb6a004340edd59c4c. So BDW should update the correct
sub-context.Otherwise the segment fault will be triggered.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 27 Dec 2013 07:05:44 +0000 (15:05 +0800)]
Add the support of querying the surface attributes on BDW
Otherwise the user-space application doesn't query which surfaceformat is
supported by the libva-vappi driver on BDW.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 27 Dec 2013 07:05:44 +0000 (15:05 +0800)]
Fix the wrong pitch of surface for Video post-processing on BDW
Now the object surface already contains the pitch after the object surface
structure is reworked in the commit
f886f24eaaacba9544fa5f6405b7382c686f3a1f.
So it is unnecessary to calculate the pitch based on the width.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 27 Dec 2013 07:05:44 +0000 (15:05 +0800)]
Follow the spec to make the VPP media pipeline work in 48-bit addressing mode
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 27 Dec 2013 07:05:44 +0000 (15:05 +0800)]
Fix the error of offset calculation for encoding on BDW
Currently although the encoding can work well, the offset in the internal
object is calculated incorrectly. So fix it to avoid the potential issue.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Xiang, Haihao [Fri, 27 Dec 2013 03:16:48 +0000 (11:16 +0800)]
VPP/bdw: Fix the initialize function used for NV12 to NV12
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhong Li [Wed, 25 Dec 2013 06:23:29 +0000 (14:23 +0800)]
Add the ring supported for bdw vpp filters
Signed-off-by: Zhong Li <zhong.li@intel.com>
Zhong Li [Mon, 23 Dec 2013 08:30:25 +0000 (16:30 +0800)]
Fix a bug of vp8 quant index calculation error
Signed-off-by: Zhong Li <zhong.li@intel.com>
Zhao Yakui [Mon, 23 Dec 2013 07:59:28 +0000 (15:59 +0800)]
Remove the unused function of gen7_pp_rgbx_avs_initialize
This is not used any more after it uses the same gen7_pp_plx_avs_initialize
function for RGBX input on Ivy/Haswell.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Mon, 23 Dec 2013 07:59:22 +0000 (15:59 +0800)]
Configure VPP parameter for RGBX input so that Haswell/Ivy uses the same gen7_pp_plx_avs_initialize
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Mon, 23 Dec 2013 03:01:13 +0000 (11:01 +0800)]
Update the supported render target format and pixel format for JPEG on BDW
This is picked up from the commit
a90e80fb7fde114535ab5e9be74d973117def138
on Ivy/Haswell. Otherwise the JPEG on BDW can't work as expected.
Signed-off-by: Xiang Haihao <haihao.xiang@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 19 Dec 2013 09:03:31 +0000 (17:03 +0800)]
Add the support of color BT709/SMPTE240M for color-space conversion on BDW
This is picked up from that on Haswell/Ivybridge.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 19 Dec 2013 09:03:31 +0000 (17:03 +0800)]
Add the support of brightness/contrast/hue/saturation for BDW rendering
This is picked up from the commit
04ecb6e79f4382d96eb5d4b51733049d420f592a
Signed-off-by: Xiang Haihao <haihao.xiang@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 19 Dec 2013 09:03:31 +0000 (17:03 +0800)]
Fix the error in render shader for subpicture
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 19 Dec 2013 09:03:31 +0000 (17:03 +0800)]
Fix the error in render shader for BDW
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 19 Dec 2013 09:03:31 +0000 (17:03 +0800)]
Explicitly declare the color blend operation for subpicture on BDW
Without this it still can work. This is only human-readable.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 19 Dec 2013 09:03:31 +0000 (17:03 +0800)]
Fix the incorrect setting for subpicture on BDW
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 19 Dec 2013 05:37:21 +0000 (13:37 +0800)]
BDW encoding reuses aux_batchbuffer instead of allocating another new buffer
This is picked up from that on Haswell/Ivybridge.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 19 Dec 2013 05:37:16 +0000 (13:37 +0800)]
Calculate required space of batch buffer to avoid buffer overflow in encoding on BDW
The required size is based on the number of macroblocks and slice parameter.
Then it can avoid that too large buffer is allocated or possible overflow.
This is picked up from that on Haswell/Ivybridge.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 19 Dec 2013 05:37:13 +0000 (13:37 +0800)]
Handle the aux_batchbuffer correctly for H264 encoding on Haswell
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 19 Dec 2013 05:36:11 +0000 (13:36 +0800)]
Follow spec to update the URB entry/size setting for encoding on Haswell/BDW
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Xiang, Haihao [Thu, 19 Dec 2013 02:31:31 +0000 (10:31 +0800)]
Rendering/bdw: fix push constant buffer for PS
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 19 Dec 2013 01:46:30 +0000 (09:46 +0800)]
BDW doesn't support H.264 Baseline profile
The similar fix to f765987
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhao Yakui [Tue, 17 Dec 2013 09:00:03 +0000 (17:00 +0800)]
Follow the spec to make the 3D pipeline work in 48-bit addressing mode
Signed-off-by: Xiang Haihao <haihao.xiang@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Tue, 17 Dec 2013 09:00:00 +0000 (17:00 +0800)]
follow the spec to fill the Vertex URB entry on BDW
Signed-off-by: Xiang Haihao <haihao.xiang@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Tue, 17 Dec 2013 08:59:57 +0000 (16:59 +0800)]
Add the missing 3D pipeline command for rendering on BDW
Signed-off-by: Xiang Haihao <haihao.xiang@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Tue, 17 Dec 2013 08:59:52 +0000 (16:59 +0800)]
Follow the spec to restrict the max number of PS thread
Signed-off-by: Xiang Haihao <haihao.xiang@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Tue, 17 Dec 2013 06:32:35 +0000 (14:32 +0800)]
Enable the Intra-prediction for MPEG2 P-B frame on BDW
This is picked up from the implementation on Haswell/Ivybridge.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Tue, 17 Dec 2013 06:32:29 +0000 (14:32 +0800)]
Fix incorrect MI_BATCH_BUFFER_START command for MPEG2 encoding on BDW
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 13 Dec 2013 09:03:47 +0000 (17:03 +0800)]
Follow the spec to make BDW encoding media pipeline command support 48-bit addressing mode
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 13 Dec 2013 07:18:56 +0000 (15:18 +0800)]
Fix the command error for MPEG2 encoding on BDW
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 13 Dec 2013 07:18:56 +0000 (15:18 +0800)]
Add the missing media pipeline command for encoding on BDW
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 13 Dec 2013 07:18:56 +0000 (15:18 +0800)]
Update the pipe_control command on Gen8 to make media pipeline work
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Mon, 4 Nov 2013 01:43:23 +0000 (09:43 +0800)]
Fix one error of VME shader for MPEG2 encoding on BDW
Otherwise the MPEG2 encoding will use the incorrect prediction result for the
macroblocks in the first row if the MVP is used
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Mon, 4 Nov 2013 01:43:19 +0000 (09:43 +0800)]
Fix one error of VME shader for H264 encoding on BDW
Otherwise the h264 encoding will use the incorrect prediction result for the
macroblocks in the first row if the MVP is used
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhong Li [Sun, 13 Oct 2013 15:11:54 +0000 (23:11 +0800)]
VPP: add vebox motion compensation support on BDW
Signed-off-by: Zhong Li <zhong.li@intel.com>
Xiang, Haihao [Tue, 8 Oct 2013 05:27:55 +0000 (13:27 +0800)]
Follow the input Picture/Slice parameters for SLICE_STATE command on BDW
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 8 Oct 2013 05:20:39 +0000 (13:20 +0800)]
Pass the reference frame index in List0/1 into the PAK command on BDW
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 8 Oct 2013 05:11:18 +0000 (13:11 +0800)]
Clean up for setting up reference surface state on BDW
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 8 Oct 2013 03:22:46 +0000 (11:22 +0800)]
Fix refrence frame for list1 on BDW
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 8 Oct 2013 03:05:28 +0000 (11:05 +0800)]
Check the reference surface id against VA_INVALID_SURFACE on BDW
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 8 Oct 2013 03:02:56 +0000 (11:02 +0800)]
Indent the code of encoding on BDW
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 10 Sep 2013 02:24:14 +0000 (10:24 +0800)]
VPP/bdw: a NULL shader for packed 4:2:2 to packed 4:2:2
!!! Develop the shader later
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhao Yakui [Thu, 15 Aug 2013 07:18:39 +0000 (15:18 +0800)]
Remove the duplicated header file for mpeg2 encoding on Gen8
The vme75_mepg2.inc is also enough for the mpeg2 encoding on Gen8.
And vme8_mpeg2.inc is redundant.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 15 Aug 2013 07:18:39 +0000 (15:18 +0800)]
Remove unnecessary GPU binary shader of mpeg2 encoding on Gen8
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 15 Aug 2013 07:18:39 +0000 (15:18 +0800)]
Code cleanup about the media encoding on Gen8
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 15 Aug 2013 07:18:39 +0000 (15:18 +0800)]
Optimize quantization rounding precision of MPEG2 encoding on Gen8
This is from that on Ivy/Haswell.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 15 Aug 2013 07:18:39 +0000 (15:18 +0800)]
Optimize the VME shader for MPEG2 encoding on Gen8
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 15 Aug 2013 07:18:39 +0000 (15:18 +0800)]
Add the MVP in GPU shader to optimize mpeg2 encoding on Gen8
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Thu, 15 Aug 2013 07:18:39 +0000 (15:18 +0800)]
Rewrite the GPU VME shader for MPEG2 encoding on Gen8
This is from that on Haswell/Ivybridge. Now the MPEG2/H264 uses the same
mode/motion vector prediction shader. But the MV search region of mpeg2
is different with that on H264, which causes that the wrong mode/motion
vector prediction is used for MPEG2.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhong Li [Wed, 26 Jun 2013 06:02:53 +0000 (14:02 +0800)]
Bulid BDW vebox pipeline
Build gen8 vebox pipeline, and ProcAMP has been enabled and verified on simulator.
However, DN/DI need further effort.
Signed-off-by: Zhong Li <zhong.li@intel.com>
Zhao Yakui [Fri, 21 Jun 2013 05:29:24 +0000 (13:29 +0800)]
PAK encoding uses the reference list parsed from slice_param instead of hacked DPB
This is backported from Sandybridge/Ivybridge/Haswell.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 21 Jun 2013 05:29:15 +0000 (13:29 +0800)]
VME uses reference frame parsed from slice_param instead of hacked DPB for Gen8
This is backported from Ivy/Haswell/Sandybridge.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Xiang, Haihao [Fri, 21 Jun 2013 02:26:13 +0000 (10:26 +0800)]
VPP: add VPP Filters for BDW
Needs to rebuild the shader for VAProcFilterSharpening on BDW
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhao Yakui [Fri, 21 Jun 2013 02:17:02 +0000 (10:17 +0800)]
Add the conversion from YUYV to NV12/I420
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Zhao Yakui [Fri, 21 Jun 2013 02:16:57 +0000 (10:16 +0800)]
Add the CSC conversion from NV12/I420 to YUYV
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Xiang, Haihao [Tue, 18 Jun 2013 06:16:42 +0000 (14:16 +0800)]
New PCI IDs for BDW
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Zhong Li [Sun, 9 Jun 2013 10:13:38 +0000 (18:13 +0800)]
Vp8 quant index converted to quant value on BDW
Signed-off-by: Zhong Li <zhong.li@intel.com>
Zhong Li [Sat, 8 Jun 2013 06:37:24 +0000 (14:37 +0800)]
Enable loop-deblock of bdw vp8 decoder
When deblock is enable, post-deblocking bo should be used as output
buffer.
Signed-off-by: Zhong Li <zhong.li@intel.com>