History log of /hardware/intel/img/psb_video/src/psb_buffer.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2046ea17ddb468c845f542a88761a03b04898fd7 09-Sep-2014 Vinil Cheeramvelil <vinil.cheeramvelil@intel.com> ION support in psb_video

when ion is enabled as backend of gralloc.
video driver needs to pass down fd of graphics buffer
when creat surface from it.

Orig-Author: Randy Xu <randy.xu@intel.com>

Bug: 18731042
BZ: 230505
Change-Id: Ic85a04e1b2766764fb85ff98503022fb7be6b54f
Signed-off-by: mahongpe <hongpeng.ma@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
2c6fb3e28229a8b90c4a719caeb0e30b44dc0510 05-Dec-2014 Dale Stimson <dale.b.stimson@intel.com> Revert "ION support in psb_video"

Remove ION memory manager due to regressions caused by its inclusion.

This reverts commit 7f1c4d0835202abcb6f7bf42a3a8813dc48a8e0c.

Bug: 18578655
Bug: 18527174
BZ: 230087
BZ: 229790
BZ: 229995
Change-Id: I56965a48f4fe24aff2317610153715c1a83d4ab5
Signed-off-by: Dale Stimson <dale.b.stimson@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
7f1c4d0835202abcb6f7bf42a3a8813dc48a8e0c 09-Sep-2014 Dale Stimson <dale.b.stimson@intel.com> ION support in psb_video

when ion is enabled as backend of gralloc.
video driver needs to pass down fd of graphics buffer
when creat surface from it.

Orig-Author: Randy Xu <randy.xu@intel.com>

BZ: 224134
Bug: 17316531
Depends-on: Ife9513fe58e06ea2829987f328668f975a44b4e0
Depends-on: I4b8422d48b06419af6e48b631bacbe6c7169574e
Depends-on: Ia4c5bc80df952024a0973f2bacc42992301dfbf9
Depends-on: I172cdcb8cc86fd6fa3d3adadbab19b6fd3e6a18e
Depends-on: I2a2e721719349f755033c15bdeb732e7fb5c89ac
Depends-on: I48deabb107cc3abfa59eff5e012b51293fe6d74f
Depends-on: If2be266fc9063d7a2b701f85e8ace26aaf484ff5
Change-Id: I0ca0f06491e3fb498b3b41b70cbe1b6cf39e1918
Signed-off-by: mahongpe <hongpeng.ma@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
367040d221af4e32e54530425f87fb576bc28ae0 10-Apr-2013 Li Zeng <li.zeng@intel.com> VED: not fence some buffer to make sync object more efficient

BZ: 92956

not fence some buffer to make sync object more efficient

Change-Id: I8e5ac72247047d468f1ec61aa98872453942ee78
Signed-off-by: Li Zeng <li.zeng@intel.com>
Reviewed-on: http://android.intel.com:8080/103782
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
38f419a75e2994d6afe2ffb360d5f5b7670ce077 11-Oct-2012 hding3 <haitao.ding@intel.com> psb-video: remove and comment out dead code in driver part.

BZ: 59207 59255

remove lldma related code and comment out psb_fence_wait/destroy
delete the dead code in pnw_hosthead.c
comment the dead code in pnw_hosthead.c

Change-Id: Ic4cb4221cacbcae4e7721dbbdc4b1fea974bf9de
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Signed-off-by: nguo <nana.n.guo@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/69754
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
61e067e1c2cfca5234c4a7fa2af351206b543904 26-Sep-2012 hding3 <haitao.ding@intel.com> Comment out dead code to improve code coverage rate.

BZ: 58051

some functions are not used any more, but we'd like to keep them in
git for future reference. Add "#if" to these functions to improve
code coverage rate.

Change-Id: I26e1e81d1f815bd96fd9990d7bd33537d5d057d1
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/67821
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
cc2673c315517dd5a4bd294fb8707cf40c0d2088 19-Sep-2012 Fei Jiang <fei.jiang@intel.com> kernel-drm: refine video driver decode/encode common code

