Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dclearvideo.c78 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/
Dpan_tiling.c217 #define TILED_UNALIGNED_TYPE(pixel_t, is_store, tile_shift) { \ argument
218 const unsigned mask = (1 << tile_shift) - 1; \
226 unsigned block_x_s = (x >> tile_shift) * (1 << (tile_shift * 2)); \
/third_party/mesa3d/src/panfrost/lib/
Dpan_texture.c188 unsigned tile_h = 1, tile_w = 1, tile_shift = 0; in pan_image_layout_init() local
194 tile_shift = 2; in pan_image_layout_init()
205 effective_width = ALIGN_POT(effective_width, tile_w) >> tile_shift; in pan_image_layout_init()
233 slice->row_stride = stride * (tile_h >> tile_shift); in pan_image_layout_init()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
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 …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()
Dnv50_ir_lowering_nvc0.cpp2445 Value *tile_shift[3]; in processSurfaceCoordsNVC0() local
2453 tile_shift[i] = in processSurfaceCoordsNVC0()
2464 tile_shift[0] = bld.loadImm(NULL, 6); in processSurfaceCoordsNVC0()
2473 tile[i] = bld.mkOp2v(OP_SHR, TYPE_U32, bld.getSSA(), src[i], tile_shift[i]); in processSurfaceCoordsNVC0()
2495 tile_shift[2], tile_shift[0]))), in processSurfaceCoordsNVC0()
2497 coord_in_tile[2], tile_shift[0]))); in processSurfaceCoordsNVC0()
2506 tile[1], tile_shift[1])))); in processSurfaceCoordsNVC0()
/third_party/ffmpeg/
DChangelog152 - avcodec/clearvideo: Check for 0 tile_shift