Searched refs:refSample (Results 1 – 2 of 2) sorted by relevance
37 static bool isSampleInfoIdentical(AMediaCodecBufferInfo* refSample, in isSampleInfoIdentical() argument39 return refSample->flags == testSample->flags && refSample->size == testSample->size && in isSampleInfoIdentical()40 refSample->presentationTimeUs == testSample->presentationTimeUs; in isSampleInfoIdentical()43 static bool isSampleInfoValidAndIdentical(AMediaCodecBufferInfo* refSample, in isSampleInfoValidAndIdentical() argument45 return refSample->flags == testSample->flags && refSample->size == testSample->size && in isSampleInfoValidAndIdentical()46 abs(refSample->presentationTimeUs - testSample->presentationTimeUs) <= 1 && in isSampleInfoValidAndIdentical()47 (int)refSample->flags >= 0 && refSample->size >= 0 && refSample->presentationTimeUs >= 0; in isSampleInfoValidAndIdentical()
185 private static boolean isSampleInfoIdentical(MediaCodec.BufferInfo refSample, in isSampleInfoIdentical() argument187 return refSample.flags == testSample.flags && refSample.size == testSample.size && in isSampleInfoIdentical()188 refSample.presentationTimeUs == testSample.presentationTimeUs; in isSampleInfoIdentical()191 private static boolean isSampleInfoValidAndIdentical(MediaCodec.BufferInfo refSample, in isSampleInfoValidAndIdentical() argument193 return refSample.flags == testSample.flags && refSample.size == testSample.size && in isSampleInfoValidAndIdentical()194 Math.abs(refSample.presentationTimeUs - testSample.presentationTimeUs) <= 1 && in isSampleInfoValidAndIdentical()195 refSample.flags >= 0 && refSample.size >= 0 && refSample.presentationTimeUs >= 0; in isSampleInfoValidAndIdentical()