aboutsummaryrefslogtreecommitdiff
path: root/base
AgeCommit message (Collapse)Author
2016-04-18Revert "Fixed the incorrect stride and slice height settings of OMX video ↵nougat-devAustin Hu
port."a Bug: 27688967 This reverts commit 6d724b9f6420698a740c8f3cdbbc2f2d6a803308. Because it caused some regression for CTS android.media.cts.EncodeDecodeTest.
2016-04-06Fixed the incorrect stride and slice height settings of OMX video port.Austin Hu
Bug: 27688967 Change-Id: Ie3dc22520f23ac5027f2a1a09109e3810ded1f63 Signed-off-by: Austin Hu <austin.hu@intel.com>
2016-03-30media hardening: OMX::allocateBuffer must return protected buffers as ↵Hyunchang Choi
native_handles Make OMX to use native_handles for media hardening bug: 26781087 Change-Id: Ic5746e70d71520ac7a0e90bd7accf31f11259eb4 Signed-off-by: Hyunchang Choi <hyunchang.choi@intel.com>
2015-12-17wrs_omxil: re-cal clock time for nsec overflow caseNana Guo
re-cal clock time if nsec overflows to make sure the right time for pthread_cond_timewait Bug: 25834559 Change-Id: I325fc3c032dd0d7b465c3aa44ff1b95700f89835 Signed-off-by: Nana Guo <nana.n.guo@intel.com>
2014-12-30am 88de33b3: Fix ↵android-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-wear-7.1.1_r1android-wear-5.1.1_r1android-wear-5.1.0_r1android-n-preview-5android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-n-iot-preview-2android-m-preview-2android-m-preview-1android-m-previewandroid-cts-6.0_r9android-cts-6.0_r8android-cts-6.0_r7android-cts-6.0_r6android-cts-6.0_r5android-cts-6.0_r4android-cts-6.0_r32android-cts-6.0_r31android-cts-6.0_r30android-cts-6.0_r3android-cts-6.0_r29android-cts-6.0_r28android-cts-6.0_r27android-cts-6.0_r26android-cts-6.0_r25android-cts-6.0_r24android-cts-6.0_r23android-cts-6.0_r22android-cts-6.0_r21android-cts-6.0_r20android-cts-6.0_r2android-cts-6.0_r19android-cts-6.0_r18android-cts-6.0_r17android-cts-6.0_r16android-cts-6.0_r15android-cts-6.0_r14android-cts-6.0_r13android-cts-6.0_r12android-cts-6.0_r1android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r68android-6.0.1_r67android-6.0.1_r66android-6.0.1_r65android-6.0.1_r63android-6.0.1_r62android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r55android-6.0.1_r54android-6.0.1_r53android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r5android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r45android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r4android-6.0.1_r33android-6.0.1_r32android-6.0.1_r31android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r25android-6.0.1_r24android-6.0.1_r22android-6.0.1_r21android-6.0.1_r20android-6.0.1_r18android-6.0.1_r17android-6.0.1_r16android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r7android-6.0.0_r6android-6.0.0_r5android-6.0.0_r41android-6.0.0_r4android-6.0.0_r3android-6.0.0_r26android-6.0.0_r25android-6.0.0_r24android-6.0.0_r23android-6.0.0_r2android-6.0.0_r13android-6.0.0_r12android-6.0.0_r11android-6.0.0_r1nougat-mr1-wear-releasen-iot-preview-2master-soongmarshmallow-releasemarshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-mr1-devmarshmallow-dr1.6-releasemarshmallow-dr1.5-releasemarshmallow-dr1.5-devmarshmallow-dr-releasemarshmallow-dr-dragon-releasemarshmallow-dr-devmarshmallow-devmarshmallow-cts-releaseElliott Hughes
"hardware/intel/common/wrs_omxil_core/base/src/portbase.cpp:599:15: error: \'ETIMEDOUT\' was not declared in this scope". * commit '88de33b35c4ceac55d774896b5e3be26a5156b34': Fix "hardware/intel/common/wrs_omxil_core/base/src/portbase.cpp:599:15: error: 'ETIMEDOUT' was not declared in this scope".
2014-12-29Fix "hardware/intel/common/wrs_omxil_core/base/src/portbase.cpp:599:15: ↵Elliott Hughes
error: 'ETIMEDOUT' was not declared in this scope". Change-Id: I856315bf82be5f523b3971f179dd23b362f97f96
2014-12-11am 32e98301: Wrs Omxil: Remove unused variablesAndreas Gampe
* commit '32e9830130645f88e7a2ad43556ad4adb3db31d4': Wrs Omxil: Remove unused variables
2014-12-08Wrs Omxil: Remove unused variablesandroid-wear-5.0.0_r1lollipop-wear-releaseAndreas Gampe
For build-system CFLAGS clean-up, remove unused variables. Bug: 18632512 Change-Id: I4da2cb255b4bc08c5dfc04d7d31c58e63d90948e
2014-12-05wrs_core: enable meta data mode on Landroid-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1lollipop-mr1-wfc-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releasehding3
BZ: 230000 Bug:18575549 Ignore buffer return when format change happens for meta data mode. The patch was ported from imin_legacy branch: https://android.intel.com:443/291947 Change-Id: I9226eb87d273d25a3c8152d0e5837a29bb574ac1 Signed-off-by: hding3 <haitao.ding@intel.com>
2014-12-02enable OMX extension OMX_IndexExtVppBufferNum for ISVXigui Wang
change TARGET_HAS_VPP to TARGET_HAS_ISV BZ: 229811 Bug: 17383204 Change-Id: I34507e96e26cc7b1e5905f57d4838f67b120d528 Signed-off-by: Jason Hu <jason.hu@intel.com>
2014-10-21make sure the buffer is big enough when adaptive playback is enabledandroid-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1lollipop-releaselollipop-cts-releaseywan171
vp9 decoder plugin can not reallocate gralloc buffer in the middle if the buffer is not big enough during adaptive playback, we must make sure it at start Bug: 18023655 Change-Id: Ifdfa624403739837f4350e12e38ab39b3c17e029 Signed-off-by: ywan171 <yi.a.wang@intel.com>
2014-07-29remove the warning in wrs_corelollipop-devywan171
BZ: 209178 remove the warning in wrs_core Signed-off-by: ywan171 <yi.a.wang@intel.com> Change-Id: I5655dcc283325cf7da5e0b088887e63cd24fb056 Signed-off-by: ywan171 <yi.a.wang@intel.com> Reviewed-on: https://android.intel.com/220500 Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com> Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com>
2014-07-21refine the resolution limit to 2kx2kgji2
BZ: 203614 refine the resolution limit to 2kx2k Change-Id: I1d0816df26bb337859b57cb27fc32c6986e9ae6e Signed-off-by: gji2 <guoliang.ji@intel.com>
2014-07-21resolution limit setting, max 1920x 1088gji2
BZ: 200960 resolution limit setting, max 1920x 1088 Change-Id: Ia155509fd76a6f77f25396f52baa6502641cd5d6 Signed-off-by: gji2 <guoliang.ji@intel.com>
2014-07-21wrs_core: notify error event if enabled complete event is triggered by ↵ywan171
freeing buffer BZ: 190818 notify error event instead if enabled complete event is triggered by freeing buffer Change-Id: I6997dbf7f38ff8c3653d14da5425db5ba665179e Signed-off-by: ywan171 <yi.a.wang@intel.com>
2014-07-21wrs_omxil_core: set stride and sliceHeight in port definitionTianmi Chen
BZ: 196039 set stride and sliceHeight in port definition. Change-Id: I83690471557471d66f7ef316d2bb7ee426aeae54 Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
2014-07-21[PORT FROM MAIN]Port VP8 encode middleware to R44c branch.bolunliu
BZ: 193452 Port VP8 encode OMX Core to R44c branch. Signed-off-by: bolunliu <bolun.liu@intel.com> Change-Id: I742440ff9a01c4061b7f8046ffa9445c104867e1
2014-07-21private config and parameter extension enablegji2
BZ: 190562 private config and parameter extension enable Change-Id: I4288cba7bd2f27a7ea16b6fdd0c601a27225e466 Signed-off-by: gji2 <guoliang.ji@intel.com>
2014-07-21fix a tiny issue in Portbasebolunliu
BZ: 189356 fix a tiny compile issue in Portbase when LOGV was enable Change-Id: I7019146a540f9419171d3190f1a3d18130a3afa3 Signed-off-by: bolunliu <bolun.liu@intel.com>
2014-07-21mx-core: add one more index OMX_IndexExtRequestBlackFramePointerWeian Chen
BZ: 182643 Add one more index to allow client to request black frame pointer Change-Id: Ifbd56acefbc29e43eadeef7bf5434bf327d9b31e Signed-off-by: Weian Chen <weian.chen@intel.com>
2014-07-21Remove temporal layer data structure.bolunliu
BZ: 179113 Remove temporal layer data structure. Add nMaxQP/nFrameRate/nTemporalID in ConfigIntelBitRateType Add GetExtensionIndex for temporal layer vp8 encode Refine code style.Remove meaningless modification. Change-Id: I0ff98d73d69b40c207aa770bc26f0d910cdf37fd Signed-off-by: bolunliu <bolun.liu@intel.com>
2014-07-21wrs-omxil-core: adjust the data structure for adaptive playbackDan Liang
BZ: 177230 Move member variable mEnableAdaptivePlayback from private to public so that the derived class could use it. Change-Id: Id134f42b2246ce68f6804aed86b8435ace9a9693 Signed-off-by: Dan Liang <dan.liang@intel.com>
2014-07-21wrs_core: add timeout wait event when decoder component transits from loaded ↵ywan171
to idle BZ: 176001 the decoder component will wait for all output buffer being set from the client before transiting from loaded to idle state, so if the output buffer allocation fails in client, ANR will happen. add timeout wait event when decoder component transits from loaded to idle Change-Id: I5a4651646c48fc22483aba32c86e9a7bea58eb89 Signed-off-by: ywan171 <yi.a.wang@intel.com>
2014-07-21wrs_core: add timeout waitevent in video decoder to avoid dead lock when ↵ywan171
state changes from disable to enable BZ: 164253 When output port state changes from disable to enable, the HAL will wait gralloc buffers set from OMX client. If dequeuebuffer fails in omx client, the video decoder HAL will fall into dead wait, and error will occur in destroying OMX node. add timeout waitevent in wrs_core for video decoder to avoid dead lock Change-Id: I604ca37879d95bfd5cdfc2512043c1c60a74d415 Signed-off-by: ywan171 <yi.a.wang@intel.com>
2014-07-21Fix omx core klockwork issueZhao Liang
BZ: 161839 Change-Id: I074def618a0b6e4a5a178c55793d64c692c80438 Signed-off-by: Zhao Liang <leo.zhao@intel.com>
2014-07-21Fix the middleware encode patch impact on decode module issue.gji2
BZ: 160888 Fix the middleware encode patch impact on decode module issue. Change-Id: I37d4e6d1bdbece72df768578311d108ec5df7a64 Signed-off-by: gji2 <guoliang.ji@intel.com>
2014-07-21wrs_core: add support for adaptive playback in kitkatywan171
BZ: 154291 add DRC support in video decoder middleware to integrate with kitkat AOSP Change-Id: I826678d8f2da7c475180d8055786d6b07d7e449d Signed-off-by: ywan171 <yi.a.wang@intel.com>
2014-07-21Change omx core mechanism to allow encoder working more timeZhao Liang
BZ: 150664 for encoder case, if either bufferq or retainedbufferq is not empty core will schedule encoder working, and inport buffer may be null if only retainedbufferq has frame. Change-Id: Id347f3843d806c41176dec49f543963204603e29 Signed-off-by: Zhao Liang <leo.zhao@intel.com>
2014-07-21Add "OMX_COLOR_FormatUnused" case in getFrameBufSizeLiu Bolun
BZ: 154696 Add "OMX_COLOR_FormatUnused" case in getFrameBufSize to fix WIFI Display break issue. Change-Id: Ib6c0cf672e104fae19432bef9d56c8f9a63bf6f4 Signed-off-by: Liu Bolun <bolun.liu@intel.com>
2014-07-21Add a new data structure and OMX Index for setting k frame for VP8 encode.Bolun
BZ: 153768 Add a new data structure and OMX Index for setting k frame for VP8 encode. Put the vpp index to the end. Change-Id: I018a29259b86365e9968c3d4c87f19936d3bea03 Orig-Change-Id: I2d3936a5614113ebd680c4caa928df90b08d69cb Signed-off-by: Bolun <bolun.liu@intel.com>
2014-07-21wrs_omxil_core: use pOutputPortPrivate to report errorDan Liang
BZ: 147912 1)use pOutputPortPrivate to report error 2)define data structure OMX_VIDEO_CONFIG_INTEL_ERROR_REPORT Change-Id: Id2e50570cf164cb441fbf9866e8c0749f19f7313 Signed-off-by: Dan Liang <dan.liang@intel.com>
2014-07-21omx-core: set pInputPortPrivate to NULL by defaultWeian Chen
BZ: 148092 pInputPortPrivate will be used by webRTC to contain the rotation information, by default it should be NULL, remove the useless code related to pInputPortPrivate in base class Change-Id: I49ebd9b3867a186848c8d3a9fd44965048776974 Signed-off-by: Weian Chen <weian.chen@intel.com>
2014-07-21[wrs_core]Fix hang when port disable called for empty port.sameer
BZ: 148867 This issue was found when using gstreamer with Intel OMX Core using the gst-omx plugin. In gst-omx playback, when transitioning component to idle state the output port is disabled. The call to disable output port hangs in WaitPortBufferCompletion() in the OMX IL Core. This is due to a bug where WaitPortBufferCompletion() waits for buffer free operation to complete on an empty port. Since port is empty buffer free will never be called. Added check on buffer count before doing the wait to avoid the hang. Change-Id: If34c3388be978bcec5d33100858d343468d835f9 Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
2014-07-21wrs_omxil_core: Add support for Error Report needed by WebRTCDan Liang
BZ: 147912 Add error reporting support. Change-Id: Idf882f897c4141a700c723913f6c66eb98eb26a9 Signed-off-by: Dan Liang <dan.liang@intel.com>
2014-07-21add OMX_IndexExtVppBufferNumYu, Linda
BZ: 145717 add OMX_IndexExtVppBufferNum in order to get vpp buffers num from framework Change-Id: I27b9ddffe1455dc5775c0c914ed577c8992a6f9f Signed-off-by: Yu, Linda <linda.yu@intel.com>
2014-07-21config omx to insert SPS/PPS before each IDR framegji2
BZ: 138989 config omx to insert SPS/PPS before each IDR frame Change-Id: I41492f2e33373a17b3cafc7ab8cdad045d167158 Signed-off-by: gji2 <guoliang.ji@intel.com> Reviewed-on: http://android.intel.com:8080/133586 Reviewed-by: Zhao, Leo <leo.zhao@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>
2014-07-21Add new ext parameter to support sync mode video recordingZhao Liang
BZ: 131021 Change-Id: Idb25d1d36b4a875f01ce72923770f9627e79f483 Signed-off-by: Zhao Liang <leo.zhao@intel.com> Reviewed-on: http://android.intel.com:8080/127320 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[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 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_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 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-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-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-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>