Home
last modified time | relevance | path

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

/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DExtractor.java33 private MediaCodec.BufferInfo mBufferInfo; field in Extractor
39 mBufferInfo = new MediaCodec.BufferInfo(); in Extractor()
76 public MediaCodec.BufferInfo getBufferInfo() { return this.mBufferInfo; } in getBufferInfo()
92 mBufferInfo.flags = MediaCodec.BUFFER_FLAG_END_OF_STREAM; in getFrameSample()
93 mBufferInfo.size = 0; in getFrameSample()
95 mBufferInfo.size = sampleSize; in getFrameSample()
96 mBufferInfo.offset = 0; in getFrameSample()
97 mBufferInfo.flags = mExtractor.getSampleFlags(); in getFrameSample()
98 mBufferInfo.presentationTimeUs = mExtractor.getSampleTime(); in getFrameSample()
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp137 mBufferInfo[idx].clear(); in ~WriterTest()
198 vector<BufferInfo> mBufferInfo[kMaxTrackCount]; member in WriterTest
221 mBufferInfo[idx].push_back({bytesCount, flags, timestamp}); in getInputBufferInfo()
286 int32_t status = writeHeaderBuffers(mInputStream[idx], mBufferInfo[idx], in addWriterSource()
455 ASSERT_EQ(mBufferInfo[index][i].size, dstBufInfo[i].size) in compareParams()
456 << "Input size " << mBufferInfo[index][i].size << " mismatched with extracted size " in compareParams()
458 ASSERT_EQ(mBufferInfo[index][i].flags, dstBufInfo[i].flags) in compareParams()
459 << "Input flag " << mBufferInfo[index][i].flags in compareParams()
461 ASSERT_LE(abs(mBufferInfo[index][i].timeUs - dstBufInfo[i].timeUs), toleranceValueUs) in compareParams()
462 << "Difference between original timestamp " << mBufferInfo[index][i].timeUs in compareParams()
[all …]
/frameworks/native/services/surfaceflinger/
DLayer.cpp239 if (mBufferInfo.mBuffer != nullptr) { in ~Layer()
241 mBufferInfo.mBuffer->getBuffer(), mBufferInfo.mFrameNumber, in ~Layer()
242 mBufferInfo.mFence); in ~Layer()
695 snapshot->hdrMetadata = mBufferInfo.mHdrMetadata; in preparePerFrameBufferCompositionState()
702 snapshot->acquireFence = mBufferInfo.mFence; in preparePerFrameBufferCompositionState()
703 snapshot->frameNumber = mBufferInfo.mFrameNumber; in preparePerFrameBufferCompositionState()
2627 mBufferInfo = clonedFrom->mBufferInfo; in updateCloneBufferInfo()
2888 if (mBufferInfo.mBuffer) { in prepareReleaseCallbacks()
2936 if (mBufferInfo.mBuffer) { in onLayerDisplayed()
3114 if (!mBufferInfo.mBuffer || in releasePreviousBuffer()
[all …]
DLayer.h552 BufferInfo mBufferInfo; variable
928 bool hasBuffer() const { return mBufferInfo.mBuffer != nullptr; } in hasBuffer()
1189 return ((mSidebandStream != nullptr) || (mBufferInfo.mBuffer != nullptr)); in hasBufferOrSidebandStream()