/external/skia/gm/ |
H A D | shadertext2.cpp | 49 SkTDArray<LabeledMatrix> matrices; local 50 matrices.append()->fMatrix.reset(); 51 matrices.top().fLabel = "Identity"; 52 matrices.append()->fMatrix.setScale(1.2f, 0.8f); 53 matrices.top().fLabel = "Scale"; 54 matrices.append()->fMatrix.setRotate(10.f); 55 matrices.top().fLabel = "Rotate"; 56 matrices.append()->fMatrix.reset(); 57 matrices.top().fMatrix.setPerspX(-0.0015f); 58 matrices [all...] |
H A D | localmatriximagefilter.cpp | 48 // Show the effect of localmatriximagefilter with various matrices, on various filters 59 const SkMatrix matrices[] = { local 73 for (const auto& matrix : matrices) {
|
H A D | vertices.cpp | 207 SkTDArray<SkMatrix> matrices; local 208 matrices.push()->reset(); 209 matrices.push()->setTranslate(0, 40); 210 SkMatrix* m = matrices.push(); 229 for (const auto& m : matrices) {
|
H A D | shadowutils.cpp | 79 SkTDArray<SkMatrix> matrices; local 80 matrices.push()->reset(); 81 SkMatrix* m = matrices.push(); 84 for (auto& m : matrices) { 148 for (auto& m : matrices) {
|
H A D | bleed.cpp | 321 SkTDArray<SkMatrix> matrices; variable 323 *matrices.append() = SkMatrix::I(); 331 *matrices.append() = m; 335 matrices[matrices.count()-1].mapPoints(corners, 4); 341 *matrices.append() = m; 347 for (int m = 0; m < matrices.count(); ++m) { 349 canvas->concat(matrices[m]); 395 matrices[m].mapPoints(corners, 4);
|
/external/skqp/gm/ |
H A D | shadertext2.cpp | 49 SkTDArray<LabeledMatrix> matrices; local 50 matrices.append()->fMatrix.reset(); 51 matrices.top().fLabel = "Identity"; 52 matrices.append()->fMatrix.setScale(1.2f, 0.8f); 53 matrices.top().fLabel = "Scale"; 54 matrices.append()->fMatrix.setRotate(10.f); 55 matrices.top().fLabel = "Rotate"; 56 matrices.append()->fMatrix.reset(); 57 matrices.top().fMatrix.setPerspX(-0.0015f); 58 matrices [all...] |
H A D | shadowutils.cpp | 54 SkTDArray<SkMatrix> matrices; local 55 matrices.push()->reset(); 56 SkMatrix* m = matrices.push(); 59 for (auto& m : matrices) {
|
H A D | localmatriximagefilter.cpp | 48 // Show the effect of localmatriximagefilter with various matrices, on various filters 59 const SkMatrix matrices[] = { local 73 for (const auto& matrix : matrices) {
|
H A D | vertices.cpp | 207 SkTDArray<SkMatrix> matrices; local 208 matrices.push()->reset(); 209 matrices.push()->setTranslate(0, 40); 210 SkMatrix* m = matrices.push(); 229 for (const auto& m : matrices) {
|
H A D | bleed.cpp | 321 SkTDArray<SkMatrix> matrices; variable 323 *matrices.append() = SkMatrix::I(); 331 *matrices.append() = m; 335 matrices[matrices.count()-1].mapPoints(corners, 4); 341 *matrices.append() = m; 347 for (int m = 0; m < matrices.count(); ++m) { 349 canvas->concat(matrices[m]); 395 matrices[m].mapPoints(corners, 4);
|
/external/opencv/cvaux/src/ |
H A D | cvtexture.cpp | 60 double*** matrices; member in struct:CvGLCM 140 newGLCM->matrices = 0; 233 if( (flag == CV_GLCM_GLCM || flag == CV_GLCM_ALL) && (*GLCM)->matrices ) 237 if( (*GLCM)->matrices[ matrixLoop ] ) 239 cvFree( (*GLCM)->matrices[matrixLoop] ); 240 cvFree( (*GLCM)->matrices + matrixLoop ); 244 cvFree( &((*GLCM)->matrices) ); 283 double*** matrices = 0; local 285 // allocate memory to the matrices 286 CV_CALL( destGLCM->matrices [all...] |
/external/skia/src/gpu/gl/ |
H A D | GrGLProgramDataManager.h | 63 // matrices are column-major, the first three upload a single matrix, the latter three upload 64 // arrayCount matrices into a uniform array. 68 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 69 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 70 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 101 const float matrices[]) const;
|
/external/skia/src/gpu/vk/ |
H A D | GrVkPipelineStateDataManager.h | 37 // matrices are column-major, the first two upload a single matrix, the latter two upload 38 // arrayCount matrices into a uniform array. 42 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 43 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 44 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 69 const float matrices[]) const;
|
H A D | GrVkPipelineStateDataManager.cpp | 231 const float matrices[]) const { 249 set_uniform_matrix<N>::set(buffer, uni.fOffset, arrayCount, matrices); 253 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { argument 257 const float* matrix = &matrices[N * N * i]; 267 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { argument 270 memcpy(buffer, matrices, count * 16 * sizeof(float));
|
/external/skqp/src/gpu/gl/ |
H A D | GrGLProgramDataManager.h | 63 // matrices are column-major, the first three upload a single matrix, the latter three upload 64 // arrayCount matrices into a uniform array. 68 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 69 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 70 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 101 const float matrices[]) const;
|
/external/skqp/src/gpu/vk/ |
H A D | GrVkPipelineStateDataManager.h | 37 // matrices are column-major, the first two upload a single matrix, the latter two upload 38 // arrayCount matrices into a uniform array. 42 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 43 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 44 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 69 const float matrices[]) const;
|
/external/skia/src/gpu/glsl/ |
H A D | GrGLSLProgramDataManager.h | 40 // matrices are column-major, the first three upload a single matrix, the latter three upload 41 // arrayCount matrices into a uniform array. 45 virtual void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 46 virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 47 virtual void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
|
/external/skqp/src/gpu/glsl/ |
H A D | GrGLSLProgramDataManager.h | 40 // matrices are column-major, the first three upload a single matrix, the latter three upload 41 // arrayCount matrices into a uniform array. 45 virtual void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 46 virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 47 virtual void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
|
/external/tensorflow/tensorflow/python/kernel_tests/linalg/ |
H A D | linear_operator_composition_test.py | 51 # Either 1 or 2 matrices, depending. 53 matrices = [ 66 matrices = sess.run(matrices) 70 feed_dict = {m_ph: m for (m_ph, m) in zip(matrices_ph, matrices)} 73 [linalg.LinearOperatorFullMatrix(m) for m in matrices]) 80 matmul_order_list = list(reversed(matrices)) 155 # Test only the case of 2 matrices. 160 # Create 2 matrices/operators, A1, A2, which becomes A = A1 A2. 167 matrices [all...] |
/external/mesa3d/src/gallium/drivers/ilo/core/ |
H A D | ilo_state_viewport.c | 127 const struct ilo_state_viewport_matrix_info *matrices, 135 const struct ilo_state_viewport_matrix_info *mat = &matrices[i]; 183 const struct ilo_state_viewport_matrix_info *matrices, 191 const struct ilo_state_viewport_matrix_info *mat = &matrices[i]; 287 info.params.matrices = &mat; 328 params->matrices, params->count); 330 params->matrices, params->count); 125 viewport_matrix_set_gen7_SF_CLIP_VIEWPORT(struct ilo_state_viewport *vp, const struct ilo_dev *dev, const struct ilo_state_viewport_matrix_info *matrices, uint8_t count) argument 181 viewport_matrix_set_gen6_CC_VIEWPORT(struct ilo_state_viewport *vp, const struct ilo_dev *dev, const struct ilo_state_viewport_matrix_info *matrices, uint8_t count) argument
|
H A D | ilo_state_viewport.h | 65 const struct ilo_state_viewport_matrix_info *matrices; member in struct:ilo_state_viewport_params_info
|
/external/skia/samplecode/ |
H A D | SampleShadowUtils.cpp | 182 SkTDArray<SkMatrix> matrices; variable 183 matrices.push()->reset(); 184 SkMatrix* m = matrices.push(); 193 for (auto& m : matrices) { 227 for (auto& m : matrices) {
|
/external/tensorflow/tensorflow/compiler/tests/ |
H A D | cholesky_op_test.py | 75 # Generate random positive-definite matrices. 76 matrices = np.random.rand(10, 5, 5).astype(dtype) 78 matrices[i] = np.dot(matrices[i].T, matrices[i]) 79 self._verifyCholesky(matrices, atol=1e-4) 112 # Generate random positive-definite symmetric matrices, and take their
|
/external/skqp/samplecode/ |
H A D | SampleShadowUtils.cpp | 162 SkTDArray<SkMatrix> matrices; variable 163 matrices.push()->reset(); 164 SkMatrix* m = matrices.push(); 171 for (auto& m : matrices) {
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
H A D | cholesky_op_test.py | 135 # Generate random positive-definite matrices. 136 matrices = np.random.rand(10, 5, 5) 138 matrices[i] = np.dot(matrices[i].T, matrices[i]) 139 self._verifyCholesky(matrices) 141 # Generate random complex valued positive-definite matrices. 142 matrices = np.random.rand(10, 5, 5) + 1j * np.random.rand(10, 5, 5) 144 matrices[i] = np.dot(matrices[ [all...] |