Searched defs:inBufDesc (Results 1 - 1 of 1) sorted by relevance
/external/aac/libAACenc/src/ |
H A D | aacenc_lib.cpp | 1404 const AACENC_BufDesc *inBufDesc, 1454 if ( (hAacEncoder!=NULL) & (inBufDesc==NULL) && (outBufDesc==NULL) && (inargs==NULL) && (outargs==NULL) ) { 1464 if ( (inargs->numInSamples > 0) && (getBufDescIdx(inBufDesc,IN_AUDIO_DATA) != -1) ) 1467 INT idx = getBufDescIdx(inBufDesc,IN_AUDIO_DATA); 1472 if (inBufDesc->bufElSizes[idx]==(INT)sizeof(INT_PCM)) { 1473 FDKmemcpy(pIn, (INT_PCM*)inBufDesc->bufs[idx], newSamples*sizeof(INT_PCM)); /* Fast copy. */ 1475 else if (inBufDesc->bufElSizes[idx]>(INT)sizeof(INT_PCM)) { 1477 pIn[i] = (INT_PCM)(((LONG*)inBufDesc->bufs[idx])[i]>>16); /* Convert 32 to 16 bit. */ 1482 pIn[i] = ((INT_PCM)(((SHORT*)inBufDesc->bufs[idx])[i]))<<16; /* Convert 16 to 32 bit. */ 1542 if ( getBufDescIdx(inBufDesc,IN_METADATA_SETU 1402 aacEncEncode( const HANDLE_AACENCODER hAacEncoder, const AACENC_BufDesc *inBufDesc, const AACENC_BufDesc *outBufDesc, const AACENC_InArgs *inargs, AACENC_OutArgs *outargs ) argument [all...] |
Completed in 34 milliseconds