Searched refs:numRoles (Results 1 – 8 of 8) sorted by relevance
/hardware/ti/omap4-aah/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/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/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 | 114 OMX_U32 numRoles; in getRolesOfComponent() local 116 const_cast<OMX_STRING>(name), &numRoles, NULL); in getRolesOfComponent() 122 if (numRoles > 0) { in getRolesOfComponent() 123 OMX_U8 **array = new OMX_U8 *[numRoles]; in getRolesOfComponent() 124 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent() 136 if (numRoles2 != numRoles) { in getRolesOfComponent() 140 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
|
/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 …]
|
/hardware/qcom/media/mm-core/src/common/ |
D | qc_omx_core.c | 728 OMX_INOUT OMX_U32* numRoles, in OMX_GetRolesOfComponent() argument 738 if (numRoles == NULL) in OMX_GetRolesOfComponent() 744 *numRoles = 0; in OMX_GetRolesOfComponent() 751 (*numRoles)++; in OMX_GetRolesOfComponent() 761 if(numRoles) in OMX_GetRolesOfComponent() 763 if (*numRoles == 0) in OMX_GetRolesOfComponent() 768 numofroles = *numRoles; in OMX_GetRolesOfComponent() 769 *numRoles = 0; in OMX_GetRolesOfComponent() 776 if(roles && roles[*numRoles]) in OMX_GetRolesOfComponent() 779 strlcpy((char *)roles[*numRoles],core[i].roles[j],OMX_MAX_STRINGNAME_SIZE); in OMX_GetRolesOfComponent() [all …]
|
/hardware/intel/common/libstagefrighthw/ |
D | WrsOMXPlugin.cpp | 191 OMX_U32 numRoles; in getRolesOfComponent() local 193 const_cast<OMX_STRING>(name), &numRoles, NULL); in getRolesOfComponent() 199 if (numRoles > 0) { in getRolesOfComponent() 200 OMX_U8 **array = new OMX_U8 *[numRoles]; in getRolesOfComponent() 201 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent() 205 OMX_U32 numRoles2 = numRoles; in getRolesOfComponent() 210 CHECK_EQ(numRoles, numRoles2); in getRolesOfComponent() 212 for (OMX_U32 i = 0; i < numRoles; ++i) { in getRolesOfComponent()
|
/hardware/intel/common/utils/ISV/omx/ |
D | isv_omxcore.cpp | 319 OMX_U32 numRoles; in OMX_GetRolesOfComponent() local 321 const_cast<OMX_STRING>(compName), &numRoles, NULL); in OMX_GetRolesOfComponent() 327 if (numRoles > 0) { in OMX_GetRolesOfComponent() 328 OMX_U8 **array = new OMX_U8 *[numRoles]; in OMX_GetRolesOfComponent() 329 for (OMX_U32 i = 0; i < numRoles; ++i) { in OMX_GetRolesOfComponent() 333 OMX_U32 numRoles2 = numRoles; in OMX_GetRolesOfComponent() 337 *pNumRoles = numRoles; in OMX_GetRolesOfComponent() 338 for (OMX_U32 i = 0; i < numRoles; i++) { in OMX_GetRolesOfComponent() 339 if (i < numRoles-1) in OMX_GetRolesOfComponent()
|