Searched refs:tile_shift (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/asahi/lib/ |
D | tiling.c | 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) \ [all …]
|
D | tiling.h | 31 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/ |
D | clearvideo.c | 78 int tile_shift; member 574 mvi_reset(&c->mvi, c->pmb_width, c->pmb_height, 1 << c->tile_shift); in clv_decode_frame() 584 int16_t x = plane == 0 ? i << c->tile_shift : i << (c->tile_shift - 1); in clv_decode_frame() 585 int16_t y = plane == 0 ? j << c->tile_shift : j << (c->tile_shift - 1); in clv_decode_frame() 586 int16_t size = plane == 0 ? 1 << c->tile_shift : 1 << (c->tile_shift - 1); in clv_decode_frame() 595 int x = i << c->tile_shift; in clv_decode_frame() 596 int y = j << c->tile_shift; in clv_decode_frame() 597 int size = 1 << c->tile_shift; in clv_decode_frame() 608 x = i << (c->tile_shift - 1); in clv_decode_frame() 609 y = j << (c->tile_shift - 1); in clv_decode_frame() [all …]
|
/third_party/mesa3d/src/panfrost/shared/ |
D | pan_tiling.c | 200 #define TILED_UNALIGNED_TYPE(pixel_t, is_store, tile_shift) { \ argument 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/ |
D | nv50_ir_lowering_nv50.cpp | 1767 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 …ze[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()
|
D | nv50_ir_lowering_nvc0.cpp | 2457 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()
|
/third_party/ffmpeg/ |
D | Changelog | 152 - avcodec/clearvideo: Check for 0 tile_shift
|