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 [] = {5800, 6420, 7060, 7700, 8340, 9950, 11550, 13160, 14750, 17150, 19570, 22760, 26750, 30750, 34800}
 
const int dof_tbl_size = sizeof(dof_tbl)/sizeof(dof_tbl[0])
 

Makro-Dokumentation

#define PARAM_FILE_COUNTER   0x38

Definiert in Zeile 3 der Datei shooting.c.

Dokumentation der Funktionen

long get_file_next_counter ( )

Definiert in Zeile 143 der Datei shooting.c.

143  {
144  return get_file_counter();
145 }
long get_target_dir_num ( )

Definiert in Zeile 155 der Datei shooting.c.

155  {
156  long n;
157 
158  n = get_file_next_counter();
159  n = (n>>18)&0x3FF;
160  return n;
161 }
long get_target_file_num ( )

Definiert in Zeile 147 der Datei shooting.c.

147  {
148  long n;
149 
150  n = get_file_next_counter();
151  n = (n>>4)&0x3FFF;
152  return n;
153 }

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]

Definiert in Zeile 11 der Datei shooting.c.

const int dof_tbl[] = {5800, 6420, 7060, 7700, 8340, 9950, 11550, 13160, 14750, 17150, 19570, 22760, 26750, 30750, 34800}

Definiert in Zeile 140 der Datei shooting.c.

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

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

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_AQUARIUM, 16408 },
{ MODE_SNOW, 16404 },
{ MODE_FOLIAGE, 16403 },
{ MODE_SUNSET, 16402 },
{ MODE_NIGHT_SCENE, 16398 },
{ MODE_ISO_3200, 16413 },
{ MODE_FIREWORK, 16406 },
{ MODE_BEACH, 16405 },
{ MODE_INDOOR, 32785 },
{ MODE_KIDS_PETS, 32784 },
{ MODE_NIGHT_SNAPSHOT, 32779 },
{ MODE_LANDSCAPE, 32780 },
{ MODE_PORTRAIT, 32781 },
{ MODE_AUTO, 32768 },
{ MODE_P, 32772 },
{ MODE_EASY, 33311 }
}

Definiert in Zeile 119 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]

Definiert in Zeile 48 der Datei shooting.c.