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

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 []
 
const int dof_tbl [] = {7400, 8210, 9040, 9860, 10670, 12730, 14780, 16820, 18890, 21970, 25030, 29170, 36780, 44400}
 
const int dof_tbl_size = sizeof(dof_tbl)/sizeof(dof_tbl[0])
 

Makro-Dokumentation

#define PARAM_FILE_COUNTER   0x38

Definiert in Zeile 1 der Datei shooting.c.

Dokumentation der Funktionen

long get_file_next_counter ( )

Definiert in Zeile 122 der Datei shooting.c.

122  {
123  return get_file_counter();
124 }
long get_target_dir_num ( )

Definiert in Zeile 134 der Datei shooting.c.

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

Definiert in Zeile 126 der Datei shooting.c.

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

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 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 5 der Datei shooting.c.

const int dof_tbl[] = {7400, 8210, 9040, 9860, 10670, 12730, 14780, 16820, 18890, 21970, 25030, 29170, 36780, 44400}

Definiert in Zeile 119 der Datei shooting.c.

const int dof_tbl_size = sizeof(dof_tbl)/sizeof(dof_tbl[0])

Definiert in Zeile 120 der Datei shooting.c.

const ISOTable iso_table[]
Initialisierung:
= {
{ -1, 1, "HI", -1},
{ 0, 0, "Auto", -1},
{ 1, 80, "80", -1},
{ 2, 100, "100", -1},
{ 3, 200, "200", -1},
{ 4, 400, "400", -1},
{ 5, 800, "800", -1},
{ 6, 1600, "1600", -1},
}

Definiert in Zeile 67 der Datei shooting.c.

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_AUTO, 32768 },
{ MODE_P, 32772 },
{ MODE_TV, 32771 },
{ MODE_AV, 32770 },
{ MODE_M, 32769 },
{ MODE_VIDEO_STD, 2597 },
{ MODE_VIDEO_COMPACT, 2599 },
{ MODE_STITCH, 33290 },
{ MODE_UNDERWATER, 16406 },
{ MODE_AQUARIUM, 16407 },
{ MODE_NIGHT_SCENE, 16398 },
{ MODE_FOLIAGE, 16402 },
{ MODE_SNOW, 16403 },
{ MODE_BEACH, 16404 },
{ MODE_FIREWORK, 16405 },
{ MODE_INDOOR, 16401 },
{ MODE_ISO_3200, 16412 },
{ MODE_KIDS_PETS, 32784 },
{ MODE_NIGHT_SNAPSHOT, 32779 },
{ MODE_LANDSCAPE, 32780 },
{ MODE_PORTRAIT, 32781 },
}

Definiert in Zeile 92 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]

Definiert in Zeile 18 der Datei shooting.c.