Home
last modified time | relevance | path

Searched refs:y_size (Results 1 – 25 of 1170) sorted by relevance

12345678910>>...47

/dports/graphics/py-pyrsgis/pyrsgis-0.4.1/pyrsgis/ml/
H A D__init__.py9 def array2d_to_chips(data_arr, y_size=5, x_size=5): argument
61 def array_to_chips(data_arr, y_size=5, x_size=5): argument
105 return(array2d_to_chips(data_arr, y_size=y_size, x_size=x_size))
112 temp_array = array2d_to_chips(data_arr[band, :, :], y_size=y_size, x_size=x_size)
126 def imageChipsFromArray(data_array, x_size=5, y_size=5): argument
130 return(imageChipsFromSingleBandArray(data_array, x_size=x_size, y_size=y_size))
138 … temp_array = imageChipsFromSingleBandArray(data_array[:, :, band], x_size=x_size, y_size=y_size)
152 def raster_to_chips(file, y_size=5, x_size=5): argument
202 return(array_to_chips(data_arr, y_size=y_size, x_size=x_size))
204 def imageChipsFromFile(infile, y_size=5, x_size=5): argument
[all …]
/dports/biology/avida/avida-2.12.4-src/avida-core/source/tools/
H A DcTopology.h66 build_torus(begin, end, x_size, y_size); in build_grid()
90 if(y==(y_size-1)) { in build_grid()
121 build_grid(begin, end, x_size, y_size); in build_hex()
140 unsigned int gridsize = x_size * y_size; in build_lattice()
165 if (y != (y_size-1)) { in build_lattice()
175 if (y != (y_size-1)) { in build_lattice()
184 if(y != (y_size-1)) { in build_lattice()
198 if(y != (y_size-1)) { in build_lattice()
208 if (y != (y_size-1)) { in build_lattice()
217 if(y != (y_size-1)) { in build_lattice()
[all …]
/dports/print/ghostscript7-base/ghostscript-7.07/gimp-print-4.2.7/src/main/
H A Dprint-dither-matrices.c109 mat->y_size = mat->x_size; in stp_init_iterated_matrix()
113 for (y = 0; y < mat->y_size; y++) in stp_init_iterated_matrix()
132 ((m)[(((x) + (x_size)) % (x_size)) + ((x_size) * (((y) + (y_size)) % (y_size)))])
141 for (j = 0; j < mat->y_size; j++) in stp_shear_matrix()
144 mat->y_size); in stp_shear_matrix()
146 for (j = 0; j < mat->y_size; j++) in stp_shear_matrix()
160 mat->y_size = y_size; in stp_init_matrix()
194 mat->y_size = y_size; in stp_init_matrix_short()
228 mat->y_size = 0; in stp_destroy_matrix()
240 dest->y_size = src->y_size; in stp_clone_matrix()
[all …]
/dports/devel/qca/qca-2.3.4/src/botantools/botan/
H A Dmp_asm.cpp57 const u32bit blocks = y_size - (y_size % 8); in bigint_add2_nc()
62 for (u32bit j = blocks; j != y_size; ++j) in bigint_add2_nc()
68 for (u32bit j = y_size; j != x_size; ++j) in bigint_add2_nc()
80 if (x_size < y_size) { in bigint_add3_nc()
86 const u32bit blocks = y_size - (y_size % 8); in bigint_add3_nc()
91 for (u32bit j = blocks; j != y_size; ++j) in bigint_add3_nc()
109 if (bigint_add2_nc(x, x_size, y, y_size)) in bigint_add2()
119 ++z[(x_size > y_size ? x_size : y_size)]; in bigint_add3()
129 const u32bit blocks = y_size - (y_size % 8); in bigint_sub2()
134 for (u32bit j = blocks; j != y_size; ++j) in bigint_sub2()
[all …]
H A Dmp_mul.cpp49 clear_mem(z, x_size + y_size); in bigint_simple_mul()
52 z[j + y_size] = bigint_mul_add_words(z + j, y, y_size, x[j]); in bigint_simple_mul()
116 if (x_sw > x_size || x_sw > y_size || y_sw > x_size || y_sw > y_size) in karatsuba_size()
119 if (((x_size == x_sw) && (x_size % 2)) || ((y_size == y_sw) && (y_size % 2))) in karatsuba_size()
123 u32bit end = (x_size < y_size) ? x_size : y_size; in karatsuba_size()
138 if (x_sw <= j && j <= x_size && y_sw <= j && j <= y_size) { in karatsuba_size()
157 u32bit y_size, in handle_small_mul() argument
190 u32bit y_size, in bigint_mul() argument
193 if (x_size <= 8 || y_size <= 8) { in bigint_mul()
194 handle_small_mul(z, z_size, x, x_size, x_sw, y, y_size, y_sw); in bigint_mul()
[all …]
/dports/security/botan110/Botan-1.10.17/src/math/mp/
H A Dmp_asm.cpp97 const size_t blocks = y_size - (y_size % 8); in bigint_add2_nc()
102 for(size_t i = blocks; i != y_size; ++i) in bigint_add2_nc()
105 for(size_t i = y_size; i != x_size; ++i) in bigint_add2_nc()
117 if(x_size < y_size) in bigint_add3_nc()
122 const size_t blocks = y_size - (y_size % 8); in bigint_add3_nc()
127 for(size_t i = blocks; i != y_size; ++i) in bigint_add3_nc()
130 for(size_t i = y_size; i != x_size; ++i) in bigint_add3_nc()
151 z[(x_size > y_size ? x_size : y_size)] += in bigint_add3()
162 const size_t blocks = y_size - (y_size % 8); in bigint_sub2()
183 const size_t blocks = y_size - (y_size % 8); in bigint_sub2_rev()
[all …]
H A Dmp_core.h52 const word y[], size_t y_size);
56 const word y[], size_t y_size);
58 word bigint_add2_nc(word x[], size_t x_size, const word y[], size_t y_size);
62 const word y[], size_t y_size);
65 const word y[], size_t y_size);
70 void bigint_sub2_rev(word x[], const word y[], size_t y_size);
74 const word y[], size_t y_size);
96 const word y[], size_t y_size);
124 const word y[], size_t y_size, size_t y_sw,
146 const word y[], size_t y_size);
[all …]
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/math/mp/
H A Dmp_core.h51 const size_t blocks = y_size - (y_size % 8); in bigint_cnd_add()
98 const size_t blocks = y_size - (y_size % 8); in bigint_cnd_sub()
233 const size_t blocks = y_size - (y_size % 8); in bigint_add2_nc()
254 if(x_size < y_size) in bigint_add3_nc()
259 const size_t blocks = y_size - (y_size % 8); in bigint_add3_nc()
293 z[x_size > y_size ? x_size : y_size] += in bigint_add3()
307 const size_t blocks = y_size - (y_size % 8); in bigint_sub2()
328 const size_t blocks = y_size - (y_size % 8); in bigint_sub2_rev()
350 const size_t blocks = y_size - (y_size % 8); in bigint_sub3()
546 if(x_size < y_size) in bigint_cmp()
[all …]
H A Dmp_karat.cpp27 const word y[], size_t y_size) in basecase_mul() argument
29 if(z_size < x_size + y_size) in basecase_mul()
36 for(size_t i = 0; i != y_size; ++i) in basecase_mul()
212 size_t y_size, size_t y_sw) in karatsuba_size() argument
214 if(x_sw > x_size || x_sw > y_size || y_sw > x_size || y_sw > y_size) in karatsuba_size()
218 ((y_size == y_sw) && (y_size % 2))) in karatsuba_size()
222 const size_t end = (x_size < y_size) ? x_size : y_size; in karatsuba_size()
239 if(x_sw <= j && j <= x_size && y_sw <= j && j <= y_size) in karatsuba_size()
281 size_t y_sw, size_t y_size, in sized_for_comba_mul() argument
285 y_sw <= SZ && y_size >= SZ && in sized_for_comba_mul()
[all …]
/dports/security/botan2/Botan-2.18.2/src/lib/math/mp/
H A Dmp_core.h51 const size_t blocks = y_size - (y_size % 8); in bigint_cnd_add()
98 const size_t blocks = y_size - (y_size % 8); in bigint_cnd_sub()
233 const size_t blocks = y_size - (y_size % 8); in bigint_add2_nc()
254 if(x_size < y_size) in bigint_add3_nc()
259 const size_t blocks = y_size - (y_size % 8); in bigint_add3_nc()
293 z[x_size > y_size ? x_size : y_size] += in bigint_add3()
307 const size_t blocks = y_size - (y_size % 8); in bigint_sub2()
328 const size_t blocks = y_size - (y_size % 8); in bigint_sub2_rev()
350 const size_t blocks = y_size - (y_size % 8); in bigint_sub3()
546 if(x_size < y_size) in bigint_cmp()
[all …]
H A Dmp_karat.cpp27 const word y[], size_t y_size) in basecase_mul() argument
29 if(z_size < x_size + y_size) in basecase_mul()
36 for(size_t i = 0; i != y_size; ++i) in basecase_mul()
212 size_t y_size, size_t y_sw) in karatsuba_size() argument
214 if(x_sw > x_size || x_sw > y_size || y_sw > x_size || y_sw > y_size) in karatsuba_size()
218 ((y_size == y_sw) && (y_size % 2))) in karatsuba_size()
222 const size_t end = (x_size < y_size) ? x_size : y_size; in karatsuba_size()
239 if(x_sw <= j && j <= x_size && y_sw <= j && j <= y_size) in karatsuba_size()
281 size_t y_sw, size_t y_size, in sized_for_comba_mul() argument
285 y_sw <= SZ && y_size >= SZ && in sized_for_comba_mul()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/math/mp/
H A Dmp_core.h51 const size_t blocks = y_size - (y_size % 8); in bigint_cnd_add()
98 const size_t blocks = y_size - (y_size % 8); in bigint_cnd_sub()
233 const size_t blocks = y_size - (y_size % 8); in bigint_add2_nc()
254 if(x_size < y_size) in bigint_add3_nc()
259 const size_t blocks = y_size - (y_size % 8); in bigint_add3_nc()
293 z[x_size > y_size ? x_size : y_size] += in bigint_add3()
307 const size_t blocks = y_size - (y_size % 8); in bigint_sub2()
328 const size_t blocks = y_size - (y_size % 8); in bigint_sub2_rev()
350 const size_t blocks = y_size - (y_size % 8); in bigint_sub3()
546 if(x_size < y_size) in bigint_cmp()
[all …]
H A Dmp_karat.cpp27 const word y[], size_t y_size) in basecase_mul() argument
29 if(z_size < x_size + y_size) in basecase_mul()
36 for(size_t i = 0; i != y_size; ++i) in basecase_mul()
212 size_t y_size, size_t y_sw) in karatsuba_size() argument
214 if(x_sw > x_size || x_sw > y_size || y_sw > x_size || y_sw > y_size) in karatsuba_size()
218 ((y_size == y_sw) && (y_size % 2))) in karatsuba_size()
222 const size_t end = (x_size < y_size) ? x_size : y_size; in karatsuba_size()
239 if(x_sw <= j && j <= x_size && y_sw <= j && j <= y_size) in karatsuba_size()
281 size_t y_sw, size_t y_size, in sized_for_comba_mul() argument
285 y_sw <= SZ && y_size >= SZ && in sized_for_comba_mul()
[all …]
/dports/print/gutenprint/gutenprint-5.3.3/src/main/
H A Dprint-dither-matrices.c104 mat->y_size = mat->x_size; in stp_dither_matrix_iterated_init()
127 ((m)[(((x) + (x_size)) % (x_size)) + ((x_size) * (((y) + (y_size)) % (y_size)))])
139 mat->y_size); in stp_dither_matrix_shear()
167 int x_size, y_size; in stp_dither_matrix_init_from_dither_array() local
176 mat->x_size = y_size; in stp_dither_matrix_init_from_dither_array()
182 mat->y_size = y_size; in stp_dither_matrix_init_from_dither_array()
213 mat->y_size = y_size; in stp_dither_matrix_init()
247 mat->y_size = y_size; in stp_dither_matrix_init_short()
281 mat->y_size = 0; in stp_dither_matrix_destroy()
293 dest->y_size = src->y_size; in stp_dither_matrix_clone()
[all …]
H A Darray.c43 int y_size; member
58 stp_array_create(int x_size, int y_size) in stp_array_create() argument
63 ret->y_size = y_size; in stp_array_create()
93 dest->y_size = source->y_size; in stp_array_copy()
117 array->y_size = y_size; in stp_array_set_size()
127 *y_size = array->y_size; in stp_array_get_size()
255 int x_size, y_size; in stp_array_create_from_xmltree() local
294 ret = stp_array_create(x_size, y_size); in stp_array_create_from_xmltree()
300 if (count != (x_size * y_size)) in stp_array_create_from_xmltree()
318 int x_size, y_size; in stp_xmltree_create_from_array() local
[all …]
/dports/print/gimp-gutenprint/gutenprint-5.3.3/src/main/
H A Dprint-dither-matrices.c104 mat->y_size = mat->x_size; in stp_dither_matrix_iterated_init()
127 ((m)[(((x) + (x_size)) % (x_size)) + ((x_size) * (((y) + (y_size)) % (y_size)))])
139 mat->y_size); in stp_dither_matrix_shear()
167 int x_size, y_size; in stp_dither_matrix_init_from_dither_array() local
176 mat->x_size = y_size; in stp_dither_matrix_init_from_dither_array()
182 mat->y_size = y_size; in stp_dither_matrix_init_from_dither_array()
213 mat->y_size = y_size; in stp_dither_matrix_init()
247 mat->y_size = y_size; in stp_dither_matrix_init_short()
281 mat->y_size = 0; in stp_dither_matrix_destroy()
293 dest->y_size = src->y_size; in stp_dither_matrix_clone()
[all …]
H A Darray.c43 int y_size; member
58 stp_array_create(int x_size, int y_size) in stp_array_create() argument
63 ret->y_size = y_size; in stp_array_create()
93 dest->y_size = source->y_size; in stp_array_copy()
117 array->y_size = y_size; in stp_array_set_size()
127 *y_size = array->y_size; in stp_array_get_size()
255 int x_size, y_size; in stp_array_create_from_xmltree() local
294 ret = stp_array_create(x_size, y_size); in stp_array_create_from_xmltree()
300 if (count != (x_size * y_size)) in stp_array_create_from_xmltree()
318 int x_size, y_size; in stp_xmltree_create_from_array() local
[all …]
/dports/devel/ppl/ppl-1.2/src/
H A DBit_Row.cc179 PPL_ASSERT(y_size >= 0); in compare()
180 mp_size_t size = ((x_size > y_size) ? y_size : x_size); in compare()
197 return (x_size == y_size) ? 0 : ((x_size > y_size) ? 1 : -1); in compare()
206 PPL_ASSERT(y_size >= 0); in subset_or_equal()
207 if (x_size > y_size) { in subset_or_equal()
230 PPL_ASSERT(y_size >= 0); in subset_or_equal()
231 if (x_size > y_size) { in subset_or_equal()
278 if (x_size > y_size) { in strict_subset()
349 z_size -= y_size; in union_helper()
350 while (y_size > 0) { in union_helper()
[all …]
H A DBit_Row_inlines.hh54 const mp_size_t y_size = y.vec->_mp_size; in Bit_Row() local
55 PPL_ASSERT(y_size >= 0); in Bit_Row()
58 if (y_size < z_size) { in Bit_Row()
65 PPL_ASSERT(static_cast<unsigned long>(y_size) in Bit_Row()
67 mpz_init2(vec, static_cast<unsigned long>(y_size) * PPL_BITS_PER_GMP_LIMB); in Bit_Row()
134 const mp_size_t y_size = y.vec->_mp_size; in union_assign() local
135 PPL_ASSERT(y_size >= 0); in union_assign()
136 if (x_size < y_size) { in union_assign()
137 PPL_ASSERT(static_cast<unsigned long>(y_size) in union_assign()
139 mpz_realloc2(vec, static_cast<unsigned long>(y_size) * PPL_BITS_PER_GMP_LIMB); in union_assign()
/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/mednafen/snes/src/lib/nall/
H A Dups.hpp31 uint32_t y_crc32 = crc32_calculate(y_data, y_size); in create()
39 encptr(y_size); in create()
42 unsigned max_size = max(x_size, y_size); in create()
46 uint8_t y = i < y_size ? y_data[i] : 0x00; in create()
63 y = i < y_size ? y_data[i] : 0x00; in create()
99 y_size = (x_size == px_size) ? py_size : px_size; in apply()
100 y_data = new uint8_t[y_size](); in apply()
102 for(unsigned i = 0; i < x_size && i < y_size; i++) y_data[i] = x_data[i]; in apply()
103 for(unsigned i = x_size; i < y_size; i++) y_data[i] = 0x00; in apply()
112 if(x && relative < y_size) { in apply()
[all …]
/dports/cad/xcircuit/xcircuit-3.10.30/asg/
H A Dpsfigs.c684 int x, y, x_size, y_size;
688 int mid_y = y + y_size/2;
702 int x, y, x_size, y_size;
706 int mid_y = y + y_size/2;
729 int x, y, x_size, y_size;
756 int x, y, x_size, y_size;
789 int x, y, x_size, y_size;
820 int x, y, x_size, y_size;
851 int x, y, x_size, y_size;
889 int x, y, x_size, y_size;
[all …]
/dports/net/xrdp-devel/xrdp-0.9.16/librfxcodec/src/
H A Drfxencode_tile.c124 y_size) != 0) in rfx_encode_rgb()
128 LLOGLN(10, ("rfx_encode_rgb: y_size %d", *y_size)); in rfx_encode_rgb()
129 stream_seek(data_out, *y_size); in rfx_encode_rgb()
157 STREAM *data_out, int *y_size, int *u_size, in rfx_encode_argb() argument
178 y_size) != 0) in rfx_encode_argb()
182 LLOGLN(10, ("rfx_encode_rgb: y_size %d", *y_size)); in rfx_encode_argb()
183 stream_seek(data_out, *y_size); in rfx_encode_argb()
224 y_size) != 0) in rfx_encode_yuv()
228 stream_seek(data_out, *y_size); in rfx_encode_yuv()
269 y_size) != 0) in rfx_encode_yuva()
[all …]
/dports/emulators/vice/vice-3.5/src/gfxoutputdrv/
H A Dbmpdrv.c319 static int bmpdrv_close_memmap(int x_size, int y_size) in bmpdrv_close_memmap() argument
322 size_t len = bmpdrv_memmap_bytes_per_row(x_size) * y_size; in bmpdrv_close_memmap()
334 static uint32_t bmpdrv_memmap_bmp_size(int x_size, int y_size) in bmpdrv_memmap_bmp_size() argument
349 util_dword_to_le_buf(&binfo[8], y_size); in bmpdrv_memmap_write_bitmap_info()
389 static int bmpdrv_memmap_write_file_header(int x_size, int y_size) in bmpdrv_memmap_write_file_header() argument
420 if (bmpdrv_memmap_write_file_header(x_size, y_size) < 0) { in bmpdrv_open_memmap()
426 if (bmpdrv_memmap_write_bitmap_info(x_size, y_size, palette) < 0) { in bmpdrv_open_memmap()
447 if (bmpdrv_open_memmap(filename, x_size, y_size, palette) < 0) { in bmpdrv_memmap_save()
451 for (line = 0; line < y_size; line++) { in bmpdrv_memmap_save()
452 bmpdrv_write_memmap(line, x_size, y_size, gfx); in bmpdrv_memmap_save()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/gfxoutputdrv/
H A Dbmpdrv.c319 static int bmpdrv_close_memmap(int x_size, int y_size) in bmpdrv_close_memmap() argument
322 size_t len = bmpdrv_memmap_bytes_per_row(x_size) * y_size; in bmpdrv_close_memmap()
334 static uint32_t bmpdrv_memmap_bmp_size(int x_size, int y_size) in bmpdrv_memmap_bmp_size() argument
349 util_dword_to_le_buf(&binfo[8], y_size); in bmpdrv_memmap_write_bitmap_info()
389 static int bmpdrv_memmap_write_file_header(int x_size, int y_size) in bmpdrv_memmap_write_file_header() argument
420 if (bmpdrv_memmap_write_file_header(x_size, y_size) < 0) { in bmpdrv_open_memmap()
426 if (bmpdrv_memmap_write_bitmap_info(x_size, y_size, palette) < 0) { in bmpdrv_open_memmap()
447 if (bmpdrv_open_memmap(filename, x_size, y_size, palette) < 0) { in bmpdrv_memmap_save()
451 for (line = 0; line < y_size; line++) { in bmpdrv_memmap_save()
452 bmpdrv_write_memmap(line, x_size, y_size, gfx); in bmpdrv_memmap_save()
[all …]
/dports/multimedia/mjpegtools/mjpegtools-2.1.0/y4mscaler/
H A DysStreamInfo.H56 void y_size(int a) { y4m_si_set_height(&_streaminfo, a); } in y_size() function
65 int y_size() const { return y4m_si_get_height(&_streaminfo); } in y_size() function
118 int y = y_size(); in dim()
129 y_size(p.y()); in dim()
132 y_size(Y4M_UNKNOWN); in dim()
148 int y = y_size();
154 (_subsampling.ratio().y() * y_size()).to_int());
168 return ysPoint(x_size(), y_size() / 2);
175 int y = y_size();
181 (_subsampling.ratio().y() * (y_size() / 2)).to_int());

12345678910>>...47