So for ISO settings the menu takes one value, but behind the scenes still has to set 4, because that's how the hardware works. ![]() Either way, the code assigns 4 values to control each individually - but the user wants all the ISO gains the same, not for every 4th column to be brighter than the other 3 (we'll ignore dual-ISO for now.). Now I've found comments in the code referencing columns, so maybe it's not colours and the sensor has 4 individually controllable amps. The code translates the chosen single value to three values.įor the specific code you're interested in I guessed the registers were RGGB related, hence 4 channels. The menu *could* allow the user to pick each value individually, but generally this wouldn't help the user, so the choice has been made to simplify.Īs an example, guessing you're familiar with RGB colour, imagine a graphical colour picker. The menus choose to only show one value, and then map to the equivalent 4 values. Do you mean that the UI / menu for some settings takes a single number, but when you look at the code you see the setting seems to be related to 4 lines of code that each set a value? If so, I think that is because some menu settings are intuitively "one value", but the camera hardware requires 4. ![]() I'm going to take another guess about your meaning, but if I'm wrong it would really help me if you could describe what you mean in more detail. Not in the added code that you showed If they differ elsewhere, I can't see it.Īgain, I don't understand your description of "sum into a single figure".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |