Home
last modified time | relevance | path

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

/external/aac/libSYS/src/
Dsyslib_channelMapDescr.cpp161 UCHAR FDK_chMapDescr_getMapValue(const FDK_channelMapDescr* const pMapDescr, in FDK_chMapDescr_getMapValue() argument
165 FDK_ASSERT(pMapDescr != NULL); in FDK_chMapDescr_getMapValue()
167 if ((pMapDescr->fPassThrough == 0) && (pMapDescr->pMapInfoTab != NULL) && in FDK_chMapDescr_getMapValue()
168 (pMapDescr->mapInfoTabLen > mapIdx)) { /* Nest sanity check to avoid in FDK_chMapDescr_getMapValue()
171 if (chIdx < pMapDescr->pMapInfoTab[mapIdx].numChannels) { in FDK_chMapDescr_getMapValue()
172 mapValue = pMapDescr->pMapInfoTab[mapIdx].pChannelMap[chIdx]; in FDK_chMapDescr_getMapValue()
228 int FDK_chMapDescr_isValid(const FDK_channelMapDescr* const pMapDescr) { in FDK_chMapDescr_isValid() argument
232 if (pMapDescr != NULL) { in FDK_chMapDescr_isValid()
234 for (i = 0; (i < pMapDescr->mapInfoTabLen) && result; i += 1) { in FDK_chMapDescr_isValid()
235 if (!fdk_chMapDescr_isValidMap(&pMapDescr->pMapInfoTab[i])) { in FDK_chMapDescr_isValid()
[all …]
/external/aac/libSYS/include/
Dsyslib_channelMapDescr.h154 void FDK_chMapDescr_init(FDK_channelMapDescr* const pMapDescr,
168 int FDK_chMapDescr_setPassThrough(FDK_channelMapDescr* const pMapDescr,
180 UCHAR FDK_chMapDescr_getMapValue(const FDK_channelMapDescr* const pMapDescr,
190 int FDK_chMapDescr_isValid(const FDK_channelMapDescr* const pMapDescr);