Home
last modified time | relevance | path

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

123

/frameworks/av/media/codec2/sfplugin/
DPipelineWatcher.cpp49 uint64_t frameIndex, in onWorkQueued() argument
53 (unsigned long long)frameIndex, in onWorkQueued()
56 auto it = mFramesInPipeline.find(frameIndex); in onWorkQueued()
59 (unsigned long long)frameIndex); in onWorkQueued()
62 (void)mFramesInPipeline.try_emplace(frameIndex, std::move(buffers), queuedAt); in onWorkQueued()
66 uint64_t frameIndex, size_t arrayIndex) { in onInputBufferReleased() argument
68 (unsigned long long)frameIndex, arrayIndex); in onInputBufferReleased()
69 auto it = mFramesInPipeline.find(frameIndex); in onInputBufferReleased()
72 (unsigned long long)frameIndex); in onInputBufferReleased()
77 (unsigned long long)frameIndex, it->second.buffers.size(), arrayIndex); in onInputBufferReleased()
[all …]
DPipelineWatcher.h75 uint64_t frameIndex,
88 uint64_t frameIndex, size_t arrayIndex);
95 void onWorkDone(uint64_t frameIndex);
DCCodecBufferChannel.cpp252 work->input.ordinal.frameIndex = mFrameIndex++; in queueInputBufferInternal()
296 uint64_t frameIndex = work->input.ordinal.frameIndex.peeku(); in queueInputBufferInternal() local
297 output->rotation[frameIndex] = rotation; in queueInputBufferInternal()
318 mFrameIndex = (items.back()->input.ordinal.frameIndex + 1).peek(); in queueInputBufferInternal()
342 work->input.ordinal.frameIndex = mFrameIndex++; in queueInputBufferInternal()
359 work->input.ordinal.frameIndex.peeku(), in queueInputBufferInternal()
369 watcher->onWorkDone(work->input.ordinal.frameIndex.peeku()); in queueInputBufferInternal()
821 int64_t frameIndex; in renderOutputBuffer() local
822 buffer->meta()->findInt64("frameIndex", &frameIndex); in renderOutputBuffer()
823 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/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/ex/framesequence/jni/
DFrameSequence_gif.h60 bool getPreservedFrame(int frameIndex) const { return mPreservedFrames[frameIndex]; } in getPreservedFrame() argument
61 int getRestoringFrame(int frameIndex) const { return mRestoringFrames[frameIndex]; } in getRestoringFrame() argument
/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/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/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp86 work->input.ordinal.frameIndex = 0; in testInputBuffer()
153 work->input.ordinal.frameIndex.peeku()); in workDone()
155 (int)work->worklets.front()->output.ordinal.frameIndex.peeku()); in workDone()
250 uint64_t frameIndex; in verifyFlushOutput() local
254 frameIndex = work->input.ordinal.frameIndex.peeku(); in verifyFlushOutput()
256 std::find(flushedIndices.begin(), flushedIndices.end(), frameIndex); in verifyFlushOutput()
Dmedia_c2_hidl_test_common.h110 virtual void onInputBufferDone(uint64_t frameIndex, size_t arrayIndex) override { in onInputBufferDone()
112 (void)frameIndex; in onInputBufferDone()
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp871 uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork) { in finish() argument
875 if (queue->pending().count(frameIndex) == 0) { in finish()
876 ALOGW("unknown frame index: %" PRIu64, frameIndex); in finish()
879 work = std::move(queue->pending().at(frameIndex)); in finish()
880 queue->pending().erase(frameIndex); in finish()
891 uint64_t frameIndex, in cloneAndSend() argument
895 if (currentWork->input.ordinal.frameIndex == frameIndex) { in cloneAndSend()
900 if (queue->pending().count(frameIndex) == 0) { in cloneAndSend()
901 ALOGW("unknown frame index: %" PRIu64, frameIndex); in cloneAndSend()
904 work->input.flags = queue->pending().at(frameIndex)->input.flags; in cloneAndSend()
[all …]
/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/opus/
DC2SoftOpusEnc.cpp355 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
391 uint64_t inputIndex = work->input.ordinal.frameIndex.peeku(); in process()
413 mOrdinal.frameIndex.peekll(), in process()
511 outOrdinal.frameIndex = mOutIndex++; in process()
537 outOrdinal.frameIndex = mOutIndex++; in process()
550 outOrdinal.frameIndex = mOutIndex++; in process()
589 outOrdinal.frameIndex = mOutIndex++; in drainInternal()
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp676 bool HeifDecoderImpl::decodeSequence(int frameIndex, HeifFrameInfo* frameInfo) { in decodeSequence() argument
677 ALOGV("%s: frame index %d", __FUNCTION__, frameIndex); in decodeSequence()
682 if (frameIndex < 0 || frameIndex >= mSequenceLength) { in decodeSequence()
683 ALOGE("invalid frame index: %d, total frames %zu", frameIndex, mSequenceLength); in decodeSequence()
702 mFrameMemory = retriever->getFrameAtIndex(frameIndex, mOutputColor); in decodeSequence()
DHeifDecoderImpl.h51 bool decodeSequence(int frameIndex, HeifFrameInfo* frameInfo) override;
/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.cpp270 const int frameIndex = ++mOptions.fFrameIndex; in advanceFrame() local
272 if (frameIndex >= frameCount) { in advanceFrame()
279 if (!mCodec->codec()->getFrameInfo(frameIndex, &frameInfo) in advanceFrame()
294 mOptions.fPriorFrame = frameIndex - 1; in advanceFrame()
314 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()
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp317 int frameIndex, int colorFormat, bool metaOnly) { in getFrameAtIndex() argument
319 frameIndex, colorFormat, metaOnly); in getFrameAtIndex()
320 if (mDecoder != NULL && frameIndex == mLastDecodedIndex + 1) { in getFrameAtIndex()
323 mLastDecodedIndex = frameIndex; in getFrameAtIndex()
328 return getFrameInternal(frameIndex, in getFrameAtIndex()
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Component.h161 void finish(uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork);
176 uint64_t frameIndex,
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.h62 uint64_t frameIndex; member

123