/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 | 331 std::shared_ptr<C2Buffer>* c2Buffer, in popFromStashAndRegister() argument 341 *c2Buffer = entry.buffer; in popFromStashAndRegister() 368 status_t err = registerBuffer(*c2Buffer, index, outBuffer); in popFromStashAndRegister() 728 sp<Codec2Buffer> c2Buffer; in requestNewBuffer() local 729 status_t err = mImpl.grabBuffer(index, &c2Buffer); in requestNewBuffer() 731 c2Buffer->setFormat(mFormat); in requestNewBuffer() 732 handleImageData(c2Buffer); in requestNewBuffer() 733 *buffer = c2Buffer; in requestNewBuffer() 1130 sp<Codec2Buffer> c2Buffer; in registerBuffer() local 1133 &c2Buffer, in registerBuffer() [all …]
|
D | CCodecBufferChannel.cpp | 382 const std::shared_ptr<C2Buffer> &c2Buffer, in attachBuffer() argument 384 if (!buffer->copy(c2Buffer)) { in attachBuffer() 543 std::shared_ptr<C2Buffer> c2Buffer{C2Buffer::CreateLinearBuffer( in attachEncryptedBuffer() local 545 if (!buffer->copy(c2Buffer)) { in attachEncryptedBuffer() 751 std::shared_ptr<C2Buffer> c2Buffer; in renderOutputBuffer() local 756 released = output->buffers->releaseBuffer(buffer, &c2Buffer); in renderOutputBuffer() 764 if (!c2Buffer) { in renderOutputBuffer() 777 const std::vector<std::shared_ptr<const C2Info>> infoParams = c2Buffer->info(); in renderOutputBuffer() 790 c2Buffer->getInfo(C2StreamRotationInfo::output::PARAM_TYPE)); in renderOutputBuffer() 829 c2Buffer->getInfo(C2StreamSurfaceScalingInfo::output::PARAM_TYPE)); in renderOutputBuffer() [all …]
|
D | C2OMXNode.cpp | 466 std::shared_ptr<C2Buffer> c2Buffer( in emptyBuffer() local 469 work->input.buffers.push_back(c2Buffer); in emptyBuffer() 477 c2Buffer->setInfo(staticInfo); in emptyBuffer() 480 c2Buffer->setInfo(dynamicInfo); in emptyBuffer()
|
D | CCodecBufferChannel.h | 76 const std::shared_ptr<C2Buffer> &c2Buffer,
|
D | CCodecBuffers.h | 370 std::shared_ptr<C2Buffer>* c2Buffer,
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 276 const std::shared_ptr<C2Buffer> &c2Buffer, in attachBuffer() argument 278 switch (c2Buffer->data().type()) { in attachBuffer() 280 if (c2Buffer->data().linearBlocks().size() != 1u) { in attachBuffer() 283 C2ConstLinearBlock block{c2Buffer->data().linearBlocks().front()}; in attachBuffer() 298 if (c2Buffer->data().graphicBlocks().size() != 1u) { in attachBuffer() 301 C2ConstGraphicBlock block{c2Buffer->data().graphicBlocks().front()}; in attachBuffer()
|
D | MediaCodec.cpp | 4935 std::shared_ptr<C2Buffer> c2Buffer; in queueCSDInputBuffer() local 4968 c2Buffer = C2Buffer::CreateLinearBuffer(block->share(0, csd->size(), C2Fence{})); in queueCSDInputBuffer() 4994 if (c2Buffer) { in queueCSDInputBuffer() 4996 new WrapperObject<std::shared_ptr<C2Buffer>>{c2Buffer}}; in queueCSDInputBuffer() 5113 std::shared_ptr<C2Buffer> c2Buffer; in onQueueInputBuffer() local 5118 c2Buffer = static_cast<WrapperObject<std::shared_ptr<C2Buffer>> *>(obj.get())->value; in onQueueInputBuffer() 5147 } else if (!c2Buffer) { in onQueueInputBuffer() 5180 if (c2Buffer || memory) { in onQueueInputBuffer() 5187 if (c2Buffer) { in onQueueInputBuffer() 5188 err = mBufferChannel->attachBuffer(c2Buffer, buffer); in onQueueInputBuffer() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CodecBase.h | 365 const std::shared_ptr<C2Buffer> &c2Buffer, in attachBuffer() argument 367 (void)c2Buffer; in attachBuffer()
|
/frameworks/av/media/libstagefright/include/ |
D | ACodecBufferChannel.h | 85 const std::shared_ptr<C2Buffer> &c2Buffer,
|
/frameworks/av/media/codec2/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/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 | 730 std::shared_ptr<C2Buffer> c2Buffer = buffer->asC2Buffer(); in getOutputFrame() local 731 if (c2Buffer) { in getOutputFrame() 732 switch (c2Buffer->data().type()) { in getOutputFrame() 736 context->mBuffer = c2Buffer; in getOutputFrame() 748 const C2Handle *c2Handle = c2Buffer->data().graphicBlocks().front().handle(); in getOutputFrame()
|