Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp420 AACENC_OutArgs outargs; in process() local
422 memset(&outargs, 0, sizeof(outargs)); in process()
521 memset(&outargs, 0, sizeof(outargs)); in process()
530 &outargs); in process()
533 if (outargs.numOutBytes > 0) { in process()
536 + outargs.numInSamples; in process()
538 consumed, capacity, inargs.numInSamples, outargs.numInSamples); in process()
542 … std::shared_ptr<C2Buffer> buffer = createLinearBuffer(block, 0, outargs.numOutBytes); in process()
544 hexdump(outPtr, std::min(outargs.numOutBytes, 256)); in process()
552 mInputSize += outargs.numInSamples * sizeof(int16_t); in process()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp630 AACENC_OutArgs outargs; in onQueueFilled() local
632 memset(&outargs, 0, sizeof(outargs)); in onQueueFilled()
664 memset(&outargs, 0, sizeof(outargs)); in onQueueFilled()
673 &outargs); in onQueueFilled()
676 outPtr += outargs.numOutBytes; in onQueueFilled()
677 nOutputBytes += outargs.numOutBytes; in onQueueFilled()
679 if (outargs.numInSamples > 0) { in onQueueFilled()
680 int numRemainingSamples = inargs.numInSamples - outargs.numInSamples; in onQueueFilled()
683 &mInputFrame[outargs.numInSamples], in onQueueFilled()
686 inargs.numInSamples -= outargs.numInSamples; in onQueueFilled()