Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 690) sorted by relevance

12345678910>>...28

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_trace.h23 extern void vbp_trace_util(const char* cat, const char* fun, int line, const char* format, ...);
25 #define VBP_TRACE_UTIL(cat, format, ...) \ argument
26 vbp_trace_util(cat, __FUNCTION__, __LINE__, format, ##__VA_ARGS__)
29 #define ETRACE(format, ...) VBP_TRACE_UTIL("ERROR: ", format, ##__VA_ARGS__) argument
30 #define WTRACE(format, ...) VBP_TRACE_UTIL("WARNING: ", format, ##__VA_ARGS__) argument
31 #define ITRACE(format, ...) VBP_TRACE_UTIL("INFO: ", format, ##__VA_ARGS__) argument
32 #define VTRACE(format, ...) VBP_TRACE_UTIL("VERBOSE: ", format, ##__VA_ARGS__) argument
36 #define ETRACE(format, ...) argument
37 #define WTRACE(format, ...) argument
38 #define ITRACE(format, ...) argument
[all …]
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_logger.h40 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/
Ddebug.h38 #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/
Ddebug.h38 #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/intel/common/libmix/mix_video/src/
Dmixvideolog.h14 #define LOG_V(format, ...) mix_log(MIX_VIDEO_COMP, MIX_LOG_LEVEL_VERBOSE, format, ##__VA_ARGS__) argument
15 #define LOG_I(format, ...) mix_log(MIX_VIDEO_COMP, MIX_LOG_LEVEL_INFO, format, ##__VA_ARGS__) argument
16 #define LOG_W(format, ...) mix_log(MIX_VIDEO_COMP, MIX_LOG_LEVEL_WARNING, format, ##__VA_ARGS__) argument
17 #define LOG_E(format, ...) mix_log(MIX_VIDEO_COMP, MIX_LOG_LEVEL_ERROR, format, ##__VA_ARGS__) argument
19 #define LOG_V(format, ...) argument
20 #define LOG_I(format, ...) argument
21 #define LOG_W(format, ...) argument
22 #define LOG_E(format, ...) argument
/hardware/intel/common/libmix/videodecoder/
DVideoDecoderTrace.h33 extern void TraceVideoDecoder(const char* cat, const char* fun, int line, const char* format, ...);
34 #define VIDEO_DECODER_TRACE(cat, format, ...) \ argument
35 TraceVideoDecoder(cat, __FUNCTION__, __LINE__, format, ##__VA_ARGS__)
37 #define ETRACE(format, ...) VIDEO_DECODER_TRACE("ERROR: ", format, ##__VA_ARGS__) argument
38 #define WTRACE(format, ...) VIDEO_DECODER_TRACE("WARNING: ", format, ##__VA_ARGS__) argument
39 #define ITRACE(format, ...) VIDEO_DECODER_TRACE("INFO: ", format, ##__VA_ARGS__) argument
40 #define VTRACE(format, ...) VIDEO_DECODER_TRACE("VERBOSE: ", format, ##__VA_ARGS__) argument
60 #define ETRACE(format, ...) argument
61 #define WTRACE(format, ...) argument
62 #define ITRACE(format, ...) argument
[all …]
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/include/
Dplatform_lib_macros.h49 #define TS_PRINTF(format, x...) \ argument
58 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
61 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
62 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
63 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
64 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
65 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/include/
Dviddec_debug.h13 …#define DEB_FNAME(format, args...) OS_PRINT("%s: %s[%d]:: " format, __FILE__, __FUNCTION__ , __LI… argument
14 #define CDEB(a, format, args...) if(a != 0) {DEB(format, ##args);} argument
16 #define DEB(format, args...) argument
18 #define CDEB(a, format, args...) argument
19 #define DEB_FNAME(format, args...) argument
24 #define DEB(format, args...) argument
26 #define CDEB(a, format, args...) argument
27 #define DEB_FNAME(format, args...) argument
/hardware/qcom/gps/msm8084/platform_lib_abstractions/
Dplatform_lib_macros.h34 #define TS_PRINTF(format, x...) \ argument
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
52 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
53 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
54 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
55 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
56 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
/hardware/qcom/gps/msm8960/platform_lib_abstractions/
Dplatform_lib_macros.h34 #define TS_PRINTF(format, x...) \ argument
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
52 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
53 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
54 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
55 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
56 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
/hardware/qcom/gps/msm8996/utils/platform_lib_abstractions/
Dplatform_lib_macros.h34 #define TS_PRINTF(format, x...) \ argument
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
52 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
53 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
54 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
55 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
56 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
/hardware/qcom/gps/platform_lib_abstractions/
Dplatform_lib_macros.h34 #define TS_PRINTF(format, x...) \ argument
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
52 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
53 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
54 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
55 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
56 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
/hardware/qcom/gps/msm8909/utils/platform_lib_abstractions/
Dplatform_lib_macros.h34 #define TS_PRINTF(format, x...) \ argument
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
52 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
53 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
54 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
55 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
56 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
/hardware/qcom/gps/msm8994/platform_lib_abstractions/
Dplatform_lib_macros.h34 #define TS_PRINTF(format, x...) \ argument
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
52 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
53 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
54 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
55 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
56 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp139 bool isUncompressedRgbFormat(int format) in isUncompressedRgbFormat() argument
143 switch (format) in isUncompressedRgbFormat()
166 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, in getAlignedWidthAndHeight() argument
171 if (isUncompressedRgbFormat(format) == true) { in getAlignedWidthAndHeight()
172 int tileEnabled = isMacroTileEnabled(format, usage); in getAlignedWidthAndHeight()
174 height, format, tileEnabled, aligned_w, aligned_h); in getAlignedWidthAndHeight()
178 if (isUBwcEnabled(format, usage)) { in getAlignedWidthAndHeight()
179 getUBwcWidthAndHeight(width, height, format, aligned_w, aligned_h); in getAlignedWidthAndHeight()
185 switch (format) in getAlignedWidthAndHeight()
255 width, height, format, 0,raster_mode, padding_threshold, in getAlignedWidthAndHeight()
[all …]
Dgr.h51 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,
71 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage);
76 bool isUBwcEnabled(int format, int usage);
79 bool isUncompressedRgbFormat(int format);
121 void getAlignedWidthAndHeight(int width, int height, int format,
130 void getGpuAlignedWidthHeight(int width, int height, int format,
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc/
Dhwc_debugger.cpp111 void HWCDebugHandler::Error(DebugTag tag, const char *format, ...) { in Error() argument
114 va_start(list, format); in Error()
115 __android_log_vprint(ANDROID_LOG_ERROR, LOG_TAG, format, list); in Error()
119 void HWCDebugHandler::Warning(DebugTag tag, const char *format, ...) { in Warning() argument
122 va_start(list, format); in Warning()
123 __android_log_vprint(ANDROID_LOG_WARN, LOG_TAG, format, list); in Warning()
127 void HWCDebugHandler::Info(DebugTag tag, const char *format, ...) { in Info() argument
130 va_start(list, format); in Info()
131 __android_log_vprint(ANDROID_LOG_INFO, LOG_TAG, format, list); in Info()
135 void HWCDebugHandler::Debug(DebugTag tag, const char *format, ...) { in Debug() argument
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_debugger.cpp111 void HWCDebugHandler::Error(DebugTag /*tag*/, const char *format, ...) { in Error() argument
113 va_start(list, format); in Error()
114 __android_log_vprint(ANDROID_LOG_ERROR, LOG_TAG, format, list); in Error()
117 void HWCDebugHandler::Warning(DebugTag /*tag*/, const char *format, ...) { in Warning() argument
119 va_start(list, format); in Warning()
120 __android_log_vprint(ANDROID_LOG_WARN, LOG_TAG, format, list); in Warning()
123 void HWCDebugHandler::Info(DebugTag tag, const char *format, ...) { in Info() argument
126 va_start(list, format); in Info()
127 __android_log_vprint(ANDROID_LOG_INFO, LOG_TAG, format, list); in Info()
131 void HWCDebugHandler::Debug(DebugTag tag, const char *format, ...) { in Debug() argument
[all …]
/hardware/qcom/display/msm8998/sdm/libs/utils/
Dformats.cpp36 bool IsUBWCFormat(LayerBufferFormat format) { in IsUBWCFormat() argument
37 switch (format) { in IsUBWCFormat()
51 bool Is10BitFormat(LayerBufferFormat format) { in Is10BitFormat() argument
52 switch (format) { in Is10BitFormat()
71 const char *GetFormatString(const LayerBufferFormat &format) { in GetFormatString() argument
72 switch (format) { in GetFormatString()
118 BufferLayout GetBufferLayout(LayerBufferFormat format) { in GetBufferLayout() argument
119 switch (format) { in GetBufferLayout()
123 return (IsUBWCFormat(format) ? kUBWC : kLinear); in GetBufferLayout()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.cpp87 auto format = layer_buffer->format; in SetLayerBuffer() local
88 layer_buffer->format = GetSDMFormat(handle->format, handle->flags); in SetLayerBuffer()
89 if (format != layer_buffer->format) { in SetLayerBuffer()
161 layer_->input_buffer->format = kFormatARGB8888; in SetLayerColor()
314 LayerBufferFormat format = kFormatInvalid; in GetSDMFormat() local
318 format = kFormatRGBA8888Ubwc; in GetSDMFormat()
321 format = kFormatRGBX8888Ubwc; in GetSDMFormat()
324 format = kFormatBGR565Ubwc; in GetSDMFormat()
329 format = kFormatYCbCr420SPVenusUbwc; in GetSDMFormat()
335 return format; in GetSDMFormat()
[all …]
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp167 int f = hnd->format; in getAlignedWidthAndHeight()
182 bool isUncompressedRgbFormat(int format) in isUncompressedRgbFormat() argument
186 switch (format) in isUncompressedRgbFormat()
217 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, in getAlignedWidthAndHeight() argument
220 bool ubwc_enabled = isUBwcEnabled(format, usage); in getAlignedWidthAndHeight()
223 if (isUncompressedRgbFormat(format) == true) { in getAlignedWidthAndHeight()
224 int tileEnabled = ubwc_enabled || isMacroTileEnabled(format, usage); in getAlignedWidthAndHeight()
225 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); in getAlignedWidthAndHeight()
227 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); in getAlignedWidthAndHeight()
232 switch (format) in getAlignedWidthAndHeight()
[all …]
Dgr.h51 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,
71 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage);
77 bool isUBwcEnabled(int format, int usage);
80 bool isUncompressedRgbFormat(int format);
122 void getAlignedWidthAndHeight(int width, int height, int format,
139 void getGpuAlignedWidthHeight(int width, int height, int format,
[all …]
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp200 int format = descriptor.GetFormat(); in GetSize() local
206 if (IsUBwcEnabled(format, prod_usage, cons_usage)) { in GetSize()
207 return GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize()
210 if (IsUncompressedRGBFormat(format)) { in GetSize()
211 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize()
216 if (IsCompressedRGBFormat(format)) { in GetSize()
222 switch (format) { in GetSize()
247 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width & 1) || (height & 1))) { in GetSize()
290 ALOGE("%s: Unrecognized pixel format: 0x%x", __FUNCTION__, format); in GetSize()
297 void Allocator::GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, in GetBufferSizeAndDimensions() argument
[all …]
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp192 int format = descriptor.GetFormat(); in GetSize() local
198 if (IsUBwcEnabled(format, prod_usage, cons_usage)) { in GetSize()
199 return GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize()
202 if (IsUncompressedRGBFormat(format)) { in GetSize()
203 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize()
208 if (IsCompressedRGBFormat(format)) { in GetSize()
214 switch (format) { in GetSize()
235 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width & 1) || (height & 1))) { in GetSize()
278 ALOGE("%s: Unrecognized pixel format: 0x%x", __FUNCTION__, format); in GetSize()
285 void Allocator::GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, in GetBufferSizeAndDimensions() argument
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp127 layer_buffer->format = GetSDMFormat(handle->format, handle->flags); in SetLayerBuffer()
197 layer_->input_buffer.format = kFormatARGB8888; in SetLayerBuffer()
348 LayerBufferFormat format = kFormatInvalid; in SetLayerBuffer() local
352 format = kFormatRGBA8888Ubwc; in SetLayerBuffer()
355 format = kFormatRGBX8888Ubwc; in SetLayerBuffer()
358 format = kFormatBGR565Ubwc; in SetLayerBuffer()
363 format = kFormatYCbCr420SPVenusUbwc; in SetLayerBuffer()
369 return format; in SetLayerBuffer()
374 format = kFormatRGBA8888; in SetLayerBuffer()
377 format = kFormatRGBA5551; in SetLayerBuffer()
[all …]

12345678910>>...28