Home
last modified time | relevance | path

Searched refs:facing (Results 1 – 22 of 22) sorted by relevance

/hardware/libhardware/modules/camera/3_4/metadata/
Dmetadata_reader.cpp35 int MetadataReader::Facing(int* facing) const { in Facing()
46 *facing = CAMERA_FACING_FRONT; in Facing()
49 *facing = CAMERA_FACING_BACK; in Facing()
52 *facing = CAMERA_FACING_EXTERNAL; in Facing()
Dmetadata_reader.h54 virtual int Facing(int* facing) const;
/hardware/libhardware/modules/camera/3_4/
Dstatic_properties.h61 int facing() const { return facing_; }; in facing() function
84 int facing,
Dstatic_properties.cpp145 int facing = 0; in NewStaticProperties() local
158 if (metadata_reader->Facing(&facing) || in NewStaticProperties()
181 facing, in NewStaticProperties()
194 int facing, in StaticProperties() argument
204 facing_(facing), in StaticProperties()
Dcamera.cpp103 info->facing = mStaticInfo->facing(); in getInfo()
Dstatic_properties_test.cpp203 EXPECT_EQ(dut_->facing(), test_facing_); in TEST_F()
/hardware/interfaces/camera/provider/2.5/
Dtypes.hal34 * Camera device(s) facing backward are covered.
39 * Camera device(s) facing foward are covered.
DICameraProvider.hal45 * backward-facing cameras are covered by the fold, so FOLDED by itself implies
/hardware/interfaces/camera/device/1.0/
Dtypes.hal20 /** The facing of the camera is opposite to that of the screen. */
22 /** The facing of the camera is the same as that of the screen. */
25 * The facing of the camera is not fixed relative to the screen.
26 * The cameras with this facing are external cameras, e.g. USB cameras.
39 CameraFacing facing;
47 * back-facing camera sensor is mounted in landscape. You are looking at the
50 * top side of a front-facing camera sensor is aligned with the right of the
/hardware/interfaces/camera/provider/2.4/
DICameraProvider.hal51 * back-facing camera and 1 being the main front-facing camera, if they exist.
108 * External camera devices (camera facing EXTERNAL) must be reported through
110 * facing BACK or FRONT must be listed here.
/hardware/libhardware/include/hardware/
Dcamera_common.h196 int facing; member
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c2424 uint32_t facing; in get_sensor_info() local
2441 facing = ((entity.flags & CAM_SENSOR_FACING_MASK) ? in get_sensor_info()
2457 (unsigned int)mount_angle, (unsigned int)facing, in get_sensor_info()
2459 g_cam_ctrl.info[num_cameras].facing = (int)facing; in get_sensor_info()
2465 g_cam_ctrl.info[num_cameras].facing, in get_sensor_info()
2523 if ((g_cam_ctrl.info[i].facing == CAMERA_FACING_BACK) && in sort_camera_info()
2539 if ((g_cam_ctrl.info[i].facing == CAMERA_FACING_FRONT) && in sort_camera_info()
2555 if ((g_cam_ctrl.info[i].facing == CAMERA_FACING_BACK) && in sort_camera_info()
2572 if ((g_cam_ctrl.info[i].facing == CAMERA_FACING_FRONT) && in sort_camera_info()
2589 if ((g_cam_ctrl.info[i].facing == CAMERA_FACING_BACK) && in sort_camera_info()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMuxer.h76 int32_t facing; member
DQCameraMuxer.cpp1798 m_pPhyCamera[i].cam_info.facing); in setupLogicalCameras()
1804 m_pPhyCamera[i].cam_info.facing); in setupLogicalCameras()
1836 m_pLogicalCamera[index].facing = m_pPhyCamera[i].cam_info.facing; in setupLogicalCameras()
1841 m_pLogicalCamera[index].facing, in setupLogicalCameras()
1856 (m_pLogicalCamera[j].facing == in setupLogicalCameras()
1857 m_pPhyCamera[i].cam_info.facing)) { in setupLogicalCameras()
1876 i, j, m_pLogicalCamera[i].facing, in setupLogicalCameras()
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice.cpp596 cameraInfo.facing = (CameraFacing) info.facing; in getCameraInfo()
599 if (cameraInfo.facing == CameraFacing::EXTERNAL) { in getCameraInfo()
600 cameraInfo.facing = CameraFacing::FRONT; in getCameraInfo()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDevice.cpp362 const uint8_t facing = ANDROID_LENS_FACING_EXTERNAL; in initDefaultCharsKeys() local
363 UPDATE(ANDROID_LENS_FACING, &facing, 1); in initDefaultCharsKeys()
/hardware/libhardware/modules/usbcamera/
DCamera.cpp152 info->facing = CAMERA_FACING_FRONT; in getInfo()
/hardware/libhardware/modules/camera/3_0/
DCamera.cpp103 info->facing = CAMERA_FACING_FRONT; in getInfo()
/hardware/interfaces/camera/metadata/3.2/
Dtypes.hal735 /** android.lens.facing [static, enum, public]
2161 /** android.lens.facing enumeration values
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp165 info->facing = CAMERA_FACING_FRONT;//CAMERA_FACING_BACK; in usbcam_get_camera_info()
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp1753 switch (info.facing) { in TEST_F()
1758 ALOGI("camera facing: %d", info.facing); in TEST_F()
1761 FAIL() << "Unexpected camera facing:" << static_cast<uint32_t>(info.facing); in TEST_F()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp11847 info->facing = CAMERA_FACING_BACK; in getCamInfo()
11852 info->facing = CAMERA_FACING_FRONT; in getCamInfo()