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 []
 

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

100  {
101  return get_file_counter();
102 }
long get_target_dir_num ( )

Definiert in Zeile 123 der Datei shooting.c.

124 {
125 /*
126  char buf[16];
127  extern void _GetImageFolder(char*,int,int,int);
128  buf[0] = 'A';
129  _GetImageFolder(buf+1,get_file_next_counter(),CAM_DATE_FOLDER_NAMING,time(NULL));
130  strcpy(buf,&buf[7]);
131  buf[3]='\0';
132  return strtol(buf, NULL, 0);
133 */
134 return 100;
135 }
long get_target_file_num ( )

Definiert in Zeile 104 der Datei shooting.c.

105 {
106  long n;
107  n = get_file_next_counter();
108  n = (n>>4)&0x3FFF;
109  return n;
110 }

Variablen-Dokumentation

const ApertureSize aperture_sizes_table[]
Initialisierung:
= {
{ 9, 352, "3.4" },
{ 10, 384, "4.0" },
{ 11, 416, "4.5" },
{ 12, 448, "5.0" },
{ 13, 480, "5.6" },
{ 14, 512, "6.3" },
{ 15, 544, "7.1" },
{ 16, 576, "8.0" }
}

Definiert in Zeile 6 der Datei shooting.c.

const ISOTable iso_table[]
Initialisierung:
= {
{ 0, 0, "Auto", -1},
{ 1, 80, "80", -1},
{ 2, 100, "100", -1},
{ 5, 200, "200", -1},
{ 8, 400, "400", -1},
{ 11, 800, "800", -1},
{ 14, 1600, "1600", -1},
}

Definiert in Zeile 68 der Datei shooting.c.

const CapturemodeMap modemap[]
Initialisierung:
= {
{ MODE_AUTO, 32768 },
{ MODE_P, 32772 },
{ MODE_PORTRAIT, 32783 },
{ MODE_NIGHT_SNAPSHOT, 32781 },
{ MODE_KIDS_PETS, 32786 },
{ MODE_INDOOR, 32787 },
{ MODE_FOLIAGE, 16405 },
{ MODE_SNOW, 16406 },
{ MODE_BEACH, 16407 },
{ MODE_FIREWORK, 16408 },
{ MODE_UNDERWATER, 16409 },
{ MODE_LONG_SHUTTER, 16390 },
{ MODE_LOWLIGHT, 16417 },
{ MODE_VIDEO_STD, 2609 },
}

Definiert in Zeile 78 der Datei shooting.c.

const ShutterSpeed shutter_speeds_table[]

Definiert in Zeile 17 der Datei shooting.c.