Home
last modified time | relevance | path

Searched refs:mInputBufferSize (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DEncoder.java50 private long mInputBufferSize; field in Encoder
118 mInputBufferSize = mInputStream.getChannel().size(); in encode()
149 mNumFrames = (int) ((mInputBufferSize + mFrameSize - 1) / mFrameSize); in encode()
275 if (mInputBufferSize < mOffset) { in onInputAvailable()
287 if (mInputBufferSize - mOffset < mFrameSize) { in onInputAvailable()
288 bytesToRead = (int) (mInputBufferSize - mOffset); in onInputAvailable()
295 mNumFrames = (int) ((mInputBufferSize + mFrameSize - 1) / mFrameSize); in onInputAvailable()
357 mInputBufferSize = 0; in resetEncoder()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DEncoder.cpp43 if (mInputBufferSize < mOffset) { in onInputAvailable()
51 if (mInputBufferSize - mOffset < mParams.frameSize) { in onInputAvailable()
52 bytesToRead = mInputBufferSize - mOffset; in onInputAvailable()
59 mParams.numFrames = (mInputBufferSize + mParams.frameSize - 1) / mParams.frameSize; in onInputAvailable()
181 mInputBufferSize = 0; in resetEncoder()
195 mInputBufferSize = eleSize; in encode()
241 mParams.numFrames = (mInputBufferSize + mParams.frameSize - 1) / mParams.frameSize; in encode()
DEncoder.h100 size_t mInputBufferSize; variable
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp98 mInputBufferSize(0), in SoftXAAC()
925 mInputBufferSize = 0; in initXAACDecoder()
1042 mInputBufferSize = ui_size; in initXAACDecoder()
1058 if (mInputBufferSize < inBufferLength) { in configXAACDecoder()
1059 ALOGE("Cannot config AAC, input buffer size %d < inBufferLength %d", mInputBufferSize, in configXAACDecoder()
1409 if (mInputBufferSize < inBufferLength) { in decodeXAACStream()
1410 ALOGE("Cannot config AAC, input buffer size %d < inBufferLength %d", mInputBufferSize, in decodeXAACStream()
DSoftXAAC.h108 uint32_t mInputBufferSize; member
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.h75 uint32_t mInputBufferSize; member
DC2SoftXaacDec.cpp689 mInputBufferSize = 0; in initXAACDecoder()
828 mInputBufferSize = ui_size; in initXAACDecoder()
935 if (mInputBufferSize < inBufferLength) { in configXAACDecoder()
936 …ALOGE("Cannot config AAC, input buffer size %d < inBufferLength %d", mInputBufferSize, inBufferLen… in configXAACDecoder()
1283 if (mInputBufferSize < inBufferLength) { in decodeXAACStream()
1284 …ALOGE("Cannot config AAC, input buffer size %d < inBufferLength %d", mInputBufferSize, inBufferLen… in decodeXAACStream()