mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-20 09:03:57 +08:00
* AE improvements * boardd: also use gain to compute IR brightness * use default rect for DM autoexposure * more smooth * whitespace * camerad cpu usage * hcg on is slightly better for noise * hysteris around high conversion gain * improve i2c timing * use AB contexts * HCG default off * run at 10 hz * stay in context A for now * remove ae thread * wait till next frame is started before sending i2c * back at 20fps * add comment and filter across 3 evs * remove context switch code * tuning * recomened without HCG is 0.8x
19 lines
887 B
C
19 lines
887 B
C
#pragma once
|
|
|
|
#define W 240
|
|
#define H 160
|
|
|
|
#define TONE_SPLITS 3
|
|
|
|
float gts[TONE_SPLITS*TONE_SPLITS*TONE_SPLITS*TONE_SPLITS] = {
|
|
0.917969,0.917969,0.375000,0.917969,0.375000,0.375000,0.187500,0.187500,0.187500,0.917969,
|
|
0.375000,0.375000,0.187500,0.187500,0.187500,0.187500,0.187500,0.187500,0.093750,0.093750,
|
|
0.093750,0.093750,0.093750,0.093750,0.093750,0.093750,0.093750,0.917969,0.375000,0.375000,
|
|
0.187500,0.187500,0.187500,0.187500,0.187500,0.187500,0.093750,0.093750,0.093750,0.093750,
|
|
0.093750,0.093750,0.093750,0.093750,0.093750,0.093750,0.093750,0.093750,0.093750,0.093750,
|
|
0.093750,0.093750,0.093750,0.093750,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,
|
|
0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,
|
|
0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,
|
|
0.000000
|
|
};
|