gehe zum Quellcode dieser Datei
int live_histogram_read_y |
( |
unsigned short * |
buf) | |
|
Definiert in Zeile 36 der Datei autoiso.c.
47 if(vp_height_full > 480) {
49 yscale = vp_height_full/240;
52 int vp_height = vp_height_full / yscale;
57 memset(
h, 0,
sizeof(
unsigned short)*256);
66 for (y=0; y<vp_height; y+=1, img+=vp_offset)
void shooting_set_autoiso |
( |
int |
iso_mode) | |
|
Definiert in Zeile 131 der Datei autoiso.c.
159 unsigned short *histo =
malloc(256*
sizeof(
unsigned short));
176 if (min_shutter == 0)
185 short target_iso = current_iso * min_shutter * current_shutter;
188 if (target_iso > max_iso)
204 target_iso = max_iso;
207 else if (target_iso < min_iso)
209 target_iso = min_iso;
212 float target_shutter = current_shutter * current_iso / target_iso;
214 if (target_shutter > 0)