Home
last modified time | relevance | path

Searched refs:bufSize (Results 1 – 5 of 5) sorted by relevance

/cts/tests/media/jni/
DNativeCodecUnitTest.cpp676 size_t bufSize; in testGetInputBufferInInitState() local
677 uint8_t* buf = AMediaCodec_getInputBuffer(mCodec, 0, &bufSize); in testGetInputBufferInInitState()
695 size_t bufSize; in testGetInputBufferInRunningState() local
696 if (AMediaCodec_getInputBuffer(mCodec, -1, &bufSize) != nullptr) { in testGetInputBufferInRunningState()
702 uint8_t* buf = AMediaCodec_getInputBuffer(mCodec, bufferIndex, &bufSize); in testGetInputBufferInRunningState()
720 size_t bufSize; in testGetInputBufferInUnInitState() local
721 if (AMediaCodec_getInputBuffer(mCodec, 0, &bufSize) != nullptr) { in testGetInputBufferInUnInitState()
728 if (AMediaCodec_getInputBuffer(mCodec, 0, &bufSize) != nullptr) { in testGetInputBufferInUnInitState()
819 size_t bufSize; in testGetOutputBufferInInitState() local
820 if (AMediaCodec_getOutputBuffer(mCodec, 0, &bufSize) != nullptr) { in testGetOutputBufferInInitState()
[all …]
DNativeCodecDecoderTest.cpp163 size_t bufSize; in enqueueCodecConfig() local
164 uint8_t* buf = AMediaCodec_getInputBuffer(mCodec, bufferIndex, &bufSize); in enqueueCodecConfig()
171 if (bufSize < csdSize) { in enqueueCodecConfig()
172 ALOGE("csd exceeds input buffer size, csdSize: %zu bufSize: %zu", csdSize, bufSize); in enqueueCodecConfig()
187 size_t bufSize; in enqueueInput() local
188 uint8_t* buf = AMediaCodec_getInputBuffer(mCodec, bufferIndex, &bufSize); in enqueueInput()
195 if (size > bufSize) { in enqueueInput()
196 ALOGE("extractor sample size exceeds codec input buffer size %zu %zu", size, bufSize); in enqueueInput()
199 if (size != AMediaExtractor_readSampleData(mExtractor, buf, bufSize)) { in enqueueInput()
DNativeCodecEncoderSurfaceTest.cpp224 size_t bufSize = 0; in enqueueDecoderInput() local
225 uint8_t* buf = AMediaCodec_getInputBuffer(mDecoder, bufferIndex, &bufSize); in enqueueDecoderInput()
232 if (size > bufSize) { in enqueueDecoderInput()
233 ALOGE("extractor sample size exceeds codec input buffer size %zu %zu", size, bufSize); in enqueueDecoderInput()
236 if (size != AMediaExtractor_readSampleData(mExtractor, buf, bufSize)) { in enqueueDecoderInput()
/cts/tests/tests/os/src/android/os/cts/
DDebugTest.java57 final int bufSize = 1024 * 1024 * 2; in testStartMethodTracing() local
64 Debug.startMethodTracing(traceName, bufSize); in testStartMethodTracing()
68 Debug.startMethodTracing(traceName, bufSize, debug_flag); in testStartMethodTracing()
/cts/apps/CtsVerifier/jni/verifier/
Dcom_android_cts_verifier_camera_StatsImage.cpp37 int bufSize = (int)(env->GetArrayLength(img)); in com_android_cts_verifier_camera_its_computeStatsImage() local