Home
last modified time | relevance | path

Searched refs:drm_format (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/guest/hals/hwcomposer/common/
Ddrm_utils.cpp25 const char* GetDrmFormatString(uint32_t drm_format) { in GetDrmFormatString() argument
26 switch (drm_format) { in GetDrmFormatString()
131 int GetDrmFormatBytesPerPixel(uint32_t drm_format) { in GetDrmFormatBytesPerPixel() argument
132 switch (drm_format) { in GetDrmFormatBytesPerPixel()
148 ALOGE("%s: format size unknown %d(%s)", __FUNCTION__, drm_format, in GetDrmFormatBytesPerPixel()
149 GetDrmFormatString(drm_format)); in GetDrmFormatBytesPerPixel()
Ddrm_utils.h22 const char* GetDrmFormatString(uint32_t drm_format);
24 int GetDrmFormatBytesPerPixel(uint32_t drm_format);
Dcpu_composer.cpp66 ConverterFunction GetConverterForDrmFormat(uint32_t drm_format) { in GetConverterForDrmFormat() argument
67 switch (drm_format) { in GetConverterForDrmFormat()
75 drm_format, GetDrmFormatString(drm_format)); in GetConverterForDrmFormat()
79 bool IsDrmFormatSupported(uint32_t drm_format) { in IsDrmFormatSupported() argument
80 return GetConverterForDrmFormat(drm_format) != nullptr; in IsDrmFormatSupported()
114 uint32_t drm_format; member
126 uint32_t drm_format, in BufferSpec()
137 drm_format(drm_format), in BufferSpec()
198 return (*GetConverterForDrmFormat(src.drm_format))(src, dst, v_flip); in DoConversion()
417 bool needs_conversion = src_layer_spec.drm_format != DRM_FORMAT_XBGR8888; in CompositeLayer()