BZ: 58132

Correct PSB_ENGINE_VIDEO to PSB_ENGINE_DECODE.
Signed-off-by: Fei Jiang <fei.jiang@intel.com>

Change-Id: I62a369103031c329e29c390d9070be7ef17f097a
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
Reviewed-on: http://android.intel.com:8080/67180
Reviewed-by: Feng, Wei <wei.feng@intel.com>
Reviewed-by: Zeng, Li <li.zeng@intel.com>
Reviewed-by: Guo, Nana N <nana.n.guo@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
4a98dcd2483042879b67cee3cd51f5b4b2ea630a 31-Aug-2012 Jason Hu <jason.hu@intel.com> add a new buffer type psb_bt_surface_tt to indicate surfaces mapped into GTT.

BZ: 48819

Normal surfaces such as surface created by vaCreateSurfaces() should not be allocated
in TT heap. Only rotated surfaces and local overlay playback(testsuite) need to be
mapped into GTT. So add a new buffer type to separate these two kinds of surfaces.

Change-Id: Iedb2a6e8b8f95655d4e84382e21e985c160a5bba
Signed-off-by: Jason Hu <jason.hu@intel.com>
Reviewed-on: http://android.intel.com:8080/64107
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Feng, Wei <wei.feng@intel.com>
Reviewed-by: Zhu, Tianyang <tianyang.zhu@intel.com>
Reviewed-by: Xie, Lin <lin.xie@intel.com>
Reviewed-by: Wang, Lili A <lili.a.wang@intel.com>
Reviewed-by: Wang, Elaine <elaine.wang@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
8ad9853613fb16f48b9eaf95b4688f55bef4b5f4 30-Aug-2012 SUN,Jing <jing.a.sun@intel.com> Improving coded data copying speed by caching.

BZ: 54731

Issue: Without caching, coded data is too slow to be copied (a 590KB
JPEG file takes 7.Xms). So caching is needed to be set to coded buffers.

Solution: Enabling caching to coded buffers, then a 590KB JPEG file
only take <1ms.

Change-Id: I2adf7ccd35868bf7d14f11852a53a9b2d753472a
Signed-off-by: SUN,Jing <jing.a.sun@intel.com>
Reviewed-on: http://android.intel.com:8080/63967
Reviewed-by: Feng, Wei <wei.feng@intel.com>
Reviewed-by: Wang, Lili A <lili.a.wang@intel.com>
Reviewed-by: Wang, Elaine <elaine.wang@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
5ed159b49cff6b05d923bcf00d09c67ee2ce1f80 15-Jul-2012 hding3 <haitao.ding@intel.com> psb-video code checkin for below BZ fixing.

BZ: 46156 46985 37563 45878 44851 45455

BZ: 44994 - [PORT FROM R3] remove ci_va.h and related code
BZ: 46985 - Blocky image on 1080p3_848x480_low_1000Kbps.mp4
BZ: 37563 - psb-video: fix some h264 ES clip CRC issue
BZ: 46156 - Restore VAImage structrue for binary compatible
BZ: 44851 - Set CACHED flag to external user buffer
BZ: 45878 - Merrifield H264 encoder does not support changing bitrate dynamically under VCM mode
Use extra_offset and extra_pitch for the 4th plane
BZ: 45455 - fix jag issue during one 1080i clip playback

#this is the MFLD part of original MRFLD patch 56458.

Change-Id: Id4ee76ae2a9d8e35c0da68dbb1767325c7064b26
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: Li Zeng <li.zeng@intel.com>
Signed-off-by: msun9 <mingruo.sun@intel.com>
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/59861
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
f31d5416a60f83e184b0906a7ec77ba021840531 11-Jun-2012 hding3 <haitao.ding@intel.com> porting MRFL branch to ICS mainline

BZ: 35390

porting MRFL branch to ICS mainline.update version r7.
#this is the MFLD part of original MRFLD patch 52337.

