summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-09-24fix the broken package generated by make distHEADmasterXiang, Haihao5-1/+13
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-24fix make distXiang, Haihao1-3/+0
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-241.2.2.pre1 for developmentXiang, Haihao1-2/+2
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-23Intel driver 1.2.11.2.1Xiang, Haihao2-4/+10
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-23VPP: fix the check for DI filter flags on SNB/IVBXiang, Haihao1-14/+6
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit ea3c725a7f9fa66e7ef05e1c08af30c28f8c1aa0)
2013-09-23support 422H/422V/411P/444P format for wayland video outputZhao Halley1-0/+4
(cherry picked from commit 7a02190eda3abc245ba918f6078a121373f50703)
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> (cherry picked from commit f6685c309d94fb7679c9772703c8790cb71cdd73)
2013-09-23VPP: 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> (cherry picked from commit 8a0a61ce47e086ac156602c3daaf70f20e4ca222)
2013-09-23VPP: MADI on IVBXiang, Haihao3-45/+136
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 219452451ede9d52d8940be55cd38feda50baea7) Conflicts: src/i965_drv_video.c
2013-09-23VPP: track the frame sequence for DI on IVBXiang, Haihao2-0/+4
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit c008b4222d593594330fbb087204ff53722f9765)
2013-09-23VPP: move the BO for STMM into sub-contextsXiang, Haihao2-35/+36
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 6ce827df0a9d6cb841308813ec54a019e3c63d37)
2013-09-23VPP: Create separate sub-context for each processingXiang, Haihao2-24/+33
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 4faf6bf47f8e4e2fe587e3bb6a004340edd59c4c) Conflicts: src/i965_post_processing.c src/i965_post_processing.h
2013-09-11VPP: the similar fix to Bob DI on SNBXiang, Haihao1-30/+32
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit c55cc476b1f75ddf0504a8b85ac80c0168585c5c)
2013-09-11VPP: Update DEINTERLACE_SAMPLER_STATE on IVBXiang, Haihao1-26/+26
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit b05729d0feea5ceb4217997f26442d5a8d94fa48)
2013-09-11VPP: VAProcFilterParameterBufferDeinterlacing::flags overrides ↵Xiang, Haihao1-3/+5
VAProcPipelineParameterBuffer::filter_flags Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 5334ca07c5ad1a2edeb279784bde3d03cbb10c49)
2013-09-09Update NEWSXiang, Haihao1-1/+7
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.
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>
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>
2013-09-09VPP: Packed 4:2:2 to packed 4:2:2 on IVB+Xiang, Haihao6-3/+1448
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-09VPP: cleanup codeXiang, Haihao1-28/+54
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-09Return the status of image processingXiang, Haihao1-39/+40
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-09More conversions between two images with different pixel formstsXiang, Haihao1-44/+78
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-09Convert RGBx/RGBA into non-NV12 formatXiang, Haihao1-7/+66
It is the combined conversions of RGBx/RGBA->NV12 and NV12->non-NV12. It would be better to implement RGBx/RGBA->YUV444 and YUV444->non-444 later Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-09Support B frame for reference frameXiang, Haihao1-2/+5
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-09-06Remove the unnecessary shader binary for MPEG2 encoding on Haswell/IvbZhao Yakui5-412/+4
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 42bb613e72d235bcbe141c906dec9431e4c29661)
2013-09-06Optimize quantization rounding precision for MPEG2 encoding on IvyZhao Yakui1-1/+8
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 05ea96da3e0b09648bfdeb35967f6ab9bb3b23e4)
2013-09-06Optimize the VME shader for MPEG2 encoding on IvbZhao Yakui3-3/+182
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 15db142076321e9523db0c8be8e6bae5e1b64c8a)
2013-09-06Optimize MPEG2 encoding on IvbZhao Yakui4-13/+43
This is backported from Haswell. The scoreboard/walker/cost-center is applied. Signed-off-by: Zhao yakui <yakui.zhao@intel.com> (cherry picked from commit cc7452d14f7faa1d5b5fa8c16db3e3cb3fd4f53d)
2013-09-06Rewrite the VME shader for MPEG2 encoding on IvyZhao Yakui6-15/+883
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 6200c9a7779c1309f5a85b7c62aec1b9796793c6)
2013-09-06Remove the dead code in file of gen7_vme.cZhao Yakui1-72/+0
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit d15582b54486847811f3feab46ddd51181561776)
2013-09-06Pass the constant buffer info for MPEG2 encoding correctly on IvbZhao Yakui1-16/+25
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 7690091889eac91dcab53e0318f9810c25071e18)
2013-09-06Optimize quantization rounding precision for MPEG2 encoding on haswellZhao Yakui1-1/+7
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 24d8bf31c8aeb326bc8b33c1ac9700ec1d169666)
2013-09-06Optimize the VME shader for MPEG2 on HaswellZhao Yakui3-3/+234
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 19e93152f0e10f94ecaf3ddecf95c1dc7b97dfed)
2013-09-06Configure the cost-center of MPEG2 VME shader on haswellZhao Yakui3-11/+18
This is derived from the neighbour macroblock based on MPEG2 spec. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit a51860aba2d2713a9c8c817c430ffa93abd5145a)
2013-09-06Use the scoreboard/walker to assure MB dependency for MPEG2 encodingZhao Yakui3-2/+166
If MVP is added for MPEG2 encoding, it must be assured that the left macroblock should be already finished before processing the current macroblock. And this needs the scoreboard/walker mechanism to assure MB dependency. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 5d2163d02d395fc0a794d834979a06c287bf9ba5)
2013-09-06configure the dynamic VME MV/mode cost for MPEG2 encoding on HaswellZhao Yakui1-0/+42
Currently it uses the constant VME MV/mode cost when executing the mode/motion vector prediction for MPEG2 encoding on Haswell, which causes that the unoptimized mode/MV is used for MPEG2 encoding. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 6fec7e353704dc23c9675966467caffa95f792fe)
2013-09-06Enable the Intra-prediction for MPEG2 P-B frameZhao Yakui1-1/+20
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit c074d4d61ad931d044fbe0836a45c49768090b4b)
2013-09-06Restrict the MV search range based on MPEG2 encoding LEVELZhao Yakui5-0/+58
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit c05073b1f8764271ccf4fe1aa037f881dedd3818)
2013-09-06Rewrite inter-frame shader for MPEG2 encoding on HSW to follow MPEG2 specZhao Yakui8-4/+1008
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> (cherry picked from commit 6842f08aa375b5942cee4b9d06421609c212895a)
2013-09-06Convert 422H/422V/411P/444P into other formats for internal usingXiang, Haihao1-0/+4
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 232ef48766c1f91a87a3d41f951fd2ac26dcf2ae)
2013-09-06A separate batch buffer for video processingXiang, Haihao3-1/+6
It is easy to result in multithread issue if the rendering code and video processing code share the same batch buffer Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit ce0984814269e0923f44196e47f1c7cc2dddc55c)
2013-09-06Use the right wight/height to initialize the internal buffers for MPEG-2 ↵Xiang, Haihao2-6/+30
encoding Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 3ecbff585af918d96959ce791eec29be25360d91)
2013-09-06Cleanup profile tracking in encoderXiang, Haihao8-29/+33
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit edd25a94e92b9cec23594dc978691506a1c8cfab)
2013-09-06Rename the macrosXiang, Haihao5-7/+7
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 3ab97be8db1b8e55d0d5b95f577863416a87c6ff)
2013-09-06Enable the Bay Trail platform.Zhao Halley2-2/+18
This patch adds PCI IDs for Bay Trail (sometimes called Valley View). As far as the video driver is concerned, it's very similar to Ivybridge GT1 except VP8 decoding support. (cherry picked from commit b3afeef8092dc4eb7cb73fce672ddf7a55205f34)
2013-09-06VPP: remove needless functions and parameters in gpe pipelineLi Xiaowei2-10/+0
(cherry picked from commit ab0546e76967e5e7c465569f90e192b560678d8c)
2013-09-06Fixes valgrind warningXiang, Haihao1-1/+1
"Conditional jump or move depends on uninitialised value(s)" Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit cbd00deb6c5cad58ebd5e6ce5b89aaaded0f78a5)
2013-09-06Release the private driver data when call vaTerminate()Xiang, Haihao1-0/+3
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit c735d9e58dd49c9a92ad0042b5649a9d3fe7c2c4)
2013-09-06VPP: check the filter when query the video filter capabilitiesXiang, Haihao1-0/+11
Return VA_STATUS_ERROR_UNSUPPORTED_FILTER if an unsupported filter was supplied Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 428723853f88b4d5cac436f5fd62e6cc64a9e8e9)