Home
last modified time | relevance | path

Searched refs:numRoles (Results 1 – 4 of 4) sorted by relevance

/hardware/ti/omap3/libstagefrighthw/
DTIOMXPlugin.cpp109 OMX_U32 numRoles; in getRolesOfComponent() local
111 const_cast<OMX_STRING>(name), &numRoles, NULL); in getRolesOfComponent()
117 if (numRoles > 0) { in getRolesOfComponent()
118 OMX_U8 **array = new OMX_U8 *[numRoles]; in getRolesOfComponent()
119 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
128 CHECK_EQ(numRoles, numRoles2); in getRolesOfComponent()
130 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
/hardware/msm7k/libstagefrighthw/
DQComOMXPlugin.cpp109 OMX_U32 numRoles; in getRolesOfComponent() local
111 const_cast<OMX_STRING>(name), &numRoles, NULL); in getRolesOfComponent()
117 if (numRoles > 0) { in getRolesOfComponent()
118 OMX_U8 **array = new OMX_U8 *[numRoles]; in getRolesOfComponent()
119 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
128 CHECK_EQ(numRoles, numRoles2); in getRolesOfComponent()
130 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
/hardware/qcom/media/libstagefrighthw/
DQComOMXPlugin.cpp140 OMX_U32 numRoles; in getRolesOfComponent() local
142 const_cast<OMX_STRING>(name), &numRoles, NULL); in getRolesOfComponent()
148 if (numRoles > 0) { in getRolesOfComponent()
149 OMX_U8 **array = new OMX_U8 *[numRoles]; in getRolesOfComponent()
150 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
159 CHECK_EQ(numRoles, numRoles2); in getRolesOfComponent()
161 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
/hardware/qcom/media/mm-core/omxcore/src/common/
Dqc_omx_core.c743 OMX_INOUT OMX_U32* numRoles, in OMX_GetRolesOfComponent() argument
753 if (numRoles == NULL) in OMX_GetRolesOfComponent()
759 *numRoles = 0; in OMX_GetRolesOfComponent()
766 (*numRoles)++; in OMX_GetRolesOfComponent()
776 if(numRoles) in OMX_GetRolesOfComponent()
778 if (*numRoles == 0) in OMX_GetRolesOfComponent()
783 numofroles = *numRoles; in OMX_GetRolesOfComponent()
784 *numRoles = 0; in OMX_GetRolesOfComponent()
791 if(roles && roles[*numRoles]) in OMX_GetRolesOfComponent()
794 strlcpy((char *)roles[*numRoles],core[i].roles[j],OMX_MAX_STRINGNAME_SIZE); in OMX_GetRolesOfComponent()
[all …]