Home
last modified time | relevance | path

Searched refs:size0 (Results 1 – 25 of 42) sorted by relevance

12

/third_party/mesa3d/src/freedreno/fdl/
Dfd5_layout.c95 (level > 1 && layout->slices[level - 1].size0 > 0xf000))) in fdl5_layout()
96 slice->size0 = align(nblocksy * pitch, alignment); in fdl5_layout()
98 slice->size0 = align(nblocksy * pitch, alignment); in fdl5_layout()
100 slice->size0 = layout->slices[level - 1].size0; in fdl5_layout()
102 layout->size += slice->size0 * u_minify(depth0, level) * layers_in_level; in fdl5_layout()
Dfd6_layout.c224 if (level < 1 || layout->slices[level - 1].size0 > 0xf000) { in fdl6_layout()
225 slice->size0 = align(nblocksy * pitch, 4096); in fdl6_layout()
227 slice->size0 = layout->slices[level - 1].size0; in fdl6_layout()
230 slice->size0 = nblocksy * pitch; in fdl6_layout()
233 layout->size += slice->size0 * depth * layers_in_level; in fdl6_layout()
243 ubwc_slice->size0 = in fdl6_layout()
246 layout->ubwc_layer_size += ubwc_slice->size0; in fdl6_layout()
Dfreedreno_layout.c60 level < ARRAY_SIZE(layout->slices) && layout->slices[level].size0; in fdl_dump_layout()
72 slice->size0, ubwc_slice->size0, in fdl_dump_layout()
73 slice->size0 / fdl_pitch(layout, level), slice->offset, in fdl_dump_layout()
Dfreedreno_layout.h82 uint32_t size0; /* size of first layer in slice */ member
166 return layout->slices[level].size0; in fdl_layer_stride()
/third_party/lz4/programs/
Ddatagen.c111 size_t size0 = RDG_rand(seed) & 3; in RDG_genBlock() local
112 size0 = (size_t)1 << (16 + size0 * 2); in RDG_genBlock()
113 size0 += RDG_rand(seed) & (size0-1); /* because size0 is power of 2*/ in RDG_genBlock()
114 if (buffSize < pos + size0) { in RDG_genBlock()
118 memset(buffPtr+pos, 0, size0); in RDG_genBlock()
119 pos += size0; in RDG_genBlock()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_resource.c63 (level > 1 && fd_resource_slice(rsc, level - 1)->size0 > 0xf000))) in setup_slices()
64 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices()
66 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices()
68 slice->size0 = fd_resource_slice(rsc, level - 1)->size0; in setup_slices()
70 size += slice->size0 * u_minify(prsc->depth0, level) * prsc->array_size; in setup_slices()
Dfd3_texture.c200 A3XX_TEX_CONST_3_LAYERSZ1(slice->size0); in fd3_sampler_view_create()
204 A3XX_TEX_CONST_3_LAYERSZ1(slice->size0); in fd3_sampler_view_create()
206 fd_resource_slice(rsc, prsc->last_level)->size0); in fd3_sampler_view_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_resource.c70 (level > 1 && fd_resource_slice(rsc, level - 1)->size0 <= 0xf000)) in fd4_setup_slices()
71 slice->size0 = fd_resource_slice(rsc, level - 1)->size0; in fd4_setup_slices()
73 slice->size0 = align(nblocksy * pitch, alignment); in fd4_setup_slices()
75 size += slice->size0 * depth * layers_in_level; in fd4_setup_slices()
Dfd4_texture.c233 A4XX_TEX_CONST_3_LAYERSZ(fd_resource_slice(rsc, lvl)->size0); in fd4_sampler_view_create()
235 fd_resource_slice(rsc, prsc->last_level)->size0); in fd4_sampler_view_create()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dsyntax_enc.c116 int profile, size_t size0) { in PutVP8FrameHeader() argument
120 if (size0 >= VP8_MAX_PARTITION0_SIZE) { // partition #0 is too big to fit in PutVP8FrameHeader()
128 | ((uint32_t)size0 << 5); // partition length (19b) in PutVP8FrameHeader()
149 static int PutWebPHeaders(const VP8Encoder* const enc, size_t size0, in PutWebPHeaders() argument
175 err = PutVP8FrameHeader(pic, enc->profile_, size0); in PutWebPHeaders()
360 const size_t size0 = VP8BitWriterSize(bw); in VP8EncWrite() local
361 ok = ok && PutWebPHeaders(enc, size0, vp8_size, riff_size) in VP8EncWrite()
362 && pic->writer(part0, size0, pic) in VP8EncWrite()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dsyntax_enc.c116 int profile, size_t size0) { in PutVP8FrameHeader() argument
120 if (size0 >= VP8_MAX_PARTITION0_SIZE) { // partition #0 is too big to fit in PutVP8FrameHeader()
128 | ((uint32_t)size0 << 5); // partition length (19b) in PutVP8FrameHeader()
149 static int PutWebPHeaders(const VP8Encoder* const enc, size_t size0, in PutWebPHeaders() argument
175 err = PutVP8FrameHeader(pic, enc->profile_, size0); in PutWebPHeaders()
360 const size_t size0 = VP8BitWriterSize(bw); in VP8EncWrite() local
361 ok = ok && PutWebPHeaders(enc, size0, vp8_size, riff_size) in VP8EncWrite()
362 && pic->writer(part0, size0, pic) in VP8EncWrite()
/third_party/ffmpeg/tests/
Dtiny_psnr.c140 uint64_t size0 = 0; in run_psnr() local
216 size0 += s0; in run_psnr()
222 i = FFMIN(size0, size1) / len; in run_psnr()
239 maxdist, size0, size1); in run_psnr()
258 dev * scale, psnr_str, maxdist, size0, size1); in run_psnr()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_resource.c50 slice->size0 = align(pitch * nblocksy, 4096); in fd2_setup_slices()
52 size += slice->size0 * u_minify(prsc->depth0, level) * prsc->array_size; in fd2_setup_slices()
/third_party/python/Lib/test/
Dtest_dbm_gnu.py90 size0 = os.path.getsize(filename)
95 value_size = max(size0, 10000)
98 self.assertGreater(size1, size0)
107 self.assertGreaterEqual(size2, size0)
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-subset-cff1.cc405 unsigned int size0, size1; in plan_subset_encoding() local
457 size0 = Encoding0::min_size + HBUINT8::static_size * subset_enc_num_codes; in plan_subset_encoding()
460 if (size0 < size1) in plan_subset_encoding()
468 unsigned int size0, size_ranges; in plan_subset_charset() local
501 size0 = Charset0::min_size + HBUINT16::static_size * (plan->num_output_glyphs () - 1); in plan_subset_charset()
507 if (size0 < size_ranges) in plan_subset_charset()
/third_party/harfbuzz/src/
Dhb-subset-cff1.cc405 unsigned int size0, size1, supp_size; in plan_subset_encoding() local
459 size0 = Encoding0::min_size + HBUINT8::static_size * subset_enc_num_codes; in plan_subset_encoding()
462 if (size0 < size1) in plan_subset_encoding()
470 unsigned int size0, size_ranges; in plan_subset_charset() local
503 size0 = Charset0::min_size + HBUINT16::static_size * (plan->num_output_glyphs () - 1); in plan_subset_charset()
509 if (size0 < size_ranges) in plan_subset_charset()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_samplers.c435 nir_ssa_def *size0 = nir_get_texture_size(b, tex); in lower_sample_to_txf_for_integer_tex_impl() local
443 .size = size0, in lower_sample_to_txf_for_integer_tex_impl()
449 params.size = nir_i2f32(b, nir_imax(b, nir_ishr(b, size0, params.lod), in lower_sample_to_txf_for_integer_tex_impl()
452 params.size = nir_i2f32(b, size0); in lower_sample_to_txf_for_integer_tex_impl()
510 nir_i2f32(b, nir_channel(b, size0, params.ncoord_comp))); in lower_sample_to_txf_for_integer_tex_impl()
/third_party/flutter/skia/src/ports/
DSkFontConfigInterface_direct.cpp133 size_t size0 = iden0.writeToMemory(nullptr); in test_writeToMemory() local
135 SkAutoMalloc storage(size0); in test_writeToMemory()
136 memset(storage.get(), initValue, size0); in test_writeToMemory()
139 SkASSERT(size0 == size1); in test_writeToMemory()
/third_party/skia/src/ports/
DSkFontConfigInterface_direct.cpp118 size_t size0 = iden0.writeToMemory(nullptr); in test_writeToMemory() local
120 SkAutoMalloc storage(size0); in test_writeToMemory()
121 memset(storage.get(), initValue, size0); in test_writeToMemory()
124 SkASSERT(size0 == size1); in test_writeToMemory()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c226 fd_resource_slice(rsc, prsc->last_level)->size0) | in fd5_sampler_view_create()
227 A5XX_TEX_CONST_3_ARRAY_PITCH(fd_resource_slice(rsc, lvl)->size0); in fd5_sampler_view_create()
Dfd5_gmem.c93 size = slice->size0; in emit_mrt()
152 size = fd_resource_slice(rsc, 0)->size0; in emit_zs()
198 size = fd_resource_slice(rsc->stencil, 0)->size0; in emit_zs()
503 OUT_RING(ring, A5XX_RB_MRT_ARRAY_PITCH(slice->size0)); in emit_mem2gmem_surf()
648 OUT_RING(ring, A5XX_RB_BLIT_DST_ARRAY_PITCH(slice->size0)); in emit_gmem2mem_surf()
Dfd5_blitter.c358 ssize = sslice->size0; in emit_blit()
363 dsize = dslice->size0; in emit_blit()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-subset-cff1.cc469 unsigned int size0, size1, supp_size; in plan_subset_encoding() local
518 size0 = Encoding0::min_size + HBUINT8::static_size * subset_enc_num_codes; in plan_subset_encoding()
521 if (size0 < size1) in plan_subset_encoding()
534 unsigned int size0, size_ranges; in plan_subset_charset() local
562 size0 = Charset0::min_size + HBUINT16::static_size * (plan->num_output_glyphs () - 1); in plan_subset_charset()
568 if (size0 < size_ranges) in plan_subset_charset()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c951 LLVMValueRef size0; in lp_build_sample_mipmap() local
966 &size0, in lp_build_sample_mipmap()
979 size0, in lp_build_sample_mipmap()
987 size0, in lp_build_sample_mipmap()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.c310 fd_resource_slice(rsc, prsc->last_level)->size0) | in fd6_sampler_view_update()
311 A6XX_TEX_CONST_3_ARRAY_PITCH(fd_resource_slice(rsc, lvl)->size0); in fd6_sampler_view_update()

12