History log of /hardware/intel/img/psb_video/src/psb_surface_attrib.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
212b97f9217423c9e6a7811d2ce518de6530b4a5 21-Jul-2015 Haitao Ding <haitao.ding@intel.com> resolve hevc decoder crash issue

Bug: 22618392

Remove tile stride reset to fix hevc frame drop issue

Change-Id: I82d14f82ac4a17772026557356c8a835cf71d208
Signed-off-by: Haitao Ding <haitao.ding@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
48f5fb14daab6b742ab405821b6ec28b04a135b2 19-Jun-2015 Yuanjun Huang <yuanjun.huang@intel.com> Add flush cache operation for VP8 encode in user point type surface

Bug: 21156664

Change-Id: I790b7f39cea94cababf50b09876f7c68ed742518
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
2046ea17ddb468c845f542a88761a03b04898fd7 09-Sep-2014 Vinil Cheeramvelil <vinil.cheeramvelil@intel.com> ION support in psb_video

when ion is enabled as backend of gralloc.
video driver needs to pass down fd of graphics buffer
when creat surface from it.

Orig-Author: Randy Xu <randy.xu@intel.com>

Bug: 18731042
BZ: 230505
Change-Id: Ic85a04e1b2766764fb85ff98503022fb7be6b54f
Signed-off-by: mahongpe <hongpeng.ma@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
76bd3954a4802b4bb2e797e49488c31315e9c913 31-Jan-2015 Elliott Hughes <enh@google.com> am 6e651afc: Fix "error: implicit declaration of function \'calloc\'".

* commit '6e651afc8c61e7cc2a1f08078e908df2810af49a':
Fix "error: implicit declaration of function 'calloc'".
6e651afc8c61e7cc2a1f08078e908df2810af49a 31-Jan-2015 Elliott Hughes <enh@google.com> Fix "error: implicit declaration of function 'calloc'".

Change-Id: I9692f3b660b4832605fcb03bc60f1572b47e6ca3
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
2c6fb3e28229a8b90c4a719caeb0e30b44dc0510 05-Dec-2014 Dale Stimson <dale.b.stimson@intel.com> Revert "ION support in psb_video"

Remove ION memory manager due to regressions caused by its inclusion.

This reverts commit 7f1c4d0835202abcb6f7bf42a3a8813dc48a8e0c.

Bug: 18578655
Bug: 18527174
BZ: 230087
BZ: 229790
BZ: 229995
Change-Id: I56965a48f4fe24aff2317610153715c1a83d4ab5
Signed-off-by: Dale Stimson <dale.b.stimson@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
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_attrib.c
7f1c4d0835202abcb6f7bf42a3a8813dc48a8e0c 09-Sep-2014 Dale Stimson <dale.b.stimson@intel.com> ION support in psb_video

when ion is enabled as backend of gralloc.
video driver needs to pass down fd of graphics buffer
when creat surface from it.

Orig-Author: Randy Xu <randy.xu@intel.com>

BZ: 224134
Bug: 17316531
Depends-on: Ife9513fe58e06ea2829987f328668f975a44b4e0
Depends-on: I4b8422d48b06419af6e48b631bacbe6c7169574e
Depends-on: Ia4c5bc80df952024a0973f2bacc42992301dfbf9
Depends-on: I172cdcb8cc86fd6fa3d3adadbab19b6fd3e6a18e
Depends-on: I2a2e721719349f755033c15bdeb732e7fb5c89ac
Depends-on: I48deabb107cc3abfa59eff5e012b51293fe6d74f
Depends-on: If2be266fc9063d7a2b701f85e8ace26aaf484ff5
Change-Id: I0ca0f06491e3fb498b3b41b70cbe1b6cf39e1918
Signed-off-by: mahongpe <hongpeng.ma@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.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/psb_surface_attrib.c
e982f1e85b688d56a63c7e352281a182753f1e7b 06-May-2014 Wang Kun <kun.k.wang@intel.com> Support VSP Security Compose

BZ: 192662

Support WIDI Security Compose feature.

Change-Id: Id2cd8eb649c13a3919fccb876d145feb67c33023
Signed-off-by: Wang Kun <kun.k.wang@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
aab47c383c7e535a24f3c7bd0ed17511a97b6416 03-Dec-2013 Wang Kun <kun.k.wang@intel.com> Support the tiling setting for ATTRIB_MEM_TYPE_VA type

BZ: 155563

The tiling flag can be set in user app.
Update the codes to support VA_SURFACE_ATTRIB_MEM_TYPE_VA memory type.

Change-Id: I61e1853953f9272753c4ba4b6398b074e1443fb0
Signed-off-by: Wang Kun <kun.k.wang@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
1e3daae79c77ac457bad20d3758ab1523c79e7f3 13-Nov-2013 Li Zeng <li.zeng@intel.com> Video: remove width check for tiling/linear selection

BZ: 151378

remove width check for tiling/linear selection, use libva's tiling flag instead

