History log of /hardware/intel/img/psb_video/src/pnw_MPEG2.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f4c11867384e8c010264c10f0703e720bf2eefca 26-Jan-2015 Yuanjun Huang <yuanjun.huang@intel.com> psb_video: Enable MPEG2 in video driver

MPEG2 driver implementation

Change-Id: I43933536803788f31445e4eeb00d95e9dfa620c6
Signed-off-by: Yuanjun Huang <yuanjun.huang@intel.com>
/hardware/intel/img/psb_video/src/pnw_MPEG2.c
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/pnw_MPEG2.c
20f2ef257b798a174166858314731050410e31f4 16-Apr-2014 mahongpe <hongpeng.ma@intel.com> Fix HEVC video clip display issue.

BZ: 188865

HEVC is decoded by software, when rotation, it will use
VED to do rotation. so there is not coded_width and coded_height
in this case. when display, the start X/Y will be wrong.

Change-Id: Ic18b32315232046451f502897353f7139fd95355
Signed-off-by: mahongpe <hongpeng.ma@intel.com>
/hardware/intel/img/psb_video/src/pnw_MPEG2.c
55dbfaffb153fbec01e82c471b7ea5bf7bcac5fe 01-Apr-2014 mahongpe <hongpeng.ma@intel.com> Pass real frame width and height to HWC.

BZ: 188861

When rotation is enabled, if source crop is not equal to source
region, HWC will need real width and height to calculate the
start position in rotation buffer.

Change-Id: Ib34bed57a293aa1ad5e181031e58575abe5e76e2
Signed-off-by: mahongpe <hongpeng.ma@intel.com>
/hardware/intel/img/psb_video/src/pnw_MPEG2.c
4d06c1febaa800c6a9efb9908a2c6233472c7464 31-Aug-2013 Li Zeng <li.zeng@intel.com> VED: Enable VED buffer scaling

BZ: 134818

Enable VED buffer scaling

Change-Id: I084e15a29f3019f1b2c5f43ab20f798829229bd1
Signed-off-by: Li Zeng <li.zeng@intel.com>
/hardware/intel/img/psb_video/src/pnw_MPEG2.c
6d37ae34fcae80f2e898b61e2506ed8e887bd16a 17-Oct-2012 nguo <nana.n.guo@intel.com> psb-video: refine video driver code for error check

BZ: 62498

define macro to make readable

Change-Id: I7b18e8f48db1565bf23595a303c85c18f26ec85b
Signed-off-by: nguo <nana.n.guo@intel.com>
Reviewed-on: http://android.intel.com:8080/70537
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
Reviewed-by: Sun, Mingruo <mingruo.sun@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/pnw_MPEG2.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/pnw_MPEG2.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/pnw_MPEG2.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/pnw_MPEG2.c
751400dde1eac64dd41c7de33fcddf8a939e4ab2 20-Jan-2012 hding3 <haitao.ding@intel.com> psb_video: porting patches from R2 to R3 for psb_video

BZ: 20870,19404,15626

Patch porting from R2 to R3 for psb_video

Change-Id: I152c61118e9945181f0f70a85d87528a04b432c2
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/32630
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/pnw_MPEG2.c
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/pnw_MPEG2.c
680952832ef474a95bb0c4fee50c06e5126ad66d 03-Nov-2011 Kun Wang <kun.k.wang@intel.com> Video: ww45.4 Port the local psb-video and libva changes to MFLD Android.

BZ: 13645, 13068

DDK3.0 update for psb-video (NOT enable)
Error Concealment codes for MFLD (NOT enable)
Add CloverTrail deviceID
Fix segfault issue
Fix wrong cbp_size_value_minus1 calculation.
Need a new encode parameter buffer type for HRD parameter setting.

Change-Id: I6d9d1936bf2ade8dc4129a210e718a16e6b13933
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/23007
Reviewed-by: Wang, Elaine <elaine.wang@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/pnw_MPEG2.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/pnw_MPEG2.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/pnw_MPEG2.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/pnw_MPEG2.c
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/pnw_MPEG2.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/pnw_MPEG2.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/pnw_MPEG2.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/pnw_MPEG2.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/pnw_MPEG2.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/pnw_MPEG2.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/pnw_MPEG2.c