@joanxie
This compress curve function XXX_IsiSensorGetCompressCurveIss(…) affects
the brightness and color of the image. My concern is the "CORRECTNESS" of implementing
this function. There is no error when I add the data points in this function.
OV2775 the datasheet provides the compress curve equation. And OV2775_IsiSensorGetCompressCurveIss(…) you provided
does not follow the OV2775 compress equation.
You can pick any data point in the OV2775_IsiSensorGetCompressCurveIss(…) and it just does not match with OV2775 compress equation.
x[0] = 0, x[1]= 1024, px[0] = 10, y[0] = 0, y[1] = 390
Using OV2755 equation, y[1] = (1024 / 4) + 256 = 512
If OV2775_IsiSensorGetCompressCurveIss is really for OV2775 compress curve,
please tell me, why y[1] is 390 instead of 512 ?
Also the 1st knee point in the compression equation is 1024, but this function has no data points < 1024.
I attach the OV2775 equation and the function you provided previously again.
Please help to check the math.
