| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_fourcc.c | 138 const char *drm_get_format_name(uint32_t format, struct drm_format_name_buf *buf) in drm_get_format_name() argument 142 printable_char(format & 0xff), in drm_get_format_name() 143 printable_char((format >> 8) & 0xff), in drm_get_format_name() 144 printable_char((format >> 16) & 0xff), in drm_get_format_name() 145 printable_char((format >> 24) & 0x7f), in drm_get_format_name() 146 format & DRM_FORMAT_BIG_ENDIAN ? "big" : "little", in drm_get_format_name() 147 format); in drm_get_format_name() 157 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info() argument 160 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 161 …{ .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/ |
| H A D | vsp1_drm.c | 69 struct v4l2_subdev_format format; in vsp1_du_insert_uif() local 85 memset(&format, 0, sizeof(format)); in vsp1_du_insert_uif() 86 format.which = V4L2_SUBDEV_FORMAT_ACTIVE; in vsp1_du_insert_uif() 87 format.pad = prev_pad; in vsp1_du_insert_uif() 89 ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format); in vsp1_du_insert_uif() 93 format.pad = UIF_PAD_SINK; in vsp1_du_insert_uif() 95 ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format); in vsp1_du_insert_uif() 100 __func__, format.format.width, format.format.height, in vsp1_du_insert_uif() 101 format.format.code); in vsp1_du_insert_uif() 122 struct v4l2_subdev_format format; in vsp1_du_pipeline_setup_rpf() local [all …]
|
| H A D | vsp1_rwpf.c | 65 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local 77 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format() 78 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in vsp1_rwpf_set_format() 79 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format() 80 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format() 82 format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); in vsp1_rwpf_set_format() 89 format->code = fmt->format.code; in vsp1_rwpf_set_format() 90 fmt->format = *format; in vsp1_rwpf_set_format() 94 format->code = fmt->format.code; in vsp1_rwpf_set_format() 95 format->width = clamp_t(unsigned int, fmt->format.width, in vsp1_rwpf_set_format() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/common/ |
| H A D | vepu_common.c | 29 …{ .format = VEPU_FMT_YUV420SEMIPLANAR, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swa… 31 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 33 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 35 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 37 …{ .format = VEPU_FMT_YUV420PLANAR, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16… 39 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 41 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 43 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 45 …{ .format = VEPU_FMT_YUYV422INTERLEAVED, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .s… 47 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga2/ |
| H A D | RGA2_API.c | 8 #define IS_YUV_420(format) \ argument 9 ((format == RK_FORMAT_YCbCr_420_P) | (format == RK_FORMAT_YCbCr_420_SP) | \ 10 (format == RK_FORMAT_YCrCb_420_P) | (format == RK_FORMAT_YCrCb_420_SP)) 12 #define IS_YUV_422(format) \ argument 13 ((format == RK_FORMAT_YCbCr_422_P) | (format == RK_FORMAT_YCbCr_422_SP) | \ 14 (format == RK_FORMAT_YCrCb_422_P) | (format == RK_FORMAT_YCrCb_422_SP)) 16 #define IS_YUV(format) \ argument 17 ((format == RK_FORMAT_YCbCr_420_P) | (format == RK_FORMAT_YCbCr_420_SP) | \ 18 (format == RK_FORMAT_YCrCb_420_P) | (format == RK_FORMAT_YCrCb_420_SP) | \ 19 (format == RK_FORMAT_YCbCr_422_P) | (format == RK_FORMAT_YCbCr_422_SP) | \ [all …]
|
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | xprintf.c | 96 Xvasprintf(char **ret, const char *_X_RESTRICT_KYWD format, va_list va) in Xvasprintf() argument 99 return vasprintf(ret, format, va); in Xvasprintf() 105 size = vsnprintf(NULL, 0, format, va2); in Xvasprintf() 112 vsnprintf(*ret, size + 1, format, va); in Xvasprintf() 133 Xasprintf(char **ret, const char *_X_RESTRICT_KYWD format, ...) in Xasprintf() argument 138 va_start(va, format); in Xasprintf() 139 size = vasprintf(ret, format, va); in Xasprintf() 156 XNFvasprintf(char **ret, const char *_X_RESTRICT_KYWD format, va_list va) in XNFvasprintf() argument 158 int size = vasprintf(ret, format, va); in XNFvasprintf() 178 XNFasprintf(char **ret, const char *_X_RESTRICT_KYWD format, ...) in XNFasprintf() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/acpica/ |
| H A D | utprint.c | 318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument 342 for (; *format; ++format) { in vsnprintf() 343 if (*format != '%') { in vsnprintf() 344 pos = acpi_ut_bound_string_output(pos, end, *format); in vsnprintf() 354 ++format; in vsnprintf() 355 if (*format == '#') { in vsnprintf() 357 } else if (*format == '0') { in vsnprintf() 359 } else if (*format == '+') { in vsnprintf() 361 } else if (*format == ' ') { in vsnprintf() 363 } else if (*format == '-') { in vsnprintf() [all …]
|
| H A D | utxferror.c | 35 acpi_error(const char *module_name, u32 line_number, const char *format, ...) in acpi_error() argument 42 va_start(arg_list, format); in acpi_error() 43 acpi_os_vprintf(format, arg_list); in acpi_error() 69 u32 line_number, acpi_status status, const char *format, ...) in ACPI_EXPORT_SYMBOL() 85 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL() 86 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL() 109 acpi_warning(const char *module_name, u32 line_number, const char *format, ...) in ACPI_EXPORT_SYMBOL() 116 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL() 117 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL() 138 void ACPI_INTERNAL_VAR_XFACE acpi_info(const char *format, ...) in ACPI_EXPORT_SYMBOL() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/omap4iss/ |
| H A D | iss_ipipe.c | 85 struct v4l2_mbus_framefmt *format; in ipipe_configure() local 88 format = &ipipe->formats[IPIPE_PAD_SINK]; in ipipe_configure() 101 (format->height - 2) & IPIPE_SRC_VSZ_MASK); in ipipe_configure() 103 (format->width - 1) & IPIPE_SRC_HSZ_MASK); in ipipe_configure() 115 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; in ipipe_configure() 202 struct v4l2_mbus_framefmt *format; in ipipe_try_format() local 225 format = __ipipe_get_format(ipipe, cfg, IPIPE_PAD_SINK, which); in ipipe_try_format() 226 memcpy(fmt, format, sizeof(*fmt)); in ipipe_try_format() 277 struct v4l2_mbus_framefmt format; in ipipe_enum_frame_size() local 282 format.code = fse->code; in ipipe_enum_frame_size() [all …]
|
| H A D | iss_ipipeif.c | 125 struct v4l2_mbus_framefmt *format; in ipipeif_configure() local 131 format = &ipipeif->formats[IPIPEIF_PAD_SINK]; in ipipeif_configure() 138 switch (format->code) { in ipipeif_configure() 182 info = omap4iss_video_format_info(format->code); in ipipeif_configure() 195 (format->width - 1) & ISIF_LNH_MASK); in ipipeif_configure() 197 (format->height - 1) & ISIF_LNV_MASK); in ipipeif_configure() 201 format->height - 1); in ipipeif_configure() 204 format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF]; in ipipeif_configure() 381 struct v4l2_mbus_framefmt *format; in ipipeif_try_format() local 406 format = __ipipeif_get_format(ipipeif, cfg, IPIPEIF_PAD_SINK, in ipipeif_try_format() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/ |
| H A D | dmxlog.c | 76 ErrorF(const char *format, ...) in ErrorF() argument 80 va_start(args, format); in ErrorF() 81 vfprintf(stderr, format, args); /* RATS: We assume the format string in ErrorF() 89 VFatalError(const char *format, va_list args) _X_ATTRIBUTE_PRINTF(1, 0) _X_NORETURN; 91 VFatalError(const char *format, va_list args) in VFatalError() argument 93 vfprintf(stderr, format, args); /* RATS: We assume the format string in VFatalError() 101 VErrorF(const char *format, va_list args) in VErrorF() argument 103 vfprintf(stderr, format, args); /* RATS: We assume the format string in VErrorF() 111 VFatalError(const char *format, va_list args) _X_ATTRIBUTE_PRINTF(1, 0) _X_NORETURN; 113 VFatalError(const char *format, va_list args) in VFatalError() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/ |
| H A D | rga_common.c | 13 bool rga_is_rgb_format(uint32_t format) in rga_is_rgb_format() argument 15 switch (format) { in rga_is_rgb_format() 42 bool rga_is_yuv_format(uint32_t format) in rga_is_yuv_format() argument 44 switch (format) { in rga_is_yuv_format() 76 bool rga_is_alpha_format(uint32_t format) in rga_is_alpha_format() argument 78 switch (format) { in rga_is_alpha_format() 97 bool rga_is_yuv420_packed_format(uint32_t format) in rga_is_yuv420_packed_format() argument 99 switch (format) { in rga_is_yuv420_packed_format() 110 bool rga_is_yuv420_planar_format(uint32_t format) in rga_is_yuv420_planar_format() argument 112 switch (format) { in rga_is_yuv420_planar_format() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/v4l2-core/ |
| H A D | v4l2-common.c | 234 const struct v4l2_format_info *v4l2_format_info(u32 format) in v4l2_format_info() argument 238 …{ .format = V4L2_PIX_FMT_BGR24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 239 …{ .format = V4L2_PIX_FMT_RGB24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 240 …{ .format = V4L2_PIX_FMT_HSV24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 241 …{ .format = V4L2_PIX_FMT_BGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 242 …{ .format = V4L2_PIX_FMT_XBGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 243 …{ .format = V4L2_PIX_FMT_BGRX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 244 …{ .format = V4L2_PIX_FMT_RGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 245 …{ .format = V4L2_PIX_FMT_XRGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 246 …{ .format = V4L2_PIX_FMT_RGBX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() [all …]
|
| /OK3568_Linux_fs/kernel/scripts/gdb/linux/ |
| H A D | timerlist.py | 38 text = " #{}: <{}>, {}, ".format(idx, timer, function) 39 text += "S:{:02x}\n".format(int(timer['state'])) 40 text += " # expires at {}-{} nsecs [in {} to {} nsecs]\n".format( 56 text = " .base: {}\n".format(base.address) 57 text += " .index: {}\n".format(base['index']) 59 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution) 61 text += " .get_time: {}\n".format(base['get_time']) 63 text += " .offset: {} nsecs\n".format(base['offset']) 75 text = "cpu: {}\n".format(cpu) 77 text += " clock {}:\n".format(i) [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/aw883xx/ |
| H A D | aw_log.h | 9 #define aw_dev_err(dev, format, ...) \ argument 11 pr_err("[Awinic][%s]%s: " format "\n", dev_name(dev), __func__, ##__VA_ARGS__); \ 14 #define aw_dev_info(dev, format, ...) \ argument 16 pr_info("[Awinic][%s]%s: " format "\n", dev_name(dev), __func__, ##__VA_ARGS__); \ 19 #define aw_dev_info(dev, format, ...) \ argument 21 pr_debug("[Awinic][%s]%s: " format "\n", dev_name(dev), __func__, ##__VA_ARGS__); \ 25 #define aw_dev_dbg(dev, format, ...) \ argument 27 pr_debug("[Awinic][%s]%s: " format "\n", dev_name(dev), __func__, ##__VA_ARGS__); \ 30 #define aw_pr_err(format, ...) \ argument 32 pr_err("[Awinic]%s: " format "\n", __func__, ##__VA_ARGS__); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/include/ |
| H A D | rga_common.h | 17 bool rga_is_rgb_format(uint32_t format); 18 bool rga_is_yuv_format(uint32_t format); 19 bool rga_is_alpha_format(uint32_t format); 20 bool rga_is_yuv420_packed_format(uint32_t format); 21 bool rga_is_yuv420_planar_format(uint32_t format); 22 bool rga_is_yuv420_semi_planar_format(uint32_t format); 23 bool rga_is_yuv422_packed_format(uint32_t format); 24 bool rga_is_yuv422_planar_format(uint32_t format); 25 bool rga_is_yuv422_semi_planar_format(uint32_t format); 26 bool rga_is_yuv8bit_format(uint32_t format); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/xilinx/ |
| H A D | xilinx-vip.c | 58 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_code() local 60 if (format->code == code) in xvip_get_format_by_code() 61 return format; in xvip_get_format_by_code() 81 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_fourcc() local 83 if (format->fourcc == fourcc) in xvip_get_format_by_fourcc() 84 return format; in xvip_get_format_by_fourcc() 122 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_of_get_format() local 124 if (format->vf_code != vf_code || format->width != width) in xvip_of_get_format() 128 strcmp(pattern, format->pattern)) in xvip_of_get_format() 131 return format; in xvip_of_get_format() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/imx/dcss/ |
| H A D | dcss-plane.c | 69 u32 format, in dcss_plane_format_mod_supported() argument 74 switch (format) { in dcss_plane_format_mod_supported() 102 static bool dcss_plane_can_rotate(const struct drm_format_info *format, in dcss_plane_can_rotate() argument 110 if (!format->is_yuv && linear_format) in dcss_plane_can_rotate() 113 else if (!format->is_yuv && in dcss_plane_can_rotate() 118 else if (format->is_yuv && linear_format && in dcss_plane_can_rotate() 119 (format->format == DRM_FORMAT_NV12 || in dcss_plane_can_rotate() 120 format->format == DRM_FORMAT_NV21)) in dcss_plane_can_rotate() 167 fb->format->format)) { in dcss_plane_atomic_check() 184 if (!dcss_plane_can_rotate(fb->format, in dcss_plane_atomic_check() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga/ |
| H A D | RGA_API.c | 8 #define IS_YUV_420(format) \ argument 9 ((format == RK_FORMAT_YCbCr_420_P) | (format == RK_FORMAT_YCbCr_420_SP) | \ 10 (format == RK_FORMAT_YCrCb_420_P) | (format == RK_FORMAT_YCrCb_420_SP)) 12 #define IS_YUV_422(format) \ argument 13 ((format == RK_FORMAT_YCbCr_422_P) | (format == RK_FORMAT_YCbCr_422_SP) | \ 14 (format == RK_FORMAT_YCrCb_422_P) | (format == RK_FORMAT_YCrCb_422_SP)) 16 #define IS_YUV(format) \ argument 17 ((format == RK_FORMAT_YCbCr_420_P) | (format == RK_FORMAT_YCbCr_420_SP) | \ 18 (format == RK_FORMAT_YCrCb_420_P) | (format == RK_FORMAT_YCrCb_420_SP) | \ 19 (format == RK_FORMAT_YCbCr_422_P) | (format == RK_FORMAT_YCbCr_422_SP) | \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/atm/ |
| H A D | usbatm.h | 29 #define usb_err(instance, format, arg...) \ argument 30 dev_err(&(instance)->usb_intf->dev , format , ## arg) 31 #define usb_info(instance, format, arg...) \ argument 32 dev_info(&(instance)->usb_intf->dev , format , ## arg) 33 #define usb_warn(instance, format, arg...) \ argument 34 dev_warn(&(instance)->usb_intf->dev , format , ## arg) 35 #define usb_dbg(instance, format, arg...) \ argument 36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg) 39 #define atm_printk(level, instance, format, arg...) \ argument 40 printk(level "ATM dev %d: " format , \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/ |
| H A D | plane.c | 62 copy->format = state->format; in tegra_plane_atomic_duplicate_state() 87 uint32_t format, in tegra_plane_format_mod_supported() argument 90 const struct drm_format_info *info = drm_format_info(format); in tegra_plane_format_mod_supported() 117 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_pin() 180 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_unpin() 240 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument 248 *format = WIN_COLOR_DEPTH_B4G4R4A4; in tegra_plane_format() 252 *format = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format() 256 *format = WIN_COLOR_DEPTH_B5G6R5; in tegra_plane_format() 260 *format = WIN_COLOR_DEPTH_A1B5G5R5; in tegra_plane_format() [all …]
|
| /OK3568_Linux_fs/external/linux-rga/im2d_api/src/ |
| H A D | im2d_impl.cpp | 384 info.format, translate_format_str(info.format)); in rga_yuv_legality_check() 720 if (info.width <= 0 || info.height <= 0 || info.format < 0) { in rga_check_info() 722 name, info.width, info.height, info.format, translate_format_str(info.format)); in rga_check_info() 810 int format = info.format; in rga_check_format() local 812 if (format == RK_FORMAT_RGBA_8888 || format == RK_FORMAT_BGRA_8888 || in rga_check_format() 813 format == RK_FORMAT_RGBX_8888 || format == RK_FORMAT_BGRX_8888 || in rga_check_format() 814 format == RK_FORMAT_ARGB_8888 || format == RK_FORMAT_ABGR_8888 || in rga_check_format() 815 format == RK_FORMAT_XRGB_8888 || format == RK_FORMAT_XBGR_8888 || in rga_check_format() 816 format == RK_FORMAT_RGB_888 || format == RK_FORMAT_BGR_888 || in rga_check_format() 817 format == RK_FORMAT_RGB_565 || format == RK_FORMAT_BGR_565) { in rga_check_format() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/libidn/libidn/ |
| H A D | 0001-idn-format-security-warnings.patch | 1 Subject: [PATCH] idn: fix printf() format security warnings 7 … ../../libidn-1.32/src/idn.c:172:7: error: format not a string literal and no format arguments [-W… 10 … ../../libidn-1.32/src/idn.c:187:5: error: format not a string literal and no format arguments [-W… 13 … ../../libidn-1.32/src/idn.c:202:4: error: format not a string literal and no format arguments [-W… 16 … ../../libidn-1.32/src/idn.c:220:8: error: format not a string literal and no format arguments [-W… 19 … ../../libidn-1.32/src/idn.c:245:8: error: format not a string literal and no format arguments [-W… 22 … ../../libidn-1.32/src/idn.c:281:6: error: format not a string literal and no format arguments [-W… 25 … ../../libidn-1.32/src/idn.c:340:6: error: format not a string literal and no format arguments [-W… 28 … ../../libidn-1.32/src/idn.c:364:6: error: format not a string literal and no format arguments [-W… 31 … ../../libidn-1.32/src/idn.c:442:8: error: format not a string literal and no format arguments [-W… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/shmobile/ |
| H A D | shmob_drm_plane.c | 26 const struct shmob_drm_format_info *format; member 46 bpp = splane->format->yuv ? 8 : splane->format->bpp; in shmob_drm_plane_compute_base() 51 if (splane->format->yuv) { in shmob_drm_plane_compute_base() 52 bpp = splane->format->bpp - 8; in shmob_drm_plane_compute_base() 64 u32 format; in __shmob_drm_plane_setup() local 67 format = LDBBSIFR_EN | (splane->alpha << LDBBSIFR_LAY_SHIFT); in __shmob_drm_plane_setup() 69 switch (splane->format->fourcc) { in __shmob_drm_plane_setup() 74 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW; in __shmob_drm_plane_setup() 80 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW | LDBBSIFR_SWPB; in __shmob_drm_plane_setup() 84 format |= LDBBSIFR_SWPL; in __shmob_drm_plane_setup() [all …]
|
| /OK3568_Linux_fs/external/rockit/tgi/sdk/include/ |
| H A D | rt_log.h | 43 #define RT_LOGD_IF(condition, format, ...) if (condition > 0) LOG_TRACE(RT_LOG_DEBUG, format, ##__V… argument 44 #define RT_LOGE_IF(condition, format, ...) if (condition > 0) LOG_ERROR(RT_LOG_ERR, format, ##__VA_… argument 47 #define RT_LOGP(format, ...) LOG_ERROR(RT_LOG_PRINT, format, ##__VA_ARGS__) argument 48 #define RT_LOGF(format, ...) LOG_ERROR(RT_LOG_FATAL, format, ##__VA_ARGS__) argument 49 #define RT_LOGE(format, ...) LOG_ERROR(RT_LOG_ERR, format, ##__VA_ARGS__) argument 50 #define RT_LOGW(format, ...) LOG_TRACE(RT_LOG_WARN, format, ##__VA_ARGS__) argument 51 #define RT_LOGI(format, ...) LOG_TRACE(RT_LOG_INFO, format, ##__VA_ARGS__) argument 52 #define RT_LOGD(format, ...) LOG_TRACE(RT_LOG_DEBUG, format, ##__VA_ARGS__) argument 53 #define RT_LOGV(format, ...) LOG_TRACE(RT_LOG_VERBOSE, format, ##__VA_ARGS__) argument
|