liudr,
Here is how it works. First of all this timing depends on the capture resolution. Assuming that you are capturing at 640x480 the exposure is as following:
Texposure = ExposureValue * Trow
There are total of 510 rows between two VSync periods. So for example if you are capturing at 30fps this time amounts to:
Trow = (1/30) / 510 = 6.5359e-5 s
So for your desired exposure time of 1/250, the ExposureValue would be:
ExposureValue = (1/250) / Trow = 61.2 ~ 61
Therefore if you capture at 30fps at 640x480 resolution, in order to get exposure time of 1/250 s you would set the sensor exposure parameter value ExposureValue=61.
The thing to remember is that at:
1. 640x480 there are total of 510*Trow between two consecutive Vsync periods.
2. 320x480 there are total of 278*Trow between two consecutive Vsync periods.
AlexP