/frameworks/av/services/camera/virtualcamera/util/ |
D | EglFramebuffer.cc | 34 std::shared_ptr<AHardwareBuffer> hwBuffer) in EglFrameBuffer() argument 35 : mHardwareBuffer(hwBuffer), mEglDisplay(display) { in EglFrameBuffer() 36 if (hwBuffer == nullptr) { in EglFrameBuffer() 42 AHardwareBuffer_describe(hwBuffer.get(), &hwBufferDesc); in EglFrameBuffer() 46 EGLClientBuffer clientBuffer = eglGetNativeClientBufferANDROID(hwBuffer.get()); in EglFrameBuffer()
|
D | Util.cc | 44 YCbCrLockGuard::YCbCrLockGuard(std::shared_ptr<AHardwareBuffer> hwBuffer, in YCbCrLockGuard() argument 46 : mHwBuffer(hwBuffer) { in YCbCrLockGuard() 85 PlanesLockGuard::PlanesLockGuard(std::shared_ptr<AHardwareBuffer> hwBuffer, in PlanesLockGuard() argument 87 if (hwBuffer == nullptr) { in PlanesLockGuard() 94 hwBuffer.get(), usageFlags, rawFence, nullptr, &mPlanes)); in PlanesLockGuard()
|
D | Util.h | 44 YCbCrLockGuard(std::shared_ptr<AHardwareBuffer> hwBuffer, uint32_t usageFlags); 73 PlanesLockGuard(std::shared_ptr<AHardwareBuffer> hwBuffer,
|
D | EglFramebuffer.h | 38 EglFrameBuffer(EGLDisplay display, std::shared_ptr<AHardwareBuffer> hwBuffer);
|
/frameworks/av/media/codec2/vndk/ |
D | types.cpp | 272 AHardwareBuffer* hwBuffer = from->toAHardwareBuffer(); in b2h() local 275 AHardwareBuffer_getNativeHandle(hwBuffer)), in b2h() 278 hwBuffer, in b2h() 292 AHardwareBuffer* hwBuffer; in h2b() local 295 &hwBuffer) != OK) { in h2b() 298 *to = GraphicBuffer::fromAHardwareBuffer(hwBuffer); in h2b() 299 AHardwareBuffer_release(hwBuffer); in h2b()
|
/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | types.cpp | 265 AHardwareBuffer* hwBuffer = from->toAHardwareBuffer(); in b2h() local 268 AHardwareBuffer_getNativeHandle(hwBuffer)), in b2h() 271 hwBuffer, in b2h() 285 AHardwareBuffer* hwBuffer; in h2b() local 288 &hwBuffer) != OK) { in h2b() 291 *to = GraphicBuffer::fromAHardwareBuffer(hwBuffer); in h2b() 292 AHardwareBuffer_release(hwBuffer); in h2b()
|
/frameworks/av/services/camera/virtualcamera/tests/ |
D | JpegUtilTest.cc | 68 std::shared_ptr<AHardwareBuffer> hwBuffer(hwBufferPtr, in createHardwareBufferForTest() local 71 YCbCrLockGuard yCbCrLock(hwBuffer, AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN); in createHardwareBufferForTest() 88 return hwBuffer; in createHardwareBufferForTest()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | TransitionAnimation.java | 1306 public static float getBorderLuma(@NonNull HardwareBuffer hwBuffer, in getBorderLuma() argument 1308 if (hasProtectedContent(hwBuffer)) { in getBorderLuma() 1311 return getBorderLuma(sourceSurfaceControl, hwBuffer.getWidth(), hwBuffer.getHeight()); in getBorderLuma() 1314 return getBorderLuma(hwBuffer, colorSpace); in getBorderLuma() 1324 final HardwareBuffer hwBuffer = buffer.getHardwareBuffer(); in getBorderLuma() local 1325 final float luma = getBorderLuma(hwBuffer, buffer.getColorSpace()); in getBorderLuma() 1326 if (hwBuffer != null) { in getBorderLuma() 1327 hwBuffer.close(); in getBorderLuma() 1333 public static float getBorderLuma(HardwareBuffer hwBuffer, ColorSpace colorSpace) { in getBorderLuma() argument 1334 if (hwBuffer == null) { in getBorderLuma() [all …]
|
/frameworks/base/core/java/android/window/ |
D | SnapshotDrawerUtils.java | 131 final HardwareBuffer hwBuffer = snapshot.getHardwareBuffer(); in SnapshotSurface() local 132 mSnapshotW = hwBuffer.getWidth(); in SnapshotSurface() 133 mSnapshotH = hwBuffer.getHeight(); in SnapshotSurface()
|
/frameworks/av/services/camera/virtualcamera/ |
D | VirtualCameraRenderThread.cc | 713 std::shared_ptr<AHardwareBuffer> hwBuffer = in renderIntoBlobStreamBuffer() local 715 if (hwBuffer == nullptr) { in renderIntoBlobStreamBuffer() 753 PlanesLockGuard planesLock(hwBuffer, AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN, in renderIntoBlobStreamBuffer()
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 249 AHardwareBuffer* hwBuffer = from->toAHardwareBuffer(); in hgbp_b2h() local 254 hwBuffer, in hgbp_b2h()
|