Home
last modified time | relevance | path

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

/external/aac/libAACenc/src/
Daacenc_lib.cpp1404 const AACENC_BufDesc *inBufDesc, in aacEncEncode() argument
1454 …if ( (hAacEncoder!=NULL) & (inBufDesc==NULL) && (outBufDesc==NULL) && (inargs==NULL) && (outargs==… in aacEncEncode()
1464 if ( (inargs->numInSamples > 0) && (getBufDescIdx(inBufDesc,IN_AUDIO_DATA) != -1) ) in aacEncEncode()
1467 INT idx = getBufDescIdx(inBufDesc,IN_AUDIO_DATA); in aacEncEncode()
1472 if (inBufDesc->bufElSizes[idx]==(INT)sizeof(INT_PCM)) { in aacEncEncode()
1473 … FDKmemcpy(pIn, (INT_PCM*)inBufDesc->bufs[idx], newSamples*sizeof(INT_PCM)); /* Fast copy. */ in aacEncEncode()
1475 else if (inBufDesc->bufElSizes[idx]>(INT)sizeof(INT_PCM)) { in aacEncEncode()
1477 …pIn[i] = (INT_PCM)(((LONG*)inBufDesc->bufs[idx])[i]>>16); /* Convert 32 to 16 bit. … in aacEncEncode()
1482 …pIn[i] = ((INT_PCM)(((SHORT*)inBufDesc->bufs[idx])[i]))<<16; /* Convert 16 to 32 bit. … in aacEncEncode()
1542 if ( getBufDescIdx(inBufDesc,IN_METADATA_SETUP) != -1 ) { in aacEncEncode()
[all …]
/external/aac/libAACenc/include/
Daacenc_lib.h1148 const AACENC_BufDesc *inBufDesc,