Home
last modified time | relevance | path

Searched refs:drmFormat (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gfxstream/guest/android/
DGrallocEmulated.cpp78 std::optional<uint32_t> DrmToAhbFormat(uint32_t drmFormat) { in DrmToAhbFormat() argument
79 switch (drmFormat) { in DrmToAhbFormat()
104 std::optional<uint32_t> DrmToBpp(uint32_t drmFormat) { in DrmToBpp() argument
105 switch (drmFormat) { in DrmToBpp()
121 std::optional<uint32_t> DrmToVirglFormat(uint32_t drmFormat) { in DrmToVirglFormat() argument
122 switch (drmFormat) { in DrmToVirglFormat()
141 uint32_t drmFormat, VirtGpuResourcePtr resource) in EmulatedAHardwareBuffer() argument
142 : mRefCount(1), mWidth(width), mHeight(height), mDrmFormat(drmFormat), mResource(resource) {} in EmulatedAHardwareBuffer()
214 auto drmFormat = GlFormatToDrmFormat(glFormat); in createColorBuffer() local
215 if (!drmFormat) { in createColorBuffer()
[all …]
DGrallocEmulated.h29 EmulatedAHardwareBuffer(uint32_t width, uint32_t height, uint32_t drmFormat,
/hardware/google/gfxstream/guest/vulkan_enc/
DAndroidHardwareBuffer.cpp161 uint32_t drmFormat = grallocHelper->getFormatDrmFourcc(buffer); in getAndroidHardwareBufferPropertiesANDROID() local
162 ahbFormatProps->externalFormat = static_cast<uint64_t>(drmFormat); in getAndroidHardwareBufferPropertiesANDROID()
163 if (drmFormat) { in getAndroidHardwareBufferPropertiesANDROID()
188 switch (drmFormat) { in getAndroidHardwareBufferPropertiesANDROID()
215 mesa_loge("Unhandled YUV drm format:%u", drmFormat); in getAndroidHardwareBufferPropertiesANDROID()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.h110 int drmFormat; member
113 return (bufferId == rhs.bufferId && drmFormat == rhs.drmFormat &&
120 if (drmFormat != rhs.drmFormat) {
121 return drmFormat < rhs.drmFormat;
151 int addFB2WithModifiers(uint32_t state, uint32_t width, uint32_t height, uint32_t drmFormat,
DExynosDisplayDrmInterface.cpp110 uint32_t drmFormat, const DrmArray<uint32_t> &handles, in addFB2WithModifiers() argument
115 if (CC_UNLIKELY(!validateLayerInfo(state, drmFormat, handles, modifier))) { in addFB2WithModifiers()
119 int ret = drmModeAddFB2WithModifiers(mDrmFd, width, height, drmFormat, handles.data(), in addFB2WithModifiers()
127 bool FramebufferManager::validateLayerInfo(uint32_t state, uint32_t drmFormat, in validateLayerInfo() argument
132 return drmFormat == DRM_FORMAT_C8 && handles[0] != 0 && handles[1] == 0 && in validateLayerInfo()
180 int drmFormat = DRM_FORMAT_UNDEFINED; in getBuffer() local
202 drmFormat = exynosFormat->drmFormat; in getBuffer()
203 if (drmFormat == DRM_FORMAT_UNDEFINED) { in getBuffer()
220 [bufferDesc = Framebuffer::BufferDesc{config.buffer_id, drmFormat, in getBuffer()
267 drmFormat = DRM_FORMAT_BGRA8888; in getBuffer()
[all …]
/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp440 return (exynosFormat != nullptr) ? exynosFormat->drmFormat : DRM_FORMAT_UNDEFINED; in halFormatToDrmFormat()
450 if (exynos_format_desc[i].drmFormat == format) { in drmFormatToHalFormats()
460 if (exynos_format_desc[i].drmFormat == format) in drmFormatToHalFormat()
DExynosHWCHelper.h134 int drmFormat; member
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_EXT_image_drm_format_modifier.adoc127 _(drmFormat, drmFormatModifier)_, where each participating component