Searched refs:numRoles (Results 1 – 7 of 7) sorted by relevance
/hardware/ti/omap4xxx/libstagefrighthw/ |
D | TIOMXPlugin.cpp | 117 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/ |
D | QComOMXPlugin.cpp | 108 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/ |
D | Exynos_OMX_Plugin.cpp | 110 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/ |
D | TIOMXPlugin.cpp | 108 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/ |
D | QComOMXPlugin.cpp | 108 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/ |
D | qc_omx_core.c | 726 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/ |
D | qc_omx_core.c | 743 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 …]
|