Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecDecoderTest.cpp174 size_t csdSize = mCsdBuffers[mCurrCsdIdx].second; in enqueueCodecConfig() local
175 if (bufSize < csdSize) { in enqueueCodecConfig()
176 ALOGE("csd exceeds input buffer size, csdSize: %zu bufSize: %zu", csdSize, bufSize); in enqueueCodecConfig()
179 memcpy((void*)buf, csdBuffer, csdSize); in enqueueCodecConfig()
181 CHECK_STATUS(AMediaCodec_queueInputBuffer(mCodec, bufferIndex, 0, csdSize, 0, flags), in enqueueCodecConfig()
409 size_t csdSize; in testFlush() local
411 if (AMediaFormat_getBuffer(mInpDecFormat, csdName, &csdBuffer, &csdSize)) { in testFlush()
412 mCsdBuffers.push_back(std::make_pair(csdBuffer, csdSize)); in testFlush()
582 size_t csdSize; in testSimpleDecodeQueueCSD() local
584 if (AMediaFormat_getBuffer(mInpDecDupFormat, csdName, &csdBuffer, &csdSize)) { in testSimpleDecodeQueueCSD()
[all …]
DNativeExtractorTest.cpp584 size_t csdSize; in nativeReadAllData() local
586 if (AMediaFormat_getBuffer(format, csdName, &csdBuffer, &csdSize)) { in nativeReadAllData()
587 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()