History log of /hardware/intel/img/psb_video/src/pnw_cmdbuf.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_cmdbuf.c
58c96451d7ea53930d4eb94b6573571a51170de4 22-Dec-2013 Fei Jiang <fei.jiang@intel.com> psb_video: remove unused group member in psb_validate_req

BZ: 160699

group is not used in structure psb_validate_req,
remove it to let the structure size aligned at 8 bytes.
If psb_validate_req struture size is not aligned at 8 byte,
will occure imcompatible problem for 32 bit user space and 64 bit kernel case.

Change-Id: I12445ecc4fef52ffeebc6702a5b5861150103237
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
/hardware/intel/img/psb_video/src/pnw_cmdbuf.c
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/pnw_cmdbuf.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/pnw_cmdbuf.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_cmdbuf.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_cmdbuf.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_cmdbuf.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_cmdbuf.c
cf2ffc893a4a2ca7f4f2a19f89a4c47f0edc54e3 21-Oct-2011 xzhai1 <xiaogang.zhai@intel.com> cmdbuf: obsolet memset to be deleted in psb_cmdbuf.c lnc_cmdbuf.c pnw_cmdbuf.c

BZ: 9354

In psb_video code, there are obsolete memset functions called when encodingone slice.
one obsolete memset that is to init struct that is already initializedby calloc funtion.
Another obsolete memeset is to remove the reason is obsoletefields in drm_psb_cmdbuf_arg,
so to remove the obsolet the fields.

Change-Id: I7be2965d08b1af48a793620a7b469d4ae444daff
Signed-off-by: xzhai1 <xiaogang.zhai@intel.com>
Reviewed-on: http://android.intel.com:8080/21957
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_cmdbuf.c
c3077df94073dd4c035f86e5f1428e4611a0cf73 08-Oct-2011 Shuduo Sang <shuduo.sang@intel.com> [PORT FROM R1] Video: ww40.2 porting local psb-video to MFLD Android

BZ: 10634

BZ10634: No sync mechanism to hold surface buffer b/w msvdx and display(overlay), so disable dynamic surface destroy/create for avoi
ding buffer corruption.
vaLockSurface: set the buffer kernel handle of a VA surface into buffer_name
vaCreateSurfaceFromUserPtr: set the SHARE flag, so that the surface created can be accessed by other process.
Update cur_displaying_surface and last_displaying_surface in psb_putsurface_ts
Clean up the license headers
psb_kbuf_reference: must set the placement, or else run into a buffer "Move" in kernel

Change-Id: Ie7a9deef2a52e892822b6c2cb460dfb89f251277
Orig-Change-Id: If0bfe2d31da21b86a244c8d6e3abc8f7eb6c240e
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/20860
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/pnw_cmdbuf.c
b6b9c482c9c72f4e2bc90260813cc00b454e011d 20-Sep-2011 Shuduo Sang <shuduo.sang@intel.com> [PORT FROM R1][Video] ww38.5 -- Porting the 8998,9421 and 9915 patches.

BZ: 8998, 9421, 9915

BZ8998: remove check ref surface of P frame in MPEG4
BZ9421: If one thread never create texture stream source, it should not destroy texture stream source either.
BZ9915: Youtube video is not full screen play on HDMI device sometimes.

Change-Id: I4430eabdbc130fcdb82cf996c5bf391e21f4616a
Orig-Change-Id: Icf67b3a15c9778432b1683f1bcb9964c1a32fd3d
Signed-off-by: Kun Wang <kun.k.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/19058
Reviewed-by: Sang, Shuduo <shuduo.sang@intel.com>
Tested-by: Sang, Shuduo <shuduo.sang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/pnw_cmdbuf.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_cmdbuf.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_cmdbuf.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_cmdbuf.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_cmdbuf.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_cmdbuf.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_cmdbuf.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_cmdbuf.c