OMAP4相机参数

时间:2012-11-09 19:31:04

标签: android compilation camera android-4.0-ice-cream-sandwich hal

即时通讯尝试在此处找到的CameraParameters中输入默认的OMAP 4相机参数http://code.metager.de/source/xref/android/4.0.3/hardware-ti-omap4xxx/camera/CameraParameters.cpp

const char CameraProperties::CAMERA_NAME[]="prop-camera-name";
const char CameraProperties::CAMERA_SENSOR_INDEX[]="prop-sensor-index";
const char CameraProperties::CAMERA_SENSOR_ID[] = "prop-sensor-id";

不确定我应该如何输入这些

例如像这样

const char CameraProperties::CAMERA_SENSOR_INDEX[2]="prop-sensor-index";

const char CameraProperties::CAMERA_SENSOR_INDEX[]="prop-sensor-index,2";

const char CameraProperties :: CAMERA_SENSOR_INDEX [] =“prop-sensor-index”{2};

原始的Logcat看起来像这样

  

CameraHal [D](1ccbs18)   hardware / ti / omap4xxx / camera / CameraParameters.cpp:202转储 -   prop-sensor-index = 2

0 个答案:

没有答案