This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7: Details of imx219_set_ctrl call

Part Number: AM62A7

Tool/software:

Hi TI Experts,

What is the ctrl->id parameter passed to the imx219_set_ctrl function in imx219.c? Can it be incremented automatically?
Is it called by ISP TUNNING?
When ctrl->id == V4L2_CID_EXPOSURE, what does the value of ctrl->val represent?

Best Regards,

Meng

  • And I use three to four channels (LCG, HCG, SPD, VS) for exposure and gain.

    How can the passed ctrl->val be converted into data that can be used by these channels?

  • Hi menge Ke,

    The ctrl->id parameter in the imx219_set_ctrl function is a unique identifier for a specific camera control, defined by the V4L2 (Video for Linux Two) framework. It is not automatically incremented. The imx219_set_ctrl function itself is a driver-side implementation that handles the user's request to change a specific control. While it's a part of the ISP (Image Signal Processor) control flow, it is not directly called by the ISP tuning process itself but rather by the software that manages the ISP. When ctrl->id is V4L2_CID_EXPOSURE, the ctrl->val represents the exposure time in units of microseconds.