Companion data for Lu-Fi/openimp issue #2.
| SoC / kernel | Ingenic T31, Linux 7.2.11 |
| libimp | Lu-Fi/openimp next @ 6ba7df7f34e064d11ec3cb3ba412ae3749a962f7 |
| ISP driver | open-tx-isp (Lu-Fi/open-tx-isp next based), T31 mainline port |
| Sensor | SC2336 @ i2c-0/0x30, in-tree drivers/media/i2c/sc2336.c through the vendor-ABI bridge |
| Streamer | timps v1.10.1 |
| Board | cinnado_d1_t31l_sc2336_atbm6031 |
Line time 27.86 us (25 fps over 1436 lines), so IT 360 lines = 10.03 ms and IT 720 lines = 20.06 ms: 50 Hz anti-flicker steps.
| file | what it is |
|---|---|
ae_series_anti_flicker_on.csv |
AE state sampled at 5 Hz for 29 s with image.anti_flicker=1 (the shipping default). 120 samples. Shows the 5-frame limit cycle and the periodic IT 360 -> 720 jump with gain 30/31 -> 0. |
phase1_baseline.csv |
24 samples, same condition, with the mean luma of a JPEG snapshot taken at each sample. Baseline oscillation: luma spread 34.6/255. |
phase2_gain_frozen.csv |
same, with ae_freeze_gain=1. IT stays at 360, luma spread 0.4. |
phase3_it_frozen.csv |
same, with ae_freeze_integration=1. Gain keeps moving, luma spread 1.8. |
ae_series_anti_flicker_off.csv |
60 samples at 4 Hz with image.anti_flicker=0: 59 of 60 identical, IT 609 lines, gain 0. |
it_lines is /proc/jz/isp/isp-m0 "SENSOR Integration Time", again/dgain
are the sensor analog and digital gain indices, isp_dgain is the ISP digital
gain, snapshot_mean_luma is the grayscale mean (0-255) of one 640x360 JPEG
snapshot grabbed at that sample.
awk -F' *: *' '/^SENSOR Integration Time/{it=$2}
/^SENSOR analog gain/{ag=$2}
/^SENSOR digital gain/{dg=$2}
/^ISP digital gain/{ig=$2}
END{printf "%s,%s,%s,%s\n", it, ag, dg, ig}' /proc/jz/isp/isp-m0Snapshots: GET https://<cam>:8880/snapshot.jpg?token=<token>, luma via PIL
ImageStat.Stat(im.convert("L")).mean[0].