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
 

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

Definiert in Zeile 7 der Datei shooting.c.

Dokumentation der Funktionen

long get_file_next_counter ( )

Definiert in Zeile 139 der Datei shooting.c.

139  {
140  return get_file_counter();
141 }
long get_target_dir_num ( )

Definiert in Zeile 160 der Datei shooting.c.

160  {
161  long n;
162 
163  n = get_file_next_counter();
164  n = (n>>18)&0x3FF;
165  return n;
166  }
long get_target_file_num ( )

Definiert in Zeile 143 der Datei shooting.c.

143  {
144  long n;
145 
146  n = get_file_next_counter();
147  n = (n>>4)&0x3FFF;
148  return n;
149 }

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 0, 200, "2.0" },
{ 1, 224, "2.2" },
{ 2, 256, "2.5" },
{ 3, 288, "2.8" },
{ 4, 320, "3.2" },
{ 5, 352, "3.5" },
{ 6, 384, "4.0" },
{ 7, 416, "4.5" },
{ 8, 448, "5.0" },
{ 9, 480, "5.6" },
{ 10, 512, "6.3" },
{ 11, 544, "7.1" },
{ 12, 576, "8.0" }
}

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

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

Definiert in Zeile 137 der Datei shooting.c.

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

Definiert in Zeile 82 der Datei shooting.c.

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_AUTO, 32768 },
{ MODE_P, 32772 },
{ MODE_TV, 32771 },
{ MODE_AV, 32770 },
{ MODE_STITCH, 33292 },
{ MODE_FOLIAGE, 32789 },
{ MODE_SNOW, 32790 },
{ MODE_BEACH, 32791 },
{ MODE_FIREWORK, 32792 },
{ MODE_INDOOR, 32787 },
{ MODE_KIDS_PETS, 32786 },
{ MODE_NIGHT_SNAPSHOT, 32781 },
{ MODE_PORTRAIT, 32783 },
{ MODE_LOWLIGHT, 32801 },
{ MODE_COLOR_ACCENT, 33309 },
{ MODE_COLOR_SWAP, 33310 },
{ MODE_SMART_SHUTTER, 33321 },
{ MODE_FISHEYE, 33323 },
{ MODE_MINIATURE, 33324 },
{ MODE_VIDEO_STD, 2612 },
}

Definiert in Zeile 105 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]

Definiert in Zeile 30 der Datei shooting.c.