Home
last modified time | relevance | path

Searched refs:format_ext (Results 1 – 6 of 6) sorted by relevance

/hardware/google/gchips/gralloc3/src/
Dmali_gralloc_formats.cpp78 uint64_t format_ext; member
1237 fmt_supported->format_ext = afbc_format & MALI_GRALLOC_INTFMT_EXT_MASK; in get_supported_format()
1242 fmt_supported->format_ext = 0; in get_supported_format()
1245 ALOGV("AFBC ext format: 0x%" PRIx64, fmt_supported->format_ext); in get_supported_format()
1409 format_name(fmt.base_format), fmt.base_format, fmt.format_ext, fmt.f_flags); in get_best_format()
1415 uint64_t format_ext = fmt.format_ext; in get_best_format() local
1416 for (; format_ext; ++sup_fmt_num_extn_bits) in get_best_format()
1418 format_ext &= format_ext - 1; in get_best_format()
1425 first_of_best_formats = fmt.base_format | fmt.format_ext; in get_best_format()
1432 req_format = fmt.base_format | fmt.format_ext; in get_best_format()
[all …]
Dmali_gralloc_bufferallocation.cpp128 bool get_alloc_type(const uint64_t format_ext, in get_alloc_type() argument
141 if (format_ext & MALI_GRALLOC_INTFMT_AFBCENABLE_MASK) in get_alloc_type()
144 if ((formats[format_idx].is_yuv == true) && (format_ext & MALI_GRALLOC_INTFMT_AFBC_YUV_TRANSFORM)) in get_alloc_type()
147 … format_name(formats[format_idx].id), formats[format_idx].id, format_name(format_ext), format_ext); in get_alloc_type()
152 if (format_ext & MALI_GRALLOC_INTFMT_AFBC_WIDEBLK) in get_alloc_type()
156 else if (format_ext & MALI_GRALLOC_INTFMT_AFBC_EXTRAWIDEBLK) in get_alloc_type()
161 if (format_ext & MALI_GRALLOC_INTFMT_AFBC_TILED_HEADERS) in get_alloc_type()
166 (format_ext & MALI_GRALLOC_INTFMT_AFBC_EXTRAWIDEBLK) == 0) in get_alloc_type()
173 if (format_ext & MALI_GRALLOC_INTFMT_AFBC_DOUBLE_BODY) in get_alloc_type()
188 if (format_ext & MALI_GRALLOC_INTFMT_AFBC_EXTRAWIDEBLK && in get_alloc_type()
[all …]
Dmali_gralloc_bufferallocation.h97 bool get_alloc_type(const uint64_t format_ext,
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.cpp144 bool get_alloc_type(const uint64_t format_ext, in get_alloc_type() argument
157 if (format_ext & MALI_GRALLOC_INTFMT_AFBCENABLE_MASK) in get_alloc_type()
160 if ((formats[format_idx].is_yuv == true) && (format_ext & MALI_GRALLOC_INTFMT_AFBC_YUV_TRANSFORM)) in get_alloc_type()
163 … format_name(formats[format_idx].id), formats[format_idx].id, format_name(format_ext), format_ext); in get_alloc_type()
168 if (format_ext & MALI_GRALLOC_INTFMT_AFBC_WIDEBLK) in get_alloc_type()
172 else if (format_ext & MALI_GRALLOC_INTFMT_AFBC_EXTRAWIDEBLK) in get_alloc_type()
177 if (format_ext & MALI_GRALLOC_INTFMT_AFBC_TILED_HEADERS) in get_alloc_type()
182 (format_ext & MALI_GRALLOC_INTFMT_AFBC_EXTRAWIDEBLK) == 0) in get_alloc_type()
189 if (format_ext & MALI_GRALLOC_INTFMT_AFBC_DOUBLE_BODY) in get_alloc_type()
204 if (format_ext & MALI_GRALLOC_INTFMT_AFBC_EXTRAWIDEBLK && in get_alloc_type()
[all …]
Dmali_gralloc_formats.cpp64 uint64_t format_ext; member
1079 fmt_supported->format_ext = afbc_format & MALI_GRALLOC_INTFMT_EXT_MASK; in get_supported_format()
1083 fmt_supported->format_ext = 0; in get_supported_format()
1086 MALI_GRALLOC_LOGV("Ext format: (%s 0x%" PRIx64 ")", format_name(fmt_supported->format_ext), in get_supported_format()
1087 fmt_supported->format_ext); in get_supported_format()
1209 if (fmt.format_ext & ext.fmt_ext) in grade_format()
1297 format_name(fmt.base_format), fmt.base_format, fmt.format_ext, fmt.f_flags); in get_best_format()
1303 first_of_best_formats = fmt.base_format | fmt.format_ext; in get_best_format()
1310 req_format = fmt.base_format | fmt.format_ext; in get_best_format()
Dmali_gralloc_bufferallocation.h111 bool get_alloc_type(const uint64_t format_ext,