Searched refs:base_format (Results 1 – 10 of 10) sorted by relevance
/device/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_formats.h | 169 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()
|
D | mali_gralloc_bufferaccess.cpp | 113 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()
|
D | mali_gralloc_formats.cpp | 323 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()
|
D | mali_gralloc_ion.cpp | 84 uint64_t base_format = internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in init_afbc() local 86 switch (base_format) in init_afbc() 106 ALOGV("Writing AFBC header layout %d for format %" PRIu64, layout, base_format); in init_afbc()
|
D | mali_gralloc_bufferallocation.cpp | 952 uint64_t base_format = bufDescriptor->internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_buffer_allocate() local 954 switch (base_format) in mali_gralloc_buffer_allocate() 1025 get_camera_formats_stride_and_size(bufDescriptor->width, bufDescriptor->height, base_format, in mali_gralloc_buffer_allocate()
|
/device/linaro/hikey/gralloc960/ |
D | mali_gralloc_formats.h | 169 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()
|
D | mali_gralloc_bufferaccess.cpp | 113 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()
|
D | mali_gralloc_formats.cpp | 323 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()
|
D | mali_gralloc_ion.cpp | 84 uint64_t base_format = internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in init_afbc() local 86 switch (base_format) in init_afbc() 106 ALOGV("Writing AFBC header layout %d for format %" PRIu64, layout, base_format); in init_afbc()
|
D | mali_gralloc_bufferallocation.cpp | 947 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()
|