Gain, long and short exposure driver implementation

Hi! I’m implementing a driver for the Jetson Orin and I want to make sure I understand what the values for exposure and gain mean so that I can write the proper value in the correct registers of my camera. I’m developing the functions to be used as my tegracam_ctrl_ops. These are my questions:

  1. Am I right to assume that the long exposure value is the exposure time in seconds that is supposed to be used when using a camera in linear mode (not HDR)?
  2. Should I only use the short exposure (in seconds) when using a sensor in HDR with a short exposure micropixel?
  3. Is the “set_gain” supposed to set the analog gain of the camera? Is the gain value specified in decibels multiplied by a certain factor? If yes, which is the factor?

Please let me know if you need any additional details to answer my questions. The abovementioned questions are based on my understanding of this page.

Thanks so much for your help and have a great day!

  1. Suppose there’s no long/short exposure for SDR sensor only exposure.
  2. You need set both long/short exposure for HDR sensor.
  3. Yes, you can define the factor by device tree. Suppose those information should be able find in programing guide.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.