Change-Id: Id0243556ef0a16ad7ac7978a92e8e97a7f5f31c0
Signed-off-by: Li Zeng <li.zeng@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
e616984cef7f7bfd309d059104c118df19eeba76 14-Oct-2013 Shi, PingX <pingx.shi@intel.com> Revert "psb-video: enable tile format for VXD392 on Baytrail platform"

BZ: 141202

This reverts commit ffac75132f0e42aba292f8ba162cd709ea2d9baa.

Change-Id: I7874cec84b06f93b4bd7fb70cb27d584ab41683e
Reviewed-on: http://android.intel.com:8080/138166
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
8f310b349f837dec52859cfdcf1949345f462c21 25-Sep-2013 Fei Jiang <fei.jiang@intel.com> psb-video: enable tile format for VXD392 on Baytrail platform

BZ: 141202

Due to GEN's x tile format is 512x8,
then we need also switch VXD392's tile format from 256x16 to 512x8.
Tile info need be passed from upper layer.

Change-Id: Ie9af91e6c7899f02f7fe6928df8a537a46a7087d
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
Reviewed-on: http://android.intel.com:8080/137396
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
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_surface_attrib.c
5c3a70e3d110fc71ec9b00955c8885310fdf70ae 01-Aug-2013 Li Zeng <li.zeng@intel.com> VED: Enable invoke VED two-pass rotation from HWC

BZ: 128654

Enable invoke VED two-pass rotation from HWC

Add VED stride mode and tiling support in psb_CreateSurfaceFromKBuf

Change-Id: Icf777b57c59c797eca21fb9aee8a5dc071a2a02e
Signed-off-by: Li Zeng <li.zeng@intel.com>
Reviewed-on: http://android.intel.com:8080/124630
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: Guo, Nana N <nana.n.guo@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
0cb7e3aca829a30af7cbb32df4271b06c906a323 17-Jul-2013 Ren Zhaohan <zhaohan.ren@intel.com> Enable MPEG4/H263 reference frame dumping

BZ:124043

This patch fixed reference frame dumping issue of MPEG4 and H263

Change-Id: Ia44dda8c722ef2e721abd25a2f3e62ee4617bd85
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
Reviewed-on: http://android.intel.com:8080/119229
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: Lin, Edward <edward.lin@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_attrib.c
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_attrib.c
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_attrib.c
94d9df223ac4c604d6ce73c47c4199623a36766d 05-Feb-2013 liubolun <bolunx.liu@intel.com> Fix libva api test case failures. Clean up internal BZ issues.

BZ: 85072

1. Create_Destroy_Surface_err_list_null_Destory: Adding null list check
before destroy surface;
2. CreateSurfacesForUserPtr_err_resolution: Adding resolution check before
creating suface for userPtr;
3. Put_Image_err_xy: Adding invalid xy value check before putting image.
Commit again for correct status and component.
Signed-off-by: liubolun <bolunx.liu@intel.com>

Change-Id: I8051dc4b14542c996c6a3478c2fcee00b82459b5
Reviewed-on: http://android.intel.com:8080/90149
Reviewed-by: Liu, BolunX <bolunx.liu@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Wang, Elaine <elaine.wang@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_surface_attrib.c
3c3026ce2dadc43cf23137ca55a2461af4e27b7f 06-Feb-2013 pingshix <pingx.shi@intel.com> Enable JPEG HW encoder's IYUV source format support

BZ: 84972

Issue: NV12 costs more power to get than IYUV does from Camera ISP's
point of view,
while each's cost from JPEG HW encoder's point of view is at the same
level.

Solution: Adding IYUV support to JPEG HW encoder.

Change-Id: If7edf4073d2a295e3fbfe5ab9b34cd5c27d88fb3
Signed-off-by: SUN,Jing <jing.a.sun@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Signed-off-by: SUN,Jing <jing.a.sun@intel.com>
Reviewed-on: http://android.intel.com:8080/90481
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Wang, Elaine <elaine.wang@intel.com>
Reviewed-by: Lin, Edward <edward.lin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.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_surface_attrib.c
dc2e3e09ee9ac631c9d5a7cd1eb58b1553bfe0a5 27-Dec-2012 pingshix <pingx.shi@intel.com> Enabling the YV16 format's support to JPEG HW encoder.

BZ: 77096

Issue: Customers need us to add JPEG YUV422 encoding capability.
Solution: We are enabling it by updating "psb_video".

Signed-off-by: SUN,Jing <jing.a.sun@intel.com>

Change-Id: I5c4a864abc997997701f29a0c313590885b21200
Reviewed-on: http://android.intel.com:8080/83956
Reviewed-by: Sun, Jing A <jing.a.sun@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: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.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_surface_attrib.c
684f0e29e29ca32fad49439cfe0392417361d34d 27-Nov-2012 Li Zeng <li.zeng@intel.com> [PORT FROM MAIN]ved: support memory tiling

BZ: 70693

support memory tiling for 1080p on CTP

