Lines Matching refs:tile_shift
89 #define TILED_UNALIGNED_TYPE(pixel_t, is_store, tile_shift) { \ argument
90 unsigned tile_size = (1 << tile_shift);\
92 unsigned tiles_per_row = (width + tile_size - 1) >> tile_shift;\
101 unsigned tile_y = (y >> tile_shift);\
108 unsigned tile_x = (x >> tile_shift);\
125 #define TILED_UNALIGNED_TYPES(bpp, store, tile_shift) { \ argument
127 TILED_UNALIGNED_TYPE(uint8_t, store, tile_shift) \
129 TILED_UNALIGNED_TYPE(uint16_t, store, tile_shift) \
131 TILED_UNALIGNED_TYPE(agx_uint24_t, store, tile_shift) \
133 TILED_UNALIGNED_TYPE(uint32_t, store, tile_shift) \
135 TILED_UNALIGNED_TYPE(agx_uint48_t, store, tile_shift) \
137 TILED_UNALIGNED_TYPE(uint64_t, store, tile_shift) \
139 TILED_UNALIGNED_TYPE(agx_uint96_t, store, tile_shift) \
141 TILED_UNALIGNED_TYPE(agx_uint128_t, store, tile_shift) \
149 unsigned sx, unsigned sy, unsigned smaxx, unsigned smaxy, unsigned tile_shift) in agx_detile() argument
151 TILED_UNALIGNED_TYPES(bpp, false, tile_shift); in agx_detile()
158 unsigned tile_shift) in agx_tile() argument
160 TILED_UNALIGNED_TYPES(bpp, true, tile_shift); in agx_tile()