aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-21[PDK MR2 ABSP] remove duplicate omx header file between khronos and google ↵Dan Liang
framework BZ: 117349 khronos omx will reference google framework to avoid conflict causing by the inconformity, the conflict will cause video record doesnot work in PDK Change-Id: I6762f097e91a47ba820d03923d6141311de53ff6 Signed-off-by: ywan171 <yi.a.wang@intel.com> Signed-off-by: Dan Liang <dan.liang@intel.com>
2014-07-21Avoid adding quirk requires-loaded-to-idle-after-allocation in frameworkywan171
BZ: 116413 Make sure buffers have been allocated before state changes to Idle. Signed-off-by: ywan171 <yi.a.wang@intel.com> Signed-off-by: Dan Liang <dan.liang@intel.com> Change-Id: If00ef93f565567faec99e0ad39fe525c0b0ca93d Reviewed-on: http://android.intel.com:8080/90231 Reviewed-by: Liang, Dan <dan.liang@intel.com> Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Wang, Yi A <yi.a.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>
2014-07-21OMX_IndexExt.h is DOS format and needs to be converted to UNIX formatDan Liang
BZ: 111101 It's just a format change. Change-Id: Ib0d8f50817a12f7d145a58f7c4c34b5eababe725 Signed-off-by: Dan Liang <dan.liang@intel.com> Reviewed-on: http://android.intel.com:8080/109906 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>
2014-07-21wrs_omxil_core: set thread nameDan Liang
BZ: 105774 The hw codec's working thread is spawned from TimedEventQueue thread and inherits the parent's name. So we cannot distinguish them for analyzing purpose. Change-Id: I893874309bc669a1e812085001b04b6fb88c490c Signed-off-by: Dan Liang <dan.liang@intel.com> Reviewed-on: http://android.intel.com:8080/106287 Reviewed-by: cactus <cactus@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>
2014-07-21Add a buffer flag to indicate OMX buffer contain top/bottom field.Jason Hu
BZ: 99408 align this file with frameworks/native/include/media/openmax/OMX_Core.h Change-Id: Id0f5f87919772ea7a9b36fc369c32a232b499723 Signed-off-by: Jason Hu <jason.hu@intel.com> Reviewed-on: http://android.intel.com:8080/100952 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Feng, Wei <wei.feng@intel.com> Reviewed-by: Wang, Lili A <lili.a.wang@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21Add a buffer flag to indicate OMX buffer contain top/bottom field.Jason Hu
BZ: 95641 This flag is used by VPP module in OMXCodec. Change-Id: Ifc4e55932ce2aa9a8182a22f8846b490daf0910a Signed-off-by: Jason Hu <jason.hu@intel.com> Reviewed-on: http://android.intel.com:8080/98954 Reviewed-by: cactus <cactus@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>
2014-07-21OMXIL Core Checking return value of dlsym() to workaround Bionic issueLiu Bolun
BZ: 91187 Change to use return value of dlsym() instead of dlerror() to check whether the result of dlsym() is successful or not. It can workaround the Bionic issue that might cause other issues. Signed-off-by: Liu Bolun <bolunx.liu@intel.com> Change-Id: I88dc45c523dabd77cb0598dbd0b66d38b2d4d0e4 Reviewed-on: http://android.intel.com:8080/95452 Reviewed-by: Liu, BolunX <bolunx.liu@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>
2014-07-21OMX IL Core: add a lock to protect the component stateGu, Wangyi
BZ: 86281 Root cause: two methods of state obtaining mechanism in omx il core design, and two threads will access the same state variable, which isn't protectted. Change-Id: I3bbb28a52b5e25a8b475433042d5b0152891be74 Signed-off-by: Gu, Wangyi <wangyi.gu@intel.com> Reviewed-on: http://android.intel.com:8080/93185 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>
2014-07-21Revert "[PORT FROM R4.1] Set state when TransState is completed."Gu, Wangyi
BZ: 79676 This reverts commit Ied8f0ad5e7ce979f17f8feedb70dafc44213c2a1 This reverts patch http://android.intel.com:8080/#/c/90186/ Change-Id: I65868956740200a9be6d3f4da290ca068b268784 Signed-off-by: Gu, Wangyi <wangyi.gu@intel.com> Reviewed-on: http://android.intel.com:8080/93184 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>
2014-07-21[PORT FROM R4.1] Set state when TransState is completed.Tang Guifang
BZ: 79676 When OMX client died for exception, it will force setting to specific state and then free the corresponding node. Component set state before all operation done, then the node instance is freed, but component will continue to call it's callback, and cause crash. State should be set after all operations done. Change-Id: Ied8f0ad5e7ce979f17f8feedb70dafc44213c2a1 Reviewed-on: http://android.intel.com:8080/90186 Reviewed-by: Gu, Wangyi <wangyi.gu@intel.com> Reviewed-by: Tang, Guifang <guifang.tang@intel.com> Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Wang, Yi A <yi.a.wang@intel.com> Reviewed-by: Shi, PingX <pingx.shi@intel.com> Tested-by: Shi, PingX <pingx.shi@intel.com> Reviewed-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com> Tested-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com>
2014-07-21[PORT FROM R4.1] Enhance the error handle mechanism in OMX Core to avoid ↵Gu, Wangyi
video editor carsh BZ: 75145 1. the dlerror will return the error caused by the main thread, this will lead the ret equals -1, and this will make the loop not end in CModule destructor; 2. remove the redundant pthread_mutex_unlock; 3. add some error logs to expose some corner cases Change-Id: Ifab1bb704ae1a65553be1326716558a4e013fada Signed-off-by: Gu, Wangyi <wangyi.gu@intel.com> Reviewed-on: http://android.intel.com:8080/90189 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Wang, Yi A <yi.a.wang@intel.com> Reviewed-by: Shi, PingX <pingx.shi@intel.com> Tested-by: Shi, PingX <pingx.shi@intel.com> Reviewed-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com> Tested-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com>
2014-07-21wrs_core: fix Klocwork issue in queue.cywan171
BZ: 83848 fix klocwork issue in queue.c Signed-off-by: ywan171 <yi.a.wang@intel.com> Change-Id: I57d75c2e3b3c33a03aa7a2c8d922ac0ce178ca4f Reviewed-on: http://android.intel.com:8080/89313 Reviewed-by: Wang, Elaine <elaine.wang@intel.com> Reviewed-by: Wang, Yi A <yi.a.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>
2014-07-21OMXIL: extension to add VP8 encoder supportChang Ying
BZ: 77123 Add OMX_VIDEO_VP8REFERENCEFRAMETYPE to control VP8 reference frame buffers. Change-Id: I32060b57cfb8ae94ed4145f3d60b9cff2397d9c0 Signed-off-by: Chang Ying <ying.chang@intel.com> Reviewed-on: http://android.intel.com:8080/83986 Reviewed-by: Zhang, Zhangfei <zhangfei.zhang@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>
2014-07-21wrs_omxil_core: fix klocwork issue under wrs_omxil_coreywan171
BZ: 73428 fix Klocwork issue under wrs_omxil_core, check point before refereced Signed-off-by: ywan171 <yi.a.wang@intel.com> Change-Id: Ic5b721a5cda4dacb0b89dc28bdf9aaad605e1d5a Reviewed-on: http://android.intel.com:8080/86803 Reviewed-by: Wang, Yi A <yi.a.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: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
2014-07-21To support MRFLD highprofile encodeZhao Liang
BZ: 76677 support MRFLD highprofile encode in omx-core Change-Id: I3e03a6e161e6cf009c85d826614ad166bca875b9 Signed-off-by: Zhao Liang <leo.zhao@intel.com> Reviewed-on: http://android.intel.com:8080/67475 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>
2014-07-21[PORT FROM JBMR0] Add a new flag ↵Li Zeng
OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled BZ: 70693 Add a new flag OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled Change-Id: I2aab5df1d36c4aa368ac53a3ecf5642c90a80355 Orig-Change-Id: I74bdf4e5cf8c7d29d600e0e099f3fb7d4193458c Signed-off-by: Li Zeng <li.zeng@intel.com> Reviewed-on: http://android.intel.com:8080/83202 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>
2014-07-21[PORT FROM MAIN]wrs_omxil_core: Add VP8 middleware for merrifieldTianmi Chen
BZ: 73094 Add some parameters in omx core to support VP8 on Merrifield Change-Id: I106bda6340e9383788822bf71a2cb9096df9c9f3 Signed-off-by: Tianmi Chen <tianmi.chen@intel.com> Reviewed-on: http://android.intel.com:8080/82330 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>
2014-07-21Revert "[PORT FROM MAIN] Add a new flag ↵Remy Protat
OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled" BZ: 70693 This reverts commit 541b7c851281e8b6b1c08345da73538707b9053e. Change-Id: Ie35b320dc7e3a682659c59ab66ed0a2a9425e0bb Signed-off-by: Remy Protat <remy.protat@intel.com> Reviewed-on: http://android.intel.com:8080/82160
2014-07-21[PORT FROM MAIN] Add a new flag ↵Li Zeng
OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled BZ: 70693 Add a new flag OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled Change-Id: I22459b61920aa2018628e28d3ed2b91687f9bd15 Signed-off-by: Li Zeng <li.zeng@intel.com> Reviewed-on: http://android.intel.com:8080/80565 Reviewed-by: Feng, Wei <wei.feng@intel.com> 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>
2014-07-21[PORT FROM MAIN] Non-initialized variable caused SEGV in strdup functiondvshkurk
BZ: 69531 The non-initialized dlerr variable from the module_open function was passed to the module_set_error function. Incorrect dlerr caused SEGV in the strdup function called from the module_set_error function. Change-Id: I7e7b0b517a56968e356460dcc7544860ce84fa91 Signed-off-by: dvshkurk <Dmitry.V.Shkurko@intel.com> Reviewed-on: http://android.intel.com:8080/80843 Reviewed-by: Shkurko, Dmitry V <dmitry.v.shkurko@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>
2014-07-21[PORT FROM MAIN] Report errors when failing to set the input port sizewfeng6
BZ: 68835 The patch allows to set the input port size according to the size required by OMXCodec. When the required size is larger than the threshold, a OMX_ErrorBadParameter error will be reported to OMXCodec. Change-Id: I648a580e35d0c023b14f3313b48a08a1b4dc60cd Signed-off-by: wfeng6 <wei.feng@intel.com> Reviewed-on: http://android.intel.com:8080/76393 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>
2014-07-21[PORT FROM MAIN]OMX Core: Checking return value of dlopen() instead of error ↵Liu Bolun
string to workaround Bionic issue BZ: 66993 Change to use return value of dlopen() instead of dlerror() to check whether the call to dlopen() is successful or not, to workaround the synchronization issue of dl_err_str in Bionic. Signed-off-by: Liu Bolun <bolunx.liu@intel.com> Change-Id: I200fe18c8ac5841f7aeb29f44ba6d5e6dc2cf100 Reviewed-on: http://android.intel.com:8080/76392 Reviewed-by: Liu, BolunX <bolunx.liu@intel.com> Reviewed-by: Feng, Wei <wei.feng@intel.com> 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>
2014-07-21Clean up obsolete or unused code in wrs_omxil_core for code coverage ↵XiaoFeng
improvement. BZ: 62170 Change-Id: Ic1fd388aa3edf50983be60b9ac70fff259c151f6 Signed-off-by: XiaoFeng <fengx.xiao@intel.com> Reviewed-on: http://android.intel.com:8080/70020 Reviewed-by: Qiu, Junhai <junhai.qiu@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>
2014-07-21Fix code defect which found through the code coverageXiaoFeng
BZ: 62170 Fix nIndex out of boundary in componentRoleEnum function. Change-Id: I665df1c7ec7a205d139ab5d9ab29b4ab03b3b207 Signed-off-by: XiaoFeng <fengx.xiao@intel.com> Reviewed-on: http://android.intel.com:8080/70008 Reviewed-by: Liang, Dan <dan.liang@intel.com> Reviewed-by: Wang, Yi A <yi.a.wang@intel.com> Reviewed-by: Chen, Tianmi <tianmi.chen@intel.com> Reviewed-by: Feng, Wei <wei.feng@intel.com> Reviewed-by: Qiu, Junhai <junhai.qiu@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>
2014-07-21Remove unused codes and config files in video middleware stackwfeng6
BZ: 58358 Remove unused codes and config files in video middleware stack. Change-Id: I6b81061101a2119d1b545fa5e8b62bead633bf4f Signed-off-by: wfeng6 <wei.feng@intel.com> Reviewed-on: http://android.intel.com:8080/67295 Reviewed-by: Xiao, FengX <fengx.xiao@intel.com> Reviewed-by: Jiang, Fei <fei.jiang@intel.com> Reviewed-by: Liu, BolunX <bolunx.liu@intel.com> Reviewed-by: Zeng, Li <li.zeng@intel.com> Reviewed-by: Zhao, Leo <leo.zhao@intel.com> Reviewed-by: Guo, Nana N <nana.n.guo@intel.com> Reviewed-by: Tang, Richard <richard.tang@intel.com> Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com> Reviewed-by: Chen, Tianmi <tianmi.chen@intel.com> Reviewed-by: Gu, Wangyi <wangyi.gu@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>
2014-07-21Add new interface in portbase to set if pBuffer is 4k aligned in AllocateBufferZhao Liang
BZ: 48107 This change is part of Video enhancement modification on video buffer sharing, it is used to keep omx port buffer aligned in 4K when in RAW mode, HW has this limitation on malloc memory wrapping into surface Change-Id: Ifdc639729c24fa218fa2438903a0f32d0880192f Signed-off-by: Zhao Liang <leo.zhao@intel.com> Reviewed-on: http://android.intel.com:8080/58215 Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com> Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com> Reviewed-by: Ji, Guoliang <guoliang.ji@intel.com> Reviewed-by: Ding, Haitao <haitao.ding@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com>
2014-07-21wrs_core: add intel color formatywan171
BZ: 47307 add intel color format Signed-off-by: ywan171 <yi.a.wang@intel.com> Change-Id: I5a45c9fa47d491433751924434da66b6bd09eb70 Reviewed-on: http://android.intel.com:8080/57662 Reviewed-by: buildbot <buildbot@intel.com> Reviewed-by: Feng, Wei <wei.feng@intel.com> Reviewed-by: Mao, Marc <marc.mao@intel.com> Reviewed-by: Zhang, Xiaolin <xiaolin.zhang@intel.com> Tested-by: Zhang, Xiaolin <xiaolin.zhang@intel.com>
2014-07-21[wrs_omx_core] fixed JB build issue.Xiaolin Zhang
BZ: 47236 fixed JB build issue. Change-Id: Idd9deeb645f98d4cdd1ee41ea3295cc340413281 Signed-off-by: Xiaolin Zhang <xiaolin.zhang@intel.com> Reviewed-on: http://android.intel.com:8080/56588 Reviewed-by: Beare, Bruce J <bruce.j.beare@intel.com>
2014-07-21PRODUCT_COPY_FILES: Disable incorrect useBruce Beare
BZ: 46719 This makfile variable is only able to be set in "product.mk" files -- never in Android.mk or AndroidBoard.mk files. Change-Id: Iee9c949c0247423f3bef28a059a1fd5ea2236104 Reviewed-on: http://android.intel.com:8080/56434 Reviewed-by: Beare, Bruce J <bruce.j.beare@intel.com> Reviewed-by: Li, XiaojingX <xiaojingx.li@intel.com> Tested-by: Li, XiaojingX <xiaojingx.li@intel.com>
2014-07-21build: Clean up use of include filesBruce Beare
BZ: 43321 Projects should not refer to header files in other projects directly (since projects can be moved around). Instead... headers should be published into the out/ directory and found there when needed. Change-Id: I252da52d6071b6de6e1fd6207031d2cf5a8eddaa Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Reviewed-on: http://android.intel.com:8080/56278 Reviewed-by: Li, XiaojingX <xiaojingx.li@intel.com> Tested-by: Li, XiaojingX <xiaojingx.li@intel.com>
2014-07-21[PORT FROM R3]wrs_omxil_core: flush Processor before flush port for video ↵ywan171
decoder BZ: 38132 lock the FlushPort and ProcessorFlush function together in case fillBuffer occurs between FlushPort and ProcessFlush and makes renderdone flag dirty. Signed-off-by: ywan171 <yi.a.wang@intel.com> Change-Id: Iafda19c5a9050d203de629af6199a5abd498f2e2 Orig-Change-Id: I6f8eb2c826fabb7de01738573b2fce0c57fe56bc Reviewed-on: http://android.intel.com:8080/51060 Reviewed-by: Qiu, Junhai <junhai.qiu@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>
2014-07-21[PORT FROM R3]Remove ProcessorPreFillBuffer return value checkfxiao4X
BZ: 38732 If we return ProcessorPreFillBuffer failure msg to the framework, will cause framework assert error. Since no need to return ProcessorPreFillBuffer executing result msg to framework, so remove the check. Change-Id: Ia4fb99e10b921ba68441eace219003daef286544 Signed-off-by: fxiao4X <fengx.xiao@intel.com> Reviewed-on: http://android.intel.com:8080/50598 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>
2014-07-21Extend middleware to support secure video playback.Andy Qiu
BZ: 29937 Add interface to enable customized memory allocation. Change-Id: I67931e5de00ff873fdc224c8015792ee31dca82d Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: http://android.intel.com:8080/36929 Reviewed-by: buildbot <buildbot@intel.com> Reviewed-by: Vehmanen, Kai <kai.vehmanen@intel.com> Reviewed-by: Ding, Haitao <haitao.ding@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com>
2014-07-21wrs_omxil_core: enhance wrs_omxil_core to handle the case that resolution in ↵ywan171
container is diff from ES resolution BZ: 25724 29844 28316 enhance wrs_omxil_core to handle the case that resolution in container is diff from ES resolution 1: if the resolution in container is larger than real ES resolution, return the correct crop info to omxcodec to set the proper region for display 2: if the resolution in container is smaller than real ES resolution, Graphic buffer in omxcodec should be reallocated and reset graphic related info to OMXIL and libmix, va should be restart. Change-Id: I8adfde55d850bebc8cee11b73e624d57f039727c Signed-off-by: ywan171 <yi.a.wang@intel.com> Reviewed-on: http://android.intel.com:8080/42769 Reviewed-by: Qiu, Junhai <junhai.qiu@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>
2014-07-21wrs_omxil_core:critical Klocwork issues about strcpywfeng6
BZ: 26224 change the copy size from maxsize to maxsize-1 Change-Id: I5761d115266c16e941e50a8608354e673d1e59a7 Signed-off-by: wfeng6 <wei.feng@intel.com> Reviewed-on: http://android.intel.com:8080/39491 Reviewed-by: Guo, Nana N <nana.n.guo@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>
2014-07-21omx-core: optimizate error handling for OMX coreWeian Chen
BZ: 27871 The specific here is to flash port to return buffer to framework before sending the error event to avoid those events been ignored in error state. Change-Id: Ifb7020f1aa3a64d3a9096b27f5d8ce96a7db737c Signed-off-by: Weian Chen <weian.chen@intel.com> Reviewed-on: http://android.intel.com:8080/39477 Reviewed-by: Chen, Tianmi <tianmi.chen@intel.com> Reviewed-by: Wang, Yi A <yi.a.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>
2014-07-21Add OMX_IndexExtRotationDegrees parameterxiao
BZ: 23620 Add OMX_IndexExtRotationDegrees index to set video clip rotation info from framework Change-Id: Ie87082b60236f2a35ebce754f26dfd2918b3ec42 Signed-off-by: xiao <fengx.xiao@intel.com> Reviewed-on: http://android.intel.com:8080/36471 Reviewed-by: Hu, Jason <jason.hu@intel.com> Reviewed-by: Liang, Dan <dan.liang@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>
2014-07-21wrs_omxil_core: Critical Klocwork issuesnguo
BZ: 23921 modify strnpy for length check Signed-off-by: nguo <nana.n.guo@intel.com> Change-Id: If1712c127251c6392ddb12f7ae7ee92d85c3e567 Reviewed-on: http://android.intel.com:8080/36375 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>
2014-07-21wrs-omx-core: code cleanup along with one Queue buffer management supportWeian Chen
BZ: 24552 code cleanup along with one Queue buffer management support and remove two Queue method (from Andy) Signed-off-by: Weian Chen <weian.chen@intel.com> Change-Id: I9b2109b45572492209ff4fa096e98c5442c3bfbd Reviewed-on: http://android.intel.com:8080/36140 Reviewed-by: Chen, Weian <weian.chen@intel.com> Reviewed-by: Qiu, Junhai <junhai.qiu@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>
2014-07-21OMX: Porting patch from R2 to R3xiao
BZ: 21936 Orignal patch 24451: Enhance omx_core to provide hook for omx IL components to release resource during port configuration. Change-Id: I98b26ea8243d0dc1d557d4f522094cda8413cd60 Signed-off-by: xiao <fengx.xiao@intel.com> Reviewed-on: http://android.intel.com:8080/33663 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>
2014-07-21wrs-utils: Resolve potential race condition in workqueue.Chang Ying
BZ: 18528 This is the fix for BZ: 18006 Protect access to a status variable in workqueue by a lock, otherwise may cause endless wait. Change-Id: Iccb2a19664852af29cd939f2591be44e7ce6eb3c Signed-off-by: Chang Ying <ying.chang@intel.com> Reviewed-on: http://android.intel.com:8080/30052 Reviewed-by: Ji, GuoliangX <guoliangx.ji@intel.com> 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>
2014-07-21Enable native buffer mode for ICS in wrs corexiao
,clean buffer id mode related code BZ: 18370 Signed-off-by: xiao <fengx.xiao@intel.com> Change-Id: I657ac61aeaaaffdbacde3afd9743a9ddeed29588 Reviewed-on: http://android.intel.com:8080/27892 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>
2014-07-21CAMERA: add setParameter for storeMetaDataInBuffersYong Yao
BZ: 15257 Change-Id: I915d759af9476b78cd251c290cac876d006b64a4 Signed-off-by: Shuo Liu <shuo.liu@intel.com> Reviewed-on: http://android.intel.com:8080/25227 Reviewed-by: Seibel, Eric <eric.seibel@intel.com> Tested-by: Seibel, Eric <eric.seibel@intel.com> Reviewed-by: Gross, Mark <mark.gross@intel.com> Tested-by: Gross, Mark <mark.gross@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21modify wrs omx core base to set up ics hw video playbackShuo Liu
1. support param extension 'OMX.Intel.Index.BufferIDMode' 2. refine the port setting changed event logic Change-Id: I582cb0fff6ce1c8e71a4ef3536d71bed51ef1915 Signed-off-by: Shuo Liu <shuo.liu@intel.com>
2014-07-21wrs-core: add a new stream typeWeian Chen
BZ: 13281 add a new stream type to support length prefixed Signed-off-by: Weian Chen <weian.chen@intel.com> Change-Id: Ie0daf29a023d5e0cb4b7d9356de26694540783f0 Reviewed-on: http://android.intel.com:8080/23225 Reviewed-by: Fang, Yanlong <yanlong.fang@intel.com> Reviewed-by: Chen, Weian <weian.chen@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21[PORT FROM R1] [omx-component] clean up the initialize flag after DeInit for ↵Shuduo Sang
wrs core. BZ: 8568 wrs core can not be loaded again because the g_initialize flag is not clean up after deinit the wrs core. Change-Id: Id9bbe20e439303c28075c0edb05aa58f3e433a0a Orig-Change-Id: Icfe5cf3074792b1eacbbe17d5a79ef2bcb40046f Signed-off-by: xli111 <xiaowei.a.li@intel.com> Reviewed-on: http://android.intel.com:8080/18307 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>
2014-07-21widi: Added a snippet to copy some shared headers to a common folder.Karthik Veeramani
BZ: 7418 Stagefright has been extended to support widi use cases. This change requires that stagefright uses OMX_IndexExt.h and OMX_VideoExt.h. This patch copies these two headers to $TARGET_OUT_HEADERS so that they can be included by stagefright. Change-Id: Iabf72c6b4162ab956dfe24d0afaa48bf7762cc2f Signed-off-by: Karthik Veeramani <karthik.veeramani@intel.com> Reviewed-on: http://android.intel.com:8080/18263 Reviewed-by: Marotte, Fabien <fabien.marotte@intel.com> Reviewed-by: Beare, Bruce J <bruce.j.beare@intel.com> Tested-by: Sun, Hang L <hang.l.sun@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21Add extended data structureWeian Chen
BZ: 4486 Add extended data structure IndexParamIntelAVCVUI and IndexParamIntelAdaptiveSliceControl for video encoding (from froyo) Change-Id: I1f2ec2f9f49d0bd7f68428b4953239a0684af368 Signed-off-by: Weian Chen <weian.chen@intel.com>
2014-07-21wrs_omxil_core: Add support for AMR codec ports.Jason M Harper
BZ: 1772 Added helper class/functions for AMR codecs. All IPP audio codecs being moved to OMX wrappers for consistency and performance/power improvements. Change-Id: Iab26290f2be699979fff3a542150cb08d0a35eba Signed-off-by: Jason M Harper <jasonx.m.harper@intel.com>
2014-07-21[BZ1238] add a new NAL format typexli111
Change-Id: I57c2b53120e94c6940e7f708714bf0e5f6acb599 Signed-off-by: xli111 <xiaowei.a.li@intel.com>