Home
last modified time | relevance | path

Searched refs:csdSize (Results 1 – 4 of 4) sorted by relevance

/cts/tests/media/jni/
DNativeCodecDecoderTestCommon.cpp204 size_t csdSize = mCsdBuffers[mCurrCsdIdx].second; in enqueueCodecConfig() local
205 RETURN_IF_TRUE(bufSize < csdSize, in enqueueCodecConfig()
206 StringFormat("csd exceeds input buffer size, csdSize: %zu bufSize: %zu", csdSize, in enqueueCodecConfig()
208 memcpy((void*)buf, csdBuffer, csdSize); in enqueueCodecConfig()
210 RETURN_IF_FAIL(AMediaCodec_queueInputBuffer(mCodec, bufferIndex, 0, csdSize, 0, flags), in enqueueCodecConfig()
427 size_t csdSize; in testFlush() local
429 if (AMediaFormat_getBuffer(mInpDecFormat, csdName, &csdBuffer, &csdSize)) { in testFlush()
430 mCsdBuffers.emplace_back(std::make_pair(csdBuffer, csdSize)); in testFlush()
560 size_t csdSize; in testSimpleDecodeQueueCSD() local
562 if (AMediaFormat_getBuffer(mInpDecDupFormat, csdName, &csdBuffer, &csdSize)) { in testSimpleDecodeQueueCSD()
[all …]
DNativeExtractorTest.cpp591 size_t csdSize; in nativeReadAllData() local
593 if (AMediaFormat_getBuffer(format, csdName, &csdBuffer, &csdSize)) { in nativeReadAllData()
594 crc32value = crc32(crc32value, static_cast<uint8_t*>(csdBuffer), csdSize); in nativeReadAllData()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/
Dpoc.cpp266 size_t csdSize = csdBuffer->flexCount(); in workDone() local
267 if (csdSize > 0) { in workDone()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DAdaptivePlaybackTest.java1449 int csdSize = 0;
1455 csdSize += csd.capacity();
1459 if (csdSize > 0) {
1460 ByteBuffer csdBuf = ByteBuffer.allocate(csdSize);
1467 Log.i(TAG, "frame-" + ix + "[" + csdSize + "]");