Home
last modified time | relevance | path

Searched refs:frameIndex (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/av/media/codec2/sfplugin/
DPipelineWatcher.cpp54 uint64_t frameIndex, in onWorkQueued() argument
58 (unsigned long long)frameIndex, in onWorkQueued()
61 auto it = mFramesInPipeline.find(frameIndex); in onWorkQueued()
64 (unsigned long long)frameIndex); in onWorkQueued()
67 (void)mFramesInPipeline.try_emplace(frameIndex, std::move(buffers), queuedAt); in onWorkQueued()
71 uint64_t frameIndex, size_t arrayIndex) { in onInputBufferReleased() argument
73 (unsigned long long)frameIndex, arrayIndex); in onInputBufferReleased()
74 auto it = mFramesInPipeline.find(frameIndex); in onInputBufferReleased()
77 (unsigned long long)frameIndex); in onInputBufferReleased()
82 (unsigned long long)frameIndex, it->second.buffers.size(), arrayIndex); in onInputBufferReleased()
[all …]
DPipelineWatcher.h82 uint64_t frameIndex,
95 uint64_t frameIndex, size_t arrayIndex);
102 void onWorkDone(uint64_t frameIndex);
DCCodecBufferChannel.cpp277 work->input.ordinal.frameIndex = mFrameIndex++; in queueInputBufferInternal()
321 uint64_t frameIndex = work->input.ordinal.frameIndex.peeku(); in queueInputBufferInternal() local
322 output->rotation[frameIndex] = rotation; in queueInputBufferInternal()
371 mFrameIndex = (items.back()->input.ordinal.frameIndex + 1).peek(); in queueInputBufferInternal()
405 work->input.ordinal.frameIndex = mFrameIndex++; in queueInputBufferInternal()
422 work->input.ordinal.frameIndex.peeku(), in queueInputBufferInternal()
432 watcher->onWorkDone(work->input.ordinal.frameIndex.peeku()); in queueInputBufferInternal()
1149 int64_t frameIndex; in renderOutputBuffer() local
1150 buffer->meta()->findInt64("frameIndex", &frameIndex); in renderOutputBuffer()
1151 if (output->rotation.count(frameIndex) != 0) { in renderOutputBuffer()
[all …]
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
DInputBufferManager.cpp66 uint64_t frameIndex = input.ordinal.frameIndex.peeku(); in _registerFrameData() local
69 << ", frameIndex = " << std::dec << frameIndex in _registerFrameData()
74 mTrackedBuffersMap[listener][frameIndex]; in _registerFrameData()
83 new TrackedBuffer(listener, frameIndex, i, input.buffers[i]); in _registerFrameData()
94 << ", frameIndex = " << std::dec << frameIndex in _registerFrameData()
114 uint64_t frameIndex = input.ordinal.frameIndex.peeku(); in _unregisterFrameData() local
117 << ", frameIndex = " << std::dec << frameIndex in _unregisterFrameData()
125 auto findFrameIndex = frameIndex2BufferIds.find(frameIndex); in _unregisterFrameData()
141 << std::dec << bufferId->frameIndex in _unregisterFrameData()
161 auto findFrameIndex = deathNotifications.indices.find(frameIndex); in _unregisterFrameData()
[all …]
/frameworks/av/media/codec2/hal/aidl/
DInputBufferManager.cpp65 uint64_t frameIndex = input.ordinal.frameIndex.peeku(); in _registerFrameData() local
68 << ", frameIndex = " << std::dec << frameIndex in _registerFrameData()
73 mTrackedBuffersMap[listener][frameIndex]; in _registerFrameData()
82 new TrackedBuffer(listener, frameIndex, i, input.buffers[i]); in _registerFrameData()
93 << ", frameIndex = " << std::dec << frameIndex in _registerFrameData()
113 uint64_t frameIndex = input.ordinal.frameIndex.peeku(); in _unregisterFrameData() local
115 << "frameIndex = " << frameIndex << "."; in _unregisterFrameData()
122 auto findFrameIndex = frameIndex2BufferIds.find(frameIndex); in _unregisterFrameData()
134 << "(frameIndex = " << bufferId->frameIndex in _unregisterFrameData()
154 auto findFrameIndex = deathNotifications.indices.find(frameIndex); in _unregisterFrameData()
[all …]
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimpleRecorder.h272 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in SimpleRecorderDataCallbackProc() local
273 sample = audioBuffer[frameIndex * samplesPerFrame] * (1.0/32768); in SimpleRecorderDataCallbackProc()
284 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in SimpleRecorderDataCallbackProc() local
285 sample = audioBuffer[frameIndex * samplesPerFrame]; in SimpleRecorderDataCallbackProc()
/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java842 public @Nullable Bitmap getFrameAtIndex(int frameIndex, @NonNull BitmapParams params) { in getFrameAtIndex() argument
843 List<Bitmap> bitmaps = getFramesAtIndex(frameIndex, 1, params); in getFrameAtIndex()
864 public @Nullable Bitmap getFrameAtIndex(int frameIndex) { in getFrameAtIndex() argument
865 List<Bitmap> bitmaps = getFramesAtIndex(frameIndex, 1); in getFrameAtIndex()
899 int frameIndex, int numFrames, @NonNull BitmapParams params) { in getFramesAtIndex() argument
900 return getFramesAtIndexInternal(frameIndex, numFrames, params); in getFramesAtIndex()
924 public @NonNull List<Bitmap> getFramesAtIndex(int frameIndex, int numFrames) { in getFramesAtIndex() argument
925 return getFramesAtIndexInternal(frameIndex, numFrames, null); in getFramesAtIndex()
929 int frameIndex, int numFrames, @Nullable BitmapParams params) { in getFramesAtIndexInternal() argument
935 if (frameIndex < 0 || numFrames < 1 in getFramesAtIndexInternal()
[all …]
/frameworks/av/media/codec2/hal/hidl/1.0/utils/include/codec2/hidl/1.0/
DInputBufferManager.h188 uint64_t frameIndex; member
192 uint64_t frameIndex, in TrackedBuffer()
196 frameIndex(frameIndex), in TrackedBuffer()
/frameworks/av/media/codec2/hal/aidl/include/codec2/aidl/
DInputBufferManager.h186 uint64_t frameIndex; member
190 uint64_t frameIndex, in TrackedBuffer()
194 frameIndex(frameIndex), in TrackedBuffer()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor.cpp148 for (int frameIndex = 0; frameIndex < actual; frameIndex++) { in main() local
151 sample = shortData[frameIndex * actualSamplesPerFrame] * (1.0/32768); in main()
153 sample = floatData[frameIndex * actualSamplesPerFrame]; in main()
/frameworks/av/media/module/codecs/m4v_h263/dec/test/
DMpeg4H263DecoderTest.cpp160 uint32_t frameIndex = offset; in processMpeg4H263Decoder() local
167 if (frameIndex == Info.size() || frameIndex == (offset + range)) break; in processMpeg4H263Decoder()
169 int32_t bytesCount = Info[frameIndex].bytesCount; in processMpeg4H263Decoder()
186 uint32_t flags = Info[frameIndex].flags; in processMpeg4H263Decoder()
231 frameIndex++; in processMpeg4H263Decoder()
249 int32_t inputSize = (Info)[frameIndex].bytesCount; in processMpeg4H263Decoder()
250 uint32_t timestamp = frameIndex; in processMpeg4H263Decoder()
274 ASSERT_EQ(status, PV_TRUE) << "failed to decode video frame No = %d" << frameIndex; in processMpeg4H263Decoder()
279 ++frameIndex; in processMpeg4H263Decoder()
/frameworks/av/media/codec2/hal/common/
DMultiAccessUnitHelper.cpp268 (*iterWork)->input.ordinal.frameIndex.peekull()); in flush()
271 << (*iterWork)->input.ordinal.frameIndex.peekull() in flush()
272 << " with " << frame->inOrdinal.frameIndex.peekull(); in flush()
273 (*iterWork)->input.ordinal.frameIndex = frame->inOrdinal.frameIndex; in flush()
311 newWork->input.ordinal.frameIndex = newFrameIdx; in scatter()
344 << inputOrdinal.frameIndex.peekull() in scatter()
385 << inputOrdinal.frameIndex.peekull() in scatter()
433 uint64_t thisFrameIndex = work->input.ordinal.frameIndex.peekull(); in gather()
448 << ") -> frameIndex " << frame->inOrdinal.frameIndex.peekull(); in gather()
464 frame->mLargeWork->input.ordinal.frameIndex = in gather()
[all …]
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp95 work->input.ordinal.frameIndex = 0; in testInputBuffer()
162 work->input.ordinal.frameIndex.peeku()); in workDone()
164 (int)work->worklets.front()->output.ordinal.frameIndex.peeku()); in workDone()
303 uint64_t frameIndex; in verifyFlushOutput() local
307 frameIndex = work->input.ordinal.frameIndex.peeku(); in verifyFlushOutput()
309 std::find(flushedIndices.begin(), flushedIndices.end(), frameIndex); in verifyFlushOutput()
Dmedia_c2_hidl_test_common.h117 virtual void onInputBufferDone(uint64_t frameIndex, size_t arrayIndex) override { in onInputBufferDone()
119 (void)frameIndex; in onInputBufferDone()
/frameworks/av/media/codec2/core/include/
DC2Work.h100 c2_cntr64_t frameIndex; /** submission ordinal on the initial component */ member
105 C2FIELD(frameIndex, "frame-index")
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp997 uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork) { in finish() argument
1001 if (queue->pending().count(frameIndex) == 0) { in finish()
1002 ALOGW("unknown frame index: %" PRIu64, frameIndex); in finish()
1005 work = std::move(queue->pending().at(frameIndex)); in finish()
1006 queue->pending().erase(frameIndex); in finish()
1017 uint64_t frameIndex, in cloneAndSend() argument
1021 if (currentWork->input.ordinal.frameIndex == frameIndex) { in cloneAndSend()
1026 if (queue->pending().count(frameIndex) == 0) { in cloneAndSend()
1027 ALOGW("unknown frame index: %" PRIu64, frameIndex); in cloneAndSend()
1030 work->input.flags = queue->pending().at(frameIndex)->input.flags; in cloneAndSend()
[all …]
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.cpp237 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
299 mOrdinal.timestamp.peekll(), mOrdinal.frameIndex.peekll(), in process()
352 ordinal.frameIndex = front.frameIndex; in process()
354 cloneAndSend(work->input.ordinal.frameIndex.peeku(), work, in process()
363 ordinal.frameIndex = front.frameIndex; in process()
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp682 bool HeifDecoderImpl::decodeSequence(int frameIndex, HeifFrameInfo* frameInfo) { in decodeSequence() argument
683 ALOGV("%s: frame index %d", __FUNCTION__, frameIndex); in decodeSequence()
688 if (frameIndex < 0 || frameIndex >= mSequenceLength) { in decodeSequence()
689 ALOGE("invalid frame index: %d, total frames %zu", frameIndex, mSequenceLength); in decodeSequence()
708 mFrameMemory = retriever->getFrameAtIndex(frameIndex, mOutputColor); in decodeSequence()
DHeifDecoderImpl.h51 bool decodeSequence(int frameIndex, HeifFrameInfo* frameInfo) override;
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.cpp354 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
392 uint64_t inputIndex = work->input.ordinal.frameIndex.peeku(); in process()
414 mOrdinal.frameIndex.peekll(), in process()
512 outOrdinal.frameIndex = mOutIndex++; in process()
538 outOrdinal.frameIndex = mOutIndex++; in process()
551 outOrdinal.frameIndex = mOutIndex++; in process()
590 outOrdinal.frameIndex = mOutIndex++; in drainInternal()
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkC2Common.h88 virtual void onInputBufferDone(uint64_t frameIndex, size_t arrayIndex) override { in onInputBufferDone()
89 (void)frameIndex; in onInputBufferDone()
/frameworks/base/libs/hwui/hwui/
DImageDecoder.cpp267 const int frameIndex = ++mOptions.fFrameIndex; in advanceFrame() local
269 if (frameIndex >= frameCount) { in advanceFrame()
276 if (!mCodec->codec()->getFrameInfo(frameIndex, &frameInfo) in advanceFrame()
291 mOptions.fPriorFrame = frameIndex - 1; in advanceFrame()
311 mOptions.fPriorFrame = frameIndex - 1; in advanceFrame()
/frameworks/av/media/libmedia/include/media/
DMediaMetadataRetrieverInterface.h53 int frameIndex, int colorFormat, bool metaOnly) = 0;
/frameworks/av/media/libheif/include/
DHeifDecoderAPI.h152 virtual bool decodeSequence(int frameIndex, HeifFrameInfo* frameInfo) = 0;
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp385 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
417 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
455 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
462 int64_t frameIndex = work->input.ordinal.frameIndex.peekll(); in process() local
471 aom_codec_decode(mCodecCtx, bitstream, inSize, &frameIndex); in process()

123