History log of /hardware/intel/img/psb_video/src/psb_surface.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
02f3955632048eb112d521f9c8e80ab2c911598a 14-Nov-2014 Xigui Wang <xigui.wang@intel.com> Support YV12 format for ISV functions

In current design, all YUV420 surface will be handled with VA_FOURCC_NV12.
The correct pixel format will be saved in extra_info[8].
VSP driver will indentify YV12 format with extra_info[8].

BZ: 229811
Bug: 17383204


Change-Id: I405b37bbac273e611b7415781b6dc586808b78ba
Signed-off-by: Wang Kun <kun.k.wang@intel.com>
/hardware/intel/img/psb_video/src/psb_surface.h
cecb10be5449aa74cd1d9a2eb41c2a6a76d9ee79 22-Jul-2014 ywan171 <yi.a.wang@intel.com> remove warning in psb video

BZ: 209178

remove warning in psb video
Signed-off-by: ywan171 <yi.a.wang@intel.com>

Change-Id: Ie1a05b5a92fa6666420f8fd7138bc9df0f6d5d42
Signed-off-by: root <root@feijiang-desktop.(none)>
Reviewed-on: https://android.intel.com/220814
Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com>
Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com>
/hardware/intel/img/psb_video/src/psb_surface.h
8086c50ddd6fa200beba8d1878a4f0a4ae4de7ee 26-Apr-2013 Fei Jiang <fei.jiang@intel.com> psb_video: remove NV12->YV12 CSC

BZ: 101129

gralloc and egl driver can directly support NV12 linear format,
then don't need add such sw CSC in psb_video driver.
Signed-off-by: Fei Jiang <fei.jiang@intel.com>

Change-Id: I03085fee3cabc6b0f17a20bb373737a704a3cfbd
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
Reviewed-on: http://android.intel.com:8080/105031
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Stimson, Dale B <dale.b.stimson@intel.com>
Tested-by: Stimson, Dale B <dale.b.stimson@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_surface.h
b7c527a64448cfeedb2fe114b673af667f92faf2 03-Apr-2013 hding3 <haitao.ding@intel.com> psb-video: enable vp8 decoding for Baytrail platform

BZ: 96355

Only vxd decoding is enabled for BYT platform.
Need use BAYTRIAL macro to disable compiling encode/vpp code.
On baytrail, currently NV12 linear format is not supported.
Need do CSC to convert NV12 to YV12.

Change-Id: I8b59b2bbbdf90f9612bc77db4ad63d7ae347f720
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/99805
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_surface.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_surface.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_surface.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_surface.h
35405e1aaaefd5bb307ba7f7161e138a86880020 07-Nov-2011 Kun Wang <kun.k.wang@intel.com> Video: ww46.1 Porting local psb-video to MFLD Android R2

BZ: 13659, 5822

BZ13659. Whether to recalculate final rotation depend on both va rotation
from app and window manager rotation. So set rotation dirty flag when app set
va rotation, and delay to recalculate final rotation until we know WM rotation.

BZ5822. Bypass overlay color correction and suppose to be replaced by pipe color correction in future.

surface_extinfo: Remove the extra memset
psb_surface.h: define SET/GET_SURFACE_INFO_rotate/protect in a common place
protected decode: the rotated surface should derive the protected flag from the main surface

Change-Id: I64a838a70e627aee3aa4298eb1e861e6221e093b
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/23375
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-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_surface.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_surface.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_surface.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_surface.h
5b25aaf457f3ba02a4ff2a6243fa7c0f84f1e016 14-Jul-2011 Kun Wang <kun.k.wang@intel.com> Video: Porting the local update to MFLD android

BZ: 4196, 4465, 5024

BZ4196: Append extra NULL command to JPEG encoding command buffer.
BZ4465: Concurrent invoke vaInitialize/vaTerminate will cause overlay is initialized
mutiple times even when overlay is used to rendering. Delay overlay initialization to the
first use of overlay.
BZ5025: Change the placement flag of surface allocated by psb_CreateSurfacesForUserPtr.

Change-Id: Ie4065997150ceae07de5604606f142e3583d3ae6
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
/hardware/intel/img/psb_video/src/psb_surface.h
0da1930627209986e8db220799a690f816494401 14-Jun-2011 Austin Yuan <shengquan.yuan@gmail.com> Video: msvdx rotation support and some sanity check of parameters

BZ: 2207, 2984, 2986, 3038

Enabled msvdx rotation:
1) when detectes surfaceflinger has rotate,
notify per-context msvdx rotate support
2) check if the incoming stream is interlaced or not by PicParams
if it is interlaced clip, doesn't use msvdx rotate
3) export PSB_VIDEO_NOROTATE to disable rotate support

for BZ2986 and BZ2984, add checking VASubpictureID and modify
function vaSetSubpictureChromakey

for BZ3038, Clear local drawable when texstreaming switch to
overlay render path

Change-Id: I4d8f8340c65615d02947b7388f9ddc744a57dec3
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
/hardware/intel/img/psb_video/src/psb_surface.h
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_surface.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_surface.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_surface.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_surface.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_surface.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_surface.h