/hardware/interfaces/camera/common/1.0/default/ |
H A D | Exif.cpp | 183 // sets image orientation. 185 virtual bool setOrientation(uint16_t orientation); 667 bool ExifUtilsImpl::setOrientation(uint16_t orientation) { argument 679 switch (orientation) { 1043 ALOGE("%s: setting orientation failed.", __FUNCTION__);
|
/hardware/interfaces/camera/device/3.4/default/ |
H A D | ExternalCameraDevice.cpp | 369 const int32_t orientation = 0; local 370 UPDATE(ANDROID_SENSOR_ORIENTATION, &orientation, 1);
|
/hardware/interfaces/configstore/1.1/default/ |
H A D | SurfaceFlingerConfigs.cpp | 151 "Primary display orientation must be 0/90/180/270"); 161 int orientation = 0; local 164 orientation = PRIMARY_DISPLAY_ORIENTATION; 167 switch (orientation) { 186 LOG_ALWAYS_FATAL("Invalid orientation %d", orientation);
|
/hardware/interfaces/configstore/utils/include/configstore/ |
H A D | Utils.h | 48 static inline std::ostream& operator<<(std::ostream& os, DisplayOrientation orientation) { argument 49 os << ::android::hardware::configstore::V1_1::toString(orientation);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | data_builder.c | 201 /** Sets orientation and sensitivity field for a sensor. 203 * @param[in] orientation Orientation description of how part is mounted. 208 int orientation, long sensitivity) 219 // Make sure we don't describe some impossible orientation 220 if ((orientation & 3) == 3) { 223 if ((orientation & 0x18) == 0x18) { 226 if ((orientation & 0xc0) == 0xc0) { 230 orientation = 0x88; // Identity 231 MPL_LOGE("\n\nCritical error! Impossible mounting orientation given. Using Identity instead\n\n"); 233 sensor->orientation 207 set_sensor_orientation_and_scale(struct inv_single_sensor_t *sensor, int orientation, long sensitivity) argument 245 inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) argument 642 inv_set_accel_orientation_and_scale(int orientation, long sensitivity) argument 665 inv_set_compass_orientation_and_scale(int orientation, long sensitivity) argument [all...] |
H A D | data_builder.h | 84 int orientation; member in struct:inv_single_sensor_t 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,
|
H A D | ml_math_func.c | 577 /** Converts an orientation matrix made up of 0,+1,and -1 to a scalar representation. 579 * @return Description of orientation matrix. The lowest 2 bits (0 and 1) represent the column the one is on for the 607 /** Uses the scalar orientation value to convert from chip frame to body frame 608 * @param[in] orientation A scalar that represent how to go from chip to body frame 612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) argument 614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); 615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); 616 output[2] = input[(orientation>> 624 inv_convert_to_chip(unsigned short orientation, const long *input, long *output) argument 639 inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input, long *output) argument [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
H A D | and_constructor.c | 116 int32_t orientation; local 202 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); 204 inv_set_gyro_orientation_and_scale(orientation, sensitivity); 208 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); 210 inv_set_accel_orientation_and_scale(orientation, sensitivity); 214 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); 216 inv_set_compass_orientation_and_scale(orientation, sensitivit [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | data_builder.c | 200 /** Sets orientation and sensitivity field for a sensor. 202 * @param[in] orientation Orientation description of how part is mounted. 207 int orientation, long sensitivity) 218 // Make sure we don't describe some impossible orientation 219 if ((orientation & 3) == 3) { 222 if ((orientation & 0x18) == 0x18) { 225 if ((orientation & 0xc0) == 0xc0) { 229 orientation = 0x88; // Identity 230 MPL_LOGE("\n\nCritical error! Impossible mounting orientation given. Using Identity instead\n\n"); 232 sensor->orientation 206 set_sensor_orientation_and_scale(struct inv_single_sensor_t *sensor, int orientation, long sensitivity) argument 244 inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) argument 437 inv_set_accel_orientation_and_scale(int orientation, long sensitivity) argument 460 inv_set_compass_orientation_and_scale(int orientation, long sensitivity) argument [all...] |
H A D | data_builder.h | 82 int orientation; member in struct:inv_single_sensor_t 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,
|
H A D | ml_math_func.c | 577 /** Converts an orientation matrix made up of 0,+1,and -1 to a scalar representation. 579 * @return Description of orientation matrix. The lowest 2 bits (0 and 1) represent the column the one is on for the 607 /** Uses the scalar orientation value to convert from chip frame to body frame 608 * @param[in] orientation A scalar that represent how to go from chip to body frame 612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) argument 614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); 615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); 616 output[2] = input[(orientation>> 624 inv_convert_to_chip(unsigned short orientation, const long *input, long *output) argument 639 inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input, long *output) argument [all...] |
/hardware/libhardware/include/hardware/ |
H A D | camera_common.h | 181 * The orientation of the camera image. The value is the angle that the 183 * display in its natural orientation. It should be 0, 90, 180, or 270. 188 * edge of the screen in natural orientation, the value should be 90. If the 203 int orientation; member in struct:camera_info
|
H A D | sensors.h | 155 #define SENSOR_STRING_TYPE_ORIENTATION "android.sensor.orientation" 323 /* orientation values are in degrees */ 324 sensors_vec_t orientation; member in union:sensors_event_t::__anon1454::__anon1455
|
/hardware/libhardware/modules/camera/3_4/arc/ |
H A D | exif_utils.cpp | 295 bool ExifUtils::SetOrientation(uint16_t orientation) { argument 312 switch (orientation) {
|
/hardware/libhardware/modules/camera/3_4/ |
H A D | static_properties.cpp | 145 int orientation = 0; local 158 metadata_reader->Orientation(&orientation) || 181 orientation, 194 int orientation, 204 orientation_(orientation), 191 StaticProperties( std::unique_ptr<const MetadataReader> metadata_reader, int facing, int orientation, int32_t max_input_streams, int32_t max_raw_output_streams, int32_t max_non_stalling_output_streams, int32_t max_stalling_output_streams, std::set<uint8_t> request_capabilities, CapabilitiesMap stream_capabilities, ReprocessFormatMap supported_reprocess_outputs) argument
|
H A D | static_properties.h | 63 int orientation() const { return orientation_; }; function in class:default_camera_hal::StaticProperties 86 int orientation,
|
/hardware/qcom/audio/hal/ |
H A D | platform_info.c | 621 if (strcmp(attr[curIdx++], "orientation")) { 622 ALOGE("%s: orientation not found", __func__); 626 float orientation[3]; local 629 orientation[idx++] = atof(token); 631 ALOGE("%s: orientation invalid", __func__); 637 ALOGE("%s: orientation invalid", __func__); 640 microphone.orientation.x = orientation[0]; 641 microphone.orientation.y = orientation[ [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
H A D | QCamera2HWI.cpp | 10153 int16_t orientation; local 10156 orientation = 1; 10159 orientation = 6; 10162 orientation = 3; 10165 orientation = 8; 10168 orientation = 1; 10174 (void *)&orientation); 10178 (void *)&orientation);
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
H A D | QCamera3HWI.cpp | 8977 int32_t orientation = local 8979 if ((!needJpegExifRotation()) && ((orientation == 90) || (orientation == 270))) { 11545 info->orientation = (int)gCamCapability[cameraId]->sensor_mount_angle; 13545 int32_t orientation = frame_settings.find(ANDROID_JPEG_ORIENTATION).data.i32[0]; local 13547 if (orientation == 0) { 13549 } else if (orientation == 90) { 13551 } else if (orientation == 180) { 13553 } else if (orientation == 270) { 13558 ADD_SET_PARAM_ENTRY_TO_BATCH(hal_metadata, CAM_INTF_META_JPEG_ORIENTATION, orientation); [all...] |
H A D | QCamera3PostProc.cpp | 1254 // If EXIF rotation metadata is added and used to match the JPEG orientation, 2853 int16_t orientation; local 2856 orientation = 1; 2859 orientation = 6; 2862 orientation = 3; 2865 orientation = 8; 2868 orientation = 1; 2874 (void *)&orientation); 2878 (void *)&orientation);
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_qclient.cpp | 97 static void setExtOrientation(hwc_context_t *ctx, uint32_t orientation) { argument 98 ctx->mExtOrientation = orientation;
|
/hardware/qcom/display/msm8084/liboverlay/ |
H A D | overlayUtils.cpp | 367 bool enableBarrier (uint32_t orientation) { argument 369 (void)fp.write("%d", orientation);
|
/hardware/qcom/display/msm8084/libqservice/ |
H A D | QServiceUtils.h | 77 inline android::status_t setExtOrientation(uint32_t orientation) { argument 79 orientation);
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_qclient.cpp | 98 static void setExtOrientation(hwc_context_t *ctx, uint32_t orientation) { argument 99 ctx->mExtOrientation = orientation;
|
/hardware/qcom/display/msm8226/libqservice/ |
H A D | QServiceUtils.h | 77 inline android::status_t setExtOrientation(uint32_t orientation) { argument 79 orientation);
|