Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/tests/metadatautils/
DMetaDataUtilsTest.cpp60 mInputBufferSize = buf.st_size; in SetUpMetaDataValidate()
64 mInputBuffer = new uint8_t[mInputBufferSize]; in SetUpMetaDataValidate()
66 << "Failed to allocate memory of size: " << mInputBufferSize; in SetUpMetaDataValidate()
69 fread((char *)mInputBuffer, sizeof(uint8_t), mInputBufferSize, inputFilePtr); in SetUpMetaDataValidate()
70 ASSERT_EQ(numBytes, mInputBufferSize) << numBytes << " of " << mInputBufferSize << " read"; in SetUpMetaDataValidate()
75 size_t mInputBufferSize; member in MetaDataValidate
100 mInputBufferSize = buf.st_size; in SetUp()
104 mInputBuffer = new uint8_t[mInputBufferSize]; in SetUp()
106 << "Failed to create a buffer of size: " << mInputBufferSize; in SetUp()
109 fread((char *)mInputBuffer, sizeof(uint8_t), mInputBufferSize, inputFilePtr); in SetUp()
[all …]
/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.cpp692 mInputBufferSize = 0; in initXAACDecoder()
831 mInputBufferSize = ui_size; in initXAACDecoder()
938 if (mInputBufferSize < inBufferLength) { in configXAACDecoder()
939 …ALOGE("Cannot config AAC, input buffer size %d < inBufferLength %d", mInputBufferSize, inBufferLen… in configXAACDecoder()
1286 if (mInputBufferSize < inBufferLength) { in decodeXAACStream()
1287 …ALOGE("Cannot config AAC, input buffer size %d < inBufferLength %d", mInputBufferSize, inBufferLen… in decodeXAACStream()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h557 camera3::Size mInputBufferSize; variable
DCamera3Device.cpp4977 halRequest->input_width = captureRequest->mInputBufferSize.width; in prepareHalRequests()
4978 halRequest->input_height = captureRequest->mInputBufferSize.height; in prepareHalRequests()
5563 &nextRequest->mInputBufferSize); in waitForNextRequestLocked()