History log of /hardware/intel/img/psb_video/src/pnw_hostheader.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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_hostheader.c
ca233809072f8567ebde25af27e2405608dda7ff 11-Jul-2013 Elaine Wang <elaine.wang@intel.com> Encode: Support setting num_unit_in_tick and time_scale

BZ: 121092

Support setting num_unit_in_tick and time_scale in H264 SPS VUI header
If num_unit_in_tick or time_scale is zero, video driver will
set num_unit_in_tick to 1 and time_scale to 2 * framerate.

Change-Id: I7aaf952b04967a5b2417d8d227d74366fb0af8d3
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Signed-off-by: Karthik Veeramani <karthik.veeramani@intel.com>
Reviewed-on: http://android.intel.com:8080/118595
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_hostheader.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/pnw_hostheader.c
e5b2aa3167d246290e7b37ded91daf4add0e0947 17-Oct-2012 jiguoliang <guoliang.ji@intel.com> [psb-video] comment the current dead code

BZ: 61480

comment the dead code including long term reference code, B slice type code,
interlaced encoding code, and so on.

Change-Id: I9dd81c4a4d0ed414ac38ab8e4553cedee2a2178f
Signed-off-by: jiguoliang <guoliang.ji@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/72303
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: lab_cactus <lab_cactus@intel.com>
Tested-by: lab_cactus <lab_cactus@intel.com>
/hardware/intel/img/psb_video/src/pnw_hostheader.c
d84df5029a3217201c5584276337b57009d0c6b9 24-Oct-2012 jiguoliang <guoliang.ji@intel.com> comment the dead code Signed-off-by: jiguoliang <guoliang.ji@intel.com>

BZ: 64419

comment the dead code for increase code coverage.

Change-Id: I7d4ec422ab092f1847aebe1b21b93a15ecd360f0
Reviewed-on: http://android.intel.com:8080/71932
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_hostheader.c
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/pnw_hostheader.c
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/pnw_hostheader.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_hostheader.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_hostheader.c
1467d8a9827d188f59cb7d2b761059c32115a303 01-May-2012 ttao1 <tao.q.tao@intel.com> Set timing_info_present_flag when aspect ratio is set

BZ: 34238

When aspect ratio is set, video driver does not set timing_info_present_flag.
This is causing decoder to fail to get SEI timing and period info.

Change-Id: Id5938d112acb33c34166e8b233ec85b2e1d54fef
Signed-off-by: ttao1 <tao.q.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/46911
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
Reviewed-by: Chang, Ying <ying.chang@intel.com>
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_hostheader.c
d2110f3c1712ca953523a4a75a4d3f08b5d4cb1e 20-Mar-2012 hding3 <haitao.ding@intel.com> [PORT FROM R2]AVCE: Add custom cropping and SAR support.

BZ: 25436

Add custom cropping and sample aspect ratio support for
PNW AVC encoder.

Orig-Change-Id: I33342fc368bed7755af5baa28d15c650ebf746ba

Change-Id: I895986aebf24d11374ff40573fdf8831e5828604
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/39745
Reviewed-by: Chang, Ying <ying.chang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/pnw_hostheader.c
67612a448651896b2557796ff98d46c5e0dbbdc6 24-Feb-2012 hding3 <haitao.ding@intel.com> psb_video: Fix klocwork issue.

BZ: 23921

There are some critical klocwork issues in MRST code.
Considering Android ICS doesn't support MRST platform, removing MRST
files from makefile is safe and it will clear these klocwork issues and
also make a smaller library binary.

Change-Id: I75d285f1acadf5e589045b1c42229335716419d5
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/36498
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_hostheader.c
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/pnw_hostheader.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_hostheader.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_hostheader.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_hostheader.c
086538e724f4c6fb0f25b3f6383626f93221dd97 02-Aug-2011 Mark D Horn <mark.d.horn@intel.com> Enable format-security Error Checking

BZ: 1774

Set additional default compiler flag to be in sync with Google.
The "-Werror=format-security" flag enables additional security
checks as errors instead of warning.
http://gcc.gnu.org/onlinedocs/gcc-4.3.5/gcc/Warning-Options.html#Warning-Options

Requires several parallel patch sets to be applied together to
coordinate the new flag and required code changes.

Change-Id: Iace09943466a93636e616a3f94f49318dfd830f7
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
/hardware/intel/img/psb_video/src/pnw_hostheader.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_hostheader.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/pnw_hostheader.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/pnw_hostheader.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_hostheader.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_hostheader.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_hostheader.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/pnw_hostheader.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_hostheader.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_hostheader.c