Home
last modified time | relevance | path

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

/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_cs_intrinsics.c90 nir_ssa_def *size_x; in lower_cs_intrinsics_convert_block() local
94 size_x = nir_channel(b, size_xyz, 0); in lower_cs_intrinsics_convert_block()
97 size_x = nir_imm_int(b, nir->info.workgroup_size[0]); in lower_cs_intrinsics_convert_block()
100 nir_ssa_def *size_xy = nir_imul(b, size_x, size_y); in lower_cs_intrinsics_convert_block()
128 id_x = nir_umod(b, linear, size_x); in lower_cs_intrinsics_convert_block()
129 id_y = nir_umod(b, nir_udiv(b, linear, size_x), size_y); in lower_cs_intrinsics_convert_block()
143 id_x = nir_umod(b, block, size_x); in lower_cs_intrinsics_convert_block()
148 nir_udiv(b, block, size_x), in lower_cs_intrinsics_convert_block()
157 id_x = nir_umod(b, nir_udiv(b, linear, size_y), size_x); in lower_cs_intrinsics_convert_block()
164 nir_imul(b, id_y, size_x)), in lower_cs_intrinsics_convert_block()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_system_values.c283 nir_ssa_def *size_x = nir_channel(b, size, 0); in lower_id_to_index_no_umod() local
285 nir_ssa_def *size_x_y = nir_imul(b, size_x, size_y); in lower_id_to_index_no_umod()
289 nir_ssa_def *id_y = nir_udiv(b, nir_isub(b, index, z_portion), size_x); in lower_id_to_index_no_umod()
290 nir_ssa_def *y_portion = nir_imul(b, id_y, size_x); in lower_id_to_index_no_umod()
317 nir_ssa_def *size_x = nir_channel(b, size, 0); in lower_id_to_index() local
320 nir_ssa_def *id_x = nir_umod(b, index, size_x); in lower_id_to_index()
321 nir_ssa_def *id_y = nir_umod(b, nir_udiv(b, index, size_x), size_y); in lower_id_to_index()
322 nir_ssa_def *id_z = nir_udiv(b, index, nir_imul(b, size_x, size_y)); in lower_id_to_index()
368 unsigned size_x = b->shader->info.workgroup_size[0]; in lower_compute_system_value_instr() local
374 size_x_imm = nir_imm_int(b, size_x); in lower_compute_system_value_instr()
[all …]
/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/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/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/panfrost/lib/
Dpan_encoder.h158 unsigned size_x, unsigned size_y, unsigned size_z, in panfrost_pack_work_groups_compute() argument
164 unsigned values[6] = { size_x, size_y, size_z, num_x, num_y, num_z }; in panfrost_pack_work_groups_compute()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_job_common.c273 reg.size_x = util_logbase2_ceil(surface_params->width); in pvr_pbe_pack_state()
/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.c477 unsigned size_x = bits(invocation.invocations, 0, invocation.size_y_shift) + 1; in pandecode_invocation() local
486 size_x, size_y, size_z, in pandecode_invocation()
/third_party/libinput/src/
Devdev.c1582 size_t *size_x, in evdev_read_attr_size_prop() argument
1597 *size_x = dim.x; in evdev_read_attr_size_prop()
/third_party/mesa3d/src/intel/vulkan/
DgenX_cmd_buffer.c5530 struct mi_value size_x = mi_mem32(anv_address_add(addr, 0)); in genX() local
5534 mi_store(&b, mi_reg32(GPGPU_DISPATCHDIMX), size_x); in genX()
5540 mi_store(&b, mi_reg64(MI_PREDICATE_SRC0), size_x); in genX()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_state.c7108 struct mi_value size_x = mi_mem32(ro_bo(bo, grid_size->offset + 0)); in iris_load_indirect_location() local
7111 mi_store(&b, mi_reg32(GPGPU_DISPATCHDIMX), size_x); in iris_load_indirect_location()