Home
last modified time | relevance | path

Searched refs:tile_shift (Results 1 - 6 of 6) sorted by relevance

/third_party/mesa3d/src/asahi/lib/
H A Dtiling.c89 #define TILED_UNALIGNED_TYPE(pixel_t, is_store, tile_shift) { \
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) { \
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) \
147 agx_detile(void *_tiled, void *_linear, unsigned width, unsigned bpp, unsigned linear_pitch, unsigned sx, unsigned sy, unsigned smaxx, unsigned smaxy, unsigned tile_shift) agx_detile() argument
155 agx_tile(void *_tiled, void *_linear, unsigned width, unsigned bpp, unsigned linear_pitch, unsigned sx, unsigned sy, unsigned smaxx, unsigned smaxy, unsigned tile_shift) agx_tile() argument
[all...]
H A Dtiling.h31 unsigned sx, unsigned sy, unsigned smaxx, unsigned smaxy, unsigned tile_shift);
35 unsigned sx, unsigned sy, unsigned smaxx, unsigned smaxy, unsigned tile_shift);
/third_party/ffmpeg/libavcodec/
H A Dclearvideo.c79 int tile_shift; member
575 mvi_reset(&c->mvi, c->pmb_width, c->pmb_height, 1 << c->tile_shift); in clv_decode_frame()
585 int16_t x = plane == 0 ? i << c->tile_shift : i << (c->tile_shift - 1); in clv_decode_frame()
586 int16_t y = plane == 0 ? j << c->tile_shift : j << (c->tile_shift - 1); in clv_decode_frame()
587 int16_t size = plane == 0 ? 1 << c->tile_shift : 1 << (c->tile_shift - 1); in clv_decode_frame()
596 int x = i << c->tile_shift; in clv_decode_frame()
597 int y = j << c->tile_shift; in clv_decode_frame()
[all...]
/third_party/mesa3d/src/panfrost/shared/
H A Dpan_tiling.c200 #define TILED_UNALIGNED_TYPE(pixel_t, is_store, tile_shift) { \
201 const unsigned mask = (1 << tile_shift) - 1; \
203 unsigned block_start_s = (y >> tile_shift) * dst_stride; \
208 unsigned block_x_s = (x >> tile_shift) * (1 << (tile_shift * 2)); \
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_lowering_nv50.cpp1767 Value *tile_shift[3]; in processSurfaceCoords() local
1771 tile_shift[0] = bld.loadImm(NULL, (uint16_t)6); in processSurfaceCoords()
1776 tile_shift[i] = loadSuInfo16(slot, NV50_SU_INFO_TILE_SHIFT(i)); in processSurfaceCoords()
1777 tile_size[i] = bld.mkOp2v(OP_SHL, TYPE_U16, bld.getSSA(2), bld.loadImm(NULL, (uint16_t)1), tile_shift[i]); in processSurfaceCoords()
1787 tile[i] = bld.mkOp2v(OP_SHR, TYPE_U16, bld.getSSA(2), coords[i], tile_shift[i]); in processSurfaceCoords()
1809 tile_shift[2], tile_shift[0]))), in processSurfaceCoords()
1811 coord_in_tile[2], tile_shift[0])); in processSurfaceCoords()
1825 tile[1], tile_shift[1]))); in processSurfaceCoords()
H A Dnv50_ir_lowering_nvc0.cpp2457 Value *tile_shift[3]; in processSurfaceCoordsNVC0() local
2465 tile_shift[i] = in processSurfaceCoordsNVC0()
2476 tile_shift[0] = bld.loadImm(NULL, 6); in processSurfaceCoordsNVC0()
2485 tile[i] = bld.mkOp2v(OP_SHR, TYPE_U32, bld.getSSA(), src[i], tile_shift[i]); in processSurfaceCoordsNVC0()
2507 tile_shift[2], tile_shift[0]))), in processSurfaceCoordsNVC0()
2509 coord_in_tile[2], tile_shift[0]))); in processSurfaceCoordsNVC0()
2518 tile[1], tile_shift[1])))); in processSurfaceCoordsNVC0()

Completed in 11 milliseconds