janpaulus / BRICS_OODL

BRICS Object Oriented Device Layer
4 stars 2 forks source link

Camera property identifiers #3

Open shakhimardanov opened 14 years ago

shakhimardanov commented 14 years ago

Every camera manufacturer has its own way writing camera property ids. Examples:

This introduces a problem for setters and getter, because one has to check all possible combinations in order not to miss the property.

shakhimardanov commented 13 years ago

Current solution which is in non4CAPI branch is to perform string matching which works most of the time. But there are even issues with that, because some manufacturers consider, auto and absolute flags of some property as separate properties too. That means if one has property Zoom, in reality there will be two properties Zoom, Auto and Zoom, Absolute. This is very stupid!