Home
last modified time | relevance | path

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

/hardware/ti/omap4xxx/libstagefrighthw/
DTIOMXPlugin.cpp117 OMX_U32 numRoles; in getRolesOfComponent() local
119 const_cast<OMX_STRING>(name), &numRoles, NULL); in getRolesOfComponent()
125 if (numRoles > 0) { in getRolesOfComponent()
126 OMX_U8 **array = new OMX_U8 *[numRoles]; in getRolesOfComponent()
127 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
132 const_cast<OMX_STRING>(name), &numRoles, array); in getRolesOfComponent()
134 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
/hardware/qcom/media/libstagefrighthw/
DQComOMXPlugin.cpp108 OMX_U32 numRoles; in getRolesOfComponent() local
110 const_cast<OMX_STRING>(name), &numRoles, NULL); in getRolesOfComponent()
116 if (numRoles > 0) { in getRolesOfComponent()
117 OMX_U8 **array = new OMX_U8 *[numRoles]; in getRolesOfComponent()
118 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
130 if (numRoles2 != numRoles) { in getRolesOfComponent()
134 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
/hardware/samsung_slsi/exynos5/libstagefrighthw/
DExynos_OMX_Plugin.cpp110 OMX_U32 numRoles; in getRolesOfComponent() local
112 const_cast<OMX_STRING>(name), &numRoles, NULL); in getRolesOfComponent()
118 if (numRoles > 0) { in getRolesOfComponent()
119 OMX_U8 **array = new OMX_U8 *[numRoles]; in getRolesOfComponent()
120 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
129 CHECK_EQ(numRoles, numRoles2); in getRolesOfComponent()
131 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
/hardware/ti/omap3/libstagefrighthw/
DTIOMXPlugin.cpp108 OMX_U32 numRoles; in getRolesOfComponent() local
110 const_cast<OMX_STRING>(name), &numRoles, NULL); in getRolesOfComponent()
116 if (numRoles > 0) { in getRolesOfComponent()
117 OMX_U8 **array = new OMX_U8 *[numRoles]; in getRolesOfComponent()
118 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
126 if (err == OMX_ErrorNone && numRoles != numRoles2) { in getRolesOfComponent()
130 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
/hardware/msm7k/libstagefrighthw/
DQComOMXPlugin.cpp108 OMX_U32 numRoles; in getRolesOfComponent() local
110 const_cast<OMX_STRING>(name), &numRoles, NULL); in getRolesOfComponent()
116 if (numRoles > 0) { in getRolesOfComponent()
117 OMX_U8 **array = new OMX_U8 *[numRoles]; in getRolesOfComponent()
118 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
126 if (err == OMX_ErrorNone && numRoles != numRoles2) { in getRolesOfComponent()
130 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
/hardware/qcom/media/mm-core/src/common/
Dqc_omx_core.c726 OMX_INOUT OMX_U32* numRoles, in OMX_GetRolesOfComponent() argument
736 if (numRoles == NULL) in OMX_GetRolesOfComponent()
742 *numRoles = 0; in OMX_GetRolesOfComponent()
749 (*numRoles)++; in OMX_GetRolesOfComponent()
759 if(numRoles) in OMX_GetRolesOfComponent()
761 if (*numRoles == 0) in OMX_GetRolesOfComponent()
766 numofroles = *numRoles; in OMX_GetRolesOfComponent()
767 *numRoles = 0; in OMX_GetRolesOfComponent()
774 if(roles && roles[*numRoles]) in OMX_GetRolesOfComponent()
777 strlcpy((char *)roles[*numRoles],core[i].roles[j],OMX_MAX_STRINGNAME_SIZE); in OMX_GetRolesOfComponent()
[all …]
/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 …]