Change-Id: I77b60e88fdda5ad8166a6578fac99b4523c5a29c
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/52337
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
fa6f2e9012a890942a47eae9f6f1a0ddcd97e9a4 18-Dec-2011 Fei Jiang <fei.jiang@intel.com> video: enable ICS graphic buffer decoding and rendering.

BZ: 18370

This patch enabled to use external buffer for video decoding, will wrap a gralloc buffer to TTM buffer.

Change-Id: I06c5746c22b94c46fb0e7194c554c9d798743ff5
Reviewed-on: http://android.intel.com:8080/28068
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
3f3d1e8746d2b793c982ac19a73061e006b1b178 24-Oct-2011 Kun Wang <kun.k.wang@intel.com> Video: ww44. Refine the codes and fix bug 12552

BZ: 12552

Remove trailing space, and codying style refine

Change-Id: Ie30298ce78b12dd668d5a9e46d59b79278b43003
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/22262
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
e9f11f100c212e9aeb194337ae43bbfea6a130db 18-Oct-2011 Kun Wang <kun.k.wang@intel.com> Video: ww43.2 disable local rendering when widi in extvideo mode

BZ: 11225, 11226

widi support: disable local rendering when widi in extvideo mode
Fix most of the compiler warnings
Remove bcd_ttm_handles which is not used now
Correct the chroma_offset calcualtion in pnw_hostcodec
modify the chroma offset in the func pnw_RenderPictureParameter() to make grabencode work correctly on grabencoding 720P clip

Change-Id: If76829fed5169efe080bf4043c4cac855a3f75dc
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/21909
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
dd4b7893a4762e97aab7d10fbe32c16da494cbdd 13-Sep-2011 Shuduo Sang <shuduo.sang@intel.com> [PORT FROM R1][psb_video] Video: Merge the local psb-video into MFLD Android-- ww36.4

BZ: 8531, 8602, 8795

BZ8531: Switch from extend mode to local mode, we need recalculate the rotation.
BZ8602: Optimize hdmi status query mechanism to save about 2ms time consumption.
BZ8795: Video should be rendered as lock aspect ratio under HDMI extend video mode.
Changed max unused buffer count to 5.

Change-Id: I6915f2c9c57071f1b88d4cc4786234c86037c200
Orig-Change-Id: I9df7eae5f5d08a78e4e4e2f17c59acb140423453
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/18334
Tested-by: Sang, Shuduo <shuduo.sang@intel.com>
Reviewed-by: Monnier, OlivierX <olivierx.monnier@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
09998e330bbcbf835798128768e590772f5a5737 13-Sep-2011 Shuduo Sang <shuduo.sang@intel.com> [PORT FROM R1][psb_video] Video: Porting the local psb-video to MFLD Android

BZ: 7590, 8250, 8294, 8311

BZ7590: 1080P video performance is low when bitrate > 40M bps in landscape mode
BZ8250,8294 and 8311: Tune the overlay idle frame to make render switch more smoothly.

Change-Id: I94e146fa669edf333d70bf3a305167a73b76e2d4
Orig-Change-Id: I97dd9b0921b83e8a3bc4193503921dbb6d230993
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/18332
Tested-by: Sang, Shuduo <shuduo.sang@intel.com>
Reviewed-by: Monnier, OlivierX <olivierx.monnier@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
2d4ed17a7b4c8d106f4d894f84576a7ab7501d91 13-Sep-2011 Shuduo Sang <shuduo.sang@intel.com> [PORT FROM R1][psbvideo] fix the encode crashed problem, fix the error ratation and the UI button disappear problem and fix the screen black problem

BZ:8026,7905,7920,7594

set bitrate to a reasonable value if it's set to zero.
reset texture source status in the initialization.

Change-Id: I94ee7dbecd40252a330f2cf558777c8a4179a896
Orig-Change-Id: Ic8e64c18ea789108158a99c050304b2647762b88
Signed-off-by: jiguoliang <jiguoliang@localhost.ccr.corp.intel.com>
Reviewed-on: http://android.intel.com:8080/18331
Tested-by: Sang, Shuduo <shuduo.sang@intel.com>
Reviewed-by: Monnier, OlivierX <olivierx.monnier@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
f91c8768670386683a281cc39141e21bdda9c97f 08-Aug-2011 Kun Wang <kun.k.wang@intel.com> Video: Porting the local psb-video codes to MFLD Android

