Searched refs:csdSize (Results 1 – 2 of 2) sorted by relevance
/cts/tests/media/jni/ |
D | NativeCodecDecoderTest.cpp | 170 size_t csdSize = mCsdBuffers[mCurrCsdIdx].second; in enqueueCodecConfig() local 171 if (bufSize < csdSize) { in enqueueCodecConfig() 172 ALOGE("csd exceeds input buffer size, csdSize: %zu bufSize: %zu", csdSize, bufSize); in enqueueCodecConfig() 175 memcpy((void*)buf, csdBuffer, csdSize); in enqueueCodecConfig() 177 CHECK_STATUS(AMediaCodec_queueInputBuffer(mCodec, bufferIndex, 0, csdSize, 0, flags), in enqueueCodecConfig() 384 size_t csdSize; in testFlush() local 386 if (AMediaFormat_getBuffer(mInpDecFormat, csdName, &csdBuffer, &csdSize)) { in testFlush() 387 mCsdBuffers.push_back(std::make_pair(csdBuffer, csdSize)); in testFlush() 553 size_t csdSize; in testSimpleDecodeQueueCSD() local 555 if (AMediaFormat_getBuffer(mInpDecDupFormat, csdName, &csdBuffer, &csdSize)) { in testSimpleDecodeQueueCSD() [all …]
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-media-jni.cpp | 1098 jlong csdSize = env->GetDirectBufferCapacity(csd); in Java_android_media_cts_NdkMediaCodec_AMediaCodecConfigure() local 1099 AMediaFormat_setBuffer(format, "csd-0", csdPtr, csdSize); in Java_android_media_cts_NdkMediaCodec_AMediaCodecConfigure()
|