Home
last modified time | relevance | path

Searched refs:roleCount (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/peripheral/codec/hal/idl_service/src/
H A Dcodec_omx_core.cpp111 uint32_t roleCount = 0; in GetRolesOfComponent() local
112 uint32_t err = (*getRoles_)(const_cast<char *>(name.c_str()), &roleCount, nullptr); in GetRolesOfComponent()
117 if (roleCount == 0) { in GetRolesOfComponent()
121 char *role[roleCount]; in GetRolesOfComponent()
122 char array[roleCount][OMX_MAX_STRINGNAME_SIZE]; in GetRolesOfComponent()
123 for (uint32_t i = 0; i < roleCount; i++) { in GetRolesOfComponent()
132 uint32_t roleLen = roleCount; in GetRolesOfComponent()
133 …err = (*getRoles_)(const_cast<char *>(name.c_str()), &roleCount, reinterpret_cast<OMX_U8 **>(role)… in GetRolesOfComponent()
/ohos5.0/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/
H A Dcodec_omx_core.cpp112 uint32_t roleCount = 0; in GetRolesOfComponent() local
113 int32_t err = (*getRoles_)(const_cast<char *>(name.c_str()), &roleCount, nullptr); in GetRolesOfComponent()
118 if (roleCount == 0) { in GetRolesOfComponent()
123 char *role[roleCount]; in GetRolesOfComponent()
124 char array[roleCount][OMX_MAX_STRINGNAME_SIZE]; in GetRolesOfComponent()
125 for (uint32_t i = 0; i < roleCount; i++) { in GetRolesOfComponent()
134 uint32_t roleLen = roleCount; in GetRolesOfComponent()
135 …err = (*getRoles_)(const_cast<char *>(name.c_str()), &roleCount, reinterpret_cast<OMX_U8 **>(role)… in GetRolesOfComponent()