summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-01-29support VP9 profile2 10bits decodingv1.6-branchpeng.chen5-22/+113
v2: ignore bit_depth for profile0,1 add the support of enum VAProfileVP9Profile2 v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit f6fe8428cc395771659a010222d0e3774b876535)
2016-01-29KBL driver enablingPeng Chen4-9/+171
v2: remove the file mode change v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit 5fb654b2577be19005bd9792a0b62c3ac1d2395b)
2016-01-29set the minimum of vp9 deocding frame width and height as 1, not 8peng.chen1-2/+2
Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit 99ae37b2e2d29be0c00447f26ccab294a2bcc2d9)
2016-01-29don't mask 8bit NV12 surface supporting for hevc main10 profilepeng.chen1-1/+0
Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit f96392ce2479c8cadef30a923c985b62fa4091c0)
2016-01-15Merge remote-tracking branch 'fdo/master' into v1.6-branchXiang, Haihao12-141/+595
Conflicts: configure.ac src/gen9_mfd.c src/gen9_mfd.h src/i965_device_info.c src/i965_drv_video.c src/i965_drv_video.h src/intel_media_common.c
2016-01-15P010(10bits) enabling in vaCreateImage(), vaGetImage(), vaPutImage()peng.chen4-0/+205
1, don't support the conversion from NV12 or other 8bits formats to P010 2, don't support scaling for P010->P010 v2: add GEN arch limitation for vebox_processing_simple() v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-01-15VPP P010(10bits) enablingpeng.chen5-56/+251
v2: 1, remove VPP P016 related code 2, optimize NV12->P010 3, enable IECP if all DI&DN are disabled v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-01-11only re-caculate surface width&height for tiled surfacepeng.chen1-10/+10
fix Bug 93499 - daf8f6c762874 introduced display corruption on i3 330M https://bugs.freedesktop.org/show_bug.cgi?id=93499 Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-01-06VP9HWDEC:fix vp9 hw decoder issuePengfei Qu3-73/+126
v2: codes change according to haihao's comments v1: 1. fix one segmentent fault issue 2. change and optimize the mv bufffer update the logic 3. fix one segment feature issue 4. fix one issue when loopfilter level is zero. Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
2015-12-15libva-intel-driver 1.6.2Xiang, Haihao2-3/+3
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-12-14Add assert checking for allocated gen9_vp9_surfaceLim Siew Hoon1-0/+1
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
2015-12-141.6.3.pre1 for developmentXiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-12-07version 1.6.2.pre2Xiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-12-07Update NEWS and READMEXiang, Haihao2-0/+7
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-12-07Keep backward compatibility with VA API 0.38.0Xiang, Haihao1-0/+8
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 9ce333f193fa0f56ec09b9f5b2f4823461f48776)
2015-12-07Keep backward compatibility with VA API 0.38.0Xiang, Haihao1-0/+8
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
2015-12-07Export VP9 decoding on BXTSirisha Muppavarapu1-0/+1
Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit e16f923193a10f78f5462db7efa4e89e242fca93)
2015-12-07VP9 HWDec:change the name vp8_xxx to vpx_xxx and share it with VP9Pengfei Qu6-153/+0
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 6859ab7a51650cbcfa8159a37cf8d1485d162ad4)
2015-12-07VP9 HWDec: add VP9 HW decoding pipelinePengfei Qu2-2/+968
v2: fix sengment feature in inter frame v3: update the prob buffer logic v4: fix intra-only feature issue Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 8f1e1015a4cc8c08dd685f80829ca1555ae1cab1)
2015-12-07VP9 HWDec:add vp9 parameter check function before decodingPengfei Qu2-0/+162
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 833fa7715d28b89af4bd661e3f2cac72345c9a27)
2015-12-07VP9 HWDec:add vp9 surface structure and related parameterPengfei Qu3-0/+44
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit f36ab3413f814c80f4df4f4570f4ef9a1168b624)
2015-12-07VP9 HWDEC:add vp9 table fileSirisha Muppavarapu2-0/+641
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 9bc5ecadd4ea11ebab1e383632be3448eb8411f4)
2015-12-07VP9 HWDec: Added profile and entrypoint for VAProfileVP9Profile0 in the driverSirisha Muppavarapu2-1/+14
v2: don't export VP9 decoding on BXT because VP9 decoding isn't enabled (Peng) Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit bcab944bc6e898e209b1e09befb81134c31a0b22)
2015-12-07Add support for P010 in vaPutSurface() in a X window systemXiang, Haihao1-23/+37
Currently it converts P010 to RGBA32 because the drawable to vaPutSurface() is RGBA color v2: P010 has interleaved UV planar (Peng) v3: change commit log Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Cc: Emil Velikov <emil.l.velikov@gmail.com> (cherry picked from commit bace1e29c669f3fe47cb41c57fc817b493fc7882)
2015-12-07support HEVC 10bits decodingPeng Chen6-48/+157
v2: code cleanup v3: store shift in an int to make it more readable (Emil) Signed-off-by: Peng Chen <peng.c.chen@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Cc: Emil Velikov <emil.l.velikov@gmail.com> (cherry picked from commit 5ec92f48aeff12c7db0a96b65aca44feb4965d92)
2015-12-07Initial support for Broxton in the intel-driverSirisha Muppavarapu3-0/+60
Added PCIIDs, Device info and the relevant code. Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> [Peng: disable MPEG-2 encoding on BXT] Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 70fe9ba8cf83e27c48f80767565149c7d40ea665)
2015-12-07Export VP9 decoding on BXTSirisha Muppavarapu1-0/+1
Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com>
2015-12-07VP9 HWDec:change the name vp8_xxx to vpx_xxx and share it with VP9Pengfei Qu6-153/+0
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
2015-12-07VP9 HWDec: add VP9 HW decoding pipelinePengfei Qu2-2/+968
v2: fix sengment feature in inter frame v3: update the prob buffer logic v4: fix intra-only feature issue Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
2015-12-07VP9 HWDec:add vp9 parameter check function before decodingPengfei Qu2-0/+162
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
2015-12-07VP9 HWDec:add vp9 surface structure and related parameterPengfei Qu3-0/+44
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
2015-12-07VP9 HWDEC:add vp9 table fileSirisha Muppavarapu2-0/+641
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
2015-12-07VP9 HWDec: Added profile and entrypoint for VAProfileVP9Profile0 in the driverSirisha Muppavarapu2-1/+14
v2: don't export VP9 decoding on BXT because VP9 decoding isn't enabled (Peng) Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
2015-12-07Add support for P010 in vaPutSurface() in a X window systemXiang, Haihao1-23/+37
Currently it converts P010 to RGBA32 because the drawable to vaPutSurface() is RGBA color v2: P010 has interleaved UV planar (Peng) v3: change commit log Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Cc: Emil Velikov <emil.l.velikov@gmail.com>
2015-12-07support HEVC 10bits decodingPeng Chen6-48/+157
v2: code cleanup v3: store shift in an int to make it more readable (Emil) Signed-off-by: Peng Chen <peng.c.chen@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Cc: Emil Velikov <emil.l.velikov@gmail.com>
2015-12-07Initial support for Broxton in the intel-driverSirisha Muppavarapu3-0/+60
Added PCIIDs, Device info and the relevant code. Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> [Peng: disable MPEG-2 encoding on BXT] Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
2015-11-27Update NEWSXiang, Haihao1-1/+14
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-11-19Fix for ring hung issue in SNB platform.Lim Siew Hoon1-1/+1
This issue is trigger by the fixed from commit id: 7deaf55d3f927e32e0b2280601dae106c7b9e3d8 use to fix segmentation fault issue by checking dst_object->bo is NULL and VA_STATUS_ERROR_UNIMPLEMENTED in i965_proc_picture_fast function will causing GPU hung in ring. By disable the PPGTT, no more GPU hang issue. If return VA_STATUS_ERROR_INVALID_SURFACE for checking only dst_obj->bo is NULL, it is working fine without purposely to disable PPGTT. End up decided to use VA_STATUS_ERROR_INVALID_SURFACE instead VA_STATUS_ERROR_UNIMPLEMENTED for dst_obj->bo checking in i965_proc_picture_fast. Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Reviewed-by: Kelley, Sean V" <sean.v.kelley@intel.com>
2015-11-18HEVC ENC:add CBR feature.Pengfei Qu2-55/+101
Signed-off-by: Pengfei Qu <pengfei.qu@intel.com> [Haihao: Fix build warning] Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-11-18Update READMEXiang, Haihao1-2/+12
It adds platform definitions and the supported codecs, fixes the required libva version. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-11-17Fix correct coordinate dst_rect->x with 4 alignmentLim Siew Hoon2-6/+8
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
2015-11-17Fix the segmentation fault causing by NULL buffer objectLim Siew Hoon1-0/+3
Add if checking for dst_obj_surface->bo is NULL in i965_proc_picture_fast function. https://bugs.freedesktop.org/show_bug.cgi?id=92811 Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
2015-11-09shaders: vpp: gen8/9: use yuv to rgb matrix to compute rgb valuesLionel Landwerlin3-812/+901
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
2015-11-09shaders: vpp: gen7: use yuv to rgb matrix to compute rgb valuesLionel Landwerlin3-773/+909
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
2015-11-09vpp: gen8/9: send yuv to rgb coefsLionel Landwerlin1-0/+8
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
2015-11-09vpp: gen7: send yuv to rgb coefsLionel Landwerlin1-0/+8
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
2015-11-09vpp: gen7/8/9: add yuv to rgb conversion matrix to registers send to EUsLionel Landwerlin128-2251/+2276
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
2015-11-09render: extract out yuv->rgb coefsLionel Landwerlin6-76/+131
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
2015-10-14vaDeriveImage: properly set VAImage formatJulien Isorce1-1/+53
This is required to allow gstvaapipostproc outputing RGBx va surfaces. https://bugs.freedesktop.org/show_bug.cgi?id=92088 Signed-off-by: Julien Isorce <j.isorce@samsung.com>
2015-10-14Fix YUY2/UYVY infoXiang, Haihao2-3/+3
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>