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

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 [] = {6000, 6850, 7490, 8560, 9640, 10700, 12850, 14980, 18190, 22500}
 
const int dof_tbl_size = sizeof(dof_tbl)/sizeof(dof_tbl[0])
 

Makro-Dokumentation

#define PARAM_EXPOSURE_COUNTER   0x02

Definiert in Zeile 2 der Datei shooting.c.

#define PARAM_FILE_COUNTER   0x38

Definiert in Zeile 1 der Datei shooting.c.

Dokumentation der Funktionen

long get_file_next_counter ( )

Definiert in Zeile 132 der Datei shooting.c.

132  {
133  return get_file_counter();
134 }
long get_target_dir_num ( )

Definiert in Zeile 152 der Datei shooting.c.

152  {
153  long n;
154 
155  n = get_file_next_counter();
156  n = (n>>18)&0x3FF;
157  return n;
158 }
long get_target_file_num ( )

Definiert in Zeile 136 der Datei shooting.c.

136  {
137  long n;
138 
139  n = get_file_next_counter();
140  n = (n>>4)&0x3FFF;
141  return n;
142 }

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 9, 201, "2.0" },
{ 10, 224, "2.2" },
{ 11, 256, "2.5" },
{ 12, 288, "2.8" },
{ 13, 320, "3.2" },
{ 14, 352, "3.5" },
{ 15, 384, "4.0" },
{ 16, 416, "4.5" },
{ 17, 448, "5.0" },
{ 18, 480, "5.6" },
{ 19, 512, "6.3" },
{ 20, 544, "7.1" },
{ 21, 576, "8.0" },
}

Definiert in Zeile 9 der Datei shooting.c.

const int dof_tbl[] = {6000, 6850, 7490, 8560, 9640, 10700, 12850, 14980, 18190, 22500}

Definiert in Zeile 129 der Datei shooting.c.

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

Definiert in Zeile 130 der Datei shooting.c.

const ISOTable iso_table[]
Initialisierung:
= {
{ 0, 0, "Auto", -1},
{ 1, 80, "80", -1},
{ 2, 100, "100", -1},
{ 3, 125, "125", -1},
{ 4, 160, "160", -1},
{ 5, 200, "200", -1},
{ 6, 250, "250", -1},
{ 7, 320, "320", -1},
{ 8, 400, "400", -1},
{ 9, 500, "500", -1},
{ 10, 640, "650", -1},
{ 11, 800, "800", -1},
{ 12, 1000, "1000", -1},
{ 13, 1250, "1250", -1},
{ 14, 1600, "1600", -1},
{ 15, 2000, "2000", -1},
{ 16, 2500, "2500", -1},
{ 17, 3200, "3200", -1}
}

Definiert in Zeile 74 der Datei shooting.c.

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_AUTO, 32768 },
{ MODE_P, 32772 },
{ MODE_TV, 32771 },
{ MODE_AV, 32770 },
{ MODE_M, 32769 },
{ MODE_LOWLIGHT, 32799 },
{ MODE_VIDEO_STD, 2603 },
{ MODE_NIGHT_SNAPSHOT, 16395 },
{ MODE_LANDSCAPE, 16396 },
{ MODE_PORTRAIT, 16397 },
{ MODE_STITCH, 16906 },
{ MODE_NOSTALGIC, 16931 },
{ MODE_COLOR_SWAP, 16924 },
{ MODE_COLOR_ACCENT, 16923 },
{ MODE_SNOW, 16404 },
{ MODE_FOLIAGE, 16403 },
{ MODE_AQUARIUM, 16408 },
{ MODE_UNDERWATER, 16407 },
{ MODE_BEACH, 16405 },
{ MODE_FIREWORK, 16406 },
{ MODE_NIGHT_SCENE, 16398 },
{ MODE_SUNSET, 16402 },
{ MODE_INDOOR, 16401 },
{ MODE_KIDS_PETS, 16400 }
}

Definiert in Zeile 95 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]

Definiert in Zeile 26 der Datei shooting.c.