Searched refs:gmeta (Results 1 – 9 of 9) sorted by relevance
/hardware/google/graphics/common/libhwc2.1/libdevice/ |
D | ExynosLayer.cpp | 188 VendorGraphicBufferMeta gmeta(mLayerBuffer); in doPreProcess() local 191 mPreprocessedInfo.mPrivateFormat = gmeta.format; in doPreProcess() 193 if (isFormatYUV(gmeta.format)) { in doPreProcess() 201 if (isFormatYUV(gmeta.format)) { in doPreProcess() 206 if (gmeta.flags & VendorGraphicBufferMeta::PRIV_FLAGS_USES_2PRIVATE_DATA) in doPreProcess() 207 priv_fd = gmeta.fd1; in doPreProcess() 208 else if (gmeta.flags & VendorGraphicBufferMeta::PRIV_FLAGS_USES_3PRIVATE_DATA) in doPreProcess() 209 priv_fd = gmeta.fd2; in doPreProcess() 242 if ((int)mSourceCrop.left < (int)(gmeta.stride)) { in doPreProcess() 243 … mPreprocessedInfo.sourceCrop.left = (int)mSourceCrop.left + gmeta.stride; in doPreProcess() [all …]
|
D | ExynosDisplay.cpp | 1296 VendorGraphicBufferMeta gmeta(handle); in doPreProcessing() local 2007 VendorGraphicBufferMeta gmeta(handle); in configureHandle() local 2010 cfg.format = gmeta.format; in configureHandle() 2014 cfg.buffer_id = gmeta.unique_id; in configureHandle() 2015 cfg.fd_idma[0] = gmeta.fd; in configureHandle() 2016 cfg.fd_idma[1] = gmeta.fd1; in configureHandle() 2017 cfg.fd_idma[2] = gmeta.fd2; in configureHandle() 2018 cfg.protection = (getDrmMode(gmeta.producer_usage) == SECURE_DRM) ? 1 : 0; in configureHandle() 2114 getBufferNumOfFormat(gmeta.format, getCompressionType(handle)); in configureHandle() 2117 __func__, gmeta.format); in configureHandle() [all …]
|
D | ExynosDevice.cpp | 1114 VendorGraphicBufferMeta gmeta(mBuffer); in saveToFile() local 1121 gmeta.stride * gmeta.vstride * formatToBpp(gmeta.format)/8; in saveToFile() 1123 PROT_READ|PROT_WRITE, MAP_SHARED, gmeta.fd, 0); in saveToFile()
|
/hardware/google/graphics/common/libhwc2.1/libhwchelper/ |
D | ExynosHWCHelper.cpp | 541 VendorGraphicBufferMeta gmeta(h); in dumpHandle() local 544 gmeta.format, gmeta.width, gmeta.height, gmeta.stride, gmeta.vstride); in dumpHandle() 569 VendorGraphicBufferMeta gmeta(img.bufferHandle); in dumpExynosImage() local 570 result.appendFormat("\tbuffer's stride: %d, %d\n", gmeta.stride, gmeta.vstride); in dumpExynosImage() 832 VendorGraphicBufferMeta gmeta(handle); in getBufLength() local 836 length[0] = gmeta.size; in getBufLength() 840 length[0] = gmeta.size; in getBufLength() 841 length[1] = gmeta.size1; in getBufLength() 1262 VendorGraphicBufferMeta gmeta(buffer); in load_png_image() local 1299 if (width != gmeta.width || height != gmeta.height) { in load_png_image() [all …]
|
/hardware/google/graphics/gs201/libhwc2.1/libresource/ |
D | ExynosMPPModule.cpp | 41 VendorGraphicBufferMeta gmeta(src.bufferHandle); in checkSpecificRestriction() local 43 if (isFormatYUV(gmeta.format)) { in checkSpecificRestriction()
|
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/ |
D | README.txt | 24 VendorGraphicBufferMeta gmeta; 25 gmeta.init(dst_handle); 29 VendorGraphicBufferMeta gmeta(dst_handle); 32 gmeta.fd 33 gmeta.width 34 gmeta.format
|
/hardware/google/graphics/common/libhwc2.1/libresource/ |
D | ExynosMPP.cpp | 1099 VendorGraphicBufferMeta gmeta(dst_handle); in needDstBufRealloc() local 1102 isAFBCCompressed(dst_handle), isFormatSBWC(gmeta.format), isFormatLossy(gmeta.format)); in needDstBufRealloc() 1106 mPrevAssignedDisplayType, assignedDisplayType, gmeta.format, dst.format, in needDstBufRealloc() 1112 (formatToBpp(gmeta.format) < formatToBpp(dst.format)) || in needDstBufRealloc() 1113 ((gmeta.stride * gmeta.vstride) < in needDstBufRealloc() 1117 (isFormatSBWC(gmeta.format) != isFormatSBWC(dst.format)) || in needDstBufRealloc() 1118 (isFormatLossy(gmeta.format) != isFormatLossy(dst.format)); in needDstBufRealloc() 1187 VendorGraphicBufferMeta gmeta(srcHandle); in setupLayer() local 1191 uint32_t bufferNum = getBufferNumOfFormat(gmeta.format, getCompressionType(srcHandle)); in setupLayer() 1195 if (isFormatRgb(gmeta.format)) in setupLayer() [all …]
|
D | ExynosResourceManager.cpp | 352 VendorGraphicBufferMeta gmeta(layer->mLayerBuffer); in checkScenario() local 354 (gmeta.producer_usage & BufferUsage::CAMERA_OUTPUT)) { in checkScenario()
|
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/ |
D | ExynosDisplayDrmInterface.cpp | 443 VendorGraphicBufferMeta gmeta(buffer); in uncacheLayerBuffers() local 445 Framebuffer::BufferDesc{.bufferId = gmeta.unique_id, in uncacheLayerBuffers() 447 halFormatToDrmFormat(gmeta.format, in uncacheLayerBuffers() 450 (getDrmMode(gmeta.producer_usage) == SECURE_DRM)}); in uncacheLayerBuffers() 2646 VendorGraphicBufferMeta gmeta(mExynosDisplay->mDpuData.readback_info.handle); in setupWritebackCommit() local 2651 gmeta.stride, gmeta.vstride}; in setupWritebackCommit() 2653 gmeta.stride, gmeta.vstride}; in setupWritebackCommit() 2654 writeback_config.fd_idma[0] = gmeta.fd; in setupWritebackCommit() 2655 writeback_config.fd_idma[1] = gmeta.fd1; in setupWritebackCommit() 2656 writeback_config.fd_idma[2] = gmeta.fd2; in setupWritebackCommit()
|