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   0x34
 
#define PARAM_EXPOSURE_COUNTER   0x01
 

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

Definiert in Zeile 2 der Datei shooting.c.

#define PARAM_FILE_COUNTER   0x34

Definiert in Zeile 1 der Datei shooting.c.

Dokumentation der Funktionen

long get_file_next_counter ( )

Definiert in Zeile 123 der Datei shooting.c.

123  { //looks like this hack is needed for old vxworks
124  return ((get_file_counter()>>4)+1)<<4;
125 }
long get_target_dir_num ( )

Definiert in Zeile 135 der Datei shooting.c.

135  {
136  long n;
137 
138  n = get_file_next_counter();
139  n = (n>>18)&0x3FF;
140  return n;
141 }
long get_target_file_num ( )

Definiert in Zeile 127 der Datei shooting.c.

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

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 9, 288, "2.8" },
{ 10, 302, "3.2" },
{ 11, 318, "3.5" },
{ 12, 339, "3.5" },
{ 13, 363, "4.0" },
{ 14, 390, "4.5" },
{ 15, 420, "5.1" },
{ 16, 453, "5.6 *" },
{ 17, 470, "6.3 *" },
{ 18, 489, "6.3 *" },
{ 19, 514, "7.1 *" },
{ 20, 540, "8.0 *" },
{ 21, 569, "9.0 *" },
{ 22, 601, "10.0 *" },
}

Definiert in Zeile 6 der Datei shooting.c.

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

Definiert in Zeile 72 der Datei shooting.c.

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_P, 0x8004 },
{ MODE_AUTO, 0x8000 },
{ MODE_PORTRAIT, 0x400c },
{ MODE_STITCH, 0x8209 },
{ MODE_NIGHT_SNAPSHOT, 0x400a },
{ MODE_KIDS_PETS, 0x400e },
{ MODE_INDOOR, 0x400f },
{ MODE_FOLIAGE, 0x4010 },
{ MODE_SNOW, 0x4011 },
{ MODE_BEACH, 0x4012 },
{ MODE_FIREWORK, 0x4013 },
{ MODE_COLOR_ACCENT, 0x8217 },
{ MODE_COLOR_SWAP, 0x8218 },
{ MODE_VIDEO_STD, 0xe1d },
{ MODE_SUPER_MACRO, 0x8208 }
}

Definiert in Zeile 83 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]

Definiert in Zeile 23 der Datei shooting.c.