History log of /hardware/intel/img/psb_video/src/psb_texture.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
919dea6b2625ea6e74e0f93819ffe874b2601b9a 20-Jul-2014 Thierry Strudel <thierry.strudel@intel.com> Fix relative path of included kernel header

BZ: 209178

Change-Id: I239cc7b2823c2a111596fafdaeabbb5287c5a47e
Signed-off-by: Thierry Strudel <thierry.strudel@intel.com>
Reviewed-on: https://android.intel.com/220106
Reviewed-by: Fert, Laurent <laurent.fert@intel.com>
Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com>
Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
/hardware/intel/img/psb_video/src/psb_texture.c
aeee5382f933ef7b1aa54a0f12207fa3c9f6c89a 18-Nov-2013 Andy Qiu <junhai.qiu@intel.com> include ttm_placement.h header file explicitly

BZ: 152009

ttm_placement.h header file is now removed from psb_drm.h header file
so it needs to be included explicitly.

Change-Id: Ic75d80c7ca466a7561375b62f17fd65f933d76f4
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/psb_video/src/psb_texture.c
d333cc027acc19d7367a8d3522f8710972f544f5 16-Aug-2013 Lingyun Zhu <lingyun.zhu@intel.com> [GFX-3D][DDK1.11 UPGRADE UM][BASE] Remove redundant psb function to coordinate IMG to Intel base patch

BZ: 137996

Change-Id: I963abc82b76588673a288063bb98441a03bc543f
Signed-off-by: Lingyun Zhu <lingyun.zhu@intel.com>
Reviewed-on: http://android.intel.com:8080/129647
Reviewed-by: Liu, MinX Z <minx.z.liu@intel.com>
Tested-by: Liu, MinX Z <minx.z.liu@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/psb_texture.c
afee71a4d88efb527222b5907dd5a92e1961dff6 05-Mar-2013 Austin Yuan <shengquan.yuan@gmail.com> Rebase libVA to latest freedesktop "staging" branch

BZ: 90494

Fix psbvideo build issue which is caused by libva change

Change-Id: I9c470cfd3613aa74bbc618cdb464c1b6816b8b26
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Signed-off-by: Chang Ying <ying.chang@intel.com>
Reviewed-on: http://android.intel.com:8080/95038
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Yuan, Shengquan <shengquan.yuan@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_texture.c
96b0e013cefb77a845b6533d4c2ecf6f0aa429fc 20-Dec-2012 edward lin <edward.lin@intel.com> define in the code for Merrifield video encoder user-space driver [MRFLD-VIDEO]

BZ: 76157

Firstly, I modified the code of psb_surface_attrib.c and psb_texture.c, psb_texture.h to make sure this code could be compiled ok on Linux environment.
Secondly, I removed and reduced some DEBUG Macro define for Merrifield Video Encoder user-space driver.
this modified would not affect the running of encoder, only for code clean

Change-Id: I68ad681333e766a1b8bc2577714a1be6f07c249b
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/83598
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/psb_texture.c
0ff300115fba4b587b9a930440c6f08812877b7a 27-Dec-2012 pingshix <pingx.shi@intel.com> Fix klocwork issue

BZ: 77254

Fix klocwork issues in psb_video project

Change-Id: If1321d2e44a6678bada239c89983f5abe3f3b2b7
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/84002
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/psb_texture.c
8bc6a6aa815a18f936036b5a47106b47aa904b1b 12-Dec-2012 hding3 <haitao.ding@intel.com> [PORT FROM MAIN][psb-video] Fix klocwork issue on mainline

BZ: 72765 70530

Fix klocwork issues lik potential NULL pointer dereference, not relase mutex resource and
not used variables.

Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>

Change-Id: I4dd65a457c8160612a5a38021a75b9d34c0f092c
Reviewed-on: http://android.intel.com:8080/82316
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/psb_texture.c
f135e75f6e385876c8007688802e7b38f10a2b7e 11-Oct-2012 hding3 <haitao.ding@intel.com> psb-video: remove and comment out IS_MRST related code.

BZ: 59207

remove IS_MRST related code

Change-Id: I3476185d53e3b7bdc9cae47f5c8c23f6c06b082a
Signed-off-by: nguo <nana.n.guo@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/69757
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_texture.c
38d89d625f11c0c3f0ff313cef450252e6467baf 17-Sep-2012 hding3 <haitao.ding@intel.com> Merged the latest Merrifield video encoder code here, and fixed some compiling error

BZ: 57543

fix some compile error to make psb-video can pass compile both android and linux development env.
#MFLD part.

Change-Id: I45f10c52d75c0b429f78b5d0fe21c2d8898a2815
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/66662
Reviewed-by: Zeng, Li <li.zeng@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_texture.c
06c7c30796be2e6b18a6263956a0ca308616ecde 11-Sep-2012 Li Zeng <li.zeng@intel.com> ved: psbvideo msvdx code refine

BZ: 56431

Add new ved fw, remove unused ved fw, remove msvdx dead code, add VP fw
Refactor decode part

Change-Id: Ic03f1659a056cba91c2ccd3b0f96401d60872e3d
Signed-off-by: Li Zeng <li.zeng@intel.com>
Reviewed-on: http://android.intel.com:8080/65458
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
Reviewed-by: Wang, Elaine <elaine.wang@intel.com>
Reviewed-by: Feng, Wei <wei.feng@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_texture.c
d03b75a0bb7d76d8d05509f5b581ab3b5d36a20d 13-Jul-2012 Xiaolin Zhang <xiaolin.zhang@intel.com> fixed the JB compileration error.

