Home
last modified time | relevance | path

Searched refs:tile (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/third_party/ffmpeg/libavfilter/
Dvf_tile.c71 AVFILTER_DEFINE_CLASS(tile);
75 TileContext *tile = ctx->priv; in init() local
77 if (tile->w > UINT_MAX / tile->h) { in init()
79 tile->w, tile->h); in init()
83 if (tile->padding) { in init()
84 if ((tile->w - 1 > (UINT32_MAX - 2 * tile->margin) / tile->padding) || in init()
85 (tile->h - 1 > (UINT32_MAX - 2 * tile->margin) / tile->padding)) { in init()
87 tile->w, tile->h, tile->padding, tile->margin); in init()
92 if (tile->nb_frames == 0) { in init()
93 tile->nb_frames = tile->w * tile->h; in init()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_tile_iterator.cpp69 dng_rect tile (area); in dng_tile_iterator() local
71 tile.b = Min_int32 (tile.b, tile.t + tileSize.v); in dng_tile_iterator()
72 tile.r = Min_int32 (tile.r, tile.l + tileSize.h); in dng_tile_iterator()
74 Initialize (tile, in dng_tile_iterator()
81 dng_tile_iterator::dng_tile_iterator (const dng_rect &tile, in dng_tile_iterator() argument
99 Initialize (tile, in dng_tile_iterator()
106 void dng_tile_iterator::Initialize (const dng_rect &tile, in Initialize() argument
122 int32 vOffset = tile.t; in Initialize()
123 int32 hOffset = tile.l; in Initialize()
125 int32 tileHeight = tile.b - vOffset; in Initialize()
[all …]
Ddng_utils.cpp424 dng_rect tile; in HistogramArea() local
428 while (iter.GetOneTile (tile)) in HistogramArea()
431 dng_const_tile_buffer buffer (image, tile); in HistogramArea()
433 const void *sPtr = buffer.ConstPixel (tile.t, in HistogramArea()
434 tile.l, in HistogramArea()
438 uint32 count1 = tile.H (); in HistogramArea()
439 uint32 count2 = tile.W (); in HistogramArea()
539 const dng_rect &tile,
563 const dng_rect &tile, in Process() argument
567 dng_const_tile_buffer srcBuffer (fSrcImage, tile); in Process()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_debug.c6 struct tile { struct
191 static void plot(struct tile *tile, in plot() argument
196 if (tile->data[x][y] == ' ') in plot()
197 tile->coverage++; in plot()
199 tile->overdraw++; in plot()
201 tile->data[x][y] = val; in plot()
213 struct tile *tile, in debug_rectangle() argument
217 boolean blend = tile->state->variant->key.blend.rt[0].blend_enable; in debug_rectangle()
237 plot(tile, i, j, val, blend); in debug_rectangle()
249 struct tile *tile, in debug_blit_tile() argument
[all …]
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_tile_cache.c115 tc->tile = MALLOC_STRUCT( softpipe_cached_tile ); in sp_create_tile_cache()
116 if (!tc->tile) in sp_create_tile_cache()
146 FREE( tc->tile ); in sp_destroy_tile_cache()
235 clear_tile_rgba(struct softpipe_cached_tile *tile, in clear_tile_rgba() argument
243 memset(tile->data.color, 0, sizeof(tile->data.color)); in clear_tile_rgba()
251 tile->data.colorui128[i][j][0] = clear_value->ui[0]; in clear_tile_rgba()
252 tile->data.colorui128[i][j][1] = clear_value->ui[1]; in clear_tile_rgba()
253 tile->data.colorui128[i][j][2] = clear_value->ui[2]; in clear_tile_rgba()
254 tile->data.colorui128[i][j][3] = clear_value->ui[3]; in clear_tile_rgba()
260 tile->data.colori128[i][j][0] = clear_value->i[0]; in clear_tile_rgba()
[all …]
Dsp_tex_tile_cache.c207 struct softpipe_tex_cached_tile *tile; in sp_find_cached_tile_tex() local
209 tile = tc->entries + tex_cache_pos( addr ); in sp_find_cached_tile_tex()
211 if (addr.value != tile->addr.value) { in sp_find_cached_tile_tex()
222 pos, tile->addr.bits.x, tile->addr.bits.y, tile->z, tile->face, tile->level); in sp_find_cached_tile_tex()
268 (float *) tile->data.color); in sp_find_cached_tile_tex()
269 tile->addr = addr; in sp_find_cached_tile_tex()
272 tc->last_tile = tile; in sp_find_cached_tile_tex()
273 return tile; in sp_find_cached_tile_tex()
/third_party/skia/tools/
DDDLTileHelper.cpp76 TileData* tile = &fTiles[i]; in createComposeDDL() local
77 if (!tile->initialized()) { in createComposeDDL()
81 sk_sp<SkImage> promiseImage = tile->makePromiseImageForDst( in createComposeDDL()
84 SkRect dstRect = SkRect::Make(tile->clipRect()); in createComposeDDL()
85 SkIRect srcRect = tile->clipRect(); in createComposeDDL()
86 srcRect.offsetTo(tile->padOffset().x(), tile->padOffset().y()); in createComposeDDL()
192 void DDLTileHelper::TileData::CreateBackendTexture(GrDirectContext* direct, TileData* tile) { in CreateBackendTexture() argument
193 SkASSERT(tile->fCallbackContext && !tile->fCallbackContext->promiseImageTexture()); in CreateBackendTexture()
195 const SkSurfaceCharacterization& c = tile->fPlaybackChar; in CreateBackendTexture()
199 tile->fCallbackContext->setBackendTexture(beTex); in CreateBackendTexture()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/jp2kdecimator/
Djp2kcodestream.c74 tx0 = it->tile->tx0; in packet_iterator_changed_resolution_or_component()
75 tx1 = it->tile->tx1; in packet_iterator_changed_resolution_or_component()
76 ty0 = it->tile->ty0; in packet_iterator_changed_resolution_or_component()
77 ty1 = it->tile->ty1; in packet_iterator_changed_resolution_or_component()
81 PPx = it->tile->cod ? it->tile->cod->PPx : it->header->cod.PPx; in packet_iterator_changed_resolution_or_component()
82 PPy = it->tile->cod ? it->tile->cod->PPy : it->header->cod.PPy; in packet_iterator_changed_resolution_or_component()
401 const MainHeader * header, const Tile * tile) in init_packet_iterator() argument
409 it->tile = tile; in init_packet_iterator()
413 it->n_layers = (tile->cod) ? tile->cod->n_layers : header->cod.n_layers; in init_packet_iterator()
416 ((tile->cod) ? tile->cod->n_decompositions : header->cod. in init_packet_iterator()
[all …]
/third_party/ffmpeg/libavcodec/
Djpeg2000dec.c134 Jpeg2000Tile *tile; member
358 if (s->numXtiles * (uint64_t)s->numYtiles > INT_MAX/sizeof(*s->tile) || in get_siz()
365 s->tile = av_mallocz_array(s->numXtiles * s->numYtiles, sizeof(*s->tile)); in get_siz()
366 if (!s->tile) { in get_siz()
372 Jpeg2000Tile *tile = s->tile + i; in get_siz() local
374 tile->comp = av_mallocz(s->ncomponents * sizeof(*tile->comp)); in get_siz()
375 if (!tile->comp) in get_siz()
650 if (s->tile[s->curtileno].tp_idx != 0) in get_rgn()
655 s->tile[s->curtileno].comp[compno].roi_shift = v; in get_rgn()
839 if (TPsot >= FF_ARRAY_ELEMS(s->tile[Isot].tile_part)) { in get_sot()
[all …]
Divi.c358 IVITile *tile = band->tiles; in ivi_init_tiles() local
362 tile->xpos = x; in ivi_init_tiles()
363 tile->ypos = y; in ivi_init_tiles()
364 tile->mb_size = band->mb_size; in ivi_init_tiles()
365 tile->width = FFMIN(band->width - x, t_width); in ivi_init_tiles()
366 tile->height = FFMIN(band->height - y, t_height); in ivi_init_tiles()
367 tile->is_empty = tile->data_size = 0; in ivi_init_tiles()
369 tile->num_MBs = IVI_MBs_PER_TILE(tile->width, tile->height, in ivi_init_tiles()
372 av_freep(&tile->mbs); in ivi_init_tiles()
373 tile->mbs = av_mallocz_array(tile->num_MBs, sizeof(IVIMbInfo)); in ivi_init_tiles()
[all …]
Dj2kenc.c131 Jpeg2000Tile *tile; member
171 Jpeg2000Tile *tile = s->tile + tileno;
175 Jpeg2000Component *comp = tile->comp + compno;
429 Jpeg2000Tile *tile = &s->tile[s->numXtiles * i + j]; in compute_rates() local
431 int tilew = tile->comp[compno].coord[0][1] - tile->comp[compno].coord[0][0]; in compute_rates()
432 int tileh = tile->comp[compno].coord[1][1] - tile->comp[compno].coord[1][0]; in compute_rates()
436tile->layer_rates[layno] += (double)(tilew * tileh) * s->ncomponents * s->cbps[compno] / in compute_rates()
439 tile->layer_rates[layno] = 0.0; in compute_rates()
462 s->tile = av_calloc(s->numXtiles, s->numYtiles * sizeof(Jpeg2000Tile)); in init_tiles()
463 if (!s->tile) in init_tiles()
[all …]
/third_party/cups-filters/cupsfilters/
Dimage.c629 cups_itile_t *tile; /* Pointer to tile */ in flush_tile() local
633 if(img==NULL||img->first==NULL||img->first->tile==NULL) in flush_tile()
637 tile = img->first->tile; in flush_tile()
639 if (!tile->dirty) in flush_tile()
641 tile->ic = NULL; in flush_tile()
650 tile->ic = NULL; in flush_tile()
651 tile->dirty = 0; in flush_tile()
658 if (tile->pos >= 0) in flush_tile()
660 if (lseek(img->cachefile, tile->pos, SEEK_SET) != tile->pos) in flush_tile()
662 tile->ic = NULL; in flush_tile()
[all …]
/third_party/skia/modules/skottie/src/effects/
DMotionTileEffect.cpp77 const auto tile = SkRect::MakeXYWH(fTileCenter.fX - 0.5f * tile_size.width(), in onRevalidate() local
83 SkRect::MakeWH(fLayerSize.width(), fLayerSize.height()), tile); in onRevalidate()
89 if (fPhase && layer_shader && tile.isFinite()) { in onRevalidate()
94 ? SkVector::Make(tile.width(), 0) in onRevalidate()
95 : SkVector::Make(0, tile.height()); in onRevalidate()
106 const SkPoint pts[] = {{ tile.x(), tile.y() }, in onRevalidate()
107 { tile.x() + 2 * (tile.width() - phase_vec.fX), in onRevalidate()
108 tile.y() + 2 * (tile.height() - phase_vec.fY) }}; in onRevalidate()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_gmem.c396 struct fd_tile *tile = &gmem->tile[t]; in gmem_stateobj_init() local
399 assert(t < ARRAY_SIZE(gmem->tile)); in gmem_stateobj_init()
409 tile->n = !is_a20x(screen) ? tile_n[p]++ in gmem_stateobj_init()
411 tile->p = p; in gmem_stateobj_init()
412 tile->bin_w = bw; in gmem_stateobj_init()
413 tile->bin_h = bh; in gmem_stateobj_init()
414 tile->xoff = xoff; in gmem_stateobj_init()
415 tile->yoff = yoff; in gmem_stateobj_init()
438 swap(gmem->tile[col0 + j], gmem->tile[col0 + gmem->nbins_x - j - 1]); in gmem_stateobj_init()
447 struct fd_tile *tile = &gmem->tile[t++]; in gmem_stateobj_init() local
[all …]
/third_party/openGLES/extensions/QCOM/
DQCOM_tiled_rendering.txt72 entire scene will be rendered to each individual tile using a multi-pass
73 technique, in which primitives that lie entirely outside of the tile being
74 rendered are trivially discarded. After each tile has been rendered, its
81 This extension allows the application to specify a rectangular tile
107 more heavyweight. When this occurs, prior to rendering each tile the fast
109 region corresponding to that tile. This operation can double the cost of
119 contents of the specified tile, and whether or not the rendered contents of
120 the specified tile need to be preserved upon completion. This mechanism can
122 every pixel in a tile will be completely rendered or when the resulting
131 specified tile. Therefore, all rendering commands issued between
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/QCOM/
DQCOM_tiled_rendering.txt72 entire scene will be rendered to each individual tile using a multi-pass
73 technique, in which primitives that lie entirely outside of the tile being
74 rendered are trivially discarded. After each tile has been rendered, its
81 This extension allows the application to specify a rectangular tile
107 more heavyweight. When this occurs, prior to rendering each tile the fast
109 region corresponding to that tile. This operation can double the cost of
119 contents of the specified tile, and whether or not the rendered contents of
120 the specified tile need to be preserved upon completion. This mechanism can
122 every pixel in a tile will be completely rendered or when the resulting
131 specified tile. Therefore, all rendering commands issued between
[all …]
/third_party/flutter/skia/src/shaders/
DSkPictureShader.cpp32 const SkRect* tile) const { in makeShader()
36 return SkPictureShader::Make(sk_ref_sp(this), tmx, tmy, localMatrix, tile); in makeShader()
122 const SkMatrix* localMatrix, const SkRect* tile) in SkPictureShader() argument
125 , fTile(tile ? *tile : fPicture->cullRect()) in SkPictureShader()
138 const SkMatrix* localMatrix, const SkRect* tile) { in Make() argument
139 if (!picture || picture->cullRect().isEmpty() || (tile && tile->isEmpty())) { in Make()
142 return sk_sp<SkShader>(new SkPictureShader(std::move(picture), tmx, tmy, localMatrix, tile)); in Make()
147 SkRect* tile) const { in isAPicture()
155 if (tile) { in isAPicture()
156 *tile = fTile; in isAPicture()
[all …]
/third_party/flutter/skia/modules/skottie/src/effects/
DMotionTileEffect.cpp75 const auto tile = SkRect::MakeXYWH(fTileCenter.fX - 0.5f * tile_size.width(), in onRevalidate() local
82 tile, SkMatrix::kFill_ScaleToFit); in onRevalidate()
92 ? SkVector::Make(tile.width(), 0) in onRevalidate()
93 : SkVector::Make(0, tile.height()); in onRevalidate()
104 const SkPoint pts[] = {{ tile.x(), tile.y() }, in onRevalidate()
105 { tile.x() + 2 * (tile.width() - phase_vec.fX), in onRevalidate()
106 tile.y() + 2 * (tile.height() - phase_vec.fY) }}; in onRevalidate()
/third_party/skia/docs/examples/
DUnpremulGPU.cpp28 const SkTileMode tile = SkTileMode::kRepeat; in draw() local
29 paint.setShader(premulImage->makeShader(tile, tile, SkSamplingOptions())); in draw()
32 paint.setShader(unpremulImage->makeShader(tile, tile, SkSamplingOptions())); in draw()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_gmem.c224 fd2_emit_tile_gmem2mem(struct fd_batch *batch, const struct fd_tile *tile) in fd2_emit_tile_gmem2mem() argument
281 const struct fd_tile *tile) assert_dt in fd2_emit_tile_mem2gmem() argument
288 unsigned bin_w = tile->bin_w; in fd2_emit_tile_mem2gmem()
289 unsigned bin_h = tile->bin_h; in fd2_emit_tile_mem2gmem()
301 x0 = ((float)tile->xoff) / ((float)pfb->width); in fd2_emit_tile_mem2gmem()
302 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width); in fd2_emit_tile_mem2gmem()
303 y0 = ((float)tile->yoff) / ((float)pfb->height); in fd2_emit_tile_mem2gmem()
304 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height); in fd2_emit_tile_mem2gmem()
380 if (fd_gmem_needs_restore(batch, tile, FD_BUFFER_DEPTH | FD_BUFFER_STENCIL)) in fd2_emit_tile_mem2gmem()
383 if (fd_gmem_needs_restore(batch, tile, FD_BUFFER_COLOR)) in fd2_emit_tile_mem2gmem()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_linear.c91 t->tile.width = tile_width; in pipe_linear_fill_info()
92 t->tile.height = tile_height; in pipe_linear_fill_info()
93 t->cols = t->tile.width / t->block.width; in pipe_linear_fill_info()
94 t->rows = t->tile.height / t->block.height; in pipe_linear_fill_info()
95 t->tile.size = t->cols * t->rows * t->block.size; in pipe_linear_fill_info()
100 t->size = t->tiles_x * t->tiles_y * t->tile.size; in pipe_linear_fill_info()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dtjbench.c195 int tile = 0; in decomp() local
201 col++, tile++, dstPtr2 += ps * tilew) { in decomp()
208 if (tjDecompressToYUV2(handle, jpegBuf[tile], jpegSize[tile], yuvBuf, in decomp()
216 } else if (tjDecompress2(handle, jpegBuf[tile], jpegSize[tile], in decomp()
393 int tile = 0; in fullTest() local
400 col++, tile++, srcPtr2 += ps * tilew) { in fullTest()
412 subsamp, &jpegBuf[tile], &jpegSize[tile], in fullTest()
417 &jpegBuf[tile], &jpegSize[tile], subsamp, jpegQual, in fullTest()
421 totalJpegSize += jpegSize[tile]; in fullTest()
538 int ps = tjPixelSize[pf], tile, row, col, i, iter, retval = 0, decompsrc = 0; in decompTest() local
[all …]
/third_party/libjpeg-turbo/
Dtjbench.c198 int tile = 0; in decomp() local
204 col++, tile++, dstPtr2 += ps * tilew) { in decomp()
211 if (tjDecompressToYUV2(handle, jpegBuf[tile], jpegSize[tile], yuvBuf, in decomp()
219 } else if (tjDecompress2(handle, jpegBuf[tile], jpegSize[tile], in decomp()
395 int tile = 0; in fullTest() local
402 col++, tile++, srcPtr2 += ps * tilew) { in fullTest()
414 subsamp, &jpegBuf[tile], &jpegSize[tile], in fullTest()
419 &jpegBuf[tile], &jpegSize[tile], subsamp, jpegQual, in fullTest()
423 totalJpegSize += jpegSize[tile]; in fullTest()
534 int ps = tjPixelSize[pf], tile, row, col, i, iter, retval = 0, decompsrc = 0; in decompTest() local
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dtjbench.c185 int tile = 0; in decomp() local
191 col++, tile++, dstPtr2 += ps * tilew) { in decomp()
198 if (tjDecompressToYUV2(handle, jpegBuf[tile], jpegSize[tile], yuvBuf, in decomp()
206 } else if (tjDecompress2(handle, jpegBuf[tile], jpegSize[tile], in decomp()
374 int tile = 0; in fullTest() local
381 col++, tile++, srcPtr2 += ps * tilew) { in fullTest()
393 subsamp, &jpegBuf[tile], &jpegSize[tile], in fullTest()
398 &jpegBuf[tile], &jpegSize[tile], subsamp, jpegQual, in fullTest()
402 totalJpegSize += jpegSize[tile]; in fullTest()
515 int ps = tjPixelSize[pf], tile, row, col, i, iter, retval = 0, decompsrc = 0; in decompTest() local
[all …]
/third_party/ffmpeg/tests/fate/
Dimage.mak133 FATE_EXR += fate-exr-rgb-tile-float-raw-12x8
134 fate-exr-rgb-tile-float-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_12x8.e…
136 FATE_EXR += fate-exr-rgb-tile-float-raw-150x130
137 fate-exr-rgb-tile-float-raw-150x130: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_150…
139 FATE_EXR += fate-exr-rgb-tile-half-raw-12x8
140 fate-exr-rgb-tile-half-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_raw_12x8.exr…
166 FATE_EXR += fate-exr-rgb-tile-pxr24-float-half-l1
167 fate-exr-rgb-tile-pxr24-float-half-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_float…
169 FATE_EXR += fate-exr-rgb-tile-pxr24-float-half-l2
170 fate-exr-rgb-tile-pxr24-float-half-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)…
[all …]

12345678910>>...13