/frameworks/av/media/codec2/sfplugin/ |
D | PipelineWatcher.cpp | 49 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 …]
|
D | PipelineWatcher.h | 75 uint64_t frameIndex, 88 uint64_t frameIndex, size_t arrayIndex); 95 void onWorkDone(uint64_t frameIndex);
|
D | CCodecBufferChannel.cpp | 205 case C2Config::ORDINAL: return o1.frameIndex < o2.frameIndex; in less() 210 return o1.frameIndex < o2.frameIndex; in less() 295 work->input.ordinal.frameIndex = mFrameIndex++; in queueInputBufferInternal() 302 uint64_t queuedFrameIndex = work->input.ordinal.frameIndex.peeku(); in queueInputBufferInternal() 355 work->input.ordinal.frameIndex = mFrameIndex++; in queueInputBufferInternal() 362 queuedFrameIndex = work->input.ordinal.frameIndex.peeku(); in queueInputBufferInternal() 1257 uint64_t frameIndex, size_t arrayIndex) { in onInputBufferDone() argument 1262 mPipelineWatcher.lock()->onInputBufferReleased(frameIndex, arrayIndex); in onInputBufferDone() 1298 if ((work->input.ordinal.frameIndex - mFirstValidFrameIndex.load()).peek() < 0) { in handleWork() 1307 mPipelineWatcher.lock()->onWorkDone(work->input.ordinal.frameIndex.peeku()); in handleWork() [all …]
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputBufferManager.cpp | 66 uint64_t frameIndex = input.ordinal.frameIndex.peeku(); in _registerFrameData() local 69 << ", frameIndex = " << std::dec << frameIndex in _registerFrameData() 74 mTrackedBuffersMap[listener][frameIndex]; in _registerFrameData() 83 *bufferIds.emplace(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 116 << ", frameIndex = " << std::dec << frameIndex in _unregisterFrameData() 124 auto findFrameIndex = frameIndex2BufferIds.find(frameIndex); in _unregisterFrameData() 141 << std::dec << bufferId.frameIndex in _unregisterFrameData() 159 auto findFrameIndex = deathNotifications.indices.find(frameIndex); in _unregisterFrameData() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadataRetriever.java | 441 public Bitmap getFrameAtIndex(int frameIndex, @NonNull BitmapParams params) { in getFrameAtIndex() argument 442 List<Bitmap> bitmaps = getFramesAtIndex(frameIndex, 1, params); in getFrameAtIndex() 463 public Bitmap getFrameAtIndex(int frameIndex) { in getFrameAtIndex() argument 464 List<Bitmap> bitmaps = getFramesAtIndex(frameIndex, 1); in getFrameAtIndex() 498 int frameIndex, int numFrames, @NonNull BitmapParams params) { in getFramesAtIndex() argument 499 return getFramesAtIndexInternal(frameIndex, numFrames, params); in getFramesAtIndex() 523 public @NonNull List<Bitmap> getFramesAtIndex(int frameIndex, int numFrames) { in getFramesAtIndex() argument 524 return getFramesAtIndexInternal(frameIndex, numFrames, null); in getFramesAtIndex() 528 int frameIndex, int numFrames, @Nullable BitmapParams params) { in getFramesAtIndexInternal() argument 534 if (frameIndex < 0 || numFrames < 1 in getFramesAtIndexInternal() [all …]
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimpleRecorder.h | 272 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/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 392 uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork) { in finish() argument 396 if (queue->pending().count(frameIndex) == 0) { in finish() 397 ALOGW("unknown frame index: %" PRIu64, frameIndex); in finish() 400 work = std::move(queue->pending().at(frameIndex)); in finish() 401 queue->pending().erase(frameIndex); in finish() 412 uint64_t frameIndex, in cloneAndSend() argument 416 if (currentWork->input.ordinal.frameIndex == frameIndex) { in cloneAndSend() 421 if (queue->pending().count(frameIndex) == 0) { in cloneAndSend() 422 ALOGW("unknown frame index: %" PRIu64, frameIndex); in cloneAndSend() 425 work->input.flags = queue->pending().at(frameIndex)->input.flags; in cloneAndSend() [all …]
|
/frameworks/ex/framesequence/jni/ |
D | FrameSequence_gif.h | 60 bool getPreservedFrame(int frameIndex) const { return mPreservedFrames[frameIndex]; } in getPreservedFrame() argument 61 int getRestoringFrame(int frameIndex) const { return mRestoringFrames[frameIndex]; } in getRestoringFrame() argument
|
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | InputBufferManager.h | 188 uint64_t frameIndex; member 192 uint64_t frameIndex, in TrackedBuffer() 196 frameIndex(frameIndex), in TrackedBuffer()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/test/ |
D | Mpeg4H263DecoderTest.cpp | 160 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/libaaudio/examples/input_monitor/src/ |
D | input_monitor.cpp | 148 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/codec2/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 322 work->input.ordinal.frameIndex = frameID; in encodeNFrames() 496 work->input.ordinal.frameIndex = 0; in TEST_F() 583 uint64_t frameIndex; in TEST_F() local 589 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F() 592 frameIndex); in TEST_F() 620 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F() 623 frameIndex); in TEST_F()
|
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 434 work->input.ordinal.frameIndex = frameID; in decodeNFrames() 709 work->input.ordinal.frameIndex = 0; in TEST_F() 785 uint64_t frameIndex; in TEST_F() local 791 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F() 794 frameIndex); in TEST_F() 837 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F() 840 frameIndex); in TEST_F()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Work.h | 100 c2_cntr64_t frameIndex; /** submission ordinal on the initial component */ member 105 C2FIELD(frameIndex, "frame-index")
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 324 work->input.ordinal.frameIndex = frameID; in encodeNFrames() 501 work->input.ordinal.frameIndex = 0; in TEST_F() 566 uint64_t frameIndex; in TEST_F() local 572 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F() 574 mFlushedIndices.begin(), mFlushedIndices.end(), frameIndex); in TEST_F() 610 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F() 612 mFlushedIndices.begin(), mFlushedIndices.end(), frameIndex); in TEST_F()
|
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 371 work->input.ordinal.frameIndex = frameID; in decodeNFrames() 594 work->input.ordinal.frameIndex = 0; in TEST_F() 692 work->input.ordinal.frameIndex = 0; in TEST_F() 765 work->input.ordinal.frameIndex.peeku()); in TEST_F() 807 uint64_t frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F() local 809 mFlushedIndices.begin(), mFlushedIndices.end(), frameIndex); in TEST_F()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/ |
D | media_c2_hidl_test_common.cpp | 43 work->input.ordinal.frameIndex = 0; in testInputBuffer() 115 work->input.ordinal.frameIndex.peeku()); in workDone() 117 (int)work->worklets.front()->output.ordinal.frameIndex.peeku()); in workDone()
|
D | media_c2_hidl_test_common.h | 90 uint64_t frameIndex, size_t arrayIndex) override { in onInputBufferDone() 92 (void)frameIndex; in onInputBufferDone()
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 329 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process() 365 uint64_t inputIndex = work->input.ordinal.frameIndex.peeku(); in process() 387 mOrdinal.frameIndex.peekll(), in process() 485 outOrdinal.frameIndex = mOutIndex++; in process() 511 outOrdinal.frameIndex = mOutIndex++; in process() 524 outOrdinal.frameIndex = mOutIndex++; in process() 563 outOrdinal.frameIndex = mOutIndex++; in drainInternal()
|
/frameworks/av/media/libmedia/ |
D | mediametadataretriever.cpp | 184 int frameIndex, int numFrames, int colorFormat, bool metaOnly) { in getFrameAtIndex() argument 186 frameIndex, numFrames, colorFormat, metaOnly); in getFrameAtIndex() 193 frames, frameIndex, numFrames, colorFormat, metaOnly); in getFrameAtIndex()
|
D | IMediaMetadataRetriever.cpp | 217 int frameIndex, int numFrames, int colorFormat, bool metaOnly) in getFrameAtIndex() argument 220 frameIndex, numFrames, colorFormat, metaOnly); in getFrameAtIndex() 223 data.writeInt32(frameIndex); in getFrameAtIndex() 434 int frameIndex = data.readInt32(); in onTransact() local 439 frameIndex, numFrames, colorFormat, metaOnly); in onTransact() 445 &frames, frameIndex, numFrames, colorFormat, metaOnly); in onTransact()
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | BenchmarkC2Common.h | 88 virtual void onInputBufferDone(uint64_t frameIndex, size_t arrayIndex) override { in onInputBufferDone() 89 (void)frameIndex; in onInputBufferDone()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MetadataRetrieverClient.cpp | 254 int frameIndex, int numFrames, int colorFormat, bool metaOnly) { in getFrameAtIndex() argument 256 frameIndex, numFrames, colorFormat, metaOnly); in getFrameAtIndex() 265 frames, frameIndex, numFrames, colorFormat, metaOnly); in getFrameAtIndex()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacDec.cpp | 433 ALOGV("outInfo.frameIndex = %" PRIu64, outInfo.frameIndex); in drainRingBuffer() 499 if (work && work->input.ordinal.frameIndex == c2_cntr64_t(outInfo.frameIndex)) { in drainRingBuffer() 502 finish(outInfo.frameIndex, fillWork); in drainRingBuffer() 569 inInfo.frameIndex = work->input.ordinal.frameIndex.peeku(); in process() 817 finish(mBuffersInfo.front().frameIndex, fillEmptyWork); in drainInternal()
|
/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Component.h | 122 void finish(uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork); 137 uint64_t frameIndex,
|