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

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

Definiert in Zeile 1 der Datei shooting.c.

Dokumentation der Funktionen

long get_file_next_counter ( )

Definiert in Zeile 109 der Datei shooting.c.

109  {
110  return ((get_file_counter()>>4)+1)<<4;
111 }
long get_target_dir_num ( )

Definiert in Zeile 121 der Datei shooting.c.

121  {
122  long n;
123 
124  n = get_file_next_counter();
125  n = (n>>18)&0x3FF;
126  if (get_target_file_num()%100 == 1) ++n;
127  return n;
128 }
long get_target_file_num ( )

Definiert in Zeile 113 der Datei shooting.c.

113  {
114  long n;
115 
116  n = get_file_next_counter();
117  n = (n>>4)&0x3FFF;
118  return n;
119 }

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 9, 290, "2.8" },
{ 10, 313, "3.2" },
{ 11, 337, "3.5" },
{ 12, 391, "4.0" },
{ 13, 420, "4.5" },
{ 14, 448, "5.0" },
{ 15, 480, "5.6" },
{ 16, 512, "6.3" },
{ 17, 544, "7.1" },
{ 18, 576, "8.0" },
{ 19, 999, "x.x" },
}

Definiert in Zeile 4 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 68 der Datei shooting.c.

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_P, 1 },
{ MODE_STITCH, 4 },
{ MODE_AUTO, 5 },
{ MODE_LANDSCAPE, 6 },
{ MODE_PORTRAIT, 7 },
{ MODE_FOLIAGE, 8 },
{ MODE_SNOW, 9 },
{ MODE_BEACH, 10 },
{ MODE_UNDERWATER, 11 },
{ MODE_INDOOR, 12 },
{ MODE_KIDS_PETS, 14 },
{ MODE_FIREWORK, 15 },
{ MODE_VIDEO_STD, 16 },
}

Definiert in Zeile 87 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]

Definiert in Zeile 18 der Datei shooting.c.