/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/ |
D | HwcHal.h | 47 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/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/ |
D | ComposerCommandEngine.h | 63 float matrix[16]; in executeSetLayerColorTransform() local 65 matrix[i] = readFloat(); in executeSetLayerColorTransform() 67 auto err = mHal->setLayerColorTransform(mCurrentDisplay, mCurrentLayer, matrix); in executeSetLayerColorTransform()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | data_builder.h | 264 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);
|
D | data_builder.c | 1600 void inv_get_compass_soft_iron_matrix_d(long *matrix) { in inv_get_compass_soft_iron_matrix_d() argument 1603 matrix[i] = sensors.soft_iron.matrix_d[i]; in inv_get_compass_soft_iron_matrix_d() 1610 void inv_set_compass_soft_iron_matrix_d(long *matrix) { in inv_set_compass_soft_iron_matrix_d() argument 1614 sensors.soft_iron.matrix_d[i] = matrix[i]; in inv_set_compass_soft_iron_matrix_d() 1616 sensors.soft_iron.matrix_f[i] = inv_q30_to_float(matrix[i]); in inv_set_compass_soft_iron_matrix_d() 1622 void inv_get_compass_soft_iron_matrix_f(float *matrix) { in inv_get_compass_soft_iron_matrix_f() argument 1625 matrix[i] = sensors.soft_iron.matrix_f[i]; in inv_get_compass_soft_iron_matrix_f() 1631 void inv_set_compass_soft_iron_matrix_f(float *matrix) { in inv_set_compass_soft_iron_matrix_f() argument 1635 sensors.soft_iron.matrix_f[i] = matrix[i]; in inv_set_compass_soft_iron_matrix_f() 1637 sensors.soft_iron.matrix_d[i] = (long )(matrix[i]*ROT_MATRIX_SCALE_LONG); in inv_set_compass_soft_iron_matrix_f()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | data_builder.h | 261 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);
|
D | data_builder.c | 1373 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/compatibility_matrices/build/ |
D | Android.bp | 16 name: "vintf-compatibility-matrix-soong-rules", 17 pkgPath: "android/soong/vintf-compatibility-matrix",
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
D | ComposerVts.cpp | 172 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/graphics/composer/2.3/utils/command-buffer/include/composer-command-buffer/2.3/ |
D | ComposerCommandBuffer.h | 71 void setLayerColorTransform(const float* matrix) { in setLayerColorTransform() argument 75 writeFloat(matrix[i]); in setLayerColorTransform()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display.h | 61 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
|
D | hwc_display_primary.cpp | 259 HWC2::Error HWCDisplayPrimary::SetColorTransform(const float *matrix, in SetColorTransform() argument 262 if (!matrix) { in SetColorTransform() 266 auto status = color_mode_->SetColorTransform(matrix, hint); in SetColorTransform()
|
D | hwc_display_primary.h | 60 virtual HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint);
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_display.h | 64 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
|
D | hwc_display_primary.h | 61 virtual HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint);
|
D | hwc_display_primary.cpp | 267 HWC2::Error HWCDisplayPrimary::SetColorTransform(const float *matrix, in SetColorTransform() argument 269 if (!matrix) { in SetColorTransform() 273 auto status = color_mode_->SetColorTransform(matrix, hint); in SetColorTransform()
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_display.h | 64 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
|
D | hwc_display_primary.h | 61 virtual HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint);
|
D | hwc_display_primary.cpp | 271 HWC2::Error HWCDisplayPrimary::SetColorTransform(const float *matrix, in SetColorTransform() argument 274 if (!matrix) { in SetColorTransform() 278 auto status = color_mode_->SetColorTransform(matrix, hint); in SetColorTransform()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display.h | 64 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
|
D | hwc_display_primary.h | 60 virtual HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint);
|
/hardware/interfaces/drm/1.1/ |
D | README.md | 17 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/ |
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 542 auto matrix = mComposerClient->getDataspaceSaturationMatrix(Dataspace::SRGB_LINEAR); in TEST_P() local 544 ASSERT_EQ(0.0f, matrix[12]); in TEST_P() 545 ASSERT_EQ(0.0f, matrix[13]); in TEST_P() 546 ASSERT_EQ(0.0f, matrix[14]); in TEST_P() 547 ASSERT_EQ(1.0f, matrix[15]); in TEST_P()
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_display.cpp | 170 double matrix[kColorTransformMatrixCount] = {0}; in PickTransferMatrix() local 172 CopyColorTransformMatrix(color_matrix_, matrix); in PickTransferMatrix() 174 adaptive_saturation_->ApplyToMatrix(matrix); in PickTransferMatrix() 177 adaptive_white_->ApplyToMatrix(matrix); in PickTransferMatrix() 179 CopyColorTransformMatrix(matrix, compensated_color_matrix_); in PickTransferMatrix() 302 double matrix[kColorTransformMatrixCount] = {0}; in ApplyToMatrix() local 305 matrix[i] = compensated_red_ratio_ * in[i]; in ApplyToMatrix() 307 matrix[i] = compensated_green_ratio_ * in[i]; in ApplyToMatrix() 309 matrix[i] = compensated_blue_ratio_ * in[i]; in ApplyToMatrix() 311 matrix[i] = in[i]; in ApplyToMatrix() [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/ |
D | HwcHal.h | 225 std::array<float, 16> matrix; in getDataspaceSaturationMatrix() local 230 matrix.data()); in getDataspaceSaturationMatrix() 239 return matrix; in getDataspaceSaturationMatrix()
|
/hardware/interfaces/graphics/composer/2.3/ |
D | IComposerClient.hal | 116 * setLayerColorTransform(float[16] matrix); 120 * 0 - 16 * 4: matrix 122 * Sets a matrix for color transform which will be applied on this layer 125 * If the device is not capable of apply the matrix on this layer, it must force 128 * The matrix provided is an affine color transformation of the following 136 * This matrix must be provided in row-major form: 140 * Given a matrix of this form and an input color [R_in, G_in, B_in], 152 * @param matrix is a 4x4 transform matrix (16 floats) as described above.
|