UsbCamera: Scale some properties to make them constently percentages.

The "raw" version of these properties are still available, just prefixed
with "raw_".
This commit is contained in:
Peter Johnson
2016-12-22 20:51:04 -08:00
parent 10b13da3da
commit ce69783871
8 changed files with 489 additions and 158 deletions

View File

@@ -90,7 +90,7 @@ int SourceImpl::GetPropertyIndex(llvm::StringRef name) const {
if (ndx == 0) {
// create a new index
ndx = m_propertyData.size() + 1;
m_propertyData.emplace_back();
m_propertyData.emplace_back(CreateEmptyProperty(name));
}
return ndx;
}