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

Funktionen

long get_file_next_counter ()
 
long get_target_file_num ()
 
long get_target_dir_num ()
 
void change_video_tables (__attribute__((unused)) int a, __attribute__((unused)) int b)
 

Variablen

const ApertureSize aperture_sizes_table []
 
const ShutterSpeed shutter_speeds_table []
 
const ISOTable iso_table []
 
const CapturemodeMap modemap []
 

Makro-Dokumentation

#define PARAM_FILE_COUNTER   0x34

Definiert in Zeile 1 der Datei shooting.c.

Dokumentation der Funktionen

void change_video_tables ( __attribute__((unused)) int  a,
__attribute__((unused)) int  b 
)

Definiert in Zeile 141 der Datei shooting.c.

141 {}
long get_file_next_counter ( )

Definiert in Zeile 120 der Datei shooting.c.

120  {
121  return ((get_file_counter()>>4)+1)<<4;
122 }
long get_target_dir_num ( )

Definiert in Zeile 132 der Datei shooting.c.

132  {
133  long n;
134 
135  n = get_file_next_counter();
136  n = (n>>18)&0x3FF;
137  if (get_target_file_num()%100 == 1) ++n;
138  return n;
139 }
long get_target_file_num ( )

Definiert in Zeile 124 der Datei shooting.c.

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

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 9, 290, "2.8" },
{ 10, 313, "3.2" },
{ 11, 337, "3.5" },
{ 12, 391, "4.0" },
{ 13, 420, "4.5" },
{ 14, 448, "5.0" },
{ 15, 480, "5.6" },
{ 16, 512, "6.3" },
{ 17, 544, "7.1" },
{ 18, 576, "8.0" },
{ 19, 999, "x.x" },
}

Definiert in Zeile 5 der Datei shooting.c.

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

Definiert in Zeile 69 der Datei shooting.c.

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_P, 32772 },
{ MODE_AUTO, 32768 },
{ MODE_DIGITAL_MACRO, 33288 },
{ MODE_PORTRAIT, 32781 },
{ MODE_NIGHT_SNAPSHOT, 32779 },
{ MODE_COLOR_ACCENT, 16920 },
{ MODE_COLOR_SWAP, 16921 },
{ MODE_KIDS_PETS, 16399 },
{ MODE_INDOOR, 16400 },
{ MODE_FOLIAGE, 16401 },
{ MODE_SNOW, 16402 },
{ MODE_BEACH, 16403 },
{ MODE_STITCH, 33290 },
{ MODE_LONG_SHUTTER, 32774 },
{ MODE_FIREWORK, 16404 },
{ MODE_UNDERWATER, 16405 },
{ MODE_VIDEO_STD, 2593 },
{ MODE_VIDEO_SPEED, 2594 },
{ MODE_VIDEO_COMPACT, 2595 },
}

Definiert in Zeile 94 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]

Definiert in Zeile 19 der Datei shooting.c.