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   0x3A
 
#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 [] = {6200, 7780, 9410, 11370, 13790, 16770, 20180, 24800}
 
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   0x3A

Definiert in Zeile 1 der Datei shooting.c.

Dokumentation der Funktionen

long get_file_next_counter ( )

Definiert in Zeile 113 der Datei shooting.c.

113  {
114  return get_file_counter();
115 }
long get_target_dir_num ( )

Definiert in Zeile 133 der Datei shooting.c.

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

Definiert in Zeile 117 der Datei shooting.c.

117  {
118  long n;
119 
120  n = get_file_next_counter();
121  n = (n>>4)&0x3FFF;
122  return n;
123 }

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 9, 274, "2.7" },
{ 10, 297, "2.8" },
{ 11, 321, "3.2" },
{ 12, 349, "3.5" },
{ 13, 379, "4.0" },
{ 14, 413, "4.5" },
{ 15, 447, "5.0" },
{ 16, 483, "5.6" },
{ 17, 562, "8.0" },
{ 18, 585, "8.0" },
{ 19, 609, "9.0" },
{ 20, 637, "10.0" },
{ 21, 667, "11.0" },
{ 22, 701, "13.0" },
{ 23, 735, "14.0" },
}

Definiert in Zeile 9 der Datei shooting.c.

const int dof_tbl[] = {6200, 7780, 9410, 11370, 13790, 16770, 20180, 24800}

Definiert in Zeile 110 der Datei shooting.c.

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

Definiert in Zeile 111 der Datei shooting.c.

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

Definiert in Zeile 76 der Datei shooting.c.

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_AUTO, 32768 },
{ MODE_P, 32772 },
{ MODE_VIDEO_STD, 2609 },
{ MODE_EASY, 33314 },
{ MODE_PORTRAIT, 32783 },
{ MODE_LANDSCAPE, 32782 },
{ MODE_NIGHT_SCENE, 32781 },
{ MODE_KIDS_PETS, 32786 },
{ MODE_INDOOR, 32787 },
{ MODE_LOWLIGHT, 16417 },
{ MODE_SUPER_VIVID, 16934 },
{ MODE_POSTER_EFFECT, 16935 },
{ MODE_BEACH, 16407 },
{ MODE_FOLIAGE, 16405 },
{ MODE_SNOW, 16406 },
{ MODE_FIREWORK, 16408 },
{ MODE_LONG_SHUTTER, 16390 }
}

Definiert in Zeile 85 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]

Definiert in Zeile 28 der Datei shooting.c.