aboutsummaryrefslogtreecommitdiff
path: root/base/inc/componentbase.h
diff options
context:
space:
mode:
authorHo-Eun Ryu <ho-eun.ryu@windriver.com>2009-09-30 15:15:49 +0900
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:03:27 -0700
commit118bba9d4dd9906f3d73713c931a3be3df9f2694 (patch)
treeba523834fe9ba76950525fa9d4f68a703a0037bd /base/inc/componentbase.h
parentf993ff794e671da1ee2958a783709637989282c2 (diff)
downloadwrs_omxil_core-118bba9d4dd9906f3d73713c931a3be3df9f2694.tar.gz
base:componetbase: fix minor, ApplyWorkingRole
Diffstat (limited to 'base/inc/componentbase.h')
-rw-r--r--base/inc/componentbase.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/base/inc/componentbase.h b/base/inc/componentbase.h
index fe70fe1..02d8434 100644
--- a/base/inc/componentbase.h
+++ b/base/inc/componentbase.h
@@ -316,12 +316,6 @@ private:
*/
/* called in GetHandle (nr_roles == 1) or SetParameter(ComponentRole) */
OMX_ERRORTYPE SetWorkingRole(const OMX_STRING role);
- /* called in GetHandle (nr_roles == 1) or TransStateToIdle(Loaded) */
- OMX_ERRORTYPE ApplyWorkingRole(void);
-
- /* called in ApplyWorkingRole() */
- OMX_ERRORTYPE AllocatePorts(void);
- virtual OMX_ERRORTYPE ComponentAllocatePorts(void) = 0;
/* called int FreeHandle() */
OMX_ERRORTYPE FreePorts(void);
@@ -344,6 +338,13 @@ private:
inline OMX_ERRORTYPE TransStateToWaitForResources(OMX_STATETYPE current);
inline OMX_ERRORTYPE TransStateToInvalid(OMX_STATETYPE current);
+ /* called in TransStateToIdle(Loaded) */
+ OMX_ERRORTYPE ApplyWorkingRole(void);
+ /* called in ApplyWorkingRole() */
+ OMX_ERRORTYPE AllocatePorts(void);
+ /* allocate specific port type derived from portbase */
+ virtual OMX_ERRORTYPE ComponentAllocatePorts(void) = 0;
+
/* Get/SetParameter */
virtual OMX_ERRORTYPE
ComponentGetParameter(OMX_INDEXTYPE nParamIndex,