Home
last modified time | relevance | path

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

/third_party/mesa3d/src/intel/compiler/
H A 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()
126 * (0,0) (1,0) (2,0) ... (size_x-1,0) (0,1) (1,1) ... 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()
136 * x = (linear / 4) % size_x in lower_cs_intrinsics_convert_block()
137 * y = ((linear % 4) + (linear / 4 / size_x) * 4) % size_y in lower_cs_intrinsics_convert_block()
139 * (1,2) (1,3) (2,0) ... (size_x in lower_cs_intrinsics_convert_block()
226 nir_ssa_def *size_x = nir_channel(b, size_xyz, 0); lower_cs_intrinsics_convert_block() local
[all...]
/third_party/mesa3d/src/compiler/nir/
H A 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()
467 nir_ssa_def *size_x = nir_channel(b, local_size, 0); lower_compute_system_value_instr() local
[all...]
/third_party/ffmpeg/libavfilter/
H A 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 in unsharp_opencl_make_filter_params()
[all...]
H A Dvf_avgblur_vulkan.c40 int size_x; member
121 GLSLF(0, #define FILTER_RADIUS (%i) ,s->size_x - 1); in init_filter()
385 { "sizeX", "Set horizontal radius", OFFSET(size_x), AV_OPT_TYPE_INT, {.i64 = 3}, 1, 32, .flags = FLAGS },
H A Dvf_deshake_opencl.c782 int size_x in make_vectors_contig()
787 for (int j = 0; j < size_x; ++j) { in make_vectors_contig()
788 MotionVector v = deshake_ctx->matches_host[j + i * size_x]; in make_vectors_contig()
/third_party/skia/experimental/tools/
H A Dmskp_parser.py41 offset, size_x, size_y =struct.unpack('Qff', src.read(16))
45 size_x, size_y =struct.unpack('ff', src.read(8))
46 print('size = (%r,%r)' % (size_x, size_y))
/third_party/astc-encoder/Source/
H A Dastcenc_compute_variance.cpp112 int size_x = arg.size_x; in compute_pixel_region_variance() local
131 int padsize_x = size_x + kerneldim; in compute_pixel_region_variance()
370 for (int x = 0; x < size_x; x++) in compute_pixel_region_variance()
402 for (int x = 0; x < size_x; x++) in compute_pixel_region_variance()
429 unsigned int size_x = img.dim_x; in init_compute_averages() local
446 ag.arg.size_x = 0; in init_compute_averages()
459 ag.img_size_x = size_x; in init_compute_averages()
H A Dastcenc_entry.cpp1013 int size_x = ag.img_size_x; in compute_averages() local
1043 for (int x = 0; x < size_x; x += step_xy) in compute_averages()
1045 arg.size_x = astc::min(step_xy, size_x - x); in compute_averages()
H A Dastcenc_internal.h1163 unsigned int size_x; member
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_encoder.h158 unsigned size_x, unsigned size_y, unsigned size_z, in panfrost_pack_work_groups_compute()
164 unsigned values[6] = { size_x, size_y, size_z, num_x, num_y, num_z }; in panfrost_pack_work_groups_compute()
155 panfrost_pack_work_groups_compute( struct mali_invocation_packed *out, unsigned num_x, unsigned num_y, unsigned num_z, unsigned size_x, unsigned size_y, unsigned size_z, bool quirk_graphics, bool indirect_dispatch) panfrost_pack_work_groups_compute() argument
/third_party/mesa3d/src/imagination/vulkan/
H A 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/
H A Dgl3cClipDistance.hpp120 Framebuffer(const glw::Functions& gl, const glw::GLsizei size_x, const glw::GLsizei size_y);
H A Dgl3cClipDistance.cpp1461 * @param [in] size_x X size of framebuffer.
1464 gl3cts::ClipDistance::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()
H A 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() local
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() local
/third_party/backends/backend/
H A Dhp5590_cmds.c250 uint16_t size_x; /* X pixels in Base DPI (CMD 15) member
1640 scan_params.size_x = htons (scanner_pixels_x); in hp5590_set_scan_area()
/third_party/mesa3d/src/panfrost/lib/genxml/
H A 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/
H A Devdev.c1623 size_t *size_x, in evdev_read_attr_size_prop()
1638 *size_x = dim.x; in evdev_read_attr_size_prop()
1622 evdev_read_attr_size_prop(struct evdev_device *device, size_t *size_x, size_t *size_y) evdev_read_attr_size_prop() argument
/third_party/mesa3d/src/intel/vulkan/
H A DgenX_cmd_buffer.c5530 struct mi_value size_x = mi_mem32(anv_address_add(addr, 0)); in CmdDispatchIndirect() local
5534 mi_store(&b, mi_reg32(GPGPU_DISPATCHDIMX), size_x); in CmdDispatchIndirect()
5540 mi_store(&b, mi_reg64(MI_PREDICATE_SRC0), size_x); in CmdDispatchIndirect()
/third_party/mesa3d/src/gallium/drivers/iris/
H A 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()

Completed in 61 milliseconds