What's the relationship about frame length,exposure coarse ,frame rate and line length in ov5693.c ?

Hi,everybody
There are many conceptions in ov5693.c that I can’t understand.

Like:

#define OV5693_MAX_FRAME_LENGTH (0x7fff)
#define OV5693_MIN_EXPOSURE_COARSE (0x0002)
#define OV5693_MAX_EXPOSURE_COARSE (OV5693_MAX_FRAME_LENGTH-OV5693_MAX_COARSE_DIFF)
#define OV5693_DEFAULT_FRAME_LENGTH (0x07C0)
#define OV5693_DEFAULT_EXPOSURE_COARSE (OV5693_DEFAULT_FRAME_LENGTH-OV5693_MAX_COARSE_DIFF)

Or in device tree,

line_length = “1524”;

Could you tell me hat’s the relationship about frame length,exposure coarse and line length ?Thanks

CalmCar
You should be able to find the detail information from the sensor datasheet.

hello CalmCar,

i think below rolling shutter timing graph should be help you understand the relationship between frame-length and exposure-time.
also, line-length stands for how many rows of your frame.

^                  <---frame--length--->
 |    <exposure-time>                   |
 |    _______________     ______________|
 |    \              \    \             |\
Row    \              \    \            | \
 |      \   Frame 0    \    \   Frame 1 |  \
 |       \              \    \          |   \
 |________\______________\____\_________|____\_________> time
                                        ^     ^
                                        |     |
                                       csi   csi
                                      start  end