Home
last modified time | relevance | path

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

/external/ruy/ruy/
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 …]
Dpack_x86.h74 static void Run(Tuning, const Mat<Scalar>& src_matrix,
79 RUY_DCHECK(IsColMajor(src_matrix.layout));
90 int src_stride = src_matrix.layout.stride;
91 const Scalar* src_ptr = src_matrix.data.get() + src_stride * block_col;
92 int remaining_src_cols = src_matrix.layout.cols - block_col;
101 remaining_src_cols, src_matrix.layout.rows, packed_ptr, sums_ptr);
121 static void Run(Tuning, const Mat<Scalar>& src_matrix,
126 RUY_DCHECK(IsColMajor(src_matrix.layout));
137 int src_stride = src_matrix.layout.stride;
138 const Scalar* src_ptr = src_matrix.data.get() + src_stride * block_col;
[all …]
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()
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()
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) { \
/external/mesa3d/src/gallium/frontends/xa/
Dxa_renderer.c200 const float *src_matrix, in compute_src_coords() argument
213 if (src_matrix) { in compute_src_coords()
214 map_point(src_matrix, tc0[0], tc0[1], &tc0[0], &tc0[1]); in compute_src_coords()
215 map_point(src_matrix, tc1[0], tc1[1], &tc1[0], &tc1[1]); in compute_src_coords()
216 map_point(src_matrix, tc2[0], tc2[1], &tc2[0], &tc2[1]); in compute_src_coords()
217 map_point(src_matrix, tc3[0], tc3[1], &tc3[0], &tc3[1]); in compute_src_coords()
234 const struct pipe_resource *src, const float *src_matrix) in add_vertex_data1() argument
238 compute_src_coords(srcX, srcY, src, src_matrix, width, height, in add_vertex_data1()
256 const float *src_matrix, const float *mask_matrix) in add_vertex_data2() argument
261 compute_src_coords(srcX, srcY, src, src_matrix, width, height, in add_vertex_data2()
[all …]
Dxa_composite.c556 const float *src_matrix = NULL; in xa_composite_rect() local
562 src_matrix = comp->src->transform; in xa_composite_rect()
567 src_matrix, mask_matrix); in xa_composite_rect()
Dxa_priv.h286 const float *src_matrix,
/external/mesa3d/src/compiler/glsl/
Dast_function.cpp1742 ir_rvalue *const src_matrix = first_param; in emit_inline_matrix_constructor() local
1747 if ((src_matrix->type->matrix_columns < var->type->matrix_columns) || in emit_inline_matrix_constructor()
1748 (src_matrix->type->vector_elements < var->type->vector_elements)) { in emit_inline_matrix_constructor()
1756 (src_matrix->type->vector_elements < var->type->vector_elements) in emit_inline_matrix_constructor()
1757 ? 0 : src_matrix->type->matrix_columns; in emit_inline_matrix_constructor()
1803 const unsigned last_row = MIN2(src_matrix->type->vector_elements, in emit_inline_matrix_constructor()
1805 const unsigned last_col = MIN2(src_matrix->type->matrix_columns, in emit_inline_matrix_constructor()