|
|
|
@ -324,6 +324,18 @@ int NdkCamera::open(const std::string& cameraId) {
|
|
|
|
|
awbLockAvailable = (status == ACAMERA_OK) ? (*e.data.u8 == ACAMERA_CONTROL_AWB_LOCK_AVAILABLE_TRUE) : false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
ACameraMetadata_const_entry val = {0};
|
|
|
|
|
status = ACameraMetadata_getConstEntry(camera_metadata, ACAMERA_CONTROL_ZOOM_RATIO_RANGE, &val);
|
|
|
|
|
if (status == ACAMERA_OK)
|
|
|
|
|
{
|
|
|
|
|
float zoomRatioMin = val.data.f[0];
|
|
|
|
|
float zoomRatioMax = val.data.f[1];
|
|
|
|
|
|
|
|
|
|
ALOGI("Zoom Ratio Range: %f -> %f", zoomRatioMin, zoomRatioMax);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
ACameraMetadata_const_entry val = {0};
|
|
|
|
|
status = ACameraMetadata_getConstEntry(camera_metadata, ACAMERA_CONTROL_AE_COMPENSATION_RANGE, &val);
|
|
|
|
|