/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | and_constructor.c | 116 int32_t orientation; in inv_playback() local 202 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); in inv_playback() 204 inv_set_gyro_orientation_and_scale(orientation, sensitivity); in inv_playback() 208 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); in inv_playback() 210 inv_set_accel_orientation_and_scale(orientation, sensitivity); in inv_playback() 214 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); in inv_playback() 216 inv_set_compass_orientation_and_scale(orientation, sensitivity); in inv_playback()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) in inv_convert_to_body() argument 614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); in inv_convert_to_body() 615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); in inv_convert_to_body() 616 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100); in inv_convert_to_body() 624 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) in inv_convert_to_chip() argument 626 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004); in inv_convert_to_chip() 627 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020); in inv_convert_to_chip() 628 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100); in inv_convert_to_chip() 639 void inv_convert_to_body_with_scale(unsigned short orientation, in inv_convert_to_body_with_scale() argument 643 output[0] = inv_q30_mult(input[orientation & 0x03] * in inv_convert_to_body_with_scale() [all …]
|
D | data_builder.c | 208 int orientation, long sensitivity) in set_sensor_orientation_and_scale() argument 220 if ((orientation & 3) == 3) { in set_sensor_orientation_and_scale() 223 if ((orientation & 0x18) == 0x18) { in set_sensor_orientation_and_scale() 226 if ((orientation & 0xc0) == 0xc0) { in set_sensor_orientation_and_scale() 230 orientation = 0x88; // Identity in set_sensor_orientation_and_scale() 233 sensor->orientation = orientation; in set_sensor_orientation_and_scale() 245 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) in inv_set_gyro_orientation_and_scale() argument 251 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale() 255 set_sensor_orientation_and_scale(&sensors.gyro, orientation, in inv_set_gyro_orientation_and_scale() 642 void inv_set_accel_orientation_and_scale(int orientation, long sensitivity) in inv_set_accel_orientation_and_scale() argument [all …]
|
D | ml_math_func.h | 94 void inv_convert_to_body(unsigned short orientation, const long *input, long *output); 95 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output); 96 …void inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *inpu…
|
D | data_builder.h | 84 int orientation; member 220 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity); 221 void inv_set_accel_orientation_and_scale(int orientation, 223 void inv_set_compass_orientation_and_scale(int orientation,
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) in inv_convert_to_body() argument 614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); in inv_convert_to_body() 615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); in inv_convert_to_body() 616 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100); in inv_convert_to_body() 624 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) in inv_convert_to_chip() argument 626 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004); in inv_convert_to_chip() 627 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020); in inv_convert_to_chip() 628 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100); in inv_convert_to_chip() 639 void inv_convert_to_body_with_scale(unsigned short orientation, in inv_convert_to_body_with_scale() argument 643 output[0] = inv_q30_mult(input[orientation & 0x03] * in inv_convert_to_body_with_scale() [all …]
|
D | data_builder.c | 207 int orientation, long sensitivity) in set_sensor_orientation_and_scale() argument 219 if ((orientation & 3) == 3) { in set_sensor_orientation_and_scale() 222 if ((orientation & 0x18) == 0x18) { in set_sensor_orientation_and_scale() 225 if ((orientation & 0xc0) == 0xc0) { in set_sensor_orientation_and_scale() 229 orientation = 0x88; // Identity in set_sensor_orientation_and_scale() 232 sensor->orientation = orientation; in set_sensor_orientation_and_scale() 244 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) in inv_set_gyro_orientation_and_scale() argument 250 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale() 254 set_sensor_orientation_and_scale(&sensors.gyro, orientation, in inv_set_gyro_orientation_and_scale() 437 void inv_set_accel_orientation_and_scale(int orientation, long sensitivity) in inv_set_accel_orientation_and_scale() argument [all …]
|
D | ml_math_func.h | 94 void inv_convert_to_body(unsigned short orientation, const long *input, long *output); 95 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output); 96 …void inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *inpu…
|
D | data_builder.h | 82 int orientation; member 217 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity); 218 void inv_set_accel_orientation_and_scale(int orientation, 220 void inv_set_compass_orientation_and_scale(int orientation,
|
/hardware/interfaces/configstore/1.1/default/ |
D | SurfaceFlingerConfigs.cpp | 159 int orientation = 0; in primaryDisplayOrientation() local 162 orientation = PRIMARY_DISPLAY_ORIENTATION; in primaryDisplayOrientation() 165 switch (orientation) { in primaryDisplayOrientation() 184 LOG_ALWAYS_FATAL("Invalid orientation %d", orientation); in primaryDisplayOrientation()
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | Conversions.cpp | 171 pDst->orientation.x = src.orientation.x; in halToMicrophoneCharacteristics() 172 pDst->orientation.y = src.orientation.y; in halToMicrophoneCharacteristics() 173 pDst->orientation.z = src.orientation.z; in halToMicrophoneCharacteristics()
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | metadata_reader_test.cpp | 99 for (int32_t orientation : valid_orientations_) { in TEST_F() local 101 metadata_.get(), orientation_tag_, orientation), in TEST_F() 105 int actual = orientation + 1; in TEST_F() 107 EXPECT_EQ(actual, orientation); in TEST_F() 113 for (int32_t orientation : valid_orientations_) { in TEST_F() local 115 metadata_.get(), orientation_tag_, orientation + 1), in TEST_F() 122 for (int32_t orientation : valid_orientations_) { in TEST_F() local 124 metadata_.get(), orientation_tag_, orientation - 1), in TEST_F()
|
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraUtils.cpp | 280 XMLElement *orientation = deviceCfg->FirstChildElement("Orientation"); in loadFromCfg() local 281 if (orientation == nullptr) { in loadFromCfg() 284 ret.orientation = orientation->IntAttribute("degree", /*Default*/kDefaultOrientation); in loadFromCfg() 290 ret.numVideoBuffers, ret.numStillBuffers, ret.orientation); in loadFromCfg() 337 orientation(kDefaultOrientation) { in ExternalCameraConfig()
|
/hardware/libhardware/modules/camera/3_4/ |
D | static_properties.h | 62 int orientation() const { return orientation_; }; in orientation() function 85 int orientation,
|
D | static_properties.cpp | 146 int orientation = 0; in NewStaticProperties() local 159 metadata_reader->Orientation(&orientation) || in NewStaticProperties() 182 orientation, in NewStaticProperties() 195 int orientation, in StaticProperties() argument 205 orientation_(orientation), in StaticProperties()
|
/hardware/qcom/display/msm8226/libqservice/ |
D | QServiceUtils.h | 77 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 79 orientation); in setExtOrientation()
|
/hardware/qcom/display/msm8084/libqservice/ |
D | QServiceUtils.h | 77 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 79 orientation); in setExtOrientation()
|
/hardware/qcom/display/msm8994/libqservice/ |
D | QServiceUtils.h | 85 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 87 orientation); in setExtOrientation()
|
/hardware/qcom/audio/hal/ |
D | platform_info.c | 587 microphone.orientation.x = 0.0f; in process_microphone_characteristic() 588 microphone.orientation.y = 0.0f; in process_microphone_characteristic() 589 microphone.orientation.z = 0.0f; in process_microphone_characteristic() 687 float orientation[3]; in process_microphone_characteristic() local 690 orientation[idx++] = atof(token); in process_microphone_characteristic() 701 microphone.orientation.x = orientation[0]; in process_microphone_characteristic() 702 microphone.orientation.y = orientation[1]; in process_microphone_characteristic() 703 microphone.orientation.z = orientation[2]; in process_microphone_characteristic()
|
/hardware/qcom/display/msm8909w_3100/libqservice/ |
D | QServiceUtils.h | 73 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 75 orientation); in setExtOrientation()
|
/hardware/qcom/display/msm8998/libqservice/ |
D | QServiceUtils.h | 73 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 75 orientation); in setExtOrientation()
|
/hardware/qcom/display/msm8909/libqservice/ |
D | QServiceUtils.h | 73 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 75 orientation); in setExtOrientation()
|
/hardware/qcom/sdm845/display/libqservice/ |
D | QServiceUtils.h | 73 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 75 orientation); in setExtOrientation()
|
/hardware/qcom/display/msm8996/libqservice/ |
D | QServiceUtils.h | 73 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 75 orientation); in setExtOrientation()
|
/hardware/qcom/sm8150/display/libqservice/ |
D | QServiceUtils.h | 73 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 75 orientation); in setExtOrientation()
|