Lines Matching refs:sb
88 rect_t sb = {0, 0}; in get_afbc_sb_size() local
95 sb.width = AFBC_BASIC_BLOCK_WIDTH; in get_afbc_sb_size()
96 sb.height = AFBC_BASIC_BLOCK_HEIGHT; in get_afbc_sb_size()
99 sb.width = AFBC_WIDE_BLOCK_WIDTH; in get_afbc_sb_size()
100 sb.height = AFBC_WIDE_BLOCK_HEIGHT; in get_afbc_sb_size()
103 sb.width = AFBC_EXTRAWIDE_BLOCK_WIDTH; in get_afbc_sb_size()
104 sb.height = AFBC_EXTRAWIDE_BLOCK_HEIGHT; in get_afbc_sb_size()
107 return sb; in get_afbc_sb_size()
303 const rect_t sb = get_afbc_sb_size(alloc_type, plane); in get_pixel_w_h() local
345 pixel_align_w = max(HEADER_STRIDE_ALIGN_IN_SUPER_BLOCKS, num_sb_align) * sb.width; in get_pixel_w_h()
351 rect_t afbc_tile = sb; in get_pixel_w_h()
576 const rect_t sb = get_afbc_sb_size(alloc_type, plane); in calc_allocation_size() local
577 const int sb_bytes = GRALLOC_ALIGN((format.bpp_afbc[plane] * sb.width * sb.height) / 8, 128); in calc_allocation_size()