Searched refs:mNumInputFrame (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | C2Decoder.cpp | 79 if (mNumInputFrame == frameInfo.size()) break; in decodeFrames() 95 uint32_t flags = frameInfo[mNumInputFrame].flags; in decodeFrames() 99 if (mNumInputFrame == (frameInfo.size() - 1)) { in decodeFrames() 103 work->input.ordinal.timestamp = frameInfo[mNumInputFrame].presentationTimeUs; in decodeFrames() 104 work->input.ordinal.frameIndex = mNumInputFrame; in decodeFrames() 106 int size = frameInfo[mNumInputFrame].size; in decodeFrames() 137 ALOGV("Frame #%d size = %d queued", mNumInputFrame, size); in decodeFrames() 138 mNumInputFrame++; in decodeFrames() 166 mNumInputFrame = 0; in resetDecoder()
|
D | C2Decoder.h | 30 C2Decoder() : mOffset(0), mNumInputFrame(0), mComponent(nullptr) {} in C2Decoder() 45 int32_t mNumInputFrame; variable
|
D | Decoder.h | 36 mNumInputFrame(0), in Decoder() 85 int32_t mNumInputFrame; variable
|
D | Decoder.cpp | 67 readSampleData(mInputBuffer, mOffset, mFrameMetaData, buf, mNumInputFrame, bufSize); in onInputAvailable() 88 mNumInputFrame++; in onInputAvailable()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Encoder.java | 46 private int mNumInputFrame; field in Encoder 61 mNumInputFrame = 0; in Encoder() 292 if(mNumInputFrame == 0) { in onInputAvailable() 306 if (mNumInputFrame >= mNumFrames - 1 || bytesToRead == 0) { in onInputAvailable() 313 presentationTimeUs = mNumInputFrame * (1000000 / mFrameRate); in onInputAvailable() 315 presentationTimeUs = mNumInputFrame * mFrameSize * 1000000 / mSampleRate; in onInputAvailable() 318 mNumInputFrame++; in onInputAvailable() 358 mNumInputFrame = 0; in resetEncoder()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | Encoder.cpp | 56 if(mNumInputFrame == 0) { in onInputAvailable() 68 if (bytesToRead < mParams.frameSize && mNumInputFrame < mParams.numFrames - 1) { in onInputAvailable() 70 mNumInputFrame, bytesToRead, mParams.frameSize, mParams.numFrames); in onInputAvailable() 87 if (mNumInputFrame == mParams.numFrames - 1 || bytesToRead == 0) { in onInputAvailable() 94 presentationTimeUs = mNumInputFrame * (1000000 / mParams.frameRate); in onInputAvailable() 97 (uint64_t)mNumInputFrame * mParams.frameSize * 1000000 / mParams.sampleRate; in onInputAvailable() 112 mNumInputFrame++; in onInputAvailable()
|
D | C2Encoder.cpp | 157 presentationTimeUs = mNumInputFrame * frameSize * (1000000 / mSampleRate); in encodeFrames() 159 presentationTimeUs = mNumInputFrame * (1000000 / mFrameRate); in encodeFrames() 166 work->input.ordinal.frameIndex = mNumInputFrame; in encodeFrames() 233 ALOGV("Frame #%d size = %d queued", mNumInputFrame, frameSize); in encodeFrames() 235 mNumInputFrame++; in encodeFrames() 263 mNumInputFrame = 0; in resetEncoder()
|
D | C2Encoder.h | 36 mNumInputFrame(0), in C2Encoder() 60 int32_t mNumInputFrame; variable
|
D | Encoder.h | 53 mNumInputFrame(0), in Encoder() 90 int32_t mNumInputFrame; variable
|