/hardware/google/gfxstream/guest/mesa/src/vulkan/util/ |
D | vk_format.h | 42 vk_format_aspects(VkFormat format); 45 vk_format_is_color(VkFormat format) in vk_format_is_color() argument 47 return vk_format_aspects(format) == VK_IMAGE_ASPECT_COLOR_BIT; in vk_format_is_color() 51 vk_format_is_depth_or_stencil(VkFormat format) in vk_format_is_depth_or_stencil() argument 53 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_is_depth_or_stencil() 58 vk_format_has_depth(VkFormat format) in vk_format_has_depth() argument 60 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_has_depth() 65 vk_format_has_stencil(VkFormat format) in vk_format_has_stencil() argument 67 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_has_stencil() 72 vk_format_depth_only(VkFormat format) in vk_format_depth_only() argument [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format_table.py | 79 def has_access(format): argument 126 if format.short_name() in noaccess_formats: 128 if format.layout in ('astc', 'atc'): 130 if format.layout == 'etc' and format.short_name() != 'etc1_rgb8': 188 comment = colorspace_channels_map[format.colorspace][i] 217 for format in formats: 218 sn = format.short_name() 220 print(" [%s] = {" % (format.name,)) 221 print(" %s," % (format.name,)) 222 print(" \"%s\"," % (format.name,)) [all …]
|
D | u_format.h | 146 enum pipe_format format; member 410 util_format_description(enum pipe_format format) ATTRIBUTE_CONST; 413 util_format_pack_description(enum pipe_format format) ATTRIBUTE_CONST; 417 util_format_unpack_description(enum pipe_format format) ATTRIBUTE_CONST; 421 util_format_unpack_description_generic(enum pipe_format format) ATTRIBUTE_CONST; 424 util_format_unpack_description_neon(enum pipe_format format) ATTRIBUTE_CONST; 436 util_format_fetch_rgba_func(enum pipe_format format) ATTRIBUTE_CONST; 443 util_format_name(enum pipe_format format) in util_format_name() argument 445 const struct util_format_description *desc = util_format_description(format); in util_format_name() 456 util_format_short_name(enum pipe_format format) in util_format_short_name() argument [all …]
|
D | u_format_pack.py | 53 def print_channels(format, func): argument 54 if format.nr_channels() <= 1: 55 func(format.le_channels, format.le_swizzles) 57 if (format.le_channels == format.be_channels and 58 [c.shift for c in format.le_channels] == 59 [c.shift for c in format.be_channels] and 60 format.le_swizzles == format.be_swizzles): 61 func(format.le_channels, format.le_swizzles) 64 func(format.be_channels, format.be_swizzles) 66 func(format.le_channels, format.le_swizzles) [all …]
|
/hardware/qcom/sm8150/display/libdebug/ |
D | debug_handler.h | 35 #define DLOG(method, format, ...) \ argument 36 display::DebugHandler::Get()->method(__CLASS__ "::%s: " format, __FUNCTION__, ##__VA_ARGS__) 38 #define DLOG_IF(tag, method, format, ...) \ argument 40 DLOG(method, format, ##__VA_ARGS__); \ 43 #define DLOGE_IF(tag, format, ...) DLOG_IF(tag, Error, format, ##__VA_ARGS__) argument 44 #define DLOGW_IF(tag, format, ...) DLOG_IF(tag, Warning, format, ##__VA_ARGS__) argument 45 #define DLOGI_IF(tag, format, ...) DLOG_IF(tag, Info, format, ##__VA_ARGS__) argument 46 #define DLOGD_IF(tag, format, ...) DLOG_IF(tag, Debug, format, ##__VA_ARGS__) argument 47 #define DLOGV_IF(tag, format, ...) DLOG_IF(tag, Verbose, format, ##__VA_ARGS__) argument 49 #define DLOGE(format, ...) DLOG(Error, format, ##__VA_ARGS__) argument [all …]
|
/hardware/qcom/sm7250/display/libdebug/ |
D | debug_handler.h | 35 #define DLOG(method, format, ...) \ argument 36 display::DebugHandler::Get()->method(__CLASS__ "::%s: " format, __FUNCTION__, ##__VA_ARGS__) 38 #define DLOG_IF(tag, method, format, ...) \ argument 40 DLOG(method, format, ##__VA_ARGS__); \ 43 #define DLOGE_IF(tag, format, ...) DLOG_IF(tag, Error, format, ##__VA_ARGS__) argument 44 #define DLOGW_IF(tag, format, ...) DLOG_IF(tag, Warning, format, ##__VA_ARGS__) argument 45 #define DLOGI_IF(tag, format, ...) DLOG_IF(tag, Info, format, ##__VA_ARGS__) argument 46 #define DLOGD_IF(tag, format, ...) DLOG_IF(tag, Debug, format, ##__VA_ARGS__) argument 47 #define DLOGV_IF(tag, format, ...) DLOG_IF(tag, Verbose, format, ##__VA_ARGS__) argument 49 #define DLOGE(format, ...) DLOG(Error, format, ##__VA_ARGS__) argument [all …]
|
/hardware/qcom/sm7250/display/gralloc/ |
D | gr_camera_info.h | 129 int GetUBWCInfo(int format, bool *is_Supported, bool *is_PI, int *version); 131 int GetPlaneAlignment(int format, int plane_type, unsigned int *alignment); 133 int IsPerPlaneFdNeeded(int format, bool *is_per_plane_fd_needed); 135 int GetBpp(int format, int *bpp); 137 int GetPerPlaneBpp(int format, int plane_type, int *bpp); 139 int GetPlaneStartAddressAlignment(int format, int plane_type, int *alignment); 141 int GetBufferSize(int format, int width, int height, unsigned int *size); 143 int GetStrideInBytes(int format, int plane_type, int width, int *stride_bytes); 145 int GetStrideInPixels(int format, int plane_type, int width, float *stride_pixel); 147 int GetPixelIncrement(int format, int plane_type, int *pixel_increment); [all …]
|
D | gr_camera_info.cpp | 101 CamxPixelFormat format = (CamxPixelFormat)0; in GetCameraPixelFormat() local 104 format = CAMERA_PIXEL_FORMAT_NV21_ZSL; in GetCameraPixelFormat() 107 format = CAMERA_PIXEL_FORMAT_YUV_FLEX; in GetCameraPixelFormat() 110 format = CAMERA_PIXEL_FORMAT_UBWC_FLEX; in GetCameraPixelFormat() 113 format = CAMERA_PIXEL_FORMAT_UBWC_FLEX_2_BATCH; in GetCameraPixelFormat() 116 format = CAMERA_PIXEL_FORMAT_UBWC_FLEX_4_BATCH; in GetCameraPixelFormat() 119 format = CAMERA_PIXEL_FORMAT_UBWC_FLEX_8_BATCH; in GetCameraPixelFormat() 122 format = CAMERA_PIXEL_FORMAT_MULTIPLANAR_FLEX; in GetCameraPixelFormat() 125 format = CAMERA_PIXEL_FORMAT_RAW_OPAQUE; in GetCameraPixelFormat() 128 format = CAMERA_PIXEL_FORMAT_RAW10; in GetCameraPixelFormat() [all …]
|
/hardware/libhardware/modules/camera/3_4/ |
D | stream_format.cpp | 38 StreamFormat::StreamFormat(int format, uint32_t width, uint32_t height) in StreamFormat() argument 41 v4l2_pixel_format_(StreamFormat::HalToV4L2PixelFormat(format)), in StreamFormat() 46 StreamFormat::StreamFormat(const v4l2_format& format) in StreamFormat() argument 47 : type_(format.type), in StreamFormat() 49 v4l2_pixel_format_(format.fmt.pix.pixelformat), in StreamFormat() 50 width_(format.fmt.pix.width), in StreamFormat() 51 height_(format.fmt.pix.height), in StreamFormat() 52 bytes_per_line_(format.fmt.pix.bytesperline) {} in StreamFormat() 54 StreamFormat::StreamFormat(const arc::SupportedFormat& format) in StreamFormat() argument 56 v4l2_pixel_format_(format.fourcc), in StreamFormat() [all …]
|
/hardware/qcom/display/msm8998/libdrmutils/ |
D | drm_logger.h | 40 virtual void Error(const char *format, ...) = 0; 41 virtual void Warning(const char *format, ...) = 0; 42 virtual void Info(const char *format, ...) = 0; 43 virtual void Debug(const char *format, ...) = 0; 52 #define DRM_LOG(method, format, ...) \ argument 54 drm_utils::DRMLogger::Get()->method(format, ##__VA_ARGS__); \ 57 #define DRM_LOG_CONTEXT(method, format, ...) \ argument 58 DRM_LOG(method, __CLASS__ "::%s: " format, __FUNCTION__, ##__VA_ARGS__); 60 #define DRM_LOGE(format, ...) DRM_LOG_CONTEXT(Error, format, ##__VA_ARGS__) argument 61 #define DRM_LOGW(format, ...) DRM_LOG_CONTEXT(Warning, format, ##__VA_ARGS__) argument [all …]
|
/hardware/qcom/display/msm8909/libdrmutils/ |
D | drm_logger.h | 40 virtual void Error(const char *format, ...) = 0; 41 virtual void Warning(const char *format, ...) = 0; 42 virtual void Info(const char *format, ...) = 0; 43 virtual void Debug(const char *format, ...) = 0; 52 #define DRM_LOG(method, format, ...) \ argument 54 drm_utils::DRMLogger::Get()->method(format, ##__VA_ARGS__); \ 57 #define DRM_LOG_CONTEXT(method, format, ...) \ argument 58 DRM_LOG(method, __CLASS__ "::%s: " format, __FUNCTION__, ##__VA_ARGS__); 60 #define DRM_LOGE(format, ...) DRM_LOG_CONTEXT(Error, format, ##__VA_ARGS__) argument 61 #define DRM_LOGW(format, ...) DRM_LOG_CONTEXT(Warning, format, ##__VA_ARGS__) argument [all …]
|
/hardware/qcom/display/msm8909w_3100/libdrmutils/ |
D | drm_logger.h | 40 virtual void Error(const char *format, ...) = 0; 41 virtual void Warning(const char *format, ...) = 0; 42 virtual void Info(const char *format, ...) = 0; 43 virtual void Debug(const char *format, ...) = 0; 52 #define DRM_LOG(method, format, ...) \ argument 54 drm_utils::DRMLogger::Get()->method(format, ##__VA_ARGS__); \ 57 #define DRM_LOG_CONTEXT(method, format, ...) \ argument 58 DRM_LOG(method, __CLASS__ "::%s: " format, __FUNCTION__, ##__VA_ARGS__); 60 #define DRM_LOGE(format, ...) DRM_LOG_CONTEXT(Error, format, ##__VA_ARGS__) argument 61 #define DRM_LOGW(format, ...) DRM_LOG_CONTEXT(Warning, format, ##__VA_ARGS__) argument [all …]
|
/hardware/qcom/display/msm8996/sdm/include/utils/ |
D | debug.h | 38 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \ argument 41 #define DLOGE_IF(tag, format, ...) DLOG(tag, Error, format, ##__VA_ARGS__) argument 42 #define DLOGW_IF(tag, format, ...) DLOG(tag, Warning, format, ##__VA_ARGS__) argument 43 #define DLOGI_IF(tag, format, ...) DLOG(tag, Info, format, ##__VA_ARGS__) argument 44 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__) argument 45 #define DLOGV_IF(tag, format, ...) DLOG(tag, Verbose, format, ##__VA_ARGS__) argument 47 #define DLOGE(format, ...) DLOGE_IF(kTagNone, format, ##__VA_ARGS__) argument 48 #define DLOGD(format, ...) DLOGD_IF(kTagNone, format, ##__VA_ARGS__) argument 49 #define DLOGW(format, ...) DLOGW_IF(kTagNone, format, ##__VA_ARGS__) argument 50 #define DLOGI(format, ...) DLOGI_IF(kTagNone, format, ##__VA_ARGS__) argument [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/ |
D | formatsgenerator.py | 50 for index, format in enumerate(info['formats']): 51 condition = self.format_conditions[format] 63 for index, format in enumerate(info['formats']): 64 if self.format_conditions[format] == None: 65 noncondition_list.append(format) 67 condition_list.append(format) 71 compatibility_table.append('ifdef::{}[]'.format(class_condition)) 73 compatibility_table.append("| {} +".format(class_name)) 74 compatibility_table.append(" Block size {} byte +".format(info['meta']['blockSize'])) 75 …compatibility_table.append(" {} block extent +".format(info['meta']['blockExtent'].replace(",", "… [all …]
|
/hardware/google/gfxstream/host/tests/ |
D | GLSnapshotRenderbuffers_unittest.cpp | 36 GlRenderbufferFormat format; member 76 m_state.format.name)); in changedStateCheck() 78 compareParameter(GL_RENDERBUFFER_RED_SIZE, m_state.format.red)); in changedStateCheck() 80 m_state.format.green)); in changedStateCheck() 82 m_state.format.blue)); in changedStateCheck() 84 m_state.format.alpha)); in changedStateCheck() 86 m_state.format.depth)); in changedStateCheck() 88 m_state.format.stencil)); in changedStateCheck() 147 gl->glRenderbufferStorage(GL_RENDERBUFFER, m_state.format.name, in TEST_P() 155 if (fieldSize != m_state.format.red) { in TEST_P() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/ |
D | debug.h | 38 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \ argument 41 #define DLOGE_IF(tag, format, ...) DLOG(tag, Error, format, ##__VA_ARGS__) argument 42 #define DLOGW_IF(tag, format, ...) DLOG(tag, Warning, format, ##__VA_ARGS__) argument 43 #define DLOGI_IF(tag, format, ...) DLOG(tag, Info, format, ##__VA_ARGS__) argument 44 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__) argument 45 #define DLOGV_IF(tag, format, ...) DLOG(tag, Verbose, format, ##__VA_ARGS__) argument 47 #define DLOGE(format, ...) DLOGE_IF(kTagNone, format, ##__VA_ARGS__) argument 48 #define DLOGD(format, ...) DLOGD_IF(kTagNone, format, ##__VA_ARGS__) argument 49 #define DLOGW(format, ...) DLOGW_IF(kTagNone, format, ##__VA_ARGS__) argument 50 #define DLOGI(format, ...) DLOGI_IF(kTagNone, format, ##__VA_ARGS__) argument [all …]
|
/hardware/qcom/display/msm8998/sdm/include/utils/ |
D | debug.h | 38 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \ argument 41 #define DLOGE_IF(tag, format, ...) DLOG(tag, Error, format, ##__VA_ARGS__) argument 42 #define DLOGW_IF(tag, format, ...) DLOG(tag, Warning, format, ##__VA_ARGS__) argument 43 #define DLOGI_IF(tag, format, ...) DLOG(tag, Info, format, ##__VA_ARGS__) argument 44 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__) argument 45 #define DLOGV_IF(tag, format, ...) DLOG(tag, Verbose, format, ##__VA_ARGS__) argument 47 #define DLOGE(format, ...) DLOGE_IF(kTagNone, format, ##__VA_ARGS__) argument 48 #define DLOGD(format, ...) DLOGD_IF(kTagNone, format, ##__VA_ARGS__) argument 49 #define DLOGW(format, ...) DLOGW_IF(kTagNone, format, ##__VA_ARGS__) argument 50 #define DLOGI(format, ...) DLOGI_IF(kTagNone, format, ##__VA_ARGS__) argument [all …]
|
/hardware/qcom/display/msm8909/sdm/include/utils/ |
D | debug.h | 39 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \ argument 42 #define DLOGE_IF(tag, format, ...) DLOG(tag, Error, format, ##__VA_ARGS__) argument 43 #define DLOGW_IF(tag, format, ...) DLOG(tag, Warning, format, ##__VA_ARGS__) argument 44 #define DLOGI_IF(tag, format, ...) DLOG(tag, Info, format, ##__VA_ARGS__) argument 45 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__) argument 46 #define DLOGV_IF(tag, format, ...) DLOG(tag, Verbose, format, ##__VA_ARGS__) argument 48 #define DLOGE(format, ...) DLOGE_IF(kTagNone, format, ##__VA_ARGS__) argument 49 #define DLOGD(format, ...) DLOGD_IF(kTagNone, format, ##__VA_ARGS__) argument 50 #define DLOGW(format, ...) DLOGW_IF(kTagNone, format, ##__VA_ARGS__) argument 51 #define DLOGI(format, ...) DLOGI_IF(kTagNone, format, ##__VA_ARGS__) argument [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/format/ |
D | srgb.c | 10 for (enum pipe_format format = 0; format < PIPE_FORMAT_COUNT; format++) in main() local 12 if (!util_format_is_srgb(format)) { in main() 13 const enum pipe_format linear = util_format_linear(format); in main() 14 if (format != linear) { in main() 16 util_format_name(format), in main() 23 const enum pipe_format linear = util_format_linear(format); in main() 24 if (format == linear) { in main() 26 util_format_name(format)); in main() 31 if (format != srgb) { in main() 33 util_format_name(format), in main()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/ |
D | attachment_description_common.adoc | 7 * [[VUID-{refpage}-format-06699]] 8 If pname:format includes a color or depth component and pname:loadOp is 14 * [[VUID-{refpage}-format-03280]] 15 If pname:format is a color format, pname:initialLayout must: not be 18 * [[VUID-{refpage}-format-03281]] 19 If pname:format is a depth/stencil format, pname:initialLayout must: not 21 * [[VUID-{refpage}-format-03282]] 22 If pname:format is a color format, pname:finalLayout must: not be 25 * [[VUID-{refpage}-format-03283]] 26 If pname:format is a depth/stencil format, pname:finalLayout must: not [all …]
|
/hardware/ti/am57x/libhwcomposer/ |
D | format.h | 28 static inline std::string HAL_FMT(uint32_t format) in HAL_FMT() argument 30 switch (format) { in HAL_FMT() 43 static inline std::string DRM_FMT(uint32_t format) in DRM_FMT() argument 45 switch (format) { in DRM_FMT() 54 bool is_valid_format(uint32_t format); 55 bool is_rgb_format(uint32_t format); 56 bool is_bgr_format(uint32_t format); 57 bool is_nv12_format(uint32_t format); 58 bool is_opaque_format(uint32_t format); 59 uint32_t get_format_bpp(uint32_t format); [all …]
|
/hardware/qcom/sm7250/display/libdrmutils/ |
D | drm_logger.h | 40 #define DRM_LOGE(format, ...) DLOGE(format, ##__VA_ARGS__) argument 41 #define DRM_LOGW(format, ...) DLOGW_IF(DRM_LOG_TAG, format, ##__VA_ARGS__) argument 42 #define DRM_LOGI(format, ...) DLOGI_IF(DRM_LOG_TAG, format, ##__VA_ARGS__) argument 43 #define DRM_LOGD(format, ...) DLOGD_IF(DRM_LOG_TAG, format, ##__VA_ARGS__) argument 44 #define DRM_LOGV(format, ...) DLOGV_IF(DRM_LOG_TAG, format, ##__VA_ARGS__) argument
|
/hardware/qcom/sm8150/display/libdrmutils/ |
D | drm_logger.h | 40 #define DRM_LOGE(format, ...) DLOGE(format, ##__VA_ARGS__) argument 41 #define DRM_LOGW(format, ...) DLOGW_IF(DRM_LOG_TAG, format, ##__VA_ARGS__) argument 42 #define DRM_LOGI(format, ...) DLOGI_IF(DRM_LOG_TAG, format, ##__VA_ARGS__) argument 43 #define DRM_LOGD(format, ...) DLOGD_IF(DRM_LOG_TAG, format, ##__VA_ARGS__) argument 44 #define DRM_LOGV(format, ...) DLOGV_IF(DRM_LOG_TAG, format, ##__VA_ARGS__) argument
|
/hardware/google/gfxstream/guest/android-emu/android/utils/ |
D | debug.c | 36 void dprint(const char* format, ...) { in dprint() argument 38 va_start(args, format); in dprint() 39 fdprintfnv(stdout, 0, format, args); in dprint() 43 void fdprintf(FILE* fp, const char* format, ...) { in fdprintf() argument 45 va_start(args, format); in fdprintf() 46 fdprintfnv(fp, 0, format, args); in fdprintf() 50 void fdprintfnv(FILE* fp, const char* lvl, const char* format, va_list args) { in fdprintfnv() argument 63 vfprintf(fp, format, args); in fdprintfnv() 67 void dprintn(const char* format, ...) { in dprintn() argument 69 va_start(args, format); in dprintn() [all …]
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_utils.h | 58 : width(w), height(h), format(f), layer_count(1), usage(usage) {} in width() 61 int format; member 155 bool IsYuvFormat(int format); 156 bool IsCompressedRGBFormat(int format); 157 bool IsUncompressedRGBFormat(int format); 158 uint32_t GetBppForUncompressedRGB(int format); 162 int GetBpp(int format); 173 int GetYUVPlaneInfo(const BufferInfo &info, int32_t format, int32_t width, int32_t height, 175 void GetRGBPlaneInfo(const BufferInfo &info, int32_t format, int32_t width, int32_t height, 177 unsigned int GetRgbMetaSize(int format, uint32_t width, uint32_t height, uint64_t usage); [all …]
|