Change-Id: Id342818a3d4b599c8e8416ea452c5ef3a118bb56
Signed-off-by: Li Zeng <li.zeng@intel.com>
Reviewed-on: http://android.intel.com:8080/82314
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_surface_attrib.c
f69cb8fcb72989fcef10484c3f5cbd16db9789d1 20-Nov-2012 Elaine Wang <elaine.wang@intel.com> [PORT FROM MAIN] Fix virtual memory leaks of VAExternalMemoryKernelDRMBufffer

BZ: 67733

Perform the following actions and find the mapped buffer isn't
released in process virtual memory
1. vaSurfaceAttrib->type = VAExternalMemoryKernelDRMBufffer;
vaSurfaceAttrib->... = ...;
vaCreateSurfacesWithAttribute(...); // done with one surface at a time
2. vaDeriveImage(...);
3. vaMapBuffer(..., ..., &dataBuffer);
4. vaUnmapBuffer(...);
5. vaDestroyImage(...);
6. vaDestroySurfaces(...); // also done with one surface at a time
7. Cat /proc/xxx/maps and still see mapped memory space

It's caused by the wrong status of the surface buffer, which should
be psb_bs_ready.

Change-Id: I1814700a27f892740ac6eeafa06ae21e8ecbe663
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/76779
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
ef7b3fb37743952a327f1b355fe5ae202c331902 19-Nov-2012 Elaine Wang <elaine.wang@intel.com> [PORT FROM MAIN] Support none-cache user pointer

BZ: 68817

Cached memory consume more power in video recording. If libva
support none-cache user pointer, camera can use ash to allocate
none-cache memory(ashmemory) as share buffer.
Signed-off-by: Elaine Wang <elaine.wang@intel.com>

Change-Id: I815ad0770fce992ce151bc87f01f35fa11bef9e4
Reviewed-on: http://android.intel.com:8080/76778
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
6c0778c779ff536566e0cdf4856bf17784fb0121 07-Nov-2012 SUN,Jing <jing.a.sun@intel.com> [PORT FROM MAIN] Make psb_video be ready to support ION shared FDs
as surface source indicators.

BZ: 66855

Issue: "psb_video" is not ready to accept ION shared
FDs and create surfaces based on them.

Solution: modify psb_CreateSurfaceFromUserspace and
add the support.

Change-Id: Iae9d67e4d6795c15f47ccf5cc5668e8f20758f13
Signed-off-by: SUN,Jing <jing.a.sun@intel.com>
Reviewed-on: http://android.intel.com:8080/76777
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.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/psb_surface_attrib.c
17f42294e6f90d3f19c91a6c3c32c353adf3eb6f 11-Oct-2012 hding3 <haitao.ding@intel.com> psb-video: remove and comment out MRST related code.

BZ: 59207

remove MRST code and comment out dead code

Change-Id: I0460310d2d56f82ac18a8f892d4d7dc753e86584
Signed-off-by: nguo <nana.n.guo@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/69756
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_attrib.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/psb_surface_attrib.c
5ed159b49cff6b05d923bcf00d09c67ee2ce1f80 15-Jul-2012 hding3 <haitao.ding@intel.com> psb-video code checkin for below BZ fixing.

BZ: 46156 46985 37563 45878 44851 45455

BZ: 44994 - [PORT FROM R3] remove ci_va.h and related code
BZ: 46985 - Blocky image on 1080p3_848x480_low_1000Kbps.mp4
BZ: 37563 - psb-video: fix some h264 ES clip CRC issue
BZ: 46156 - Restore VAImage structrue for binary compatible
BZ: 44851 - Set CACHED flag to external user buffer
BZ: 45878 - Merrifield H264 encoder does not support changing bitrate dynamically under VCM mode
Use extra_offset and extra_pitch for the 4th plane
BZ: 45455 - fix jag issue during one 1080i clip playback

#this is the MFLD part of original MRFLD patch 56458.

Change-Id: Id4ee76ae2a9d8e35c0da68dbb1767325c7064b26
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: Li Zeng <li.zeng@intel.com>
Signed-off-by: msun9 <mingruo.sun@intel.com>
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/59861
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
4d4a8fa2e2494622ac8f55d6ceff064644836748 05-Jul-2012 hding3 <haitao.ding@intel.com> remove ci_va.h and related code.

BZ: 44994

psb_video/src/ci_va.h doesn't have correct license header and related code is obsolete.It should be removed, otherwise we'll get issues when do ProtextIP scanning.

Change-Id: I7f13020c8a6d292fca59ad6a06879db63d4837cc
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/55363
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/psb_surface_attrib.c
a21b86fefe557d7e92bdc94c85dd2596facb7046 29-Jun-2012 Ji Guoliang <guoliang.ji@gmail.com> assign the stride with graphic->stride instead of width

BZ: 44326

On the widi mode the surface was create by widi in the use space, the
stride was assigned as the video width. However after the video enhancement
implemented, the camera source transmit the data which has padding to
the encoder, make the width different with the stride.
So modify the stride assignment to fix the display problem.
Signed-off-by: Ji Guoliang <guoliang.ji@gmail.com>

Change-Id: Ie70c89fc56f180b289266de58bd9c0bb53d34037
Reviewed-on: http://android.intel.com:8080/54829
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_attrib.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_surface_attrib.c