Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeMediaCommon.cpp86 void flattenField(uint8_t* buffer, int* pos, T value) { in flattenField() function
94 template void flattenField<int32_t>(uint8_t* buffer, int* pos, int32_t value);
95 template void flattenField<int64_t>(uint8_t* buffer, int* pos, int64_t value);
DNativeExtractorTest.cpp563 flattenField<int32_t>(buffer, &bufferSize, 0); in nativeReadAllData()
566 flattenField<int32_t>(buffer, &bufferSize, refSampleRate); in nativeReadAllData()
570 flattenField<int32_t>(buffer, &bufferSize, refNumChannels); in nativeReadAllData()
573 flattenField<int32_t>(buffer, &bufferSize, 1); in nativeReadAllData()
576 flattenField<int32_t>(buffer, &bufferSize, refWidth); in nativeReadAllData()
579 flattenField<int32_t>(buffer, &bufferSize, refHeight); in nativeReadAllData()
581 flattenField<int32_t>(buffer, &bufferSize, 2); in nativeReadAllData()
586 flattenField<int64_t>(buffer, &bufferSize, keyDuration); in nativeReadAllData()
625 flattenField<int32_t>(buffer, &bufferSize, sampleInfo.size); in nativeReadAllData()
626 flattenField<int32_t>(buffer, &bufferSize, sampleInfo.flags); in nativeReadAllData()
[all …]
DNativeMediaCommon.h81 void flattenField(uint8_t* buffer, int* pos, T value);
DNativeCodecTestBase.cpp279 flattenField<int32_t>(flattenInfo, &pos, info->size); in updateChecksum()
281 flattenField<int32_t>(flattenInfo, &pos, info->flags & ~AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM); in updateChecksum()
282 flattenField<int64_t>(flattenInfo, &pos, info->presentationTimeUs); in updateChecksum()