/hardware/google/gchips/gralloc4/src/core/ |
D | mali_gralloc_formats.cpp | 398 void mali_gralloc_adjust_dimensions(const uint64_t alloc_format, in mali_gralloc_adjust_dimensions() argument 412 (alloc_format & MALI_GRALLOC_INTFMT_AFBC_BASIC)) in mali_gralloc_adjust_dimensions() 414 const int32_t idx = get_format_index(alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in mali_gralloc_adjust_dimensions() 420 *height += (alloc_format & MALI_GRALLOC_INTFMT_AFBC_TILED_HEADERS) ? 16 : 32; in mali_gralloc_adjust_dimensions() 428 if (alloc_format & MALI_GRALLOC_INTFMT_AFBC_BASIC) in mali_gralloc_adjust_dimensions() 437 __FUNCTION__, format_name(alloc_format), alloc_format, describe_usage(usage).c_str(), in mali_gralloc_adjust_dimensions() 667 static uint64_t validate_afbc_format(uint64_t alloc_format, in validate_afbc_format() argument 671 const uint32_t base_format = alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in validate_afbc_format() 678 if (alloc_format & MALI_GRALLOC_INTFMT_AFBC_DOUBLE_BODY) in validate_afbc_format() 683 alloc_format &= ~MALI_GRALLOC_INTFMT_AFBC_WIDEBLK; in validate_afbc_format() [all …]
|
D | mali_gralloc_bufferaccess.cpp | 150 if ((hnd->alloc_format & MALI_GRALLOC_INTFMT_EXT_MASK) != 0) in validate_lock_input_parameters() 153 "Internal Format:0x%" PRIx64, hnd->alloc_format); in validate_lock_input_parameters() 208 const int32_t format_idx = get_format_index(hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in mali_gralloc_lock() 212 format_name(hnd->alloc_format), hnd->alloc_format, hnd); in mali_gralloc_lock()
|
D | mali_gralloc_bufferallocation.cpp | 241 void init_afbc(uint8_t *buf, const uint64_t alloc_format, in init_afbc() argument 245 const bool is_tiled = ((alloc_format & MALI_GRALLOC_INTFMT_AFBC_TILED_HEADERS) in init_afbc() 261 if ((alloc_format & MALI_GRALLOC_INTFMT_AFBC_TILED_HEADERS)) in init_afbc() 268 const uint32_t base_format = alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in init_afbc() 778 int format = MALI_GRALLOC_INTFMT_FMT_MASK & bufDescriptor->alloc_format; in prepare_descriptor_exynos_formats() 910 … MALI_GRALLOC_LOGE("invalid yuv format (%s %" PRIx64 ")", format_name(bufDescriptor->alloc_format), in prepare_descriptor_exynos_formats() 911 bufDescriptor->alloc_format); in prepare_descriptor_exynos_formats() 922 format_name(bufDescriptor->alloc_format), in prepare_descriptor_exynos_formats() 923 bufDescriptor->alloc_format); in prepare_descriptor_exynos_formats() 943 format_name(bufDescriptor->alloc_format), in prepare_descriptor_exynos_formats() [all …]
|
D | mali_gralloc_bufferdescriptor.h | 55 uint64_t alloc_format; member 72 alloc_format(0), in buffer_descriptor_t() 106 pixel_stride, alloc_format, fd_count, in dump()
|
/hardware/google/gchips/GrallocHAL/src/core/ |
D | mali_gralloc_formats.cpp | 398 void mali_gralloc_adjust_dimensions(const uint64_t alloc_format, in mali_gralloc_adjust_dimensions() argument 412 (alloc_format & MALI_GRALLOC_INTFMT_AFBC_BASIC)) in mali_gralloc_adjust_dimensions() 414 const int32_t idx = get_format_index(alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in mali_gralloc_adjust_dimensions() 420 *height += (alloc_format & MALI_GRALLOC_INTFMT_AFBC_TILED_HEADERS) ? 16 : 32; in mali_gralloc_adjust_dimensions() 428 if (alloc_format & MALI_GRALLOC_INTFMT_AFBC_BASIC) in mali_gralloc_adjust_dimensions() 437 __FUNCTION__, format_name(alloc_format), alloc_format, describe_usage(usage).c_str(), in mali_gralloc_adjust_dimensions() 667 static uint64_t validate_afbc_format(uint64_t alloc_format, in validate_afbc_format() argument 671 const uint32_t base_format = alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in validate_afbc_format() 678 if (alloc_format & MALI_GRALLOC_INTFMT_AFBC_DOUBLE_BODY) in validate_afbc_format() 683 alloc_format &= ~MALI_GRALLOC_INTFMT_AFBC_WIDEBLK; in validate_afbc_format() [all …]
|
D | mali_gralloc_bufferaccess.cpp | 170 if ((hnd->alloc_format & MALI_GRALLOC_INTFMT_EXT_MASK) != 0) in validate_lock_input_parameters() 173 "Internal Format:0x%" PRIx64, hnd->alloc_format); in validate_lock_input_parameters() 228 const int32_t format_idx = get_format_index(hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in mali_gralloc_lock() 232 format_name(hnd->alloc_format), hnd->alloc_format, hnd); in mali_gralloc_lock()
|
D | mali_gralloc_bufferallocation.cpp | 239 void init_afbc(uint8_t *buf, const uint64_t alloc_format, in init_afbc() argument 243 const bool is_tiled = ((alloc_format & MALI_GRALLOC_INTFMT_AFBC_TILED_HEADERS) in init_afbc() 259 if ((alloc_format & MALI_GRALLOC_INTFMT_AFBC_TILED_HEADERS)) in init_afbc() 266 const uint32_t base_format = alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in init_afbc() 773 int format = MALI_GRALLOC_INTFMT_FMT_MASK & bufDescriptor->alloc_format; in prepare_descriptor_exynos_formats() 905 … MALI_GRALLOC_LOGE("invalid yuv format (%s %" PRIx64 ")", format_name(bufDescriptor->alloc_format), in prepare_descriptor_exynos_formats() 906 bufDescriptor->alloc_format); in prepare_descriptor_exynos_formats() 917 format_name(bufDescriptor->alloc_format), in prepare_descriptor_exynos_formats() 918 bufDescriptor->alloc_format); in prepare_descriptor_exynos_formats() 938 format_name(bufDescriptor->alloc_format), in prepare_descriptor_exynos_formats() [all …]
|
D | mali_gralloc_bufferdescriptor.h | 55 uint64_t alloc_format; member 72 alloc_format(0), in buffer_descriptor_t() 106 pixel_stride, alloc_format, fd_count, in dump()
|
D | mali_gralloc_debug.cpp | 92 … hnd, hnd->width, hnd->height, hnd->stride, hnd->req_format, hnd->alloc_format, in mali_gralloc_dump_buffers() 94 … (hnd->alloc_format & MALI_GRALLOC_INTFMT_AFBCENABLE_MASK) ? true : false); in mali_gralloc_dump_buffers()
|
/hardware/google/gchips/gralloc4/src/ |
D | mali_gralloc_buffer4.h | 229 uint64_t alloc_format DEFAULT_INITIALIZER(0); 281 alloc_format = _alloc_format; in private_handle_t() 405 req_format, alloc_format, in dump() 411 alloc_format, in dump() 420 return (int)(alloc_format & 0x00000000ffffffffULL); in get_alloc_format()
|
D | mali_gralloc_buffer.h | 229 uint64_t alloc_format DEFAULT_INITIALIZER(0); 281 alloc_format = _alloc_format; in private_handle_t() 405 req_format, alloc_format, in dump() 411 alloc_format, in dump() 420 return (int)(alloc_format & 0x00000000ffffffffULL); in get_alloc_format()
|
/hardware/google/gchips/GrallocHAL/src/ |
D | mali_gralloc_buffer4.h | 211 uint64_t alloc_format DEFAULT_INITIALIZER(0); 266 alloc_format = _alloc_format; in private_handle_t() 392 req_format, alloc_format, in dump() 398 alloc_format, in dump() 407 return (int)(alloc_format & 0x00000000ffffffffULL); in get_alloc_format()
|
D | mali_gralloc_buffer.h | 211 uint64_t alloc_format DEFAULT_INITIALIZER(0); 266 alloc_format = _alloc_format; in private_handle_t() 392 req_format, alloc_format, in dump() 398 alloc_format, in dump() 407 return (int)(alloc_format & 0x00000000ffffffffULL); in get_alloc_format()
|
/hardware/google/gchips/GrallocHAL/src/allocator/ |
D | mali_gralloc_ion.cpp | 635 bufDescriptor->hal_format, bufDescriptor->alloc_format, in mali_gralloc_ion_allocate() 665 if ((bufDescriptor->alloc_format & MALI_GRALLOC_INTFMT_AFBCENABLE_MASK) in mali_gralloc_ion_allocate() 687 bufDescriptor->alloc_format, in mali_gralloc_ion_allocate() 756 … dev->client(), idx, hnd->ion_handles[idx], format_name(hnd->alloc_format), hnd->alloc_format); in import_exynos_ion_handles() 788 dev->client(), idx, hnd->ion_handles[idx], format_name(hnd->alloc_format), hnd->alloc_format); in free_exynos_ion_handles()
|
/hardware/google/gchips/gralloc4/src/allocator/ |
D | mali_gralloc_ion.cpp | 643 bufDescriptor->hal_format, bufDescriptor->alloc_format, in mali_gralloc_ion_allocate() 673 if ((bufDescriptor->alloc_format & MALI_GRALLOC_INTFMT_AFBCENABLE_MASK) in mali_gralloc_ion_allocate() 695 bufDescriptor->alloc_format, in mali_gralloc_ion_allocate() 764 … dev->client(), idx, hnd->ion_handles[idx], format_name(hnd->alloc_format), hnd->alloc_format); in import_exynos_ion_handles() 796 dev->client(), idx, hnd->ion_handles[idx], format_name(hnd->alloc_format), hnd->alloc_format); in free_exynos_ion_handles()
|
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/ |
D | vendor_graphicbuffer_meta.cpp | 143 if (gralloc_hnd->alloc_format & MALI_GRALLOC_INTFMT_AFBCENABLE_MASK) in is_afbc() 170 return static_cast<uint32_t>(gralloc_hnd->alloc_format); in get_format() 180 return static_cast<uint64_t>(gralloc_hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in get_internal_format() 288 internal_format = gralloc_hnd->alloc_format; in init()
|
D | vendor_graphicbuffer_mapper.cpp | 47 switch (hnd->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK) in lockYCbCr64()
|
/hardware/google/gchips/gralloc4/interfaces/libs/drmutils/src/ |
D | drmutils.cpp | 97 const uint64_t unmasked_format = hnd->alloc_format; in drm_fourcc_from_handle() 118 const uint64_t internal_format = hnd->alloc_format; in drm_modifier_from_handle()
|
/hardware/google/gchips/GrallocHAL/interfaces/libs/drmutils/src/ |
D | drmutils.cpp | 97 const uint64_t unmasked_format = hnd->alloc_format; in drm_fourcc_from_handle() 118 const uint64_t internal_format = hnd->alloc_format; in drm_modifier_from_handle()
|
/hardware/google/gchips/GrallocHAL/src/hidl_common/ |
D | Mapper.cpp | 465 if (gralloc_buffer->alloc_format != grallocDescriptor.alloc_format) in validateBufferSize() 468 PRIx64 ")", format_name(gralloc_buffer->alloc_format), gralloc_buffer->alloc_format, in validateBufferSize() 469 format_name(grallocDescriptor.alloc_format), grallocDescriptor.alloc_format); in validateBufferSize() 473 …const int format_idx = get_format_index(gralloc_buffer->alloc_format & MALI_GRALLOC_INTFMT_FMT_MAS… in validateBufferSize()
|
D | MapperMetadata.cpp | 283 int32_t format_index = get_format_index(handle->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in get_plane_layouts() 353 if (handle->alloc_format & MALI_GRALLOC_INTFMT_AFBC_BASIC) in get_plane_layouts() 460 int format_index = get_format_index(handle->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in get_metadata() 693 descriptor.hal_format, descriptor.alloc_format, in getFromBufferDescriptorInfo() 758 int format_index = get_format_index(partial_handle.alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in getFromBufferDescriptorInfo() 785 get_format_dataspace(partial_handle.alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK, in getFromBufferDescriptorInfo()
|
/hardware/google/gchips/gralloc4/src/hidl_common/ |
D | Mapper.cpp | 465 if (gralloc_buffer->alloc_format != grallocDescriptor.alloc_format) in validateBufferSize() 468 PRIx64 ")", format_name(gralloc_buffer->alloc_format), gralloc_buffer->alloc_format, in validateBufferSize() 469 format_name(grallocDescriptor.alloc_format), grallocDescriptor.alloc_format); in validateBufferSize() 473 …const int format_idx = get_format_index(gralloc_buffer->alloc_format & MALI_GRALLOC_INTFMT_FMT_MAS… in validateBufferSize()
|
D | MapperMetadata.cpp | 289 int32_t format_index = get_format_index(handle->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in get_plane_layouts() 359 if (handle->alloc_format & MALI_GRALLOC_INTFMT_AFBC_BASIC) in get_plane_layouts() 510 if (handle->alloc_format & MALI_GRALLOC_INTFMT_AFBC_BASIC) in get_metadata() 526 int format_index = get_format_index(handle->alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK); in get_metadata() 784 descriptor.hal_format, descriptor.alloc_format, in getFromBufferDescriptorInfo() 841 if (partial_handle.alloc_format & MALI_GRALLOC_INTFMT_AFBC_BASIC) in getFromBufferDescriptorInfo() 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()
|
/hardware/google/gchips/include/ |
D | gralloc1_priv.h | 264 uint64_t alloc_format; member 385 alloc_format, in dump()
|
D | gralloc3_priv.h | 264 uint64_t alloc_format; member 385 alloc_format, in dump()
|