Home
last modified time | relevance | path

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

/frameworks/av/media/module/foundation/tests/AVCUtils/
DAVCUtilsUnitTest.cpp239 int32_t accessUnitLength = 0; in TEST_P() local
252 accessUnitLength += chunkLength; in TEST_P()
278 std::unique_ptr<uint8_t[]> accessUnitData(new uint8_t[accessUnitLength]); in TEST_P()
279 ASSERT_NE(accessUnitData, nullptr) << "Failed to create a buffer of size: " << accessUnitLength; in TEST_P()
282 mInputFileStream.read((char *)accessUnitData.get(), accessUnitLength); in TEST_P()
283 ASSERT_EQ(mInputFileStream.gcount(), accessUnitLength) in TEST_P()
286 sp<ABuffer> accessUnit = new ABuffer(accessUnitLength); in TEST_P()
288 << "Failed to create an android data buffer of size: " << accessUnitLength; in TEST_P()
290 memcpy(accessUnit->data(), accessUnitData.get(), accessUnitLength); in TEST_P()