Home
last modified time | relevance | path

Searched refs:VendorGraphicBufferMeta (Results 1 – 13 of 13) sorted by relevance

/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
Dvendor_graphicbuffer_meta.cpp77 int VendorGraphicBufferMeta::get_video_metadata_fd(buffer_handle_t /*hnd*/) in get_video_metadata_fd()
83 int VendorGraphicBufferMeta::get_dataspace(buffer_handle_t hnd) in get_dataspace()
110 int VendorGraphicBufferMeta::set_dataspace(buffer_handle_t hnd, android_dataspace_t dataspace) in set_dataspace()
134 int VendorGraphicBufferMeta::is_afbc(buffer_handle_t hnd) in is_afbc()
147 int VendorGraphicBufferMeta::is_sbwc(buffer_handle_t hnd) in is_sbwc()
149 return is_sbwc_format(VendorGraphicBufferMeta::get_internal_format(hnd)); in is_sbwc()
153 __type__ VendorGraphicBufferMeta::get_##__name__(buffer_handle_t hnd) \
161 uint32_t VendorGraphicBufferMeta::get_format(buffer_handle_t hnd) in get_format()
171 uint64_t VendorGraphicBufferMeta::get_internal_format(buffer_handle_t hnd) in get_internal_format()
195 int VendorGraphicBufferMeta::get_fd(buffer_handle_t hnd, int num) in get_fd()
[all …]
DREADME.txt24 VendorGraphicBufferMeta gmeta;
29 VendorGraphicBufferMeta gmeta(dst_handle);
38 Please refer to VendorGraphicBufferMeta class to which values are available.
45 Get them by calling static functions of VendorGraphicBufferMeta
54 VendorGraphicBufferMeta::is_afbc(handle);
65 metaData = (ExynosVideoMeta*)VendorGraphicBufferMeta::get_video_metadata(bufferHandle);
/hardware/google/gchips/libvendorgraphicbuffer/gralloc5/
Dvendor_graphicbuffer_meta.cpp124 int VendorGraphicBufferMeta::get_video_metadata_fd(buffer_handle_t /*hnd*/) { in get_video_metadata_fd()
129 int VendorGraphicBufferMeta::get_dataspace(buffer_handle_t hnd) { in get_dataspace()
142 int VendorGraphicBufferMeta::set_dataspace(buffer_handle_t hnd, in set_dataspace()
172 int VendorGraphicBufferMeta::is_afbc(buffer_handle_t hnd) { in is_afbc()
186 int VendorGraphicBufferMeta::is_sbwc(buffer_handle_t hnd) { in is_sbwc()
188 VendorGraphicBufferMeta::get_internal_format(hnd)); in is_sbwc()
192 __type__ VendorGraphicBufferMeta::get_##__name__( \
200 uint32_t VendorGraphicBufferMeta::get_format(buffer_handle_t hnd) { in get_format()
208 uint64_t VendorGraphicBufferMeta::get_internal_format(buffer_handle_t hnd) { in get_internal_format()
231 int VendorGraphicBufferMeta::get_fd(buffer_handle_t hnd, int num) { in get_fd()
[all …]
/hardware/google/gchips/libvendorgraphicbuffer/include/
DVendorGraphicBuffer.h60 class VendorGraphicBufferMeta {
62 VendorGraphicBufferMeta() {}; in VendorGraphicBufferMeta() function
120 VendorGraphicBufferMeta(const buffer_handle_t handle);
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosLayer.h490 isFormatRgb(VendorGraphicBufferMeta::get_internal_format(mLayerBuffer))); in isLayerFormatRgb()
494 isFormatYUV(VendorGraphicBufferMeta::get_internal_format(mLayerBuffer))); in isLayerFormatYuv()
499 VendorGraphicBufferMeta::get_internal_format(mLayerBuffer))); in isLayerHasAlphaChannel()
DExynosLayer.cpp188 VendorGraphicBufferMeta gmeta(mLayerBuffer); in doPreProcess()
206 if (gmeta.flags & VendorGraphicBufferMeta::PRIV_FLAGS_USES_2PRIVATE_DATA) in doPreProcess()
208 else if (gmeta.flags & VendorGraphicBufferMeta::PRIV_FLAGS_USES_3PRIVATE_DATA) in doPreProcess()
357 if (VendorGraphicBufferMeta::get_usage(mLayerBuffer) & in doPreProcess()
400 if (VendorGraphicBufferMeta::get_fd(buffer,0) < 0) in setLayerBuffer()
404 VendorGraphicBufferMeta gmeta(buffer); in setLayerBuffer()
410 …if (getDrmMode(VendorGraphicBufferMeta::get_producer_usage(mLayerBuffer)) != getDrmMode(gmeta.prod… in setLayerBuffer()
412 if (VendorGraphicBufferMeta::get_format(mLayerBuffer) != gmeta.format) in setLayerBuffer()
414 if ((VendorGraphicBufferMeta::get_usage(mLayerBuffer) & in setLayerBuffer()
416 (VendorGraphicBufferMeta::get_usage(buffer) & in setLayerBuffer()
[all …]
DExynosDisplay.cpp956 internal_format = VendorGraphicBufferMeta::get_internal_format(mTargetBuffer); in dump()
1296 VendorGraphicBufferMeta gmeta(handle); in doPreProcessing()
2007 VendorGraphicBufferMeta gmeta(handle); in configureHandle()
2066 VendorGraphicBufferMeta layer_buffer_gmeta(layer.mLayerBuffer); in configureHandle()
2067 … if (layer_buffer_gmeta.flags & VendorGraphicBufferMeta::PRIV_FLAGS_USES_2PRIVATE_DATA) in configureHandle()
2069 … else if (layer_buffer_gmeta.flags & VendorGraphicBufferMeta::PRIV_FLAGS_USES_3PRIVATE_DATA) in configureHandle()
2219 VendorGraphicBufferMeta gmeta(compositionInfo.mTargetBuffer); in configureOverlay()
3466 VendorGraphicBufferMeta gmeta(image.bufferHandle); in dumpBuffer()
4094 VendorGraphicBufferMeta gmeta(handle); in setClientTarget()
5221 VendorGraphicBufferMeta gmeta(compositionInfo.mTargetBuffer); in setCompositionTargetExynosImage()
DExynosDevice.cpp1114 VendorGraphicBufferMeta gmeta(mBuffer); in saveToFile()
/hardware/google/graphics/gs201/libhwc2.1/libresource/
DExynosMPPModule.cpp41 VendorGraphicBufferMeta gmeta(src.bufferHandle); in checkSpecificRestriction()
/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp39 using vendor::graphics::VendorGraphicBufferMeta;
104 uint64_t usage = VendorGraphicBufferMeta::get_usage(handle); in getDrmMode()
323 return VendorGraphicBufferMeta::is_afbc(handle); in isAFBCCompressed()
331 return VendorGraphicBufferMeta::is_sbwc(handle); in isSBWCCompressed()
339 return VendorGraphicBufferMeta::get_format(handle); in getFormat()
347 return VendorGraphicBufferMeta::get_format_modifier(handle); in getFormatModifier()
541 VendorGraphicBufferMeta gmeta(h); in dumpHandle()
569 VendorGraphicBufferMeta gmeta(img.bufferHandle); in dumpExynosImage()
832 VendorGraphicBufferMeta gmeta(handle); in getBufLength()
1262 VendorGraphicBufferMeta gmeta(buffer); in load_png_image()
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosMPP.cpp999 VendorGraphicBufferMeta::get_format(mDstImgs[mCurrentDstBuf].bufferHandle); in setOutBuf()
1031 uint64_t usage = VendorGraphicBufferMeta::get_usage(handle); in getBufferType()
1099 VendorGraphicBufferMeta gmeta(dst_handle); in needDstBufRealloc()
1187 VendorGraphicBufferMeta gmeta(srcHandle); in setupLayer()
1361 VendorGraphicBufferMeta gmeta(dstHandle); in setupDst()
1640 VendorGraphicBufferMeta gmeta(dstHandle); in doPostProcessingInternal()
1820 VendorGraphicBufferMeta gmeta(img->bufferHandle); in getDstImageInfo()
DExynosResourceManager.cpp352 VendorGraphicBufferMeta gmeta(layer->mLayerBuffer); in checkScenario()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.cpp443 VendorGraphicBufferMeta gmeta(buffer); in uncacheLayerBuffers()
2646 VendorGraphicBufferMeta gmeta(mExynosDisplay->mDpuData.readback_info.handle); in setupWritebackCommit()