/third_party/flutter/skia/gm/ |
D | imageresizetiled.cpp | 36 const SkScalar tile_size = SkIntToScalar(100); in DEF_SIMPLE_GM() local 37 for (SkScalar y = 0; y < HEIGHT; y += tile_size) { in DEF_SIMPLE_GM() 38 for (SkScalar x = 0; x < WIDTH; x += tile_size) { in DEF_SIMPLE_GM() 40 canvas->clipRect(SkRect::MakeXYWH(x, y, tile_size, tile_size)); in DEF_SIMPLE_GM()
|
/third_party/skia/gm/ |
D | imageresizetiled.cpp | 35 const SkScalar tile_size = SkIntToScalar(100); in DEF_SIMPLE_GM() local 36 for (SkScalar y = 0; y < HEIGHT; y += tile_size) { in DEF_SIMPLE_GM() 37 for (SkScalar x = 0; x < WIDTH; x += tile_size) { in DEF_SIMPLE_GM() 39 canvas->clipRect(SkRect::MakeXYWH(x, y, tile_size, tile_size)); in DEF_SIMPLE_GM()
|
/third_party/mesa3d/src/asahi/lib/ |
D | tiling.c | 90 unsigned tile_size = (1 << tile_shift);\ 91 unsigned pixels_per_tile = tile_size * tile_size;\ 92 unsigned tiles_per_row = (width + tile_size - 1) >> tile_shift;\ 93 unsigned y_offs = agx_space_bits(sy & (tile_size - 1)) << 1;\ 94 unsigned x_offs_start = agx_space_bits(sx & (tile_size - 1));\
|
/third_party/ffmpeg/libavcodec/ |
D | cri.c | 47 uint64_t tile_size[4]; member 258 s->tile_size[i] = bytestream2_get_le64(gb); in cri_decode_frame() 309 if (s->tile_size[i] >= s->data_size) in cri_decode_frame() 313 if (s->tile_size[0] + s->tile_size[1] + s->tile_size[2] + s->tile_size[3] != in cri_decode_frame() 355 s->jpkt->size = s->tile_size[tile]; in cri_decode_frame() 395 offset += s->tile_size[tile]; in cri_decode_frame()
|
D | clearvideo.c | 77 int tile_size; member 462 static void extend_edges(AVFrame *buf, int tile_size) in extend_edges() argument 470 int size = comp == 0 ? tile_size : tile_size >> 1; in extend_edges() 556 extend_edges(c->pic, c->tile_size); in clv_decode_frame() 634 extend_edges(c->pic, c->tile_size); in clv_decode_frame() 714 c->tile_size = AV_RL32(&avctx->extradata[94]); in clv_decode_init() 716 c->tile_size = AV_RB32(&avctx->extradata[134]); in clv_decode_init() 718 c->tile_size = 16; in clv_decode_init() 724 c->tile_shift = av_log2(c->tile_size); in clv_decode_init() 725 if (1U << c->tile_shift != c->tile_size || c->tile_shift < 1 || c->tile_shift > 30) { in clv_decode_init() [all …]
|
D | tdsc.c | 344 static int tdsc_decode_jpeg_tile(AVCodecContext *avctx, int tile_size, in tdsc_decode_jpeg_tile() argument 353 ctx->jpkt->size = tile_size; in tdsc_decode_jpeg_tile() 393 int tile_size; in tdsc_decode_tiles() local 405 tile_size = bytestream2_get_le32(&ctx->gbc); in tdsc_decode_tiles() 406 if (bytestream2_get_bytes_left(&ctx->gbc) < tile_size) in tdsc_decode_tiles() 427 ret = av_reallocp(&ctx->tilebuffer, tile_size); in tdsc_decode_tiles() 431 bytestream2_get_buffer(&ctx->gbc, ctx->tilebuffer, tile_size); in tdsc_decode_tiles() 435 ret = tdsc_decode_jpeg_tile(avctx, tile_size, x, y, w, h); in tdsc_decode_tiles()
|
D | ivi.h | 283 #define IVI_NUM_TILES(stride, tile_size) (((stride) + (tile_size) - 1) / (tile_size)) argument
|
D | indeo5.c | 62 int result, i, p, tile_size, pic_size_indx, mb_size, blk_size, is_scalable; in decode_gop_header() local 74 tile_size = (ctx->gop_flags & 0x40) ? 64 << get_bits(&ctx->gb, 2) : 0; in decode_gop_header() 75 if (tile_size > 256) { in decode_gop_header() 76 av_log(avctx, AV_LOG_ERROR, "Invalid tile size: %d\n", tile_size); in decode_gop_header() 108 if (!tile_size) { in decode_gop_header() 112 pic_conf.tile_height = pic_conf.tile_width = tile_size; in decode_gop_header()
|
D | wmalosslessdec.c | 509 static int decode_channel_residues(WmallDecodeCtx *s, int ch, int tile_size) in decode_channel_residues() argument 515 s->transient_pos[ch] = get_bits(&s->gb, av_log2(tile_size)); in decode_channel_residues() 535 for (; i < tile_size; i++) { in decode_channel_residues() 686 static void revert_mclms(WmallDecodeCtx *s, int tile_size) in revert_mclms() argument 689 for (icoef = 0; icoef < tile_size; icoef++) { in revert_mclms() 788 static void revert_inter_ch_decorr(WmallDecodeCtx *s, int tile_size) in revert_inter_ch_decorr() argument 794 for (icoef = 0; icoef < tile_size; icoef++) { in revert_inter_ch_decorr() 801 static void revert_acfilter(WmallDecodeCtx *s, int tile_size) in revert_acfilter() argument 821 for (i = order; i < tile_size; i++) { in revert_acfilter() 829 if (tile_size <= j) { in revert_acfilter() [all …]
|
D | av1dec.h | 57 uint32_t tile_size; member
|
D | vp9.c | 1281 int64_t tile_size; in decode_tiles() local 1285 tile_size = size; in decode_tiles() 1287 tile_size = AV_RB32(data); in decode_tiles() 1291 if (tile_size > size) { in decode_tiles() 1295 ret = ff_vp56_init_range_decoder(&td->c_b[tile_col], data, tile_size); in decode_tiles() 1302 data += tile_size; in decode_tiles() 1303 size -= tile_size; in decode_tiles() 1711 int64_t tile_size; in vp9_decode_frame() local 1715 tile_size = size; in vp9_decode_frame() 1717 tile_size = AV_RB32(data); in vp9_decode_frame() [all …]
|
D | nvdec_av1.c | 310 ctx->slice_offsets[i*2 + 1] = ctx->slice_offsets[i*2] + s->tile_group_info[i].tile_size; in nvdec_av1_decode_slice() 327 …_offsets[tile_num*2 + 1] = ctx->slice_offsets[tile_num*2] + s->tile_group_info[tile_num].tile_size; in nvdec_av1_decode_slice()
|
D | libaomenc.c | 431 int tile_size, rounding, i; in choose_tiling() local 560 tile_size = sb_width / ctx->tile_cols; in choose_tiling() 563 enccfg->tile_widths[i] = tile_size + in choose_tiling() 568 tile_size = sb_height / ctx->tile_rows; in choose_tiling() 571 enccfg->tile_heights[i] = tile_size + in choose_tiling()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_cs.c | 90 GENX(pan_select_crc_rt)(const struct pan_fb_info *fb, unsigned tile_size) in GENX() 101 if (tile_size != 16 * 16) { in GENX() 102 assert(tile_size < 16 * 16); in GENX() 656 pan_force_clean_write_rt(const struct pan_image_view *rt, unsigned tile_size) in pan_force_clean_write_rt() argument 664 assert(tile_size <= 16*16); in pan_force_clean_write_rt() 667 return !(superblock == 16 && tile_size == 16*16); in pan_force_clean_write_rt() 671 pan_force_clean_write(const struct pan_fb_info *fb, unsigned tile_size) in pan_force_clean_write() argument 674 assert(tile_size <= 16*16); in pan_force_clean_write() 678 pan_force_clean_write_rt(fb->rts[i].view, tile_size)) in pan_force_clean_write() 683 pan_force_clean_write_rt(fb->zs.view.zs, tile_size)) in pan_force_clean_write() [all …]
|
D | pan_tiler.c | 265 unsigned tile_size = (1 << b) * MIN_TILE_SIZE; in panfrost_hierarchy_size() local 267 unsigned tile_count = pan_tile_count(width, height, tile_size, tile_size); in panfrost_hierarchy_size()
|
D | pan_cs.h | 156 GENX(pan_select_crc_rt)(const struct pan_fb_info *fb, unsigned tile_size);
|
/third_party/flutter/skia/modules/skottie/src/effects/ |
D | MotionTileEffect.cpp | 73 const auto tile_size = SkSize::Make(std::max(tileW, 1.0f), in onRevalidate() local 75 const auto tile = SkRect::MakeXYWH(fTileCenter.fX - 0.5f * tile_size.width(), in onRevalidate() 76 fTileCenter.fY - 0.5f * tile_size.height(), in onRevalidate() 77 tile_size.width(), in onRevalidate() 78 tile_size.height()); in onRevalidate()
|
/third_party/skia/modules/skottie/src/effects/ |
D | MotionTileEffect.cpp | 75 const auto tile_size = SkSize::Make(std::max(tileW, 1.0f), in onRevalidate() local 77 const auto tile = SkRect::MakeXYWH(fTileCenter.fX - 0.5f * tile_size.width(), in onRevalidate() 78 fTileCenter.fY - 0.5f * tile_size.height(), in onRevalidate() 79 tile_size.width(), in onRevalidate() 80 tile_size.height()); in onRevalidate()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_txf_ms.c | 77 uint32_t tile_size = (tile_h * tile_w * in vc4_nir_lower_txf_ms_instr() local 87 nir_imm_int(b, tile_size)), in vc4_nir_lower_txf_ms_instr() 90 tile_size)))); in vc4_nir_lower_txf_ms_instr()
|
D | vc4_blit.c | 46 is_tile_unaligned(unsigned size, unsigned tile_size) in is_tile_unaligned() argument 48 return size & (tile_size - 1); in is_tile_unaligned()
|
/third_party/libdrm/tests/exynos/ |
D | exynos_fimg2d_test.c | 155 unsigned int num_tiles_y, unsigned int tile_size) in create_checkerboard_pattern() argument 159 const unsigned int stride = num_tiles_x * tile_size; in create_checkerboard_pattern() 161 if (posix_memalign((void*)&buf, 64, num_tiles_y * tile_size * stride * 4) != 0) in create_checkerboard_pattern() 168 for (i = 0; i < tile_size; ++i) { in create_checkerboard_pattern() 169 for (j = 0; j < tile_size; ++j) { in create_checkerboard_pattern() 170 buf[x * tile_size + y * stride * tile_size + i + j * stride] = color; in create_checkerboard_pattern()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-frame.c | 344 gint tile_size; in gst_video_frame_copy_plane() local 353 tile_size = 1 << ts; in gst_video_frame_copy_plane() 376 memcpy (dp + (di << ts), sp + (si << ts), tile_size); in gst_video_frame_copy_plane()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | predictor_enc.c | 309 const int tile_size = 1 << bits; in GetBestPredictorForTile() local 310 const int max_y = GetMin(tile_size, height - start_y); in GetBestPredictorForTile() 311 const int max_x = GetMin(tile_size, width - start_x); in GetBestPredictorForTile()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | predictor_enc.c | 309 const int tile_size = 1 << bits; in GetBestPredictorForTile() local 310 const int max_y = GetMin(tile_size, height - start_y); in GetBestPredictorForTile() 311 const int max_x = GetMin(tile_size, width - start_x); in GetBestPredictorForTile()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_rs.c | 477 size_t tile_size; in etna_manual_blit() local 484 tile_size = util_format_get_blocksize(blit_info->src.format) * 4 * 4; in etna_manual_blit() 501 memcpy(drow, srow, tile_size * blit_info->src.box.width); in etna_manual_blit()
|