Searched refs:fmt_idx (Results 1 – 2 of 2) sorted by relevance
106 uint32_t fmt_idx = *(uint32_t*)&buffer[buf_pos]; in u_printf() local109 assert(fmt_idx > 0); in u_printf()110 fmt_idx -= 1; in u_printf()113 if (fmt_idx >= info_size) in u_printf()116 const u_printf_info *fmt = &info[fmt_idx]; in u_printf()118 buf_pos += sizeof(fmt_idx); in u_printf()
586 static format_support_flags is_format_supported(const int32_t fmt_idx, in is_format_supported() argument601 if (!formats[fmt_idx].afbc || in is_format_supported()608 if (formats[fmt_idx].npln > 1 && in is_format_supported()616 if (formats[fmt_idx].is_yuv) in is_format_supported()639 if (formats[fmt_idx].id == MALI_GRALLOC_FORMAT_INTERNAL_RGBA_1010102 && in is_format_supported()646 else if (formats[fmt_idx].id == MALI_GRALLOC_FORMAT_INTERNAL_RGBA_16161616) in is_format_supported()990 const int32_t fmt_idx = get_format_index(base_format); in get_supported_format() local992 assert(fmt_idx >= 0); in get_supported_format()1001 fmt_supported->f_flags = is_format_supported(fmt_idx, in get_supported_format()1024 get_active_caps(formats[fmt_idx], in get_supported_format()[all …]