Searched refs:testSample (Results 1 – 2 of 2) sorted by relevance
38 AMediaCodecBufferInfo* testSample) { in isSampleInfoIdentical() argument39 return refSample->flags == testSample->flags && refSample->size == testSample->size && in isSampleInfoIdentical()40 refSample->presentationTimeUs == testSample->presentationTimeUs; in isSampleInfoIdentical()44 AMediaCodecBufferInfo* testSample) { in isSampleInfoValidAndIdentical() argument45 return refSample->flags == testSample->flags && refSample->size == testSample->size && in isSampleInfoValidAndIdentical()46 abs(refSample->presentationTimeUs - testSample->presentationTimeUs) <= 1 && in isSampleInfoValidAndIdentical()
186 MediaCodec.BufferInfo testSample) { in isSampleInfoIdentical() argument187 return refSample.flags == testSample.flags && refSample.size == testSample.size && in isSampleInfoIdentical()188 refSample.presentationTimeUs == testSample.presentationTimeUs; in isSampleInfoIdentical()192 MediaCodec.BufferInfo testSample) { in isSampleInfoValidAndIdentical() argument193 return refSample.flags == testSample.flags && refSample.size == testSample.size && in isSampleInfoValidAndIdentical()194 Math.abs(refSample.presentationTimeUs - testSample.presentationTimeUs) <= 1 && in isSampleInfoValidAndIdentical()