BZ: 47236

fixed the JB compileration error by changing some header files path.

Change-Id: I924f7fd4d794ee6dff5ba09d894f3cdc5759d3df
Signed-off-by: Xiaolin Zhang <xiaolin.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/56587
Reviewed-by: Beare, Bruce J <bruce.j.beare@intel.com>
/hardware/intel/img/psb_video/src/psb_texture.c
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_texture.c
c60d5b7bdb5616ca37e0b912c10725bec4320f33 13-May-2012 Fei Jiang <fei.jiang@intel.com> psb-video: refine video driver debug/trace function

BZ: 36116

Previous video driver debug/trace function is a bit of mess, not easy to use.
Divide the debug/trace to different levels and remove some redundant code. With this commit, the example psbvideo.conf would be like:
PSB_VIDEO_TRACE=/data/log
PSB_VIDEO_TRACE_LEVEL=1
PSB_VIDEO_TRACE_OPTION=16
Details of level and option can be seen from the psb_drv_debug.h.

Change-Id: Icd2789522deca6e7b2469547d10a11b815636e8f
Reviewed-on: http://android.intel.com:8080/48610
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
Reviewed-by: Zeng, Li <li.zeng@intel.com>
Reviewed-by: Sun, Mingruo <mingruo.sun@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_texture.c
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_texture.c
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_texture.c
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_texture.c
8803df709aec9d485d757c681791d708f9a88fe6 07-Jun-2011 Austin Yuan <shengquan.yuan@gmail.com> Video: not enabled CTEXTURE by default

BZ: 3102, 2992, 2746

there is thread-safe isue in CTEXTURE:PVR2D, and will cause HW libjpeg
hang (libjpeg will create many libVA threads during running)

Improve video 1080 the 2nd slice quality by a workaround

Change-Id: I9966a8912c71695277afb52732f77044c2a8f621
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
/hardware/intel/img/psb_video/src/psb_texture.c
ca7d98aa1e54c9ee6ee79eb46ad25e0b897e7c51 26-May-2011 Austin Yuan <shengquan.yuan@gmail.com> Video: fallback to TS when detects rotate

BZ: 2529

This is the second patch to temp fix video playback rotate issue
getVideoPostMethod is used to return surfaceflinger layer compostion
status, in addition for it, add the screen rotation info into it, then
with a query, video driver can get the rotation information and fall
back to texsteaming (temporarily) accrordingly

Change-Id: Ic715ed3e4caa89869f55944e5055493797deb6fd
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
/hardware/intel/img/psb_video/src/psb_texture.c
65174cf623a03bf5ce819778f8bca002674c2e7e 19-May-2011 Austin Yuan <shengquan.yuan@gmail.com> Video: fix some random uninitialized data which will capture hang

BZ: 2351, 1119

HDMI resource are local variables and not fully initialized, by
move it to driver private data to fix video capture random data
corruption issue, which will cause video caputre hang issue

Change-Id: I99437e72155ecf55ff218d80c7f6c586b70cdd7b
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
/hardware/intel/img/psb_video/src/psb_texture.c
54752e65b02b1a84c491e3f9c964046faeea306e 09-May-2011 Kun Wang <kun.k.wang@intel.com> Video: porting the lastest psb_video to support overlay and HDMI extended video mode.

BZ: 1788, 1173, 1634, 817

Video driver should support dynamic switch b/w overlay and ts according to wherher video si covered by UI.
Video driver should support HDMI extended video mode.

Video driver will query visible region info from surface flinger to detemine render through ts or overlay path

Change-Id: I7d4081e14cf1b5813c742446c17dc48c8c9b6317
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
/hardware/intel/img/psb_video/src/psb_texture.c
3f0344d71a79eccf65858fe5ba8a55f75dc5d7f5 03-May-2011 Austin Yuan <shengquan.yuan@gmail.com> video: integration ww19.2 libva/video driver

BZ: 1597

Fixed test/basic; test/decode; test/encode; test/putsurface bugs for Android

Change-Id: I60b47c55d01a2705d8a8965cfe6a05a4a64f84de
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
/hardware/intel/img/psb_video/src/psb_texture.c
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_texture.c
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_texture.c
4b5b72d7dd3fe944d75029ff0ca6db1e74600e59 07-Jan-2011 Liu, Shuo <shuo.liu@intel.com> Update psb_video from medfield-meego 2010-12-15 release to enable
stagefright based video playback

Change-Id: I41ca5c27a819895ef3c0eed529b84edca0f1fa24
Signed-off-by: Liu, Shuo <shuo.liu@intel.com>
/hardware/intel/img/psb_video/src/psb_texture.c
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_texture.c
a81b45fd5370b82d6ad2cc9e5eaebfa99d25a03d 21-Sep-2010 Bruce Beare <bruce.j.beare@intel.com> Android doesn't have Xlib.h. Remove include. Also clean up some structure initializations

Change-Id: Ice39b130b42495292da6c8d4fcdc7cb60d9403ef
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
/hardware/intel/img/psb_video/src/psb_texture.c
643778eb83b8dfe3bbf433855b311d4fefa95e21 10-Sep-2010 Fei Jiang <fei.jiang@intel.com> Update video driver to tag ww37.5_android.
Implement cisco's new requirement: dynamic bit rate control and IDR request.

Change-Id: I99ed1444fe0cc0f293eb3499574fc9c18d33030a
/hardware/intel/img/psb_video/src/psb_texture.c
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_texture.c
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_texture.c