Home
last modified time | relevance | path

Searched refs:base_format (Results 1 – 10 of 10) sorted by relevance

/device/linaro/hikey/gralloc960/
Dmali_gralloc_formats.h169 uint64_t base_format = internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_format_unwrap() local
172 if (base_format == MALI_GRALLOC_FORMAT_INTERNAL_YV12_WRAP) in mali_gralloc_format_unwrap()
174 base_format = MALI_GRALLOC_FORMAT_INTERNAL_YV12; in mali_gralloc_format_unwrap()
176 else if (base_format == MALI_GRALLOC_FORMAT_INTERNAL_Y8_WRAP) in mali_gralloc_format_unwrap()
178 base_format = MALI_GRALLOC_FORMAT_INTERNAL_Y8; in mali_gralloc_format_unwrap()
180 else if (base_format == MALI_GRALLOC_FORMAT_INTERNAL_Y16_WRAP) in mali_gralloc_format_unwrap()
182 base_format = MALI_GRALLOC_FORMAT_INTERNAL_Y16; in mali_gralloc_format_unwrap()
185 return (modifiers | base_format); in mali_gralloc_format_unwrap()
Dmali_gralloc_bufferaccess.cpp113 uint64_t base_format = hnd->internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_lock_ycbcr() local
115 switch (base_format) in mali_gralloc_lock_ycbcr()
203 uint64_t base_format = hnd->internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_get_num_flex_planes() local
205 switch (base_format) in mali_gralloc_get_num_flex_planes()
290 uint64_t base_format = hnd->internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_lock_flex_async() local
292 switch (base_format) in mali_gralloc_lock_flex_async()
Dmali_gralloc_formats.cpp323 uint64_t internal_format, me_mask, base_format, mapped_base_format; in decode_internal_format() local
348 base_format = internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in decode_internal_format()
354 mapped_base_format = map_flex_formats((uint32_t)base_format); in decode_internal_format()
379 if (mapped_base_format != base_format) in decode_internal_format()
Dmali_gralloc_ion.cpp75 uint64_t base_format = internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in init_afbc() local
77 switch (base_format) in init_afbc()
97 ALOGV("Writing AFBC header layout %d for format %" PRIu64, layout, base_format); in init_afbc()
Dmali_gralloc_bufferallocation.cpp947 uint64_t base_format = bufDescriptor->internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_buffer_allocate() local
949 switch (base_format) in mali_gralloc_buffer_allocate()
1016 get_camera_formats_stride_and_size(bufDescriptor->width, bufDescriptor->height, base_format, in mali_gralloc_buffer_allocate()
/device/amlogic/yukawa/gralloc/
Dmali_gralloc_formats.h169 uint64_t base_format = internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_format_unwrap() local
172 if (base_format == MALI_GRALLOC_FORMAT_INTERNAL_YV12_WRAP) in mali_gralloc_format_unwrap()
174 base_format = MALI_GRALLOC_FORMAT_INTERNAL_YV12; in mali_gralloc_format_unwrap()
176 else if (base_format == MALI_GRALLOC_FORMAT_INTERNAL_Y8_WRAP) in mali_gralloc_format_unwrap()
178 base_format = MALI_GRALLOC_FORMAT_INTERNAL_Y8; in mali_gralloc_format_unwrap()
180 else if (base_format == MALI_GRALLOC_FORMAT_INTERNAL_Y16_WRAP) in mali_gralloc_format_unwrap()
182 base_format = MALI_GRALLOC_FORMAT_INTERNAL_Y16; in mali_gralloc_format_unwrap()
185 return (modifiers | base_format); in mali_gralloc_format_unwrap()
Dmali_gralloc_bufferaccess.cpp113 uint64_t base_format = hnd->internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_lock_ycbcr() local
115 switch (base_format) in mali_gralloc_lock_ycbcr()
203 uint64_t base_format = hnd->internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_get_num_flex_planes() local
205 switch (base_format) in mali_gralloc_get_num_flex_planes()
290 uint64_t base_format = hnd->internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_lock_flex_async() local
292 switch (base_format) in mali_gralloc_lock_flex_async()
Dmali_gralloc_formats.cpp323 uint64_t internal_format, me_mask, base_format, mapped_base_format; in decode_internal_format() local
348 base_format = internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in decode_internal_format()
354 mapped_base_format = map_flex_formats((uint32_t)base_format); in decode_internal_format()
379 if (mapped_base_format != base_format) in decode_internal_format()
Dmali_gralloc_ion.cpp75 uint64_t base_format = internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in init_afbc() local
77 switch (base_format) in init_afbc()
97 ALOGV("Writing AFBC header layout %d for format %" PRIu64, layout, base_format); in init_afbc()
Dmali_gralloc_bufferallocation.cpp947 uint64_t base_format = bufDescriptor->internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_buffer_allocate() local
949 switch (base_format) in mali_gralloc_buffer_allocate()
1017 get_camera_formats_stride_and_size(bufDescriptor->width, bufDescriptor->height, base_format, in mali_gralloc_buffer_allocate()