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 147 der Datei shooting.c.

147 {}
long get_file_next_counter ( )

Definiert in Zeile 126 der Datei shooting.c.

126  {
127  return ((get_file_counter()>>4)+1)<<4;
128 }
long get_target_dir_num ( )

Definiert in Zeile 138 der Datei shooting.c.

138  {
139  long n;
140 
141  n = get_file_next_counter();
142  n = (n>>18)&0x3FF;
143  if (get_target_file_num()%100 == 1) ++n;
144  return n;
145 }
long get_target_file_num ( )

Definiert in Zeile 130 der Datei shooting.c.

130  {
131  long n;
132 
133  n = get_file_next_counter();
134  n = (n>>4)&0x3FFF;
135  return n;
136 }

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 9, 290, "2.8" },
{ 10, 313, "3.2" },
{ 11, 337, "3.5" },
{ 12, 363, "3.5" },
{ 13, 391, "4.0" },
{ 14, 420, "4.5" },
{ 15, 448, "4.9" },
{ 16, 481, "5.6 ND" },
{ 17, 504, "6.3 ND" },
{ 18, 528, "7.1 ND" },
{ 19, 554, "7.1 ND" },
{ 20, 582, "8.0 ND" },
{ 21, 611, "9.0 ND" },
{ 22, 639, "10.0 ND" },
}

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 72 der Datei shooting.c.

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_P, 32772 },
{ MODE_AUTO, 32768 },
{ MODE_PORTRAIT, 32781 },
{ MODE_STITCH, 33290 },
{ MODE_KIDS_PETS, 16399 },
{ MODE_INDOOR, 16400 },
{ MODE_FOLIAGE, 16401 },
{ MODE_SNOW, 16402 },
{ MODE_BEACH, 16403 },
{ MODE_FIREWORK, 16404 },
{ MODE_UNDERWATER, 16405 },
{ MODE_COLOR_ACCENT, 16920 },
{ MODE_COLOR_SWAP, 16921 },
{ MODE_DIGITAL_MACRO, 33288 },
{ MODE_NIGHT_SNAPSHOT, 32779 },
{ MODE_LONG_SHUTTER, 32774 },
{ 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 22 der Datei shooting.c.