Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 152) sorted by relevance

1234567

/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dlog.h142 #define MPL_LOGV(fmt, ...) \ argument
146 MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__);\
152 #define MPL_LOGV(fmt, ...) \
155 MPL_LOG(MPL_LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__);\
158 #define MPL_LOGV(fmt, ...) \
161 MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__);\
168 #define MPL_LOGV(fmt, ...) MPL_LOG(MPL_LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__)
170 #define MPL_LOGV(fmt, ...) MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__)
181 #define MPL_LOGV_IF(cond, fmt, ...) \ argument
182 do { if (0) MPL_LOG(fmt, ##__VA_ARGS__); } while (0)
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dlog.h124 #define MPL_LOGV(fmt, ...) \ argument
128 MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__);\
132 #define MPL_LOGV(fmt, ...) \
135 MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__);\
140 #define MPL_LOGV(fmt, ...) MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__)
150 #define MPL_LOGV_IF(cond, fmt, ...) \ argument
151 do { if (0) MPL_LOG(fmt, ##__VA_ARGS__); } while (0)
153 #define MPL_LOGV_IF(cond, fmt, ...) \
155 ? MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__) \
164 #define MPL_LOGD(fmt, ...) MPL_LOG(LOG_DEBUG, MPL_LOG_TAG, fmt, ##__VA_ARGS__) argument
[all …]
/hardware/ti/omap4-aah/domx/mm_osal/inc/
Dtimm_osal_trace.h131 const char *fmt, ...);
136 #define __TIMM_OSAL_Trace(level, tracegrp, fmt, ...) \ argument
141 __TIMM_OSAL_TraceFunction(&loc, fmt"\n", ##__VA_ARGS__); \
147 #define TIMM_OSAL_Error(fmt,...) TIMM_OSAL_ErrorExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_ARGS__) argument
152 #define TIMM_OSAL_Warning(fmt,...) TIMM_OSAL_WarningExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_ARG… argument
157 #define TIMM_OSAL_Profiling(fmt,...) TIMM_OSAL_ProfilingExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA… argument
162 #define TIMM_OSAL_Info(fmt,...) TIMM_OSAL_InfoExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_ARGS__) argument
167 #define TIMM_OSAL_Debug(fmt,...) TIMM_OSAL_DebugExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_ARGS__) argument
173 #define TIMM_OSAL_Entering(fmt,...) TIMM_OSAL_EnteringExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_A… argument
174 #define TIMM_OSAL_Exiting(fmt,...) TIMM_OSAL_ExitingExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_ARG… argument
[all …]
/hardware/ti/omap4xxx/domx/mm_osal/inc/
Dtimm_osal_trace.h112 const char *fmt, ...);
117 #define __TIMM_OSAL_Trace(level, tracegrp, fmt, ...) \ argument
122 __TIMM_OSAL_TraceFunction(&loc, fmt"\n", ##__VA_ARGS__); \
128 #define TIMM_OSAL_Error(fmt,...) TIMM_OSAL_ErrorExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_ARGS__) argument
133 #define TIMM_OSAL_Warning(fmt,...) TIMM_OSAL_WarningExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_ARG… argument
138 #define TIMM_OSAL_Info(fmt,...) TIMM_OSAL_InfoExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_ARGS__) argument
143 #define TIMM_OSAL_Debug(fmt,...) TIMM_OSAL_DebugExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_ARGS__) argument
149 #define TIMM_OSAL_Entering(fmt,...) TIMM_OSAL_EnteringExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_A… argument
150 #define TIMM_OSAL_Exiting(fmt,...) TIMM_OSAL_ExitingExt(TIMM_OSAL_TRACEGRP_SYSTEM, fmt, ##__VA_ARG… argument
159 #define TIMM_OSAL_ErrorExt(tracegrp, fmt, ...) __TIMM_OSAL_Trace(1, tracegrp, "ERROR: "fmt, ##__VA… argument
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_dbg.h47 #define CDBG(fmt, args...) do{}while(0) argument
48 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument
56 #define CDBG(fmt, args...) ALOGE(fmt, ##args) argument
59 #define CDBG(fmt, args...) fprintf(stderr, fmt, ##args) argument
60 #define ALOGE(fmt, args...) fprintf(stderr, fmt, ##args) argument
65 #define CDBG_HIGH(fmt, args...) ALOGE(fmt, ##args) argument
66 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument
68 #define CDBG_HIGH(fmt, args...) fprintf(stderr, fmt, ##args) argument
69 #define CDBG_ERROR(fmt, args...) fprintf(stderr, fmt, ##args) argument
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_dbg.h52 #define CDBG(fmt, args...) do{}while(0) argument
53 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument
61 #define CDBG(fmt, args...) ALOGD_IF(gMmCameraIntfLogLevel >= 2, fmt, ##args) argument
64 #define CDBG(fmt, args...) fprintf(stderr, fmt, ##args) argument
65 #define ALOGE(fmt, args...) fprintf(stderr, fmt, ##args) argument
70 #define CDBG_HIGH(fmt, args...) ALOGD_IF(gMmCameraIntfLogLevel >= 1, fmt, ##args) argument
71 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument
73 #define CDBG_HIGH(fmt, args...) fprintf(stderr, fmt, ##args) argument
74 #define CDBG_ERROR(fmt, args...) fprintf(stderr, fmt, ##args) argument
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_dbg.h54 #define CDBG(fmt, args...) do{}while(0) argument
62 #define CDBG(fmt, args...) ALOGD_IF(gMmJpegIntfLogLevel >= 2, fmt, ##args) argument
65 #define CDBG(fmt, args...) fprintf(stderr, fmt, ##args) argument
66 #define ALOGE(fmt, args...) fprintf(stderr, fmt, ##args) argument
71 #define CDBG_HIGH(fmt, args...) ALOGD_IF(gMmJpegIntfLogLevel >= 1, fmt, ##args) argument
72 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument
74 #define CDBG_HIGH(fmt, args...) fprintf(stderr, fmt, ##args) argument
75 #define CDBG_ERROR(fmt, args...) fprintf(stderr, fmt, ##args) argument
/hardware/intel/img/hwcomposer/merrifield/common/utils/
DHwcTrace.h29 #define VTRACE(fmt,...) ALOGV("%s: "fmt, __func__, ##__VA_ARGS__) argument
30 #define DTRACE(fmt,...) ALOGD("%s: "fmt, __func__, ##__VA_ARGS__) argument
31 #define ITRACE(fmt,...) ALOGI("%s: "fmt, __func__, ##__VA_ARGS__) argument
32 #define WTRACE(fmt,...) ALOGW("%s: "fmt, __func__, ##__VA_ARGS__) argument
33 #define ETRACE(fmt,...) ALOGE("%s: "fmt, __func__, ##__VA_ARGS__) argument
48 #define ATRACE(fmt,...) ALOGV("%s(args): "fmt, __func__, ##__VA_ARGS__);
50 #define ATRACE(fmt,...) ((void)0) argument
DDump.cpp36 void Dump::append(const char *fmt, ...) in append() argument
44 va_start(ap, fmt); in append()
45 len = vsnprintf(mBuf, mLen, fmt, ap); in append()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/utils/
DHwcTrace.h29 #define VLOGTRACE(fmt,...) ALOGV("%s: " fmt, __func__, ##__VA_ARGS__) argument
30 #define DLOGTRACE(fmt,...) ALOGD("%s: " fmt, __func__, ##__VA_ARGS__) argument
31 #define ILOGTRACE(fmt,...) ALOGI("%s: " fmt, __func__, ##__VA_ARGS__) argument
32 #define WLOGTRACE(fmt,...) ALOGW("%s: " fmt, __func__, ##__VA_ARGS__) argument
33 #define ELOGTRACE(fmt,...) ALOGE("%s: " fmt, __func__, ##__VA_ARGS__) argument
48 #define ALOGTRACE(fmt,...) ALOGV("%s(args): " fmt, __func__, ##__VA_ARGS__);
50 #define ALOGTRACE(fmt,...) ((void)0) argument
DDump.cpp36 void Dump::append(const char *fmt, ...) in append() argument
44 va_start(ap, fmt); in append()
45 len = vsnprintf(mBuf, mLen, fmt, ap); in append()
/hardware/ti/omap4-aah/domx/domx/omx_rpc/inc/
Domx_rpc_utils.h67 #define DOMX_ERROR(fmt,...) TIMM_OSAL_Error(fmt, ##__VA_ARGS__) argument
68 #define DOMX_WARN(fmt,...) TIMM_OSAL_Warning(fmt, ##__VA_ARGS__) argument
69 #define DOMX_PROF(fmt,...) TIMM_OSAL_Profiling(fmt, ##__VA_ARGS__) argument
70 #define DOMX_INFO(fmt,...) TIMM_OSAL_Info(fmt, ##__VA_ARGS__) argument
71 #define DOMX_DEBUG(fmt,...) TIMM_OSAL_Debug(fmt, ##__VA_ARGS__) argument
72 #define DOMX_ENTER(fmt,...) TIMM_OSAL_Entering(fmt, ##__VA_ARGS__) argument
73 #define DOMX_EXIT(fmt,...) TIMM_OSAL_Exiting(fmt, ##__VA_ARGS__) argument
/hardware/ti/omap4xxx/domx/domx/omx_rpc/inc/
Domx_rpc_utils.h67 #define DOMX_ERROR(fmt,...) TIMM_OSAL_Error(fmt, ##__VA_ARGS__) argument
68 #define DOMX_WARN(fmt,...) TIMM_OSAL_Warning(fmt, ##__VA_ARGS__) argument
69 #define DOMX_INFO(fmt,...) TIMM_OSAL_Info(fmt, ##__VA_ARGS__) argument
70 #define DOMX_DEBUG(fmt,...) TIMM_OSAL_Debug(fmt, ##__VA_ARGS__) argument
71 #define DOMX_ENTER(fmt,...) TIMM_OSAL_Entering(fmt, ##__VA_ARGS__) argument
72 #define DOMX_EXIT(fmt,...) TIMM_OSAL_Exiting(fmt, ##__VA_ARGS__) argument
/hardware/qcom/media/mm-video-v4l2/vidc/common/inc/
Dvidc_debug.h46 #define DEBUG_PRINT_ERROR(fmt, args...) \ argument
48 ALOGE(fmt,##args)
50 #define DEBUG_PRINT_INFO(fmt, args...) \ argument
52 ALOGI(fmt,##args)
54 #define DEBUG_PRINT_LOW(fmt, args...) \ argument
56 ALOGD(fmt,##args)
58 #define DEBUG_PRINT_HIGH(fmt, args...) \ argument
60 ALOGD(fmt,##args)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/
Dvpx_image.c44 vpx_img_fmt_t fmt, in img_alloc_helper() argument
71 switch (fmt) { in img_alloc_helper()
103 switch (fmt) { in img_alloc_helper()
115 switch (fmt) { in img_alloc_helper()
132 s = (fmt & VPX_IMG_FMT_PLANAR) ? w : bps * w / 8; in img_alloc_helper()
150 img->img_data = img_buf_memalign(buf_align, ((fmt & VPX_IMG_FMT_PLANAR) ? in img_alloc_helper()
158 img->fmt = fmt; in img_alloc_helper()
179 vpx_img_fmt_t fmt, in vpx_img_alloc() argument
183 return img_alloc_helper(img, fmt, d_w, d_h, align, align, NULL); in vpx_img_alloc()
187 vpx_img_fmt_t fmt, in vpx_img_wrap() argument
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dy4menc.c15 vpx_img_fmt_t fmt) { in y4m_write_file_header() argument
16 const char *const color = fmt == VPX_IMG_FMT_444A ? "C444alpha\n" : in y4m_write_file_header()
17 fmt == VPX_IMG_FMT_I444 ? "C444\n" : in y4m_write_file_header()
18 fmt == VPX_IMG_FMT_I422 ? "C422\n" : in y4m_write_file_header()
Dtools_common.c41 va_start(ap, fmt);\
44 vfprintf(stderr, fmt, ap);\
58 void die(const char *fmt, ...) { in die() argument
63 void fatal(const char *fmt, ...) { in fatal() argument
68 void warn(const char *fmt, ...) { in warn() argument
100 yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V : VPX_PLANE_U]; in read_yuv_frame()
104 yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U : VPX_PLANE_V]; in read_yuv_frame()
/hardware/ti/omap4-aah/
Dtm.c5 static void printf_log(const char *fmt, ...) in printf_log() argument
8 va_start(lst, fmt); in printf_log()
9 vprintf(fmt, lst); in printf_log()
14 extern void (*malloc_log)(const char *fmt, ...);
/hardware/ti/omap4xxx/
Dtm.c5 static void printf_log(const char *fmt, ...) in printf_log() argument
8 va_start(lst, fmt); in printf_log()
9 vprintf(fmt, lst); in printf_log()
14 extern void (*malloc_log)(const char *fmt, ...);
/hardware/broadcom/libbt/src/
Duserial_vendor.c206 if(p_cfg->fmt & USERIAL_DATABITS_8) in userial_vendor_open()
208 else if(p_cfg->fmt & USERIAL_DATABITS_7) in userial_vendor_open()
210 else if(p_cfg->fmt & USERIAL_DATABITS_6) in userial_vendor_open()
212 else if(p_cfg->fmt & USERIAL_DATABITS_5) in userial_vendor_open()
220 if(p_cfg->fmt & USERIAL_PARITY_NONE) in userial_vendor_open()
222 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) in userial_vendor_open()
224 else if(p_cfg->fmt & USERIAL_PARITY_ODD) in userial_vendor_open()
232 if(p_cfg->fmt & USERIAL_STOPBITS_1) in userial_vendor_open()
234 else if(p_cfg->fmt & USERIAL_STOPBITS_2) in userial_vendor_open()
/hardware/ti/omap4xxx/domx/mm_osal/src/
Dtimm_osal_trace.c94 const char *fmt, ...) in __TIMM_OSAL_TraceFunction() argument
107 va_start(ap, fmt); /* make ap point to first arg after 'fmt' */ in __TIMM_OSAL_TraceFunction()
116 vsprintf(string, fmt, ap); in __TIMM_OSAL_TraceFunction()
125 vprintf(fmt, ap); in __TIMM_OSAL_TraceFunction()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhci_uart.c241 if(p_cfg->fmt & USERIAL_DATABITS_8) in userial_vendor_open()
243 else if(p_cfg->fmt & USERIAL_DATABITS_7) in userial_vendor_open()
245 else if(p_cfg->fmt & USERIAL_DATABITS_6) in userial_vendor_open()
247 else if(p_cfg->fmt & USERIAL_DATABITS_5) in userial_vendor_open()
255 if(p_cfg->fmt & USERIAL_PARITY_NONE) in userial_vendor_open()
257 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) in userial_vendor_open()
259 else if(p_cfg->fmt & USERIAL_PARITY_ODD) in userial_vendor_open()
267 if(p_cfg->fmt & USERIAL_STOPBITS_1) in userial_vendor_open()
269 else if(p_cfg->fmt & USERIAL_STOPBITS_2) in userial_vendor_open()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp922 struct v4l2_format fmt; in venc_open() local
962 fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open()
963 fmt.fmt.pix_mp.height = m_sVenc_cfg.dvs_height; in venc_open()
964 fmt.fmt.pix_mp.width = m_sVenc_cfg.dvs_width; in venc_open()
965 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.codectype; in venc_open()
969 ret = ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt); in venc_open()
976 m_sOutput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_open()
978 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open()
979 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height; in venc_open()
980 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; in venc_open()
[all …]
/hardware/ti/omap4-aah/domx/mm_osal/src/
Dtimm_osal_trace.c123 const char *fmt, ...) in __TIMM_OSAL_TraceFunction() argument
136 va_start(ap, fmt); /* make ap point to first arg after 'fmt' */ in __TIMM_OSAL_TraceFunction()
152 vsprintf(string, fmt, ap); in __TIMM_OSAL_TraceFunction()
168 vprintf(fmt, ap); in __TIMM_OSAL_TraceFunction()
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp326 struct v4l2_format fmt; in venc_open() local
359 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open()
360 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height; in venc_open()
361 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; in venc_open()
362 fmt.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_NV12; in venc_open()
364 ret = ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt); in venc_open()
366 m_sInput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_open()
369 fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open()
370 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height; in venc_open()
371 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; in venc_open()
[all …]

1234567