summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-10-29Update the README for extensional video post-processingcl_branchZhao Yakui1-0/+92
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Add another shader of pixelated effect based on openclZhao Yakui3-0/+34
The hacked test mechanism is added to check the pixelated effect. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Add another shader of gray/blur image based on openclZhao Yakui4-1/+86
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Install the driver-specific header file for extensional VPPZhao Yakui1-0/+1
Currently the driver defines some APIs for extensional APP before it can be upstreamed to libva and they should be obtained by using vaGetLibFunc. In order to include/use it, it will install the driver-specific header file. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Update the Makefile to install some driver-specific header_fileZhao Yakui1-4/+8
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Describe the parameter of opencl kernel shader for extensional VPPZhao Yakui1-0/+55
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Add hack mechanism to call the extensional VPP on decoded imageZhao Yakui2-0/+33
This is only for the demo purpose that calls the extensional VPP on the decoded image. It leaverages on the flag parameter of vaPutSurface. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Export the extensional VPP filter when supportedZhao Yakui1-0/+18
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Use filter_callback to check whether the VPP filter is supported or notZhao Yakui2-11/+19
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Add one flag to avoid multiple initialization of inlined VPP shaderZhao Yakui2-0/+7
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Execute the extensional VPP shader based on passed parameterZhao Yakui1-0/+12
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Add the support of register customed shaderZhao Yakui2-0/+198
This is to allow the customer to register the extensional VPP shader. And they are called by using vaRegisterExtVPPShader/vaUnregisterExtVPPShader. And the vppext_shader struct is used to define the required info for the customed shader. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Add the driver-private API to query the inline Extensional VPPZhao Yakui2-0/+131
After using the extensional VPP framework, the intel-vaapi driver will include some predefined extensional VPP. This interface will help to query the predefined extension VPP. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Pass the extensional VPP pipeline parameterZhao Yakui2-0/+9
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Add the support of executing the extensional VPP registered by customerZhao Yakui4-3/+50
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Add one internal function that executes the extensional VPP based on OpenCL ↵Zhao Yakui2-0/+242
shader Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Add one function to create cl_image for OCL based on libva surfaceZhao Yakui1-0/+74
Currently it is only for the libva surface and only NV12 format is supported. In the long term it will support the other formats for libva surface(for example: I420, RGBX,YV16 and so on) and libva image. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Initialize the inlined extensional VPP shadersZhao Yakui3-0/+114
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Combine the inlined *.cl into the oclobj.h header fileZhao Yakui7-12/+97
Otherwise the driver will read the corresponding *.cl from the given path and it is not convenient. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Add the first OpenCL shader for extensional VPPZhao Yakui1-0/+39
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-29Initialize the OCL context in intel-vaapi driverZhao Yakui6-0/+257
This is to do the preparation that the OpenCL is used for the video post-processing. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-15Return the error instead of assert in vaEndPicturestagingZhao Yakui1-10/+26
This is to fix the crash issue caused by the incorrect parameter. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-15Add more strict check to fix crash issue caused by invalid parameterZhao Yakui1-4/+7
This is to fix the crash issue in https://bugs.freedesktop.org/show_bug.cgi?id=70397 Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-14Fix one error of VME shader for MPEG2 encodingZhao Yakui4-4/+4
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>
2013-10-14Fix one error of VME shader for H264 encodingZhao Yakui8-8/+8
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>
2013-10-14Fix an incorrect makefile rule for VME shader on IvybridgeZhao Yakui1-1/+1
Otherwise when the corresponding source file is modified, the binary shader is not updated. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-10-08VPP: add vebox motion compensation support on HSWZhong Li2-8/+22
Signed-off-by: Zhong Li <zhong.li@intel.com>
2013-09-30Fix the Reference Index Mapping Table L0/L1Xiang, Haihao1-5/+20
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-30Follow the input Picture/Slice parameters to generate slice header/dataXiang, Haihao3-24/+53
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-30Pass the reference frame index in List0/1 into the PAK commandXiang, Haihao8-15/+43
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-30Select a reference frame from the reference list0/1Xiang, Haihao1-10/+66
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-30Track the used reference surfaceXiang, Haihao2-37/+26
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-30Clean up for setting up reference surface stateXiang, Haihao5-99/+59
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-30Fix the reference for list1Xiang, Haihao3-6/+3
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-30Check the reference surface id against VA_INVALID_SURFACEXiang, Haihao4-8/+8
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-30Indent the code of encodingXiang, Haihao9-944/+944
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-23VPP: also remove an assert on forward temporal reference on HSWXiang, Haihao1-5/+13
Do the same thing of commit 8a0a61c Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69669 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-22support 422H/422V/411P/444P format for wayland video outputZhao Halley1-0/+4
2013-09-22VPP: fix the check for DI filter flags on SNB/IVBXiang, Haihao1-14/+6
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-13VPP: Remove an assert on forward temporal reference on IVBXiang, Haihao1-5/+10
Add a warning and return VA_STATUS_ERROR_INVALID_PARAMETER instead Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-13VPP: MADI on IVBXiang, Haihao3-45/+136
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-13VPP: track the frame sequence for DI on IVBXiang, Haihao2-0/+4
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-13VPP: move the BO for STMM into sub-contextsXiang, Haihao2-35/+36
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-13VPP: Create separate sub-context for each processingXiang, Haihao2-27/+37
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-11VPP: the similar fix to Bob DI on SNBXiang, Haihao1-30/+32
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-11VPP: Update DEINTERLACE_SAMPLER_STATE on IVBXiang, Haihao1-26/+26
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-11VPP: VAProcFilterParameterBufferDeinterlacing::flags overrides ↵Xiang, Haihao1-3/+5
VAProcPipelineParameterBuffer::filter_flags Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-09allow vaDeriveImage() to work for UYVY formatsGwenole Beauchesne1-4/+1
Hi, I would push the following as obvious around next week. Add support for UYVY format to vaDeriveImage(). Also remove dead code along the way, i.e. packed YUV 4:2:2 formats have a single plane. Regards, Gwenole. (cherry picked from commit 48c5170c83398ceb3b2a29bb76bd0c0d8bf9993d)
2013-09-09vpp: fix output filter count from QueryVideoProcFilters().Gwenole Beauchesne1-1/+4
When vaQueryVideoProcFilters() returns VA_STATUS_ERROR_MAX_NUM_EXCEEDED, i.e. when the caller allocated too few entries for the filters argument, then the num_filters argument shall be adjusted to correct number of entries that need to be re-allocated. https://bugs.freedesktop.org/show_bug.cgi?id=67292 Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 5b584344bd145b191968e2200404a4012a531b61)
2013-09-09vpp: add basic processing support for packed YUV to packed YUV.Gwenole Beauchesne5-1/+326
Add support for video processing from packed YUV 4:2:2 formats (YUY2, UYVY) to packed YUV 4:2:2 formats. In particular, add support for HW accelerated vaPutImage() for packed YUV formats. https://bugs.freedesktop.org/show_bug.cgi?id=67338 Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> [Haihao: the shader for IVB+ has been added in 0eb2288] Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 69ccd74f754e22dafc8b090ca724878abb83a661)