Home
last modified time | relevance | path

Searched refs:size_x (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_cs_intrinsics.c82 nir_ssa_def *size_x; in lower_cs_intrinsics_convert_block() local
86 size_x = nir_channel(b, size_xyz, 0); in lower_cs_intrinsics_convert_block()
89 size_x = nir_imm_int(b, nir->info.workgroup_size[0]); in lower_cs_intrinsics_convert_block()
92 nir_ssa_def *size_xy = nir_imul(b, size_x, size_y); in lower_cs_intrinsics_convert_block()
120 id_x = nir_umod(b, linear, size_x); in lower_cs_intrinsics_convert_block()
121 id_y = nir_umod(b, nir_udiv(b, linear, size_x), size_y); in lower_cs_intrinsics_convert_block()
135 id_x = nir_umod(b, block, size_x); in lower_cs_intrinsics_convert_block()
140 nir_udiv(b, block, size_x), in lower_cs_intrinsics_convert_block()
149 id_x = nir_umod(b, nir_udiv(b, linear, size_y), size_x); in lower_cs_intrinsics_convert_block()
156 nir_imul(b, id_y, size_x)), in lower_cs_intrinsics_convert_block()
[all …]
/third_party/boost/libs/numeric/ublas/test/
Dtest_coordinate_matrix_inplace_merge.cpp41 void print_entries(size_t size_x, size_t size_y, in print_entries() argument
44 std::cerr << "Error - Size:" << size_x << " x " << size_y << ". Entries: "; in print_entries()
61 size_t size_x = size + rand() % dim_var; in BOOST_UBLAS_TEST_DEF() local
64 boost::numeric::ublas::coordinate_matrix<double> matrix_coord(size_x, size_y); in BOOST_UBLAS_TEST_DEF()
65 boost::numeric::ublas::matrix<double> matrix_dense(size_x, size_y, 0); in BOOST_UBLAS_TEST_DEF()
71 int x = rand() % size_x; in BOOST_UBLAS_TEST_DEF()
83 print_entries(size_x, size_y, entries); in BOOST_UBLAS_TEST_DEF()
90 int x = rand() % size_x; in BOOST_UBLAS_TEST_DEF()
102 print_entries(size_x, size_y, entries); in BOOST_UBLAS_TEST_DEF()
/third_party/ffmpeg/libavfilter/opencl/
Dunsharp.cl21 int size_x,
29 int2 centre = (int2)(size_x / 2, size_y / 2);
36 for (x = 0; x < size_x; x++) {
38 sum += coef_matrix[y * size_x + x] *
48 int size_x,
62 int rad_x = size_x / 2;
80 for (x = 0; x < size_x; x++)
Ddeshake.cl267 int size_x,
271 float2 offset = ((float2)(size_x, size_y) - 1.0f) * 0.5f;
274 for (int j = 0; j < size_x; j++) {
275 buffer[i * size_x + j] = read_imagef(
/third_party/ffmpeg/libavfilter/
Dvf_unsharp_opencl.c58 cl_int size_x; member
114 int err, p, x, y, size_x, size_y; in unsharp_opencl_make_filter_params() local
132 size_x = (int)ceil(diam_x) | 1; in unsharp_opencl_make_filter_params()
134 matrix_bytes = size_x * size_y * sizeof(float); in unsharp_opencl_make_filter_params()
143 for (x = 0; x < size_x; x++) { in unsharp_opencl_make_filter_params()
144 double dx = (double)(x - size_x / 2) / diam_x; in unsharp_opencl_make_filter_params()
147 for (x = 0; x < size_x; x++) in unsharp_opencl_make_filter_params()
159 for (x = 0; x < size_x; x++) { in unsharp_opencl_make_filter_params()
161 matrix[y * size_x + x] = val; in unsharp_opencl_make_filter_params()
198 ctx->plane[p].size_x = size_x; in unsharp_opencl_make_filter_params()
[all …]
Dvf_avgblur_vulkan.c39 int size_x; member
120 GLSLF(0, #define FILTER_RADIUS (%i) ,s->size_x - 1);
374 …{ "sizeX", "Set horizontal radius", OFFSET(size_x), AV_OPT_TYPE_INT, {.i64 = 3}, 1, 32, .flags = …
Dvf_deshake_opencl.c790 int size_x in make_vectors_contig() argument
795 for (int j = 0; j < size_x; ++j) { in make_vectors_contig()
796 MotionVector v = deshake_ctx->matches_host[j + i * size_x]; in make_vectors_contig()
/third_party/boost/libs/gil/test/core/image/
Dtest_fixture.hpp55 auto generate_image(std::ptrdiff_t size_x, std::ptrdiff_t size_y, Generator&& generate) -> Image in generate_image() argument
59 Image out(size_x, size_y); in generate_image()
68 auto create_image(std::ptrdiff_t size_x, std::ptrdiff_t size_y, int channel_value) -> Image in create_image() argument
74 Image out(size_x, size_y); in create_image()
/third_party/flutter/skia/experimental/tools/
Dmskp_parser.py41 offset, size_x, size_y =struct.unpack('Qff', src.read(16)) variable
45 size_x, size_y =struct.unpack('ff', src.read(8)) variable
46 print('size = (%r,%r)' % (size_x, size_y))
/third_party/skia/experimental/tools/
Dmskp_parser.py41 offset, size_x, size_y =struct.unpack('Qff', src.read(16)) variable
45 size_x, size_y =struct.unpack('ff', src.read(8)) variable
46 print('size = (%r,%r)' % (size_x, size_y))
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_system_values.c323 unsigned size_x = b->shader->info.workgroup_size[0]; in lower_compute_system_value_instr() local
329 size_x_imm = nir_imm_int(b, size_x); in lower_compute_system_value_instr()
375 util_is_power_of_two_nonzero(size_x)) { in lower_compute_system_value_instr()
376 nir_ssa_def *log2_size_x = nir_imm_int(b, util_logbase2(size_x)); in lower_compute_system_value_instr()
407 nir_ssa_def *size_x = in lower_compute_system_value_instr() local
418 nir_imul(b, size_x, size_y)); in lower_compute_system_value_instr()
420 nir_imul(b, nir_channel(b, local_id, 1), size_x)); in lower_compute_system_value_instr()
/third_party/mesa3d/src/panfrost/lib/
Dpan_encoder.h160 unsigned size_x, unsigned size_y, unsigned size_z, in panfrost_pack_work_groups_compute() argument
166 unsigned values[6] = { size_x, size_y, size_z, num_x, num_y, num_z }; in panfrost_pack_work_groups_compute()
/third_party/mindspore/tests/ut/python/parameter_feature/
Dtest_parameter.py276 size_x = self.shape(x)[2]
278 ret = self.loss_fn(x, y, z, size_x, size_y)
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cClipDistance.hpp120 Framebuffer(const glw::Functions& gl, const glw::GLsizei size_x, const glw::GLsizei size_y);
Dgl3cClipDistance.cpp1464 …lipDistance::Utility::Framebuffer::Framebuffer(const glw::Functions& gl, const glw::GLsizei size_x, in Framebuffer() argument
1466 : m_gl(gl), m_size_x(size_x), m_size_y(size_y), m_framebuffer_id(0), m_renderbuffer_id(0) in Framebuffer()
Dgl4cDirectStateAccessTexturesTests.cpp5201 GLsizei size_x = s_texture_width * s_block_2d_size_x; in PrepareCompressedStorage() local
5205 gl.compressedTexImage2D(TextureTarget<2>(), 0, internalformat, size_x, size_y, in PrepareCompressedStorage()
5224 GLsizei size_x = s_texture_width * s_block_3d_size; in PrepareCompressedStorage() local
5229 gl.compressedTexImage3D(TextureTarget<3>(), 0, internalformat, size_x, size_y, size_z, 0, in PrepareCompressedStorage()
/third_party/mesa3d/src/panfrost/lib/genxml/
Ddecode.c473 unsigned size_x = bits(invocation.invocations, 0, invocation.size_y_shift) + 1; in pandecode_invocation() local
482 size_x, size_y, size_z, in pandecode_invocation()
/third_party/libinput/src/
Devdev.c1503 size_t *size_x, in evdev_read_attr_size_prop() argument
1518 *size_x = dim.x; in evdev_read_attr_size_prop()
/third_party/mesa3d/src/intel/vulkan/
DgenX_cmd_buffer.c5049 struct mi_value size_x = mi_mem32(anv_address_add(addr, 0)); in genX() local
5053 mi_store(&b, mi_reg32(GPGPU_DISPATCHDIMX), size_x); in genX()
5059 mi_store(&b, mi_reg64(MI_PREDICATE_SRC0), size_x); in genX()