Home
last modified time | relevance | path

Searched refs:MALI_GRALLOC_INTFMT_FMT_MASK (Results 1 – 16 of 16) sorted by relevance

/hardware/google/gchips/gralloc4/src/
Dmali_gralloc_formats.h35 #define MALI_GRALLOC_INTFMT_FMT_MASK 0x00000000ffffffffULL macro
221 uint64_t base_format = internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_format_unwrap()
/hardware/google/gchips/gralloc3/src/
Dmali_gralloc_formats.h34 #define MALI_GRALLOC_INTFMT_FMT_MASK 0x00000000ffffffffULL macro
214 uint64_t base_format = internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_format_unwrap()
Dmali_gralloc_formats.cpp589 const int32_t idx = get_format_index(alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in mali_gralloc_adjust_dimensions()
704 if (formats[i].id == (base_format & MALI_GRALLOC_INTFMT_FMT_MASK)) in is_subsampled_yuv()
858 const uint32_t base_format = alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in validate_afbc_format()
1596 base_format = req_format & MALI_GRALLOC_INTFMT_FMT_MASK; in get_base_format()
Dmali_gralloc_bufferaccess.cpp313 const int32_t format_idx = get_format_index(hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in mali_gralloc_lock()
401 const uint32_t base_format = hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_lock_ycbcr()
546 const uint32_t base_format = hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_get_num_flex_planes()
1027 const uint32_t base_format = hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_lock_flex_async()
Dmali_gralloc_bufferallocation.cpp251 const uint32_t base_format = alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in init_afbc()
1234 int32_t format_idx = get_format_index(bufDescriptor->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in mali_gralloc_derive_format_and_size()
1395 … int32_t format_idx = get_format_index(bufDescriptor->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in mali_gralloc_buffer_allocate()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
Dvendor_graphicbuffer_mapper.cpp47 switch (hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK) in lockYCbCr64()
Dvendor_graphicbuffer_meta.cpp158 return is_sbwc_format(static_cast<uint32_t>(hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK)); in is_sbwc()
185 return static_cast<uint64_t>(gralloc_hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in get_internal_format()
/hardware/google/gchips/gralloc4/src/hidl_common/
DAllocator.cpp94 const uint32_t base_format = bufferDescriptor.alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in allocate()
DMapperMetadata.cpp289 int32_t format_index = get_format_index(handle->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in get_plane_layouts()
526 int format_index = get_format_index(handle->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in get_metadata()
857 int format_index = get_format_index(partial_handle.alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in getFromBufferDescriptorInfo()
884 get_format_dataspace(partial_handle.alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK, in getFromBufferDescriptorInfo()
DMapper.cpp473 …nst int format_idx = get_format_index(gralloc_buffer->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in validateBufferSize()
/hardware/google/gchips/gralloc4/interfaces/libs/drmutils/src/
Ddrmutils.cpp98 const uint64_t internal_format = (unmasked_format & MALI_GRALLOC_INTFMT_FMT_MASK); in drm_fourcc_from_handle()
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferaccess.cpp228 const int32_t format_idx = get_format_index(hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in mali_gralloc_lock()
Dmali_gralloc_bufferallocation.cpp266 const uint32_t base_format = alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in init_afbc()
753 int format = MALI_GRALLOC_INTFMT_FMT_MASK & bufDescriptor->alloc_format; in prepare_descriptor_exynos_formats()
982 int32_t format_idx = get_format_index(bufDescriptor->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in mali_gralloc_derive_format_and_size()
1035 switch (MALI_GRALLOC_INTFMT_FMT_MASK & bufDescriptor->alloc_format) in mali_gralloc_derive_format_and_size()
Dmali_gralloc_formats.cpp414 const int32_t idx = get_format_index(alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in mali_gralloc_adjust_dimensions()
519 if (formats[i].id == (base_format & MALI_GRALLOC_INTFMT_FMT_MASK)) in is_subsampled_yuv()
671 const uint32_t base_format = alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in validate_afbc_format()
1385 base_format = req_format & MALI_GRALLOC_INTFMT_FMT_MASK; in get_base_format()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc3/
Dvendor_graphicbuffer_meta.cpp42 switch (static_cast<uint32_t>(hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK)) { in is_sbwc()
/hardware/google/gchips/gralloc4/src/libGralloc4Wrapper/
Dwrapper.cpp173 const uint32_t base_format = buffer_descriptor.alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in createNativeHandle()