Home
last modified time | relevance | path

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

12345678910>>...36

/bsp/ft2004/libraries/bsp/standlone/
A Dft_debug.h50 #define LOG_FORMAT(letter, format) LOG_COLOR_##letter " %s: " format LOG_RESET_COLOR "\r\n" argument
62 #define EARLY_LOGE(tag, format, ...) LOG_EARLY_IMPL(tag, format, FT_LOG_ERROR, E, ##__VA_ARGS__) argument
63 #define EARLY_LOGI(tag, format, ...) LOG_EARLY_IMPL(tag, format, FT_LOG_INFO, I, ##__VA_ARGS__) argument
64 #define EARLY_LOGD(tag, format, ...) LOG_EARLY_IMPL(tag, format, FT_LOG_DEBUG, D, ##__VA_ARGS__) argument
65 #define EARLY_LOGW(tag, format, ...) LOG_EARLY_IMPL(tag, format, FT_LOG_WARN, W, ##__VA_ARGS__) argument
68 #define FT_DEBUG_PRINT_I(TAG, format, ...) EARLY_LOGI(TAG, format, ##__VA_ARGS__) argument
69 #define FT_DEBUG_PRINT_E(TAG, format, ...) EARLY_LOGE(TAG, format, ##__VA_ARGS__) argument
70 #define FT_DEBUG_PRINT_D(TAG, format, ...) EARLY_LOGD(TAG, format, ##__VA_ARGS__) argument
71 #define FT_DEBUG_PRINT_W(TAG, format, ...) EARLY_LOGW(TAG, format, ##__VA_ARGS__) argument
72 #define FT_DEBUG_PRINT_V(TAG, format, ...) EARLY_LOGV(TAG, format, ##__VA_ARGS__) argument
[all …]
A Dft_trace.h29 #define FT_MEM_TRACE(format, ...) FT_DEBUG_PRINT_I(FT_MEM_TRACE_TAG, format, ##__VA_ARGS__) argument
31 #define FT_MEM_TRACE(format, ...)
37 #define FT_LOGIC_TRACE(format, ...) FT_DEBUG_PRINT_I(FT_LOGIC_TRACE_TAG, format, ##__VA_ARGS__) argument
40 #define FT_LOGIC_TRACE(format, ...)
/bsp/simulator/SDL2/include/
A DSDL_pixels.h137 #define SDL_ISPIXELFORMAT_INDEXED(format) \ argument
138 (!SDL_ISPIXELFORMAT_FOURCC(format) && \
144 #define SDL_ISPIXELFORMAT_PACKED(format) \ argument
145 (!SDL_ISPIXELFORMAT_FOURCC(format) && \
150 #define SDL_ISPIXELFORMAT_ARRAY(format) \ argument
151 (!SDL_ISPIXELFORMAT_FOURCC(format) && \
158 #define SDL_ISPIXELFORMAT_ALPHA(format) \ argument
159 ((SDL_ISPIXELFORMAT_PACKED(format) && \
164 (SDL_ISPIXELFORMAT_ARRAY(format) && \
172 ((format) && (SDL_PIXELFLAG(format) != 1))
[all …]
/bsp/phytium/libraries/port/fdriver_port/
A Dfdrivers_port.h69 #define FT_DEBUG_PRINT_W(TAG, format, ...) LOG_W(format, ##__VA_ARGS__) argument
71 #define FT_DEBUG_PRINT_W(TAG, format, ...) LOG_W(...) argument
75 #define FT_DEBUG_PRINT_I(TAG, format, ...) LOG_I(format, ##__VA_ARGS__) argument
77 #define FT_DEBUG_PRINT_I(TAG, format, ...) LOG_I(...) argument
81 #define FT_DEBUG_PRINT_E(TAG, format, ...) LOG_E(format, ##__VA_ARGS__) argument
83 #define FT_DEBUG_PRINT_E(TAG, format, ...) LOG_E(...) argument
87 #define FT_DEBUG_PRINT_D(TAG, format, ...) LOG_D(format, ##__VA_ARGS__) argument
89 #define FT_DEBUG_PRINT_D(TAG, format, ...) LOG_D(...) argument
93 #define FT_DEBUG_PRINT_V(TAG, format, ...) LOG_D(format, ##__VA_ARGS__) argument
95 #define FT_DEBUG_PRINT_V(TAG, format, ...) LOG_D(...) argument
/bsp/allwinner/libraries/sunxi-hal/hal/source/sdmmc/
A D_sd_define.h52 #define SD_LOGD(format, args...) ROM_DBG(card->debug_mask, "SD:"format, ##args) argument
53 #define SD_LOGN(format, args...) ROM_INF(card->debug_mask, "SD:"format, ##args) argument
54 #define SD_LOGW(format, args...) ROM_WRN(card->debug_mask, "SD:"format, ##args) argument
55 #define SD_LOGW_RAW(mask, format, args...) ROM_WRN(mask, "SD:"format, ##args) argument
56 #define SD_LOGE(format, args...) ROM_ERR(card->debug_mask, "SD:"format, ##args) argument
57 #define SD_LOGE_RAW(mask, format, args...) ROM_ERR(mask, "SD:"format, ##args) argument
58 #define SD_LOGA(format, args...) ROM_ANY(card->debug_mask, "SD:"format, ##args) argument
83 #define SDC_LOGD(format, args...) ROM_DBG(host->debug_mask, "SDC:"format, ##args) argument
84 #define SDC_LOGN(format, args...) ROM_INF(host->debug_mask, "SDC:"format, ##args) argument
86 #define SDC_LOGW_RAW(mask, format, args...) ROM_WRN(mask, "SDC:"format, ##args) argument
[all …]
/bsp/phytium/libraries/port/fboard_port/
A Dfboard_port.h33 #define FT_DEBUG_PRINT_W(TAG, format, ...) LOG_W(format, ##__VA_ARGS__) argument
35 #define FT_DEBUG_PRINT_W(TAG, format, ...) LOG_W(...) argument
39 #define FT_DEBUG_PRINT_I(TAG, format, ...) LOG_I(format, ##__VA_ARGS__) argument
41 #define FT_DEBUG_PRINT_I(TAG, format, ...) LOG_I(...) argument
45 #define FT_DEBUG_PRINT_E(TAG, format, ...) LOG_E(format, ##__VA_ARGS__) argument
47 #define FT_DEBUG_PRINT_E(TAG, format, ...) LOG_E(...) argument
51 #define FT_DEBUG_PRINT_D(TAG, format, ...) LOG_D(format, ##__VA_ARGS__) argument
53 #define FT_DEBUG_PRINT_D(TAG, format, ...) LOG_D(...) argument
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-lib/
A Dpcm_plug.c237 slv->format = clt->format; in snd_pcm_plug_change_rate()
355 slv->format = clt->format; in snd_pcm_plug_change_channels()
369 if (clt->format == slv->format && in snd_pcm_plug_change_format()
442 while (client->format != p.format || in snd_pcm_plug_insert_plugins()
577 for (format = 0; format <= SND_PCM_FORMAT_LAST; format++) { in snd_pcm_plug_hw_refine_schange()
593 for (format = 0; format <= SND_PCM_FORMAT_LAST; format++) { in snd_pcm_plug_hw_refine_schange()
598 for (format = 0; format <= SND_PCM_FORMAT_LAST; format++) { in snd_pcm_plug_hw_refine_schange()
663 for (format = 0; format <= SND_PCM_FORMAT_LAST; format++) { in snd_pcm_plug_hw_refine_cchange()
679 for (format = 0; format <= SND_PCM_FORMAT_LAST; format++) { in snd_pcm_plug_hw_refine_cchange()
684 for (format = 0; format <= SND_PCM_FORMAT_LAST; format++) { in snd_pcm_plug_hw_refine_cchange()
[all …]
A Dpcm_misc.c35 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed() argument
37 switch (format) { in snd_pcm_format_signed()
59 int snd_pcm_format_unsigned(snd_pcm_format_t format) in snd_pcm_format_unsigned() argument
63 val = snd_pcm_format_signed(format); in snd_pcm_format_unsigned()
69 int snd_pcm_format_linear(snd_pcm_format_t format) in snd_pcm_format_linear() argument
71 return snd_pcm_format_signed(format) >= 0; in snd_pcm_format_linear()
76 switch (format) { in snd_pcm_format_little_endian()
96 int snd_pcm_format_big_endian(snd_pcm_format_t format) in snd_pcm_format_big_endian() argument
100 val = snd_pcm_format_little_endian(format); in snd_pcm_format_big_endian()
106 int snd_pcm_format_width(snd_pcm_format_t format) in snd_pcm_format_width() argument
[all …]
/bsp/ft2004/libraries/bsp/ft_gpio/
A Dft_gpio.h33 #define FT_GPIO_ERROR(format, ...) FT_DEBUG_PRINT_E(FT_GPIO_DEBUG_TAG, format, ##__VA_ARGS__) argument
35 #define FT_GPIO_DEBUG_I(format, ...) FT_DEBUG_PRINT_I(FT_GPIO_DEBUG_TAG, format, ##__VA_ARGS__) argument
36 #define FT_GPIO_DEBUG_W(format, ...) FT_DEBUG_PRINT_W(FT_GPIO_DEBUG_TAG, format, ##__VA_ARGS__) argument
38 #define FT_GPIO_DEBUG_I(format, ...)
39 #define FT_GPIO_DEBUG_W(format, ...)
/bsp/yichip/yc3121-pos/Libraries/core/
A Dsystem.c37 void MyPrintf(char *format, ...) in MyPrintf() argument
44 va_start(vaArgP, format); in MyPrintf()
46 while (*format) in MyPrintf()
49 for (ulIdx = 0; (format[ulIdx] != '%') && (format[ulIdx] != '\0'); ulIdx++) in MyPrintf()
56 printfsend(UART0, (uint8_t *)format, ulIdx); in MyPrintf()
59 format += ulIdx; in MyPrintf()
61 if (*format == '%') in MyPrintf()
63 format++; in MyPrintf()
71 switch (*format++) in MyPrintf()
84 if ((format[-1] == '0') && (ulCount == 0)) in MyPrintf()
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/g2d_rcq/
A Dg2d_rotate.c142 write_wvalue(ROT_IFMT, src->format & 0x3F); in g2d_rotate_set_para()
155 (src->format <= G2D_FORMAT_YUV420_PLANAR)) { in g2d_rotate_set_para()
163 (src->format <= G2D_FORMAT_YUV411_PLANAR)) { in g2d_rotate_set_para()
211 dst->format = G2D_FORMAT_YUV420UVC_V1U1V0U0; in g2d_rotate_set_para()
213 dst->format = G2D_FORMAT_YUV420UVC_U1V1U0V0; in g2d_rotate_set_para()
215 dst->format = G2D_FORMAT_YUV420_PLANAR; in g2d_rotate_set_para()
217 dst->format = src->format; in g2d_rotate_set_para()
228 (dst->format <= G2D_FORMAT_YUV420_PLANAR)) { in g2d_rotate_set_para()
236 (dst->format <= G2D_FORMAT_YUV411_PLANAR)) { in g2d_rotate_set_para()
406 dst->format = src->format; in g2d_lbc_rot_set_para()
[all …]
/bsp/hpmicro/libraries/hpm_sdk/drivers/src/
A Dhpm_pdma_drv.c274 uint32_t format; in pdma_config_planes() local
322 | PDMA_PS_CTRL_FORMAT_SET(format); in pdma_config_planes()
371 uint32_t format; in pdma_config_output() local
397 | PDMA_OUT_CTRL_FORMAT_SET(format); in pdma_config_output()
795 display_pixel_format_t format; member
839 …((display_pixel_format_is_yuv_format(plane_format_tab[src->format].format)) && (src->width & 1)) || in pdma_blit_ex()
840 …((display_pixel_format_is_yuv_format(plane_format_tab[dst->format].format)) && (dst->width & 1))) { in pdma_blit_ex()
858 pdma_get_default_plane_config(ptr, &plane_src, plane_format_tab[src->format].format); in pdma_blit_ex()
859 pdma_get_default_plane_config(ptr, &plane_dst, plane_format_tab[dst->format].format); in pdma_blit_ex()
860 pdma_get_default_yuv2rgb_coef_config(ptr, &yuv2rgb_coef, plane_format_tab[src->format].format); in pdma_blit_ex()
[all …]
/bsp/nxp/imx/imxrt/libraries/drivers/
A Ddrv_sai.c48 sai_transfer_format_t format; variable
127 format.bitWidth = kSAI_WordWidth16bits; in sai_init()
128 format.channel = 0U; in sai_init()
130 format.masterClockHz = DEMO_SAI_CLK_FREQ; in sai_init()
131 format.protocol = config.protocol; in sai_init()
132 format.stereo = kSAI_Stereo; in sai_init()
133 format.isFrameSyncCompact = true; in sai_init()
186 format.stereo = kSAI_Stereo; in SAI_channels_set()
189 format.stereo = kSAI_MonoRight; in SAI_channels_set()
192 format.stereo = kSAI_MonoLeft; in SAI_channels_set()
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/uvc/Class/
A Duvc_driver.c290 uvc_strlcpy(format->name, fmtdesc->name, sizeof format->name); in uvc_parse_format()
294 snprintf(format->name, sizeof(format->name), "%pUl\n", &buffer[5]); in uvc_parse_format()
316 uvc_strlcpy(format->name, "MJPEG", sizeof format->name); in uvc_parse_format()
319 format->bpp = 0; in uvc_parse_format()
333 uvc_strlcpy(format->name, "SD-DV", sizeof format->name); in uvc_parse_format()
336 uvc_strlcpy(format->name, "SDL-DV", sizeof format->name); in uvc_parse_format()
339 uvc_strlcpy(format->name, "HD-DV", sizeof format->name); in uvc_parse_format()
357 memset(&format->frame[0], 0, sizeof format->frame[0]); in uvc_parse_format()
386 frame = &format->frame[format->nframes]; in uvc_parse_format()
680 streaming->format = format; in uvc_parse_streaming()
[all …]
A Duvc_v4l2.c94 struct uvc_format *format = NULL; in uvc_v4l2_try_format() local
114 format = &stream->format[i]; in uvc_v4l2_try_format()
119 if (format == NULL || format->fcc != fmt->fmt.pix.pixelformat) { in uvc_v4l2_try_format()
141 frame = &format->frame[i]; in uvc_v4l2_try_format()
198 *uvc_format = format; in uvc_v4l2_try_format()
209 struct uvc_format *format; in uvc_v4l2_get_format() local
217 format = stream->cur_format; in uvc_v4l2_get_format()
243 struct uvc_format *format; in uvc_v4l2_set_format() local
262 stream->cur_format = format; in uvc_v4l2_set_format()
489 struct uvc_format *format; in uvc_v4l2_do_ioctl() local
[all …]
/bsp/stm32/stm32h750-artpi/board/port/
A Def_fal_port.c158 void ef_log_debug(const char *file, const long line, const char *format, ...) { in ef_log_debug() argument
165 va_start(args, format); in ef_log_debug()
168 rt_vsprintf(log_buf, format, args); in ef_log_debug()
182 void ef_log_info(const char *format, ...) { in ef_log_info() argument
186 va_start(args, format); in ef_log_info()
189 rt_vsprintf(log_buf, format, args); in ef_log_info()
199 void ef_print(const char *format, ...) { in ef_print() argument
203 va_start(args, format); in ef_print()
205 rt_vsprintf(log_buf, format, args); in ef_print()
/bsp/stm32/stm32l475-atk-pandora/board/ports/easyflash/
A Def_fal_port.c140 void ef_log_debug(const char *file, const long line, const char *format, ...) { in ef_log_debug() argument
147 va_start(args, format); in ef_log_debug()
150 rt_vsprintf(log_buf, format, args); in ef_log_debug()
164 void ef_log_info(const char *format, ...) { in ef_log_info() argument
168 va_start(args, format); in ef_log_info()
171 rt_vsprintf(log_buf, format, args); in ef_log_info()
181 void ef_print(const char *format, ...) { in ef_print() argument
185 va_start(args, format); in ef_print()
187 rt_vsprintf(log_buf, format, args); in ef_print()
/bsp/nxp/lpc/lpc55sxx/lpc55s69_nxp_evk/board/ports/easyflash/
A Def_fal_port.c139 void ef_log_debug(const char *file, const long line, const char *format, ...) { in ef_log_debug() argument
146 va_start(args, format); in ef_log_debug()
149 rt_vsprintf(log_buf, format, args); in ef_log_debug()
163 void ef_log_info(const char *format, ...) { in ef_log_info() argument
167 va_start(args, format); in ef_log_info()
170 rt_vsprintf(log_buf, format, args); in ef_log_info()
180 void ef_print(const char *format, ...) { in ef_print() argument
184 va_start(args, format); in ef_print()
186 rt_vsprintf(log_buf, format, args); in ef_print()
/bsp/stm32/stm32f407-lckfb-skystar/board/ports/
A Def_fal_port.c160 void ef_log_debug(const char *file, const long line, const char *format, ...) { in ef_log_debug() argument
167 va_start(args, format); in ef_log_debug()
170 rt_vsprintf(log_buf, format, args); in ef_log_debug()
184 void ef_log_info(const char *format, ...) { in ef_log_info() argument
188 va_start(args, format); in ef_log_info()
191 rt_vsprintf(log_buf, format, args); in ef_log_info()
201 void ef_print(const char *format, ...) { in ef_print() argument
205 va_start(args, format); in ef_print()
207 rt_vsprintf(log_buf, format, args); in ef_print()
/bsp/stm32/stm32f407-rt-spark/board/ports/
A Def_fal_port.c160 void ef_log_debug(const char *file, const long line, const char *format, ...) { in ef_log_debug() argument
167 va_start(args, format); in ef_log_debug()
170 rt_vsprintf(log_buf, format, args); in ef_log_debug()
184 void ef_log_info(const char *format, ...) { in ef_log_info() argument
188 va_start(args, format); in ef_log_info()
191 rt_vsprintf(log_buf, format, args); in ef_log_info()
201 void ef_print(const char *format, ...) { in ef_print() argument
205 va_start(args, format); in ef_print()
207 rt_vsprintf(log_buf, format, args); in ef_print()
/bsp/ft2004/libraries/bsp/ft_spi/
A Dft_spi.h77 #define FT_SPI_ERROR(format, ...) FT_DEBUG_PRINT_E(FT_SPI_DEBUG_TAG, format, ##__VA_ARGS__) argument
79 #define FT_SPI_DEBUG_I(format, ...) FT_DEBUG_PRINT_I(FT_SPI_DEBUG_TAG, format, ##__VA_ARGS__) argument
80 #define FT_SPI_DEBUG_W(format, ...) FT_DEBUG_PRINT_W(FT_SPI_DEBUG_TAG, format, ##__VA_ARGS__) argument
82 #define FT_SPI_DEBUG_I(format, ...) argument
83 #define FT_SPI_DEBUG_W(format, ...) argument
/bsp/hpmicro/libraries/hpm_sdk/drivers/inc/
A Dhpm_display_common.h167 display_buf_format_t format; member
186 uint8_t display_get_pixel_size_in_bit(display_pixel_format_t format) in display_get_pixel_size_in_bit() argument
188 switch (format) { in display_get_pixel_size_in_bit()
213 static inline bool display_pixel_format_is_yuv_format(display_pixel_format_t format) in display_pixel_format_is_yuv_format() argument
215 switch (format) { in display_pixel_format_is_yuv_format()
233 uint8_t display_get_pixel_size_in_byte(display_pixel_format_t format) in display_get_pixel_size_in_byte() argument
235 return display_get_pixel_size_in_bit(format) >> 3; in display_get_pixel_size_in_byte()
247 uint32_t display_get_pitch_length_in_byte(display_pixel_format_t format, in display_get_pitch_length_in_byte() argument
250 return width_in_pixel * (display_get_pixel_size_in_bit(format) >> 3); in display_get_pitch_length_in_byte()
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/core/
A Dsnd_misc.c109 int snd_pcm_format_physical_width(snd_pcm_format_t format) in snd_pcm_format_physical_width() argument
112 if ((int)format < 0 || (int)format > (int)SND_PCM_FORMAT_LAST) in snd_pcm_format_physical_width()
114 if ((val = pcm_formats[(int)format].phys) == 0) in snd_pcm_format_physical_width()
171 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int samples) in snd_pcm_format_set_silence() argument
176 if (format < 0 || format > SND_PCM_FORMAT_LAST) in snd_pcm_format_set_silence()
180 width = pcm_formats[format].phys; in snd_pcm_format_set_silence()
181 pat = pcm_formats[format].silence; in snd_pcm_format_set_silence()
185 if (pcm_formats[format].signd == 1 || width <= 8) { in snd_pcm_format_set_silence()
/bsp/yichip/yc3122-pos/Libraries/core/
A Dsystem.c70 void MyPrintf(char *format, ...) in MyPrintf() argument
80 va_start(vaArgP, format); in MyPrintf()
82 while (*format) in MyPrintf()
85 for (ulIdx = 0; (format[ulIdx] != '%') && (format[ulIdx] != '\0'); ulIdx++) in MyPrintf()
91 printfsend((uint8_t *)format, ulIdx); in MyPrintf()
94 format += ulIdx; in MyPrintf()
96 if (*format == '%') in MyPrintf()
98 format++; in MyPrintf()
106 switch (*format++) in MyPrintf()
125 ulCount += format[-1] - '0'; in MyPrintf()
[all …]
/bsp/nxp/imx/imxrt/libraries/drivers/vglite/elementary/src/
A Delm_buffer.c31 static vg_lite_buffer_format_t _buffer_format_to_vglite(ELM_BUFFER_FORMAT format) in _buffer_format_to_vglite() argument
34 switch (format) { in _buffer_format_to_vglite()
94 ElmBuffer ElmCreateBuffer(unsigned int width, unsigned int height, ELM_BUFFER_FORMAT format) in ElmCreateBuffer() argument
113 buffer->format = (vg_lite_buffer_format_t)format; in ElmCreateBuffer()
147 ELM_BUFFER_FORMAT format) in ElmWrapBuffer() argument
167 buffer->format = _buffer_format_to_vglite(format); in ElmWrapBuffer()
282 ELM_BUFFER_FORMAT _buffer_format_to_Elm(vg_lite_buffer_format_t format) in _buffer_format_to_Elm() argument
284 switch (format) in _buffer_format_to_Elm()
313 … buffer->address, _buffer_format_to_Elm(buffer->format)); in ElmGetBuffer()

Completed in 47 milliseconds

12345678910>>...36