Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/freedreno/fdl/
Dfd6_layout_test.c700 {.offset = 0, .pitch = 256, .size0 = 8192},
701 {.offset = 262144, .pitch = 256, .size0 = 4096},
702 {.offset = 327680, .pitch = 256, .size0 = 4096},
703 {.offset = 360448, .pitch = 256, .size0 = 4096},
704 {.offset = 376832, .pitch = 256, .size0 = 4096},
723 {.offset = 0, .pitch = 512, .size0 = 65536},
724 {.offset = 2097152, .pitch = 256, .size0 = 16384},
725 {.offset = 2359296, .pitch = 256, .size0 = 8192},
726 {.offset = 2424832, .pitch = 256, .size0 = 8192},
727 {.offset = 2457600, .pitch = 256, .size0 = 8192},
[all …]
Dfd6_layout.c226 slice->size0 = align(nblocksy * pitch, 4096); in fdl6_layout()
228 slice->size0 = min_3d_layer_size; in fdl6_layout()
231 slice->size0 = u_minify(layout->slices[0].size0, level * 2); in fdl6_layout()
238 min_3d_layer_size = slice->size0 = nblocksy * pitch; in fdl6_layout()
244 min_3d_layer_size = slice->size0 = nblocksy * pitch; in fdl6_layout()
247 if (align(slice->size0, 4096) != slice->size0) in fdl6_layout()
248 min_3d_layer_size = slice->size0 = align(slice->size0, 4096); in fdl6_layout()
251 slice->size0 = nblocksy * pitch; in fdl6_layout()
254 layout->size += slice->size0 * depth * layers_in_level; in fdl6_layout()
264 ubwc_slice->size0 = in fdl6_layout()
[all …]
Dfd5_layout.c94 if (level <= 1 || layout->slices[level - 1].size0 > 0xf000) { in fdl5_layout()
95 slice->size0 = align(nblocksy * pitch, 4096); in fdl5_layout()
97 slice->size0 = layout->slices[level - 1].size0; in fdl5_layout()
100 slice->size0 = nblocksy * pitch; in fdl5_layout()
103 layout->size += slice->size0 * depth * layers_in_level; in fdl5_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()
Dfd_layout_test.c94 if (testcase->layout.slices[l].size0 && layout.slices[l].size0 != in fdl_test_layout()
95 testcase->layout.slices[l].size0) { in fdl_test_layout()
99 layout.slices[l].size0, in fdl_test_layout()
100 testcase->layout.slices[l].size0); in fdl_test_layout()
Dfreedreno_layout.h82 uint32_t size0; /* size of first layer in slice */ member
167 return layout->slices[level].size0; in fdl_layer_stride()
Dfd_layout_test.h40 uint32_t size0; member
/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.c59 (level > 1 && fd_resource_slice(rsc, level - 1)->size0 > 0xf000))) in setup_slices()
60 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices()
62 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices()
64 slice->size0 = fd_resource_slice(rsc, level - 1)->size0; in setup_slices()
66 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.c221 A4XX_TEX_CONST_3_LAYERSZ(fd_resource_slice(rsc, lvl)->size0); in fd4_sampler_view_create()
223 fd_resource_slice(rsc, prsc->last_level)->size0); in fd4_sampler_view_create()
Dfd4_image.c137 img->array_pitch = fd_resource_slice(rsc, lvl)->size0; in translate_image()
/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/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoder.cs97 public void EncodeBit(uint size0, int numTotalBits, uint symbol) in EncodeBit() argument
99 uint newBound = (Range >> numTotalBits) * size0; in EncodeBit()
213 public uint DecodeBit(uint size0, int numTotalBits) in DecodeBit() argument
215 uint newBound = (Range >> numTotalBits) * size0; in DecodeBit()
/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/lzma/C/
DPpmd7Dec.c137 UInt32 size0 = (R->Range >> 14) * pr; in Ppmd7z_DecodeSymbol() local
140 if (R->Code < size0) in Ppmd7z_DecodeSymbol()
146 R->Range = size0; in Ppmd7z_DecodeSymbol()
175 R->Code -= size0; in Ppmd7z_DecodeSymbol()
176 R->Range -= size0; in Ppmd7z_DecodeSymbol()
/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/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/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.c218 fd_resource_slice(rsc, prsc->last_level)->size0) | in fd5_sampler_view_create()
219 A5XX_TEX_CONST_3_ARRAY_PITCH(fd_resource_slice(rsc, lvl)->size0); in fd5_sampler_view_create()
Dfd5_image.c126 img->array_pitch = fd_resource_slice(rsc, lvl)->size0; in translate_image()
/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()

12