Home
last modified time | relevance | path

Searched refs:src_matrix (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/ruy/ruy/
H A Dpack_arm.h151 static void Run(Tuning tuning, const Mat<Scalar>& src_matrix,
154 RUY_DCHECK(IsColMajor(src_matrix.layout));
159 memset(zerobuf, src_matrix.zero_point, sizeof(zerobuf));
161 int src_stride = src_matrix.layout.stride;
162 const Scalar* src_ptr0 = src_matrix.data.get() + src_stride * block_col;
170 if (block_col >= src_matrix.layout.cols - 3) {
171 if (block_col >= src_matrix.layout.cols - 0) {
175 if (block_col >= src_matrix.layout.cols - 1) {
179 if (block_col >= src_matrix.layout.cols - 2) {
183 if (block_col >= src_matrix.layout.cols - 3) {
[all …]
H A Dpack_x86.h75 static void Run(Tuning, const Mat<Scalar>& src_matrix,
80 RUY_DCHECK(IsColMajor(src_matrix.layout));
91 int src_stride = src_matrix.layout.stride;
92 const Scalar* src_ptr = src_matrix.data.get() + src_stride * block_col;
93 int remaining_src_cols = src_matrix.layout.cols - block_col;
102 remaining_src_cols, src_matrix.layout.rows, packed_ptr, sums_ptr);
122 static void Run(Tuning, const Mat<Scalar>& src_matrix,
127 RUY_DCHECK(IsColMajor(src_matrix.layout));
138 int src_stride = src_matrix.layout.stride;
139 const Scalar* src_ptr = src_matrix.data.get() + src_stride * block_col;
[all …]
H A Dpack.h108 static void Run(Tuning, const Mat<Scalar>& src_matrix, in Run()
112 RUY_DCHECK_EQ(SrcOrder, src_matrix.layout.order); in Run()
119 if (col < src_matrix.layout.cols && row < src_matrix.layout.rows) { in Run()
120 packed_val = Pack<PackedScalar>(Element(src_matrix, row, col)); in Run()
137 void RunPack(Tuning tuning, const EMat& src_matrix, PEMat* packed_matrix, in RunPack() argument
141 Mat<Scalar> src = UneraseType<Scalar>(src_matrix); in RunPack()
H A Dpack_common.h102 static void Run(Tuning, const Mat<float>& src_matrix, in Run()
104 RUY_DCHECK(IsRowMajor(src_matrix.layout)); in Run()
107 int src_stride = src_matrix.layout.stride; in Run()
111 for (int block_row = 0; block_row < src_matrix.layout.rows; in Run()
114 src_matrix.data.get() + src_stride * block_row + start_col; in Run()
118 int src_cols = std::min(end_col, src_matrix.layout.cols) - start_col; in Run()
H A Dtrace.h762 end_col, str(src_matrix)); \
765 if (end_col > src_matrix.layout.cols) { \
770 if (packed_matrix->layout.rows > src_matrix.layout.rows) { \
/aosp_15_r20/external/mesa3d/src/gallium/frontends/xa/
H A Dxa_renderer.c202 const float *src_matrix, in compute_src_coords() argument
215 if (src_matrix) { in compute_src_coords()
216 map_point(src_matrix, tc0[0], tc0[1], &tc0[0], &tc0[1]); in compute_src_coords()
217 map_point(src_matrix, tc1[0], tc1[1], &tc1[0], &tc1[1]); in compute_src_coords()
218 map_point(src_matrix, tc2[0], tc2[1], &tc2[0], &tc2[1]); in compute_src_coords()
219 map_point(src_matrix, tc3[0], tc3[1], &tc3[0], &tc3[1]); in compute_src_coords()
236 const struct pipe_resource *src, const float *src_matrix) in add_vertex_data1() argument
240 compute_src_coords(srcX, srcY, src, src_matrix, width, height, in add_vertex_data1()
258 const float *src_matrix, const float *mask_matrix) in add_vertex_data2() argument
263 compute_src_coords(srcX, srcY, src, src_matrix, width, height, in add_vertex_data2()
[all …]
H A Dxa_composite.c554 const float *src_matrix = NULL; in xa_composite_rect() local
560 src_matrix = comp->src->transform; in xa_composite_rect()
565 src_matrix, mask_matrix); in xa_composite_rect()
H A Dxa_priv.h286 const float *src_matrix,
/aosp_15_r20/external/mesa3d/src/compiler/glsl/
H A Dast_function.cpp1788 ir_rvalue *const src_matrix = first_param; in emit_inline_matrix_constructor() local
1793 if ((src_matrix->type->matrix_columns < var->type->matrix_columns) || in emit_inline_matrix_constructor()
1794 (src_matrix->type->vector_elements < var->type->vector_elements)) { in emit_inline_matrix_constructor()
1802 (src_matrix->type->vector_elements < var->type->vector_elements) in emit_inline_matrix_constructor()
1803 ? 0 : src_matrix->type->matrix_columns; in emit_inline_matrix_constructor()
1849 const unsigned last_row = MIN2(src_matrix->type->vector_elements, in emit_inline_matrix_constructor()
1851 const unsigned last_col = MIN2(src_matrix->type->matrix_columns, in emit_inline_matrix_constructor()