History log of /hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3f7ceee13aa17ae32d4263aed2ce67eb9a37c58b 24-Jul-2014 ywan171 <yi.a.wang@intel.com> remove the warning in wrs_core

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>
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
274e417839e9335eccada4b08e082e238b0ed7dc 05-Feb-2013 Gu, Wangyi <wangyi.gu@intel.com> [PORT FROM R4.1] Enhance the error handle mechanism in OMX Core to avoid 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>
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
0fc2a2b43fa4b6f11f667aacea2e8f4ebe049eee 19-Mar-2012 wfeng6 <wei.feng@intel.com> wrs_omxil_core:critical Klocwork issues about strcpy

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>
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
06d2b4622ddb4b2f9ae3bd5eefd4d991c5d69367 23-Feb-2012 nguo <nana.n.guo@intel.com> wrs_omxil_core: Critical Klocwork issues

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>
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
2f6e87e64736666857c1bbe2cb0692c1f4e56508 26-Feb-2010 Ho-Eun Ryu <ho-eun.ryu@windriver.com> copyright: apply Apache License, Version 2.0
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
330baad1e1d86478f78358112466d37396824ee0 22-Feb-2010 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: fix reference counting bug in Load/Unload
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
aa8a53ba28b4e12dcdc08683e770d7b3fd68ff8d 28-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base,core: introduce new module interface, use WRS_OMXIL_CMODULE_SYMBOL

typedef OMX_ERRORTYPE (*cmodule_instantiate_t)(OMX_PTR *);
typedef OMX_ERRORTYPE (*cmodule_query_name_t)(OMX_STRING, OMX_U32);
typedef OMX_ERRORTYPE (*cmodule_query_roles_t)(OMX_U32 *, OMX_U8 **);

WRS_OMXIL_CMODULE_SYMBOL

struct wrs_omxil_cmodule_ops_s {
OMX_ERRORTYPE (*instantiate)(OMX_PTR *);
};

struct wrs_omxil_cmodule_s {
const char *name;

const char **roles;
const int nr_roles;

struct wrs_omxil_cmodule_ops_s *ops;
};

modified: base/inc/cmodule.h
modified: base/src/cmodule.cpp
modified: base/src/componentbase.cpp
modified: core/src/wrs_omxcore.cpp
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
30bd6062e4b295f5f7bcaeb98165065310d29269 28-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> misc: add windriver standard copyright
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
e4197969e018f1f455d8a99ebabd51994b150506 16-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> misc: add copyright and author
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
7586927b4a7d8e6a549b6b76c78ab5e36bb2f4a3 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: fix minor, InstantiateComponent() sets cbase's name and roles
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
0544b5f96aaf9fef00984cf213e6dae75a408529 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: fix bug, module = m when all symbols found
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
89e363635b79898d7dd07645b9db2ba3393b38e4 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: Unload() in destructor (for safty)
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
e4cf7671304eade66d6f89200ccb7c448f12909c 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: fix prototype, Unload returns reference count
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
dddc64d37a014eb5c8df37067494b236a6a0cfea 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: fix prototype of query_name(), it has string length parameter
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
f42ba278301ee8a8ee1d58f325bfac5d5883f1e6 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: fix bug, init cname with 0 in constructor
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
13a3f2f8b40df4284788f42a2df9908efb356105 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: fix bug, init/deinit roles/nr_roles in constructor/destructor
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
fbe9b4b84433e601a41cec8bb4a703ce85fb8898 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: fix bug, manuplating library name in contructor
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
4d23422b4ee131b866bb3f3016bc436fb51f68c0 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: add QueryHavingThisRole() to query if a component has a role
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
dcca56c316c37a3b79d54fc28631607e672db691 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: add component name / roles accessor
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
8c1c19ee4a7c0f1f7cdf1b186e92118325080f5c 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: use ComponentBase type for Instantiate()
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
ebfafff3d5b90857bbbe1cc38e7e7914f5c24c6b 29-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: add public method for library symbols
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
b82acc5264df5ef0d8cd5265826baa9a90f436b3 29-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: add comments
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
1152cc267e2b9dce7346f0069abcbd516ffb28ae 29-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: remove privdata
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
5463849b74e78069ba8853df8be5e185e712a6c1 29-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: add instatiate/query_name/query_roles symbol
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
342530bd11e05432f3f65ebd7ee1c302c4d270d8 29-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: remove init/exit
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
abd0912a8db7a54ddacbfe87ad618c9418e6648c 29-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: fix bug, use reference count
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
93829fc5dd7d8b02ab8425f4f6cecf39e0636508 29-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: change name -> lname (library name)
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
810191276765494fcccc5ed7d450e93b0f635332 29-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: remove unneeded constructor()
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp
ad314a082b0ba22294ba369dde3f84f88010a612 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:cmodule: add cmodule class for component loading
/hardware/intel/common/wrs_omxil_core/base/src/cmodule.cpp