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   0x29
 

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_FILE_COUNTER   0x29

Definiert in Zeile 1 der Datei shooting.c.

Dokumentation der Funktionen

long get_file_next_counter ( )

Definiert in Zeile 112 der Datei shooting.c.

112  {
113  return ((get_file_counter()>>4)+1)<<4;
114  //return (get_file_counter()+1);
115 }
long get_target_dir_num ( )

Definiert in Zeile 125 der Datei shooting.c.

125  {
126  long n;
127 
128  n = get_file_next_counter();
129  n = (n>>18)&0x3FF;
130  return n;
131 }
long get_target_file_num ( )

Definiert in Zeile 117 der Datei shooting.c.

117  {
118  long n;
119 
120  n = get_file_next_counter();
121  n = (n>>4)&0x3FFF;
122  return n;
123 }

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 9, 294, "2.8" },
{ 10, 309, "3.2" },
{ 11, 328, "3.5" },
{ 12, 353, "3.5" },
{ 13, 385, "4.0" },
{ 14, 384, "4.0" },
{ 15, 416, "4.5" },
{ 16, 449, "4.9" },
{ 17, 545, "7.1" },
{ 18, 560, "7.1" },
{ 19, 579, "8.0" },
{ 20, 604, "9.0" },
{ 21, 636, "10" },
{ 22, 667, "11" },
{ 23, 700, "13" },
}

Definiert in Zeile 5 der Datei shooting.c.

const ISOTable iso_table[]
Initialisierung:
= {
{ 0, 0, "Auto", -1},
{ 1, 50, "50", -1},
{ 2, 100, "100", -1},
{ 3, 200, "200", -1},
{ 4, 400, "400", -1},
}

Definiert in Zeile 75 der Datei shooting.c.

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_P, 1 },
{ MODE_AUTO, 3 },
{ MODE_PORTRAIT, 5 },
{ MODE_INDOOR, 7 },
{ MODE_STITCH, 10 },
}

Definiert in Zeile 95 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]

Definiert in Zeile 24 der Datei shooting.c.