Lines Matching refs:inBufDesc
1404 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()
1543 pMetaData = (AACENC_MetaData*)inBufDesc->bufs[getBufDescIdx(inBufDesc,IN_METADATA_SETUP)]; in aacEncEncode()
1610 if ( (inargs->numAncBytes > 0) && ( getBufDescIdx(inBufDesc,IN_ANCILLRY_DATA)!=-1 ) ) { in aacEncEncode()
1611 INT idx = getBufDescIdx(inBufDesc,IN_ANCILLRY_DATA); in aacEncEncode()
1613 hAacEncoder->extPayload[nExtensions].pData = (UCHAR*)inBufDesc->bufs[idx]; in aacEncEncode()