/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecBuffers_test.cpp | 58 std::shared_ptr<C2Buffer> c2Buffer = C2Buffer::CreateGraphicBuffer(block->share( in TEST() local 62 ASSERT_EQ(OK, buffers->registerBuffer(c2Buffer, &index, &clientBuffer)); in TEST() 76 std::shared_ptr<C2Buffer> c2Buffer; in TEST() local 77 ASSERT_TRUE(buffers->releaseBuffer(clientBuffers[index], &c2Buffer)) in TEST() 81 ASSERT_TRUE(c2Buffer->data().linearBlocks().empty()); in TEST() 82 ASSERT_EQ(1u, c2Buffer->data().graphicBlocks().size()); in TEST() 83 C2ConstGraphicBlock block = c2Buffer->data().graphicBlocks().front(); in TEST() 241 std::shared_ptr<C2Buffer> c2Buffer = C2Buffer::CreateGraphicBuffer(block->share( in TEST() local 245 ASSERT_EQ(OK, buffers->registerBuffer(c2Buffer, &index, &clientBuffer)); in TEST() 381 std::shared_ptr<C2Buffer> c2Buffer = C2Buffer::CreateGraphicBuffer(block->share( in TEST() local [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 514 std::shared_ptr<C2Buffer>* c2Buffer, in popFromStashAndRegister() argument 524 *c2Buffer = entry.buffer; in popFromStashAndRegister() 551 status_t err = registerBuffer(*c2Buffer, index, outBuffer); in popFromStashAndRegister() 911 sp<Codec2Buffer> c2Buffer; in requestNewBuffer() local 912 status_t err = mImpl.grabBuffer(index, &c2Buffer); in requestNewBuffer() 914 c2Buffer->setFormat(mFormat); in requestNewBuffer() 915 handleImageData(c2Buffer); in requestNewBuffer() 916 *buffer = c2Buffer; in requestNewBuffer() 1322 sp<Codec2Buffer> c2Buffer; in registerBuffer() local 1325 &c2Buffer, in registerBuffer() [all …]
|
D | CCodecBufferChannel.cpp | 464 const std::shared_ptr<C2Buffer> &c2Buffer, in attachBuffer() argument 466 if (!buffer->copy(c2Buffer)) { in attachBuffer() 614 std::shared_ptr<C2Buffer> c2Buffer{C2Buffer::CreateLinearBuffer( in attachEncryptedBuffers() local 616 if (!buffer->copy(c2Buffer)) { in attachEncryptedBuffers() 752 std::shared_ptr<C2Buffer> c2Buffer{C2Buffer::CreateLinearBuffer( in attachEncryptedBuffer() local 754 if (!buffer->copy(c2Buffer)) { in attachEncryptedBuffer() 1100 std::shared_ptr<C2Buffer> c2Buffer; in renderOutputBuffer() local 1105 released = output->buffers->releaseBuffer(buffer, &c2Buffer); in renderOutputBuffer() 1113 if (!c2Buffer) { in renderOutputBuffer() 1126 const std::vector<std::shared_ptr<const C2Info>> infoParams = c2Buffer->info(); in renderOutputBuffer() [all …]
|
D | C2NodeImpl.cpp | 358 std::shared_ptr<C2Buffer> c2Buffer( in submitBuffer() local 361 work->input.buffers.push_back(c2Buffer); in submitBuffer() 369 c2Buffer->setInfo(staticInfo); in submitBuffer() 372 c2Buffer->setInfo(dynamicInfo); in submitBuffer()
|
D | CCodecBufferChannel.h | 81 const std::shared_ptr<C2Buffer> &c2Buffer,
|
D | CCodecBuffers.h | 383 std::shared_ptr<C2Buffer>* c2Buffer,
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 287 const std::shared_ptr<C2Buffer> &c2Buffer, in attachBuffer() argument 289 switch (c2Buffer->data().type()) { in attachBuffer() 291 if (c2Buffer->data().linearBlocks().size() != 1u) { in attachBuffer() 294 C2ConstLinearBlock block{c2Buffer->data().linearBlocks().front()}; in attachBuffer() 309 if (c2Buffer->data().graphicBlocks().size() != 1u) { in attachBuffer() 312 C2ConstGraphicBlock block{c2Buffer->data().graphicBlocks().front()}; in attachBuffer()
|
D | MediaCodec.cpp | 5953 std::shared_ptr<C2Buffer> c2Buffer; in queueCSDInputBuffer() local 5991 c2Buffer = C2Buffer::CreateLinearBuffer(block->share(0, csd->size(), C2Fence{})); in queueCSDInputBuffer() 6023 if (c2Buffer) { in queueCSDInputBuffer() 6025 new WrapperObject<std::shared_ptr<C2Buffer>>{c2Buffer}}; in queueCSDInputBuffer() 6149 std::shared_ptr<C2Buffer> c2Buffer; in onQueueInputBuffer() local 6154 c2Buffer = static_cast<WrapperObject<std::shared_ptr<C2Buffer>> *>(obj.get())->value; in onQueueInputBuffer() 6183 } else if (!c2Buffer) { in onQueueInputBuffer() 6310 if (c2Buffer || memory) { in onQueueInputBuffer() 6316 if (c2Buffer) { in onQueueInputBuffer() 6317 err = mBufferChannel->attachBuffer(c2Buffer, buffer); in onQueueInputBuffer() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CodecBase.h | 427 const std::shared_ptr<C2Buffer> &c2Buffer, in attachBuffer() argument 429 (void)c2Buffer; in attachBuffer()
|
/frameworks/av/media/libstagefright/include/ |
D | ACodecBufferChannel.h | 87 const std::shared_ptr<C2Buffer> &c2Buffer,
|
/frameworks/av/media/codec2/hal/common/ |
D | MultiAccessUnitHelper.cpp | 784 std::shared_ptr<C2Buffer> c2Buffer = C2Buffer::CreateLinearBuffer( in finalizeWork() local 786 frame.mLargeWork->worklets.front()->output.buffers.push_back(std::move(c2Buffer)); in finalizeWork() 789 std::shared_ptr<C2Buffer>& c2Buffer = in finalizeWork() local 791 if (c2Buffer != nullptr) { in finalizeWork() 803 c2Buffer->setInfo(std::const_pointer_cast<C2Info>(info)); in finalizeWork()
|
/frameworks/av/media/codec2/hal/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 217 std::shared_ptr<C2Buffer> c2Buffer( in submitBuffer() local 228 work->input.buffers.push_back(c2Buffer); in submitBuffer()
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacEnc.cpp | 420 std::shared_ptr<C2Buffer> c2Buffer = in onEncodedFlacAvailable() local 422 mOutputBuffers.push_back({c2Buffer, mAnchorTimeStamp + outTimeStamp, current_frame}); in onEncodedFlacAvailable()
|
/frameworks/av/media/libstagefright/tests/mediacodec/ |
D | MediaCodecTest.cpp | 53 (const std::shared_ptr<C2Buffer> &c2Buffer, const sp<MediaCodecBuffer> &buffer),
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 829 std::shared_ptr<C2Buffer> c2Buffer = buffer->asC2Buffer(); in getOutputFrame() local 830 if (c2Buffer) { in getOutputFrame() 831 switch (c2Buffer->data().type()) { in getOutputFrame() 835 context->mBuffer = c2Buffer; in getOutputFrame() 848 const C2Handle *c2Handle = c2Buffer->data().graphicBlocks().front().handle(); in getOutputFrame()
|