summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* psb_video: enhanced vc1 playback performance and fixed crc errorSun, Jian2014-07-211-2/+6
| | | | | | | | | | | BZ: 171803 In order to solve the previous crc error, we reverted vc1 performance patch. So it caused stucks during vc1_60fps playback in landscape and portrait mode. Now we reopen the vc1 performance patch and add some codes to fix the crc error. Change-Id: I49bbdb9ab6ecd681189d733030b048a1d4073929 Signed-off-by: Sun, Jian <jianx.sun@intel.com>
* Enable temporal layer scalability in VP8 encode driver for SANDSun, Mingruo2014-07-212-134/+232
| | | | | | | | | | | BZ: 178492 Support multiple layers in VP8 encode driver Implement reference frame selection in different layer refine coding style in VP8 encode driver Change-Id: Ib2451d85844a11ae1b8038b6487a7a0668092ae1 Signed-off-by: Sun, Mingruo <mingruo.sun@intel.com>
* VED: correct one payload infoLi Zeng2014-07-211-4/+0
| | | | | | | | | BZ: 174203 correct one payload info Change-Id: I6f7cb152578a189bb39c0ee8a906f56f12aa5f69 Signed-off-by: Li Zeng <li.zeng@intel.com>
* Remove useless codeZhu,Tianyang2014-07-214-176/+2
| | | | | | | | | BZ: 178875 Remove useless code from psb video Change-Id: I34d48861a48ae5b35d2ea02359fe0434ce20033a Signed-off-by: Zhu,Tianyang <tianyang.zhu@intel.com>
* Compile the VPP rotation codes only for MRFLD.Wang Kun2014-07-211-13/+7
| | | | | | | | | | BZ: 180839 In current codes, the VPP rotation codes are shared by MRFLD and MOFLD. Use the macro to make sure these codes just be used by MRFLD. Change-Id: I596459cd10d91d56515ab6a095b822d927c7fdad Signed-off-by: Wang Kun <kun.k.wang@intel.com>
* update psb_video according to IMG's update to support modular drm.mahongpe2014-07-212-20/+19
| | | | | | | | | | BZ: 179076 In this update, slice header extrace command will be changed, so update corresponding stucture definations here. Change-Id: Ie0c7232cf878e8156ba269666d64df7343d857a8 Signed-off-by: mahongpe <hongpeng.ma@intel.com>
* psb-video: use VED rotation only for WIDI on ANNNana GUo2014-07-211-2/+9
| | | | | | | | | | | BZ: 178394 Overlay supports rotation, but only one OverlayA can rotate. Use VED rotation only for WIDI, other cases disable VED rotation Change-Id: I1dc9be01c63ad0e8b4b85e85f9052be9d0a9492d Signed-off-by: Nana GUo <nana.n.guo@intel.com>
* Video: handle video crop size from libvaLi Zeng2014-07-215-17/+15
| | | | | | | | | BZ: 177403 handle video crop size from libva Change-Id: Ie8807a25806250d6dcd93085b079b1384579d3db Signed-off-by: Li Zeng <li.zeng@intel.com>
* Video: handle video crop size from libvaLi Zeng2014-07-215-36/+21
| | | | | | | | | BZ: 177403 handle video crop size from libva Change-Id: Ibe9a603bce4980298a41a42f53724843fe1086a9 Signed-off-by: Li Zeng <li.zeng@intel.com>
* Video: use unfence_flag to pass down a flag for clflushLi Zeng2014-07-212-1/+4
| | | | | | | | | BZ: 177155 use unfence_flag to pass down a flag for clflush Change-Id: Iaedeca45b0d97c795d79573566bec60cb31f3882 Signed-off-by: Li Zeng <li.zeng@intel.com>
* psb-video: distinguish the sw decode and hw decodeGu, Wangyi2014-07-214-2/+7
| | | | | | | | | | | BZ: 174522 distinguish the sw decode and hw decode with output method, which is used by hwc. This patch works with optimization patch: https://android.intel.com/#/c/166226/ Change-Id: I66f8b716af594baebba4213f3f9d1963bb270c58 Signed-off-by: Gu, Wangyi <wangyi.gu@intel.com>
* [SDK] Removing eng debug and user flags from components makefilesGuilhem IMBERTON2014-07-211-142/+84
| | | | | | | | | BZ: 143553 Also removing tabs and unifying checks Change-Id: I76eef51567a36ea2b97e48c05d045193a4940ed7 Signed-off-by: Guilhem IMBERTON <guilhem.imberton@intel.com>
* Check the return value of psb_new_context() funtion.Wang Kun2014-07-211-14/+5
| | | | | | | | | | BZ: 176019 The return value of psb_new_context() in psb_CreateContext hasn't been checked. Remove the context number check for VP8 and this check will be done in kernel driver. Change-Id: Ib550d28b4ad431792e22bf0164a628c23dbc21b9 Signed-off-by: Wang Kun <kun.k.wang@intel.com>
* Video: when there is tiling, allocate rotate buffer from tiling heap on MOFDLi Zeng2014-07-211-1/+4
| | | | | | | | | BZ: 169209 allocate rotate buffer from tiling heap for tiling rotated buffer for MOFD Change-Id: I3518ac883d6c24955f619c51f078d5da4b927347 Signed-off-by: Li Zeng <li.zeng@intel.com>
* Enable Modular DRM in psb_videomahongpe2014-07-215-2/+25
| | | | | | | BZ:174825 Change-Id: Ic2f46dd215278b03f71a87dac3ba52abf9aceaae Signed-off-by: mahongpe <hongpeng.ma@intel.com>
* psb_video: enable 64bit supportFei Jiang2014-07-214-8/+11
| | | | | | | | | BZ: 172915 correct IMG_INT32 and IMG_UINT32 typeO Change-Id: I78d5625789fe69c7209957c06a160b05ae1cadda Signed-off-by: Fei Jiang <fei.jiang@intel.com>
* Video: use uncached coded buffer for encoderLi Zeng2014-07-211-0/+4
| | | | | | | | | | BZ: 172883 use uncached coded buffer for encoder update patch to fix for multi-platform Change-Id: I26085a72fcb608bc01afeb830925095c1dcda66b Signed-off-by: Li Zeng <li.zeng@intel.com>
* add new parameters for temporal_layer.zhangzha2014-07-212-156/+177
| | | | | | | | | | BZ: 172539 1. added five parameters for temporal layers; 2. refined codes. Change-Id: Ia4e5196b3e9bae4b5ab13559733386ec42f35d84 Signed-off-by: zhangzha <zhangfei.zhang@intel.com>
* psb_video: fixing memory leak issuesDan Liang2014-07-212-19/+3
| | | | | | | | | BZ: 172176 Some arrays are malloced without free. Change-Id: I40fcc2a8196d786595d668929f7f24837b1d88eb Signed-off-by: Dan Liang <dan.liang@intel.com>
* psb_video: refine VP8 Decoding APITianmi Chen2014-07-211-4/+4
| | | | | | | | | | | | | | BZ: 158760 To follow proposed change/clarification for dec_va_vp8.h, refine VP8 Decoding API. Changes to dec_va.vp8.h are below, 1. Remove mb_skip_coeff from VAPictureParameterBUfferVP8 2. num_of_partitions count the control partition Change-Id: I649907ce2cfd07685a4acf4d3f08f3575ffcf8a0 Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
* 1. Update fw to VXE383_3.0.2.175.Ren, Zhaohan2014-07-211-6/+20
| | | | | | | | | | | | 2. Fixed incorrect minqp issue BZ: 171218 This patch synced new FW VXE383_3.0.2.175, fixed bad MB issue, fixed rate control issue. Change-Id: I4de4ee2080bab136b73b644a66c500a9b6b29eec Signed-off-by: Ren, Zhaohan <zhaohan.ren@intel.com>
* video: not allocate TT buffer on MOFDLi Zeng2014-07-212-1/+5
| | | | | | | | | BZ: 169986 not allocate TT buffer on MOFD Change-Id: Ie3511db100613d66d2f50ae5a741dd3312f08d3a Signed-off-by: Li Zeng <li.zeng@intel.com>
* Add YV32 format to DeriveImage for HW JPEG decoderNana GUo2014-07-212-1/+18
| | | | | | | | | BZ: 167939 Add YV32 format to DeriveImage for HW JPEG decoder Change-Id: I59ce7551b5dfcf2e26764f6ecab000d39efbb02a Signed-off-by: Nana GUo <nana.n.guo@intel.com>
* psb_video: refine vp8 error concealmentTianmi Chen2014-07-211-2/+34
| | | | | | | | | BZ: 166006 refine vp8 error concealment Change-Id: Ic1f30aab349b5d0358bfb90ed3967f297a94db1e Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
* refine vp8 encode driverSun, Mingruo2014-07-211-17/+7
| | | | | | | | | | BZ: 166007 164804 calculate max_intra_rate with max_frame_size stop sending commands to firmware if driver have timeout issue Change-Id: Ib390484193c8b66b91a095bb7516e9347db52d90 Signed-off-by: Sun, Mingruo <mingruo.sun@intel.com>
* Fixed CIR MB position issueRen, Zhaohan2014-07-214-10/+27
| | | | | | | | | | BZ: 156075 This patch delivered CIR update command to kernel to update CIR position table. Change-Id: Ibcbf35a355dbd33ede4e2ad8e34cdfccad45246a Signed-off-by: Ren, Zhaohan <zhaohan.ren@intel.com>
* psb_video: resolve memory leak issue when playback protecte videoFei Jiang2014-07-212-0/+6
| | | | | | | | | | | | BZ: 167746 For slice group buffer and frame buffer for slice header parsing, they are not passed through vaRenderPictuer, we still need suspend them to let them be reused. Also need remove buffer suspend check to let slice group buffer be mapped. Change-Id: I4154cd396a4ccaf5b499d7d61e8c119c4ef76b99 Signed-off-by: Fei Jiang <fei.jiang@intel.com>
* Adding bsw_rvp lunch target (5/10)Pratik2014-07-211-4/+4
| | | | | | | | | BZ: 164952 Unblock braswell compilation. Replicating cherrytrail target. Patch # 5 of total 10. Change-Id: Iea161917d14f2aa4c6a0587b176b7b627837c01d Signed-off-by: Pratik <pratikkumar.v.prajapati@intel.com>
* Enable the slice header parsingwfeng62014-07-211-1/+1
| | | | | | | | | BZ: 146336 Turn on the slice header parsing flag on MERR. Change-Id: Id5635f534d3bf6df8b09857854247c213f0e9370 Signed-off-by: wfeng6 <wei.feng@intel.com>
* psb_video: make psb_video compatible in 64 bit OSFei Jiang2014-07-213-23/+24
| | | | | | | | | | | | BZ: 166020 psb_video was previously developed in 32 bit OS, hasn't considered compatible case to run it under 64 bit OS. Need use unsigned long to indicate pointer, and declare function explicitly. Change-Id: I7556104ad85b0793f87c360ef50077baae43b2ea Signed-off-by: Fei Jiang <fei.jiang@intel.com>
* The actual RTbitrate value of H263/MPEG4 es encode cases exceed the scope of ↵edward lin2014-07-212-10/+0
| | | | | | | | | | | criteria one BZ: 165338 this modification is to delete the misc frame-rate parameters interface since H263/MPEG4 don't support it. Change-Id: Ib7ca7d6b5c91569b1f69dca1f2d206bd46def2ba Signed-off-by: edward lin <edward.lin@intel.com>
* Using macro to make sure "VPP rotation" function is just for VPP and MRFLWang Kun2014-07-212-29/+37
| | | | | | | | | | BZ: 165615 Use PSBVIDEO_MRFL_VPP_ROTATE macro to make sure it is just for MRFL platform. Use VAEntrypointVideoProc entrypoit to make sure it's just for VPP. Change-Id: I3b099042ca354e332c51c492dc998d575f83ae8e Signed-off-by: Wang Kun <kun.k.wang@intel.com>
* psb_video: fix media crash at wsbmBOOffsetHint+14 during thumbnail generationFei Jiang2014-07-211-2/+2
| | | | | | | | | | | | | BZ: 153574 When two media_server threads run simutaneously to call into driver, if obj_surface is set as static for EC, another thread will also use the same obj_surface for EC, while that thread maybe already destory the surface, so crash will happen. Change-Id: I0002343dd03fc753990bcb0d413a6d0f1ead88dd Signed-off-by: Fei Jiang <fei.jiang@intel.com>
* refine VP8 encode driverSun, Mingruo2014-07-211-1/+3
| | | | | | | | | BZ: 164804 Stop sending commands to firmware once kernel driver has timeout issue Change-Id: I2c6111cd76de8f2091011d8fabe84a3d497ec316 Signed-off-by: Sun, Mingruo <mingruo.sun@intel.com>
* Use VSP to do rotation for 1080P while vpp playbackWang Kun2014-07-215-67/+265
| | | | | | | | | | BZ: 145877 In current design, GPU will do rotation for VPP output data. To reduce the power, VPP will do rotation for 1080P. Change-Id: Ic44e2aa7b801d89400a9f5e9e4c9a86e73c5d723 Signed-off-by: Wang Kun <kun.k.wang@intel.com>
* BYT: Query surface status from GrallocCheng Yao2014-07-212-8/+9
| | | | | | | | | | BZ: 164129 psb_QuerySurfaceStatus now queries surface status from VPG gralloc HAL Change-Id: Idd12568adf974f91a4401d4575d85a77d72e65db Signed-off-by: Cheng Yao <yao.cheng@intel.com>
* psb-video: To cover the 180 rotation case when use two pass rotation in HWCGu, Wangyi2014-07-211-1/+2
| | | | | | | | | BZ: 164395 refine the former patch https://android.intel.com/#/c/154706/ for 180 rotation case Change-Id: I10721c0c8e37a4706243f06c020ef344a9e94552 Signed-off-by: Gu, Wangyi <wangyi.gu@intel.com>
* psb_video: revert the patch for VC1 vaSyncSurface optimizationTianmi Chen2014-07-211-3/+3
| | | | | | | | | | BZ: 161788 Revert the patch for VC1 vaSyncSurface optimization as it will cause VC1 CRC unstable issue. Change-Id: I5d4df48cff09c1a3490083fd691e5479b65e73c7 Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
* Assigned default value for framerate and bitrateRen, Zhaohan2014-07-211-1/+15
| | | | | | | | | BZ: 161311 This patch fixed LibVA API test issue. Change-Id: Idcbc98d41c42b3cedbc5214366fe98e492149881 Signed-off-by: Ren, Zhaohan <zhaohan.ren@intel.com>
* refine vp8 encoder setting.zhangzha2014-07-211-1/+2
| | | | | | | | | BZ: 162278 refine vp8 encoder setting. Change-Id: I8357c87352dbdcf00bf2819034797d3daa696426 Signed-off-by: zhangzha <zhangfei.zhang@intel.com>
* Added Morganfield targetJan Mennekens2014-07-211-1/+1
| | | | | | | | | BZ: 131780 Added Morganfield target Change-Id: I3913bded64ee0b224a77bc73f89f31319a69d8ed Signed-off-by: Jan Mennekens <janx.mennekens@intel.com>
* psb-video: fix the scramble issue when play some protected content videoGu, Wangyi2014-07-211-1/+5
| | | | | | | | | | | | BZ: 159336 Hwc two pass rotation uses the rotated width and height to create surface, but in psb_CreateContext, we need the original width(= rotated height) to calculate the msvdx_tile flag(which is used for tiling setting in kernel), which makes the mismatch. Change-Id: Ie7ba8fd62097e77d653a48b74501dd3307480032 Signed-off-by: Gu, Wangyi <wangyi.gu@intel.com>
* Update the VPP/FRC codes to match VIED 2.11 releaseWang Kun2014-07-212-22/+13
| | | | | | | | | | | BZ: 158236 Remove the VSP Context allocation. VSP will use IMR memory. Send the InitContext command to VSP before the first command. Send the DestoryContext command after the last command. Change-Id: Ic4ede1c6c9766a8727c0b240f7af154e3073aaa2 Signed-off-by: Wang Kun <kun.k.wang@intel.com>
* Fixed intra_period dynamic update issueRen, Zhaohan2014-07-212-1/+9
| | | | | | | | | | BZ: 161073 Driver update intra period only on a new sequence and intra period changed. Change-Id: I45a5c3cfd4e63727a80379424f3135181910d61d Signed-off-by: Ren, Zhaohan <zhaohan.ren@intel.com>
* Set initial cir index to -1Ren, Zhaohan2014-07-212-10/+12
| | | | | | | | | BZ: 161140 This patch fixed CIR index error by assigning default value. Change-Id: Id72d26c63efbca1e19be14e9e3a07f61fccedd19 Signed-off-by: Ren, Zhaohan <zhaohan.ren@intel.com>
* update width and height of VP8 MB to be 16 bit aligned for error concealment.mahongpe2014-07-211-2/+2
| | | | | | | | | | BZ:160924 For 1080p VP8 video playback, width and height of VP8 MB should be aligned to 16-bit, which is required for error concealment. Change-Id: I4f4d81aa93d6d26cfbbc1bbafcb52d196f4873fd Signed-off-by: mahongpe <hongpeng.ma@intel.com>
* export start_mb and end_mb in error reportSun, Jian2014-07-211-0/+2
| | | | | | | | | BZ: 161205 export start_mb and end_mb to user space when there are error in decoding Change-Id: I13a7782f57bb5d4b3e5ac6f44dc116a5213319dc Signed-off-by: Sun, Jian <jianx.sun@intel.com>
* psb_video: remove unused group member in psb_validate_reqFei Jiang2014-07-214-4/+4
| | | | | | | | | | | | BZ: 160699 group is not used in structure psb_validate_req, remove it to let the structure size aligned at 8 bytes. If psb_validate_req struture size is not aligned at 8 byte, will occure imcompatible problem for 32 bit user space and 64 bit kernel case. Change-Id: I12445ecc4fef52ffeebc6702a5b5861150103237 Signed-off-by: Fei Jiang <fei.jiang@intel.com>
* Revert "Update the VPP/FRC codes to match VIED 2.11 release"Shi, PingX2014-07-212-13/+22
| | | | | | | | BZ: 158236 This reverts commit daca8d90a8dd026ab235bc5e31e9ca2f46f63cf4. Change-Id: I4dbd97816b4a30106edb3441a0d18e3a0b96406b
* psb_video: fix wrong assignment value to VP8 loop_filter_disableTianmi Chen2014-07-211-1/+1
| | | | | | | | | BZ: 158770 fix wrong assignment value to VP8 loop_filter_disable. Change-Id: I45c51c5d2f03c82d06403515f20e3de5df62c7b0 Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>