/frameworks/native/libs/ui/tests/ |
D | GraphicBuffer_test.cpp | 45 sp<GraphicBuffer> gb(new GraphicBuffer(std::move(b1))); in TEST_F() local 46 EXPECT_TRUE(gb->isBufferHubBuffer()); in TEST_F() 48 EXPECT_EQ(gb->getWidth(), kTestWidth); in TEST_F() 49 EXPECT_EQ(gb->getHeight(), kTestHeight); in TEST_F() 50 EXPECT_EQ(static_cast<uint32_t>(gb->getPixelFormat()), kTestFormat); in TEST_F() 51 EXPECT_EQ(gb->getUsage(), kTestUsage); in TEST_F() 52 EXPECT_EQ(gb->getLayerCount(), kTestLayerCount); in TEST_F() 56 sp<GraphicBuffer> gb( in TEST_F() local 58 EXPECT_FALSE(gb->isBufferHubBuffer()); in TEST_F() 59 EXPECT_EQ(gb->getBufferId(), -1); in TEST_F() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3BufferManager.h | 130 int streamId, int streamSetId, sp<GraphicBuffer>* gb, int* fenceFd, 210 explicit GraphicBufferEntry(const sp<GraphicBuffer>& gb = 0, int fd = -1) : 211 graphicBuffer(gb), in graphicBuffer()
|
D | Camera3StreamSplitter.cpp | 418 sp<GraphicBuffer> gb(static_cast<GraphicBuffer*>(anb)); in attachBufferToOutputs() local 419 uint64_t bufferId = gb->getId(); in attachBufferToOutputs() 422 auto tracker = std::make_unique<BufferTracker>(gb, surface_ids); in attachBufferToOutputs() 430 int slot = getSlotForOutputLocked(gbp, gb); in attachBufferToOutputs() 440 res = gbp->attachBuffer(&slot, gb); in attachBufferToOutputs() 468 SP_LOGV("%s: Attached buffer %p to slot %d on output %p.",__FUNCTION__, gb.get(), in attachBufferToOutputs() 470 outputSlots[slot] = gb; in attachBufferToOutputs() 738 const sp<GraphicBuffer>& gb) { in getSlotForOutputLocked() argument 742 if (outputSlots[i] == gb) { in getSlotForOutputLocked() 747 SP_LOGV("%s: Cannot find slot for gb %p on output %p", __FUNCTION__, gb.get(), in getSlotForOutputLocked()
|
D | Camera3OutputStream.cpp | 534 sp<GraphicBuffer> gb; in getBufferLockedCommon() local 535 res = mBufferManager->getBufferForStream(getId(), getStreamSetId(), &gb, fenceFd); in getBufferLockedCommon() 539 *anb = gb.get(); in getBufferLockedCommon() 587 sp<GraphicBuffer> gb; in getBufferLockedCommon() local 589 getId(), getStreamSetId(), &gb, fenceFd, /*noFreeBuffer*/true); in getBufferLockedCommon() 594 *anb = gb.get(); in getBufferLockedCommon() 830 for (const auto& gb : removedBuffers) { in onBuffersRemovedLocked() local 831 callback->onBufferFreed(mId, gb->handle); in onBuffersRemovedLocked()
|
D | Camera3InputStream.cpp | 297 void Camera3InputStream::onBufferFreed(const wp<GraphicBuffer>& gb) { in onBufferFreed() argument 298 const sp<GraphicBuffer> buffer = gb.promote(); in onBufferFreed()
|
D | Camera3BufferManager.cpp | 240 sp<GraphicBuffer>* gb, int* fenceFd, bool noFreeBufferAtConsumer) { in getBufferForStream() argument 306 *gb = buffer.graphicBuffer; in getBufferForStream()
|
D | Camera3StreamSplitter.h | 219 const sp<GraphicBuffer>& gb);
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 296 sp<GraphicBuffer> gb = GraphicBuffer::from(anb); in processInputFrame() local 297 res = gb->lockAsync(GRALLOC_USAGE_SW_WRITE_OFTEN, &dstBuffer, fenceFd); in processInputFrame() 305 if ((gb->getWidth() < finalJpegBufferSize) || (gb->getHeight() != 1)) { in processInputFrame() 307 gb->getWidth(), gb->getHeight(), finalJpegBufferSize, 1U); in processInputFrame() 375 (gb->getWidth() - sizeof(struct camera3_jpeg_blob)); in processInputFrame()
|
D | HeicCompositeStream.cpp | 1002 sp<GraphicBuffer> gb = GraphicBuffer::from(inputFrame.anb); in processCompletedInputFrame() local 1004 auto res = gb->lockAsync(GRALLOC_USAGE_SW_WRITE_OFTEN, &dstBuffer, inputFrame.fenceFd); in processCompletedInputFrame()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | ZslProcessor.cpp | 388 sp<GraphicBuffer> gb; in doNotifyInputReleasedLocked() local 390 auto rc = mInputProducer->detachNextBuffer(&gb, &fence); in doNotifyInputReleasedLocked() 399 if (gb->handle != inputBuffer->handle) { in doNotifyInputReleasedLocked() 401 inputBuffer->handle, gb->handle); in doNotifyInputReleasedLocked()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ScreenRotationAnimation.java | 278 SurfaceControl.ScreenshotGraphicBuffer gb = in ScreenRotationAnimation() local 280 if (gb != null) { in ScreenRotationAnimation() 282 surface.attachAndQueueBuffer(gb.getGraphicBuffer()); in ScreenRotationAnimation() 289 if (gb.containsSecureLayers()) { in ScreenRotationAnimation()
|
/frameworks/rs/script_api/ |
D | rs_value_types.spec | 57 <code>myVar.yz</code>, <code>myVar.gb</code>, <code>myVar.s12</code>, and <code>myVar.S12</code>.
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | AdaptiveIconDrawableTest.java | 236 int gb = (b.getPixel(i, j) >> 8) & 0xff; in equalBitmaps() local
|
/frameworks/base/media/jni/ |
D | android_media_ImageWriter.cpp | 730 GraphicBuffer *gb = reinterpret_cast<GraphicBuffer *> in Image_getNativeContext() local 732 *buffer = gb; in Image_getNativeContext()
|
/frameworks/rs/script_api/include/ |
D | rs_value_types.rsh | 59 * myVar.yz, myVar.gb, myVar.s12, and myVar.S12.
|