CHDK_DE Vorschauversion  Trunk Rev. 6014
 Alle Datenstrukturen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
shooting.c-Dateireferenz
#include "platform.h"
#include "../generic/shooting.c"
+ Include-Abhängigkeitsdiagramm für shooting.c:

gehe zum Quellcode dieser Datei

Makrodefinitionen

#define PARAM_FILE_COUNTER   0x3a
 
#define PARAM_EXPOSURE_COUNTER   0x02
 

Funktionen

long get_file_next_counter ()
 
long get_target_file_num ()
 
long get_target_dir_num ()
 

Variablen

const ApertureSize aperture_sizes_table []
 
const ShutterSpeed shutter_speeds_table []
 
const ISOTable iso_table []
 
const CapturemodeMap modemap []
 

Makro-Dokumentation

#define PARAM_EXPOSURE_COUNTER   0x02

Definiert in Zeile 2 der Datei shooting.c.

#define PARAM_FILE_COUNTER   0x3a

Definiert in Zeile 1 der Datei shooting.c.

Dokumentation der Funktionen

long get_file_next_counter ( )

Definiert in Zeile 125 der Datei shooting.c.

125  {
126  return get_file_counter();
127 }
long get_target_dir_num ( )

Definiert in Zeile 144 der Datei shooting.c.

144  {
145  long n;
146 
147  n = get_file_next_counter();
148  n = (n>>18)&0x3FF;
149  return n;
150 }
long get_target_file_num ( )

Definiert in Zeile 129 der Datei shooting.c.

129  {
130  long n;
131 
132  n = get_file_next_counter();
133  n = (n>>4)&0x3FFF;
134  return n;
135 }

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 5, 171, "1.8" },
{ 6, 192, "2.0" },
{ 7, 224, "2.2" },
{ 8, 256, "2.5" },
{ 9, 288, "2.8" },
{ 10, 320, "3.2" },
{ 11, 352, "3.5" },
{ 12, 384, "4.0" },
{ 13, 416, "4.5" },
{ 14, 448, "5.0" },
{ 15, 480, "5.6" },
{ 16, 512, "6.3" },
{ 17, 544, "7.1" },
{ 18, 576, "8.0" },
}

Definiert in Zeile 6 der Datei shooting.c.

const ISOTable iso_table[]
Initialisierung:
= {
{ 0, 0, "Auto", -1},
{ 1, 80, "80", -1},
{ 2, 100, "100", -1},
{ 3, 125, "125", -1},
{ 4, 160, "160", -1},
{ 5, 200, "200", -1},
{ 6, 250, "250", -1},
{ 7, 320, "320", -1},
{ 8, 400, "400", -1},
{ 9, 500, "500", -1},
{ 10, 640, "640", -1},
{ 11, 800, "800", -1},
{ 12, 1000, "1000", -1},
{ 13, 1250, "1250", -1},
{ 14, 1600, "1600", -1},
{ 15, 2000, "2000", -1},
{ 16, 2500, "2500", -1},
{ 17, 3200, "3200", -1},
{ 18, 4000, "4000", -1},
{ 19, 5000, "5000", -1},
{ 20, 6400, "6400", -1},
{ 21, 8000, "8000", -1},
{ 22,10000, "10000", -1},
{ 23,12800, "12800", -1},
}

Definiert in Zeile 40 der Datei shooting.c.

const CapturemodeMap modemap[]

Definiert in Zeile 87 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]
Initialisierung:
= {
{ -7, -224, "5", 5000000 },
{ -6, -192, "4", 4000000 },
{ -5, -160, "3.2", 3200000 },
{ -4, -128, "2.5", 2500000 },
{ -3, -96, "2", 2000000 },
{ -2, -64, "1.6", 1600000 },
{ -1, -32, "1.3", 1300000 },
{ 0, 0, "1", 1000000 },
{ 1, 32, "0.8", 800000 },
{ 2, 64, "0.6", 600000 },
{ 3, 96, "0.5", 500000 },
{ 4, 128, "0.4", 400000 },
{ 5, 160, "0.3", 300000 },
{ 6, 192, "1/4", 250000 },
}

Definiert in Zeile 23 der Datei shooting.c.