Home
last modified time | relevance | path

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

123456

/hardware/invensense/60xx/libsensors_iio/software/core/driver/include/
Dlog.h120 #define MPL_LOGV(fmt, ...) \ argument
124 MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__);\
128 #define MPL_LOGV(fmt, ...) \
131 MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__);\
136 #define MPL_LOGV(fmt, ...) MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__)
146 #define MPL_LOGV_IF(cond, fmt, ...) \ argument
147 do { if (0) MPL_LOG(fmt, ##__VA_ARGS__); } while (0)
149 #define MPL_LOGV_IF(cond, fmt, ...) \
151 ? MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__) \
160 #define MPL_LOGD(fmt, ...) MPL_LOG(LOG_DEBUG, MPL_LOG_TAG, fmt, ##__VA_ARGS__) argument
[all …]
/hardware/invensense/6515/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/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/invensense/60xx/mlsdk/platform/include/
Dlog.h130 #define MPL_LOGV(fmt, ...) \ argument
133 MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__);\
136 #define MPL_LOGV(fmt, ...) MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__)
146 #define MPL_LOGV_IF(cond, fmt, ...) \ argument
147 do { if (0) MPL_LOG(fmt, ##__VA_ARGS__); } while (0)
149 #define MPL_LOGV_IF(cond, fmt, ...) \
151 ? MPL_LOG(LOG_VERBOSE, MPL_LOG_TAG, fmt, ##__VA_ARGS__) \
160 #define MPL_LOGD(fmt, ...) MPL_LOG(LOG_DEBUG, MPL_LOG_TAG, fmt, ##__VA_ARGS__) argument
164 #define MPL_LOGD_IF(cond, fmt, ...) \ argument
166 ? MPL_LOG(LOG_DEBUG, MPL_LOG_TAG, fmt, ##__VA_ARGS__) \
[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/intel/img/hwcomposer/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/samsung_slsi/exynos5/libhwjpeg/
DExynosJpegBase.cpp45 #define JPEG_ERROR_LOG(fmt,...) argument
87 struct v4l2_format fmt; in t_v4l2SetFmt() local
90 fmt.type = eType; in t_v4l2SetFmt()
91 fmt.fmt.pix_mp.width = pstConfig->width; in t_v4l2SetFmt()
92 fmt.fmt.pix_mp.height = pstConfig->height; in t_v4l2SetFmt()
93 fmt.fmt.pix_mp.field = V4L2_FIELD_ANY; in t_v4l2SetFmt()
94 fmt.fmt.pix_mp.num_planes = pstConfig->numOfPlanes; in t_v4l2SetFmt()
97 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_JPEG; in t_v4l2SetFmt()
99 switch (fmt.type) { in t_v4l2SetFmt()
105 fmt.fmt.pix_mp.pixelformat = pstConfig->pix.enc_fmt.in_fmt; in t_v4l2SetFmt()
[all …]
/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/qcom/media/mm-video-v4l2/vidc/common/inc/
Dvidc_debug.h45 #define DEBUG_PRINT_ERROR(fmt, args...) \ argument
47 ALOGE(fmt,##args)
49 #define DEBUG_PRINT_INFO(fmt, args...) \ argument
51 ALOGI(fmt,##args)
53 #define DEBUG_PRINT_LOW(fmt, args...) \ argument
55 ALOGD(fmt,##args)
57 #define DEBUG_PRINT_HIGH(fmt, args...) \ argument
59 ALOGD(fmt,##args)
/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/invensense/60xx/mlsdk/platform/linux/
Dlog_linux.c45 int _MLPrintLog (int priority, const char* tag, const char* fmt, ...) in _MLPrintLog() argument
50 va_start(ap, fmt); in _MLPrintLog()
51 result = _MLPrintVaLog(priority,tag,fmt,ap); in _MLPrintLog()
57 int _MLPrintVaLog(int priority, const char* tag, const char* fmt, va_list args) in _MLPrintVaLog() argument
64 if (NULL == fmt) { in _MLPrintVaLog()
65 fmt = ""; in _MLPrintVaLog()
97 priority_char, tag, fmt); in _MLPrintVaLog()
/hardware/samsung_slsi/exynos5/mobicore/common/LogWrapper/
Dlog.h67 #define LOG_I(fmt, args...) DUMMY_FUNCTION() argument
68 #define LOG_W(fmt, args...) DUMMY_FUNCTION() argument
71 #define LOG_I(fmt, args...) LOG_i(fmt";%d", ## args, __LINE__) argument
72 #define LOG_W(fmt, args...) LOG_w(fmt";%d", ## args, __LINE__) argument
75 #define _LOG_E(fmt, args...) LOG_e(fmt, ## args) argument
98 #define LOG_I(fmt, args...) DUMMY_FUNCTION() argument
99 #define LOG_W(fmt, args...) DUMMY_FUNCTION() argument
/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()
/hardware/broadcom/libbt/src/
Duserial_vendor.c205 if(p_cfg->fmt & USERIAL_DATABITS_8) in userial_vendor_open()
207 else if(p_cfg->fmt & USERIAL_DATABITS_7) in userial_vendor_open()
209 else if(p_cfg->fmt & USERIAL_DATABITS_6) in userial_vendor_open()
211 else if(p_cfg->fmt & USERIAL_DATABITS_5) in userial_vendor_open()
219 if(p_cfg->fmt & USERIAL_PARITY_NONE) in userial_vendor_open()
221 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) in userial_vendor_open()
223 else if(p_cfg->fmt & USERIAL_PARITY_ODD) in userial_vendor_open()
231 if(p_cfg->fmt & USERIAL_STOPBITS_1) in userial_vendor_open()
233 else if(p_cfg->fmt & USERIAL_STOPBITS_2) in userial_vendor_open()
/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/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/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/samsung_slsi/exynos5/include/
Dexynos_v4l2.h60 bool exynos_v4l2_enum_fmt(int fd, enum v4l2_buf_type type, unsigned int fmt);
62 int exynos_v4l2_g_fmt(int fd, struct v4l2_format *fmt);
64 int exynos_v4l2_s_fmt(int fd, struct v4l2_format *fmt);
66 int exynos_v4l2_try_fmt(int fd, struct v4l2_format *fmt);
108 int exynos_subdev_g_fmt(int fd, struct v4l2_subdev_format *fmt);
110 int exynos_subdev_s_fmt(int fd, struct v4l2_subdev_format *fmt);
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp837 struct v4l2_format fmt; in venc_open() local
877 fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open()
878 fmt.fmt.pix_mp.height = m_sVenc_cfg.dvs_height; in venc_open()
879 fmt.fmt.pix_mp.width = m_sVenc_cfg.dvs_width; in venc_open()
880 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.codectype; in venc_open()
884 ret = ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt); in venc_open()
891 m_sOutput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_open()
893 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open()
894 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height; in venc_open()
895 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; in venc_open()
[all …]
/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 …]
/hardware/samsung_slsi/exynos5/libv4l2/
Dexynos_v4l2.c283 bool exynos_v4l2_enum_fmt(int fd, enum v4l2_buf_type type, unsigned int fmt) in exynos_v4l2_enum_fmt() argument
294 if (fmtdesc.pixelformat == fmt) { in exynos_v4l2_enum_fmt()
295 … ALOGE("Passed fmt = %#x found pixel format[%d]: %s", fmt, fmtdesc.index, fmtdesc.description); in exynos_v4l2_enum_fmt()
313 int exynos_v4l2_g_fmt(int fd, struct v4l2_format *fmt) in exynos_v4l2_g_fmt() argument
324 if (!fmt) { in exynos_v4l2_g_fmt()
329 if (__v4l2_check_buf_type(fmt->type) == false) { in exynos_v4l2_g_fmt()
334 ret = ioctl(fd, VIDIOC_G_FMT, fmt); in exynos_v4l2_g_fmt()
345 static int __v4l2_s_fmt(int fd, unsigned int request, struct v4l2_format *fmt) in __v4l2_s_fmt() argument
356 if (!fmt) { in __v4l2_s_fmt()
361 if (__v4l2_check_buf_type(fmt->type) == false) { in __v4l2_s_fmt()
[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()

123456