Home
last modified time | relevance | path

Searched refs:matrix (Results 1 – 25 of 171) sorted by relevance

1234567

/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dtype_ptr.inl77 /// Return the constant address to the data of the matrix input.
88 //! Return the address to the data of the matrix input.
99 /// Return the constant address to the data of the matrix input.
110 //! Return the address to the data of the matrix input.
121 /// Return the constant address to the data of the matrix input.
132 //! Return the address to the data of the matrix input.
143 /// Return the constant address to the data of the matrix input.
154 //! Return the address to the data of the matrix input.
165 /// Return the constant address to the data of the matrix input.
176 //! Return the address to the data of the matrix input.
[all …]
/hardware/google/graphics/common/libhwc2.1/
DDisplaySceneInfo.h93 void setColorTransform(const float* matrix) { in setColorTransform() argument
94 for (uint32_t i = 0; i < displayScene.matrix.size(); i++) { in setColorTransform()
95 if (displayScene.matrix[i] != matrix[i]) { in setColorTransform()
97 displayScene.matrix[i] = matrix[i]; in setColorTransform()
109 std::array<float, TRANSFORM_MAT_SIZE>& matrix);
DDisplaySceneInfo.cpp92 std::array<float, TRANSFORM_MAT_SIZE>& matrix) { in setLayerColorTransform() argument
93 updateInfoSingleVal(layerColorData.matrix, matrix); in setLayerColorTransform()
256 ALOGD("%f, %f, %f, %f", displayScene.matrix[i], displayScene.matrix[i + 1], in printDisplayScene()
257 displayScene.matrix[i + 2], displayScene.matrix[i + 3]); in printDisplayScene()
275 ALOGD("%f, %f, %f, %f", layerData.matrix[i], layerData.matrix[i + 1], in printLayerColorData()
276 layerData.matrix[i + 2], layerData.matrix[i + 3]); in printLayerColorData()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_cooperative_matrix.adoc23 This extension adds support for using cooperative matrix types in SPIR-V.
24 Cooperative matrix types are medium-sized matrices that are primarily
25 supported in compute shaders, where the storage for the matrix is spread
27 invocations cooperate to efficiently perform matrix multiplies.
29 Cooperative matrix types are defined by the
35 This extension includes support for enumerating the matrix types and
47 (1) What matrix properties will be supported in practice?
DVK_KHR_cooperative_matrix.adoc25 This extension adds support for using cooperative matrix types in SPIR-V.
26 Cooperative matrix types are medium-sized matrices that are primarily
27 supported in compute shaders, where the storage for the matrix is spread
29 invocations cooperate to efficiently perform matrix multiplies.
31 Cooperative matrix types are defined by the
37 This extension includes support for enumerating the matrix types and
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_KHR_cooperative_matrix.asciidoc10 This document proposes adding support for so-called cooperative matrix
12 efficiently perform matrix multiplications.
16 A growing number of GPU applications are making use of matrix multiplication
18 channels or other hardware facilities to implement matrix multiplications
25 matrix multiplication kernels but, while technically possible on some hardware,
30 cooperative matrix operations. These include cooperative load and store
31 instructions, a matrix multiplication-addition instruction as well a limited
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/
DHwcHal.h47 bool isIdentityMatrix(const float* matrix) { in isIdentityMatrix() argument
48 if (matrix[0] == 1.0 && matrix[1] == 0.0 && matrix[2] == 0.0 && matrix[3] == 0.0 && in isIdentityMatrix()
49 matrix[4] == 0.0 && matrix[5] == 1.0 && matrix[6] == 0.0 && matrix[7] == 0.0 && in isIdentityMatrix()
50 matrix[8] == 0.0 && matrix[9] == 0.0 && matrix[10] == 1.0 && matrix[11] == 0.0 && in isIdentityMatrix()
51 matrix[12] == 0.0 && matrix[13] == 0.0 && matrix[14] == 0.0 && matrix[15] == 1.0) { in isIdentityMatrix()
145 Error setLayerColorTransform(Display display, Layer layer, const float* matrix) override { in setLayerColorTransform() argument
147 if (isIdentityMatrix(matrix)) { in setLayerColorTransform()
159 int32_t err = mDispatch.setLayerColorTransform(mDevice, display, layer, matrix); in setLayerColorTransform()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Ddata_builder.h264 void inv_get_compass_soft_iron_matrix_d(long *matrix);
265 void inv_set_compass_soft_iron_matrix_d(long *matrix);
267 void inv_get_compass_soft_iron_matrix_f(float *matrix);
268 void inv_set_compass_soft_iron_matrix_f(float *matrix);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.h261 void inv_get_compass_soft_iron_matrix_d(long *matrix);
262 void inv_set_compass_soft_iron_matrix_d(long *matrix);
264 void inv_get_compass_soft_iron_matrix_f(float *matrix);
265 void inv_set_compass_soft_iron_matrix_f(float *matrix);
Ddata_builder.c1373 void inv_get_compass_soft_iron_matrix_d(long *matrix) { in inv_get_compass_soft_iron_matrix_d() argument
1376 matrix[i] = sensors.soft_iron.matrix_d[i]; in inv_get_compass_soft_iron_matrix_d()
1383 void inv_set_compass_soft_iron_matrix_d(long *matrix) { in inv_set_compass_soft_iron_matrix_d() argument
1387 sensors.soft_iron.matrix_d[i] = matrix[i]; in inv_set_compass_soft_iron_matrix_d()
1389 sensors.soft_iron.matrix_f[i] = inv_q30_to_float(matrix[i]); in inv_set_compass_soft_iron_matrix_d()
1395 void inv_get_compass_soft_iron_matrix_f(float *matrix) { in inv_get_compass_soft_iron_matrix_f() argument
1398 matrix[i] = sensors.soft_iron.matrix_f[i]; in inv_get_compass_soft_iron_matrix_f()
1404 void inv_set_compass_soft_iron_matrix_f(float *matrix) { in inv_set_compass_soft_iron_matrix_f() argument
1408 sensors.soft_iron.matrix_f[i] = matrix[i]; in inv_set_compass_soft_iron_matrix_f()
1410 sensors.soft_iron.matrix_d[i] = (long )(matrix[i]*ROT_MATRIX_SCALE_LONG); in inv_set_compass_soft_iron_matrix_f()
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/
DComposerCommandEngine.h63 float matrix[16]; in executeSetLayerColorTransform() local
65 matrix[i] = readFloat(); in executeSetLayerColorTransform()
67 auto err = mHal->setLayerColorTransform(mCurrentDisplay, mCurrentLayer, matrix); in executeSetLayerColorTransform()
/hardware/google/graphics/common/include/displaycolor/
Ddisplaycolor.h182 return dataspace == rhs.dataspace && matrix == rhs.matrix &&
286 std::array<float, 16> matrix {
342 matrix == rhs.matrix &&
365 std::array<float, 16> matrix {
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp172 std::array<float, 16> matrix; in getDataspaceSaturationMatrix() local
176 std::copy_n(tmpMatrix.data(), matrix.size(), matrix.begin()); in getDataspaceSaturationMatrix()
179 return matrix; in getDataspaceSaturationMatrix()
/hardware/interfaces/compatibility_matrices/build/
DAndroid.bp25 name: "vintf-compatibility-matrix-soong-rules",
26 pkgPath: "android/soong/vintf-compatibility-matrix",
/hardware/interfaces/graphics/composer/aidl/include/android/hardware/graphics/composer3/
DComposerClientWriter.h74 void setColorTransform(int64_t display, const float* matrix) { in setColorTransform() argument
77 matVec.assign(matrix, matrix + 16); in setColorTransform()
229 void setLayerColorTransform(int64_t display, int64_t layer, const float* matrix) { in setLayerColorTransform() argument
230 getLayerCommand(display, layer).colorTransform.emplace(matrix, matrix + 16); in setLayerColorTransform()
/hardware/google/graphics/gs101/libhwc2.1/libexternaldisplay/
DExynosExternalDisplayModule.cpp94 int32_t ExynosExternalDisplayModule::setColorTransform(const float* matrix, int32_t hint) { in setColorTransform() argument
95 return mColorManager->setColorTransform(matrix, hint); in setColorTransform()
DExynosExternalDisplayModule.h43 int32_t setColorTransform(const float* matrix, int32_t hint) override;
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display.h61 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint);
67 android_color_transform_t hint, const double *matrix);
151 virtual HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint) { in SetColorTransform() argument
156 const double *matrix) { in HandleColorModeTransform() argument
/hardware/interfaces/graphics/composer/2.3/utils/command-buffer/include/composer-command-buffer/2.3/
DComposerCommandBuffer.h71 void setLayerColorTransform(const float* matrix) { in setLayerColorTransform() argument
75 writeFloat(matrix[i]); in setLayerColorTransform()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display.h64 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint);
71 android_color_transform_t hint, const double *matrix);
179 virtual HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint) { in SetColorTransform() argument
184 const double *matrix) { in HandleColorModeTransform() argument
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display.h64 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint);
70 android_color_transform_t hint, const double *matrix);
178 virtual HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint) { in SetColorTransform() argument
183 const double *matrix) { in HandleColorModeTransform() argument
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display.h64 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint);
70 android_color_transform_t hint, const double *matrix);
166 virtual HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint) { in SetColorTransform() argument
171 const double *matrix) { in HandleColorModeTransform() argument
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dmatrix_decompose.inl27 // Decomposes the mode matrix to translations,rotation scale components
34 // Normalize the matrix.
120 // At this point, the matrix (in rows[]) is orthonormal.
122 // is -1, then negate the matrix and the scaling factors.
/hardware/interfaces/drm/1.1/
DREADME.md17 FCM (framework compatibility matrix) version 2 (released in Android Oreo MR1)
43 FCM (framework compatibility matrix) version 3 (released in Android Pie)
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2TargetTest.cpp526 auto matrix = mComposerClient->getDataspaceSaturationMatrix(Dataspace::SRGB_LINEAR); in TEST_P() local
528 ASSERT_EQ(0.0f, matrix[12]); in TEST_P()
529 ASSERT_EQ(0.0f, matrix[13]); in TEST_P()
530 ASSERT_EQ(0.0f, matrix[14]); in TEST_P()
531 ASSERT_EQ(1.0f, matrix[15]); in TEST_P()

1234567