BZ: 6825

BZ6825 Add more check for rotate surface
rotate: make texstreaming/overlay VA rotation set from vaSetDisplayAttribute work
Aligned with opensource version
Fix ttm object count increase after capture a picture.

Change-Id: I4a593be8dd2736f10c045f41f70beba3423cf6e7
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
3982f61b009483a53bdbc0391dc71934021fc8ab 28-Jul-2011 Kun Wang <kun.k.wang@intel.com> Video: Porting the local psb_video to MFLD Android

BZ: 5493

Set bit MinLumaBipredSize8x8Flag
MR: make IMR functional (put slice data into IMR, and decode it by MSVDX)

Change-Id: I1fdddaf588ca48481a97924d435243e5adf5a9d6
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
/hardware/intel/img/psb_video/src/psb_buffer.h
bde3ed7517cc876cb2a6e174ea2a96a75938e787 18-Apr-2011 Kun Wang <kun.k.wang@intel.com> Video: Port the latest video psb_video library to MFLD Gingerbread. -BZ1229

Vido team have updated some changes for MRST and Meege. These changes include: fix Meego TTM error message; support resolution change feature; workaround to avoid TTM page leak message; Enable HDMI extend video corresponding to libva 1.0.12; refine codes style; Fix sighting 3471013; etc.

Port the latest video psb_video library from video team's local git server to MFLD Gingerbread.

Change-Id: I75f607e0bbd32d571ec723a52528330730bb13a3
Signed-off-by: kun.k.wang@intel.com
/hardware/intel/img/psb_video/src/psb_buffer.h
dc1209519284865899ca8d990b3a2c7dbca8ae08 09-Mar-2011 wangkun <kun.k.wang@intel.com> porting the latest psb_video codes to gingerbread-stable

Change-Id: I7f420c2fa49a3b6569171c077c10c35f32e03418
/hardware/intel/img/psb_video/src/psb_buffer.h
2f768e2db3e4074a6e9a3d5f0f6e321233d96e4c 29-Sep-2010 Fei Jiang <fei.jiang@intel.com> Update driver to DDK113 to support cicso's several features which include fw update.
The implemented cisco's new features include: AIR, maximum slice size ctrl, refined dynmaic bit rate ctrl.

Change-Id: Iaca7f518bf4626c6f798b694fadd528966ae7c9f
/hardware/intel/img/psb_video/src/psb_buffer.h
2befccec034c13d34746a9e87149889d59ac767b 23-Aug-2010 Fei Jiang <fei.jiang@intel.com> Porting psb-video code change from Eclair.

Change-Id: I366119c332c0bdd791ce363b60ae60d20b1ba458
/hardware/intel/img/psb_video/src/psb_buffer.h
437b3eda28a4bf098efa80598cab67f190275266 11-Jun-2010 Fei Jiang <fei.jiang@intel.com> Replace wind river video driver with intel umg video driver, which also include texture streaming support.
Playback with texture streaming is for default, but overlay is also supported.
You can disabled "#define ANDROID_VIDEO_TEXTURE_STREAM 1" in psb_output.h to enable overlay.

Change-Id: Ia8e08c69d5f221c8e43d79ecd74993fd1e819a69
Reviewed-by:Francis Tharappel
/hardware/intel/img/psb_video/src/psb_buffer.h
7e8d39a9d261ff6b5256d7cf9c7a127947b2b2a5 17-Apr-2010 Fei,Jiang <fjiang4> Copy wind river video driver to ABSP for the first step, and there is some change to the header files include.

Change-Id: I31670ad211ab08d6477fd8acf31581eb3f559a84
/hardware/intel/img/psb_video/src/psb_buffer.h