aboutsummaryrefslogtreecommitdiff
path: root/base/inc/componentbase.h
AgeCommit message (Collapse)Author
2017-04-20WRS: fixed the regression that black/green pixels appear during video playback.Austin Hu
BZ: IMINAN-51351 The regression happened since Android O release, because ACodec::configureCodec() is delayed to be invoked, so that the eColorFormat of output port definition couldn't be aligned with the updated video width & height. Fixed the issue by updating eColorFormat when setParameter() is triggered via libstagefright. And only update the eColorFormat for the Intel YUV formats, as some CTS video cases go through software renderer due to OMX_COLOR_FormatYUV420Flexible is pre-set. Bug: 37551461 Test: Netflix, play movies, youtube Change-Id: I4564e6f3bc49b9a029841d363e020a5a9c02b938 Signed-off-by: Austin Hu <austin.hu@intel.com> (cherry picked from commit 05fba040651f2a9f853c1b17cd0e8e2e3b88c9f3)
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-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 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-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-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-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-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-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-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-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-21Fix bug in seekingTao Tao
Change-Id: I23a168e9af2c7e7a7888601c297c5de2a826a8b4
2014-07-21Add ProcessorFlush() call for future flush support.Tao Tao
Change-Id: Icf53563dcb54d6805d67000beef5e09b6dda2679
2014-07-21copyright: apply Apache License, Version 2.0Ho-Eun Ryu
2014-07-21base:component: remove self-rescheduling of command process workHo-Eun Ryu
2014-07-21base:component: remove self-rescheduling of buffer process workHo-Eun Ryu
2014-07-21base:component: fix for error reporting during buffer processingHo-Eun Ryu
Fixed componentbase::ProcessorProcess prototype and it returns OMX_ERRORTYPE. Buffer processing workqueue reports to IL-Clients if ProcessorProcess() returns with failure.
2014-07-21base:component: export GetWorkingRole public methodHo-Eun Ryu
2014-07-21base:component: major fix for retaining buffersHo-Eun Ryu
2014-07-21base:component: fix DumpBuffer prototype (introduce "bool dumpdata")Ho-Eun Ryu
dumpdata == true : dump pBuffer dumpdata == false : doesn't dump pBuffer
2014-07-21base:component: use WorkQueue::Pause()/Resume() for workqueue controlHo-Eun Ryu
modified: base/inc/componentbase.h modified: base/src/componentbase.cpp
2014-07-21misc: add windriver standard copyrightHo-Eun Ryu
2014-07-21base:component: add DumpBuffer for the derived classesHo-Eun Ryu
2014-07-21misc: add copyright and authorHo-Eun Ryu
2014-07-21base:component: fix minor, matching version for PVOPENCOREHo-Eun Ryu
2014-07-21base:component: fix bug, version spec bit encodingHo-Eun Ryu
2014-07-21base:component: add GetComponentHandle and make handle privateHo-Eun Ryu
2014-07-21base:component: add GetWorkingRoleHo-Eun Ryu
2014-07-21base:component: remove ProcessorSet[Config/Parameter]Ho-Eun Ryu
2014-07-21base:component: fix prototype for CheckTypeHeader (const)Ho-Eun Ryu
2014-07-21base:component: insroduce PostProcessBufferHo-Eun Ryu
2014-07-21base:component: ProcessorProcess replaces ComponentProcessBuffersHo-Eun Ryu
2014-07-21base:component: introduce Processor callback familyHo-Eun Ryu
2014-07-21base:component: add retain feature not to return a buffer at the end of WorkHo-Eun Ryu
2014-07-21base:component: add OMX_CommandPortEnable/Disable handlingHo-Eun Ryu
2014-07-21base:component: add OMX_CommandFlush handlingHo-Eun Ryu
2014-07-21base:component: add PushThisMarkHo-Eun Ryu
2014-07-21base:component: add QueryRolesHelper() for query_roles()Ho-Eun Ryu
2014-07-21base:component: remove unneeded methods (Get/QueuryRoles)Ho-Eun Ryu
2014-07-21base:component: make buffer functions privateHo-Eun Ryu
2014-07-21base:componetbase: fix minor, ApplyWorkingRoleHo-Eun Ryu
2014-07-21base:component: remove Init/ExitComponentHo-Eun Ryu
2014-07-21base:componnet: add Allocate/FreePort and impl ApplyWorkingRoleHo-Eun Ryu
2014-07-21base:component: add working role featureHo-Eun Ryu
2014-07-21base:component: add buffer processing routinesHo-Eun Ryu
componentbase implements WorkableInterface. Work() processes buffers qeueued by Empty/FillThisBuffer. derived component class should override ComponentProcessBuffers virtual fucntion to process buffers handed over ComponentBase::Work()
2014-07-21component: make handle a protected memberHo-Eun Ryu
2014-07-21base:component: fix Set/CheckTypeHeader()Ho-Eun Ryu
make it static/public and fix return type of CheckTypeHeader
2014-07-21base:component: add state transition routinesHo-Eun Ryu
2014-07-21base:component: implement Get/SetConfig interfaceHo-Eun Ryu