/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
H A D | hwc_debugger.cpp | 111 void HWCDebugHandler::Error(DebugTag tag, const char *format, ...) { argument 114 va_start(list, format); 115 __android_log_vprint(ANDROID_LOG_ERROR, LOG_TAG, format, list); 119 void HWCDebugHandler::Warning(DebugTag tag, const char *format, ...) { argument 122 va_start(list, format); 123 __android_log_vprint(ANDROID_LOG_WARN, LOG_TAG, format, list); 127 void HWCDebugHandler::Info(DebugTag tag, const char *format, ...) { argument 130 va_start(list, format); 131 __android_log_vprint(ANDROID_LOG_INFO, LOG_TAG, format, list); 135 void HWCDebugHandler::Debug(DebugTag tag, const char *format, argument 143 Verbose(DebugTag tag, const char *format, ...) argument [all...] |
H A D | hwc_debugger.h | 57 virtual void Error(DebugTag tag, const char *format, ...); 58 virtual void Warning(DebugTag tag, const char *format, ...); 59 virtual void Info(DebugTag tag, const char *format, ...); 60 virtual void Debug(DebugTag tag, const char *format, ...); 61 virtual void Verbose(DebugTag tag, const char *format, ...);
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_debugger.cpp | 111 void HWCDebugHandler::Error(DebugTag /*tag*/, const char *format, ...) { argument 113 va_start(list, format); 114 __android_log_vprint(ANDROID_LOG_ERROR, LOG_TAG, format, list); 117 void HWCDebugHandler::Warning(DebugTag /*tag*/, const char *format, ...) { argument 119 va_start(list, format); 120 __android_log_vprint(ANDROID_LOG_WARN, LOG_TAG, format, list); 123 void HWCDebugHandler::Info(DebugTag tag, const char *format, ...) { argument 126 va_start(list, format); 127 __android_log_vprint(ANDROID_LOG_INFO, LOG_TAG, format, list); 131 void HWCDebugHandler::Debug(DebugTag tag, const char *format, argument 139 Verbose(DebugTag tag, const char *format, ...) argument [all...] |
H A D | hwc_debugger.h | 58 virtual void Error(DebugTag tag, const char *format, ...); 59 virtual void Warning(DebugTag tag, const char *format, ...); 60 virtual void Info(DebugTag tag, const char *format, ...); 61 virtual void Debug(DebugTag tag, const char *format, ...); 62 virtual void Verbose(DebugTag tag, const char *format, ...);
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_debugger.cpp | 111 void HWCDebugHandler::Error(DebugTag tag, const char *format, ...) { argument 114 va_start(list, format); 115 __android_log_vprint(ANDROID_LOG_ERROR, LOG_TAG, format, list); 119 void HWCDebugHandler::Warning(DebugTag tag, const char *format, ...) { argument 122 va_start(list, format); 123 __android_log_vprint(ANDROID_LOG_WARN, LOG_TAG, format, list); 127 void HWCDebugHandler::Info(DebugTag tag, const char *format, ...) { argument 130 va_start(list, format); 131 __android_log_vprint(ANDROID_LOG_INFO, LOG_TAG, format, list); 135 void HWCDebugHandler::Debug(DebugTag tag, const char *format, argument 143 Verbose(DebugTag tag, const char *format, ...) argument [all...] |
H A D | hwc_debugger.h | 56 virtual void Error(DebugTag tag, const char *format, ...); 57 virtual void Warning(DebugTag tag, const char *format, ...); 58 virtual void Info(DebugTag tag, const char *format, ...); 59 virtual void Debug(DebugTag tag, const char *format, ...); 60 virtual void Verbose(DebugTag tag, const char *format, ...);
|
/hardware/qcom/display/msm8909/gralloc/ |
H A D | gr_utils.h | 50 format(f), prod_usage(prod), cons_usage(cons) {} 53 int format; member in struct:gralloc1::BufferInfo 63 bool IsCompressedRGBFormat(int format); 64 bool IsUncompressedRGBFormat(int format); 65 uint32_t GetBppForUncompressedRGB(int format); 76 bool IsUBwcFormat(int format); 77 bool IsUBwcSupported(int format); 78 bool IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, 80 void GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, 90 unsigned int GetUBwcSize(int width, int height, int format, unsigne [all...] |
H A D | gr_utils.cpp | 45 bool IsUncompressedRGBFormat(int format) { argument 46 switch (format) { 76 bool IsCompressedRGBFormat(int format) { argument 77 switch (format) { 114 uint32_t GetBppForUncompressedRGB(int format) { argument 116 switch (format) { 145 ALOGE("Error : %s New format request = 0x%x", __FUNCTION__, format); 180 int format = info.format; local 353 int format = hnd->format; local 472 IsUBwcFormat(int format) argument 483 IsUBwcSupported(int format) argument 501 IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) argument 530 GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, unsigned int *aligned_h) argument 604 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument 675 int format = info.format; local [all...] |
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
H A D | gr_utils.h | 50 format(f), prod_usage(prod), cons_usage(cons) {} 53 int format; member in struct:gralloc1::BufferInfo 63 bool IsCompressedRGBFormat(int format); 64 bool IsUncompressedRGBFormat(int format); 65 uint32_t GetBppForUncompressedRGB(int format); 76 bool IsUBwcFormat(int format); 77 bool IsUBwcSupported(int format); 78 bool IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, 80 void GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, 90 unsigned int GetUBwcSize(int width, int height, int format, unsigne [all...] |
H A D | gr_utils.cpp | 45 bool IsUncompressedRGBFormat(int format) { argument 46 switch (format) { 76 bool IsCompressedRGBFormat(int format) { argument 77 switch (format) { 114 uint32_t GetBppForUncompressedRGB(int format) { argument 116 switch (format) { 145 ALOGE("Error : %s New format request = 0x%x", __FUNCTION__, format); 180 int format = info.format; local 353 int format = hnd->format; local 472 IsUBwcFormat(int format) argument 483 IsUBwcSupported(int format) argument 501 IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) argument 530 GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, unsigned int *aligned_h) argument 604 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument 675 int format = info.format; local [all...] |
/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_allocator.h | 64 gralloc1_consumer_usage_t cons_usage, int format); 68 void GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, 75 bool IsUBwcFormat(int format); 76 bool IsUBwcSupported(int format); 77 bool IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, 81 void GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, 89 unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw,
|
H A D | gr_allocator.cpp | 179 // For same format type, find the descriptor with bigger size 200 int format = descriptor.GetFormat(); local 206 if (IsUBwcEnabled(format, prod_usage, cons_usage)) { 207 return GetUBwcSize(width, height, format, alignedw, alignedh); 210 if (IsUncompressedRGBFormat(format)) { 211 uint32_t bpp = GetBppForUncompressedRGB(format); 216 if (IsCompressedRGBFormat(format)) { 222 switch (format) { 247 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width & 1) || (height & 1))) { 248 ALOGE("w or h is odd for the YV12 format"); 297 GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 357 int format = hnd->format; local 447 GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, int format) argument 486 IsUBwcFormat(int format) argument 495 IsUBwcSupported(int format) argument 601 IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) argument 633 GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, unsigned int *aligned_h) argument 702 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument 770 int format = descriptor.GetFormat(); local [all...] |
H A D | gr_utils.h | 52 bool IsCompressedRGBFormat(int format); 53 bool IsUncompressedRGBFormat(int format); 54 uint32_t GetBppForUncompressedRGB(int format);
|
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_allocator.h | 64 gralloc1_consumer_usage_t cons_usage, int format); 68 void GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, 75 bool IsUBwcFormat(int format); 76 bool IsUBwcSupported(int format); 77 bool IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, 81 void GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, 89 unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw,
|
H A D | gr_allocator.cpp | 180 // For same format type, find the descriptor with bigger size 201 int format = descriptor.GetFormat(); local 207 if (IsUBwcEnabled(format, prod_usage, cons_usage)) { 208 return GetUBwcSize(width, height, format, alignedw, alignedh); 211 if (IsUncompressedRGBFormat(format)) { 212 uint32_t bpp = GetBppForUncompressedRGB(format); 217 if (IsCompressedRGBFormat(format)) { 223 switch (format) { 248 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width & 1) || (height & 1))) { 249 ALOGE("w or h is odd for the YV12 format"); 298 GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 358 int format = hnd->format; local 448 GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, int format) argument 487 IsUBwcFormat(int format) argument 497 IsUBwcSupported(int format) argument 603 IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) argument 635 GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, unsigned int *aligned_h) argument 704 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument 772 int format = descriptor.GetFormat(); local [all...] |
H A D | gr_utils.h | 52 bool IsCompressedRGBFormat(int format); 53 bool IsUncompressedRGBFormat(int format); 54 uint32_t GetBppForUncompressedRGB(int format);
|
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | gr.h | 51 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 53 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 58 void getBufferAttributes(int width, int height, int format, int usage, 63 bool isMacroTileEnabled(int format, int usage); 65 int decideBufferHandlingMechanism(int format, const char *compositionUsed, 69 // Allocate buffer from width, height, format into a private_handle_t 71 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage); 76 // To query if UBWC is enabled, based on format and usage flags 77 bool isUBwcEnabled(int format, int usage); 79 // Function to check if the format i [all...] |
/hardware/akm/AK8975_FS/akmdfs/ |
H A D | AKFS_Common.h | 105 #define AKMDEBUG(level, format, ...) \ 107 ? (fprintf(stdout, (format), ##__VA_ARGS__)) \ 110 #define AKMDEBUG(level, format, ...) 115 #define AKMDATA(flag, format, ...) \ 117 ? (fprintf(stdout, (format), ##__VA_ARGS__)) \ 120 #define AKMDATA(flag, format, ...) 125 #define AKM_LOG(format, ...) ALOGD((format), ##__VA_ARGS__) 127 #define AKM_LOG(format, ...)
|
/hardware/qcom/display/msm8909/sdm/include/core/ |
H A D | debug_interface.h | 69 @param[in] format \link message format with variable argument list \endlink 71 virtual void Error(DebugTag tag, const char *format, ...) = 0; 76 @param[in] format \link message format with variable argument list \endlink 78 virtual void Warning(DebugTag tag, const char *format, ...) = 0; 83 @param[in] format \link message format with variable argument list \endlink 85 virtual void Info(DebugTag tag, const char *format, ...) = 0; 90 @param[in] format \lin [all...] |
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
H A D | hwc_debugger.h | 60 virtual void Error(DebugTag tag, const char *format, ...); 61 virtual void Warning(DebugTag tag, const char *format, ...); 62 virtual void Info(DebugTag tag, const char *format, ...); 63 virtual void Debug(DebugTag tag, const char *format, ...); 64 virtual void Verbose(DebugTag tag, const char *format, ...);
|
/hardware/qcom/display/msm8909w_3100/sdm/include/core/ |
H A D | debug_interface.h | 67 @param[in] format \link message format with variable argument list \endlink 69 virtual void Error(DebugTag tag, const char *format, ...) = 0; 74 @param[in] format \link message format with variable argument list \endlink 76 virtual void Warning(DebugTag tag, const char *format, ...) = 0; 81 @param[in] format \link message format with variable argument list \endlink 83 virtual void Info(DebugTag tag, const char *format, ...) = 0; 88 @param[in] format \lin [all...] |
/hardware/qcom/display/msm8996/sdm/include/core/ |
H A D | debug_interface.h | 67 @param[in] format \link message format with variable argument list \endlink 69 virtual void Error(DebugTag tag, const char *format, ...) = 0; 74 @param[in] format \link message format with variable argument list \endlink 76 virtual void Warning(DebugTag tag, const char *format, ...) = 0; 81 @param[in] format \link message format with variable argument list \endlink 83 virtual void Info(DebugTag tag, const char *format, ...) = 0; 88 @param[in] format \lin [all...] |
/hardware/qcom/display/msm8998/sdm/include/core/ |
H A D | debug_interface.h | 67 @param[in] format \link message format with variable argument list \endlink 69 virtual void Error(DebugTag tag, const char *format, ...) = 0; 74 @param[in] format \link message format with variable argument list \endlink 76 virtual void Warning(DebugTag tag, const char *format, ...) = 0; 81 @param[in] format \link message format with variable argument list \endlink 83 virtual void Info(DebugTag tag, const char *format, ...) = 0; 88 @param[in] format \lin [all...] |
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | alloc_controller.cpp | 139 bool isUncompressedRgbFormat(int format) argument 143 switch (format) 166 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 171 if (isUncompressedRgbFormat(format) == true) { 172 int tileEnabled = isMacroTileEnabled(format, usage); 174 height, format, tileEnabled, aligned_w, aligned_h); 178 if (isUBwcEnabled(format, usage)) { 179 getUBwcWidthAndHeight(width, height, format, aligned_w, aligned_h); 185 switch (format) 255 width, height, format, 267 getGpuAlignedWidthHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument 324 isUBWCSupportedByGPU(int format) argument 453 isMacroTileEnabled(int format, int usage) argument 486 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 604 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 622 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 640 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument 723 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument 769 isUBwcFormat(int format) argument 781 isUBwcSupported(int format) argument 796 isUBwcEnabled(int format, int usage) argument 811 getUBwcWidthAndHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument 880 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
H A D | hwc_layers.cpp | 122 LayerBufferFormat format = GetSDMFormat(handle->format, handle->flags); local 123 if ((format != layer_buffer->format) || (UINT32(aligned_width) != layer_buffer->width) || 129 layer_buffer->format = format; 217 layer_->input_buffer.format = kFormatARGB8888; 409 LayerBufferFormat format = kFormatInvalid; local 413 format = kFormatRGBA8888Ubwc; 416 format [all...] |