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 107 der Datei shooting.c.

107  {
108  return ((get_file_counter()>>4)+1)<<4;
109 }
long get_target_dir_num ( )

Definiert in Zeile 119 der Datei shooting.c.

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

Definiert in Zeile 111 der Datei shooting.c.

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

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 9, 293, "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" },
{ 19, 608, "9.0" },
{ 20, 640, "10.1"},
{ 21, 672, "11.3" },
{ 22, 704, "12.7" },
{ 23, 736, "14.3" },
{ 24, 768, "16.0" },
}

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 74 der Datei shooting.c.

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_M, 0 },
{ MODE_P, 1 },
{ MODE_AV, 2 },
{ MODE_TV, 3 },
{ MODE_STITCH, 5 },
{ MODE_AUTO, 6 },
{ MODE_PORTRAIT, 10 },
{ MODE_FOLIAGE, 11 },
{ MODE_SNOW, 12 },
{ MODE_BEACH, 13 },
{ MODE_UNDERWATER, 14 },
{ MODE_INDOOR, 15 },
{ MODE_KIDS_PETS, 17 },
{ MODE_FIREWORK, 18 },
{ MODE_VIDEO_STD, 19 },
}

Definiert in Zeile 82 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]

Definiert in Zeile 24 der Datei shooting.c.