CHDK_DE Vorschauversion
Trunk Rev. 6014
|
gehe zum Quellcode dieser Datei
Datenstrukturen | |
struct | OSD_pos |
struct | OSD_scale |
struct | tConfigVal |
struct | tVarArrayConfig |
struct | tUserMenuItem |
struct | tUserMenuConfig |
struct | Conf |
struct | ConfInfo |
Makrodefinitionen | |
#define | CONF_STR_LEN 100 |
#define | CONF_EMPTY 0 |
#define | CONF_VALUE 1 |
#define | CONF_DEF_VALUE 1 |
#define | CONF_FUNC_PTR 2 |
#define | CONF_INT_PTR 3 |
#define | CONF_CHAR_PTR 4 |
#define | CONF_OSD_POS 5 |
#define | CONF_STRUCT_PTR 6 |
#define | CONF_VERSION {3,6} |
#define | overrides_are_enabled ( conf.override_disable != 1 ) |
#define | autoiso_and_bracketing_overrides_are_enabled ( !(conf.override_disable == 1 && conf.override_disable_all) ) |
#define | TV_OVERRIDE_EV_STEP 0 |
#define | TV_OVERRIDE_SHORT_EXP 1 |
#define | TV_OVERRIDE_LONG_EXP 2 |
#define | is_tv_override_enabled |
#define | is_av_override_enabled ( conf.av_override_enabled && overrides_are_enabled ) |
#define | is_iso_override_enabled ( conf.iso_override_value && conf.iso_override_koef && overrides_are_enabled ) |
#define | SD_OVERRIDE_OFF 0 |
#define | SD_OVERRIDE_ON 1 |
#define | SD_OVERRIDE_INFINITY 2 |
#define | is_sd_override_enabled ( conf.subj_dist_override_value && conf.subj_dist_override_koef && overrides_are_enabled ) |
#define | is_tv_bracketing_enabled ( conf.tv_bracket_value && autoiso_and_bracketing_overrides_are_enabled ) |
#define | is_av_bracketing_enabled ( conf.av_bracket_value && autoiso_and_bracketing_overrides_are_enabled ) |
#define | is_iso_bracketing_enabled ( conf.iso_bracket_value && conf.iso_bracket_koef && autoiso_and_bracketing_overrides_are_enabled ) |
#define | is_sd_bracketing_enabled ( conf.subj_dist_bracket_value && conf.subj_dist_bracket_koef && autoiso_and_bracketing_overrides_are_enabled && shooting_can_focus() ) |
#define | ALT_PREVENT_SHUTDOWN_NO 0 |
#define | ALT_PREVENT_SHUTDOWN_ALT 1 |
#define | ALT_PREVENT_SHUTDOWN_ALT_SCRIPT 2 |
#define | ALT_PREVENT_SHUTDOWN_ALWAYS 3 |
#define | SHOOTING_PROGRESS_NONE 0 |
#define | SHOOTING_PROGRESS_STARTED 1 |
#define | SHOOTING_PROGRESS_PROCESSING 2 |
#define | SHOOTING_PROGRESS_DONE 3 |
#define | SCRIPT_AUTOSTART_NONE 0 |
#define | SCRIPT_AUTOSTART_ALWAYS 1 |
#define | SCRIPT_AUTOSTART_ONCE 2 |
#define | SCRIPT_AUTOSTART_ALT 3 |
#define | NUM_IMG_FOLDER_NAMES 3 |
#define | NUM_IMG_PREFIXES 3 |
#define | NUM_IMG_EXTS 5 |
#define | CONF_INFO(id, param, type, def) { id, sizeof( param ), type, ¶m, {def}, 0 } |
#define | CONF_INFO2(id, param, type, px, py) { id, sizeof( param ), type, ¶m, {pos:{px,py}}, 0 } |
#define | CONF_INFOP(id, param, type, px, py) { id, sizeof( param ), type, ¶m, {pos:{(px)*CAM_SCREEN_WIDTH/360,(py)*CAM_SCREEN_HEIGHT/240}}, 0 } |
#define | CONF_INFOC(id, param, type, bc, fc, bt, ft) { id, sizeof( param ), type, ¶m, {cl:{fg:{fc,ft},bg:{bc,bt}}}, 0 } |
Funktionen | |
void | conf_save () |
void | conf_restore () |
void | conf_load_defaults () |
void | conf_change_dng (void) |
void | conf_update_prevent_shutdown (void) |
void | cb_autoiso_menu_change (unsigned int item) |
int | conf_getValue (unsigned short id, tConfigVal *configVal) |
int | conf_setValue (unsigned short id, tConfigVal configVal) |
void | conf_setAutosave (int n) |
int | is_raw_enabled () |
int | is_raw_possible () |
void | config_save (ConfInfo *conf_info, const char *filename, int config_base) |
void | config_restore (ConfInfo *confinfo, const char *filename, void(*info_func)(unsigned short id)) |
int | save_config_file (int config_base, const char *filename) |
int | load_config_file (int config_base, const char *filename) |
void | resetColors () |
Variablen | |
Conf | conf |
const char * | img_folders [NUM_IMG_FOLDER_NAMES] |
const char * | img_prefixes [NUM_IMG_PREFIXES] |
const char * | img_exts [NUM_IMG_EXTS] |
#define autoiso_and_bracketing_overrides_are_enabled ( !(conf.override_disable == 1 && conf.override_disable_all) ) |
#define CONF_INFO | ( | id, | |
param, | |||
type, | |||
def | |||
) | { id, sizeof( param ), type, ¶m, {def}, 0 } |
#define CONF_INFO2 | ( | id, | |
param, | |||
type, | |||
px, | |||
py | |||
) | { id, sizeof( param ), type, ¶m, {pos:{px,py}}, 0 } |
#define CONF_INFOC | ( | id, | |
param, | |||
type, | |||
bc, | |||
fc, | |||
bt, | |||
ft | |||
) | { id, sizeof( param ), type, ¶m, {cl:{fg:{fc,ft},bg:{bc,bt}}}, 0 } |
#define CONF_INFOP | ( | id, | |
param, | |||
type, | |||
px, | |||
py | |||
) | { id, sizeof( param ), type, ¶m, {pos:{(px)*CAM_SCREEN_WIDTH/360,(py)*CAM_SCREEN_HEIGHT/240}}, 0 } |
#define is_av_bracketing_enabled ( conf.av_bracket_value && autoiso_and_bracketing_overrides_are_enabled ) |
#define is_av_override_enabled ( conf.av_override_enabled && overrides_are_enabled ) |
#define is_iso_bracketing_enabled ( conf.iso_bracket_value && conf.iso_bracket_koef && autoiso_and_bracketing_overrides_are_enabled ) |
#define is_iso_override_enabled ( conf.iso_override_value && conf.iso_override_koef && overrides_are_enabled ) |
#define is_sd_bracketing_enabled ( conf.subj_dist_bracket_value && conf.subj_dist_bracket_koef && autoiso_and_bracketing_overrides_are_enabled && shooting_can_focus() ) |
#define is_sd_override_enabled ( conf.subj_dist_override_value && conf.subj_dist_override_koef && overrides_are_enabled ) |
#define is_tv_bracketing_enabled ( conf.tv_bracket_value && autoiso_and_bracketing_overrides_are_enabled ) |
#define is_tv_override_enabled |
#define overrides_are_enabled ( conf.override_disable != 1 ) |
void cb_autoiso_menu_change | ( | unsigned int | item) |
int conf_getValue | ( | unsigned short | id, |
tConfigVal * | configVal | ||
) |
void conf_restore | ( | ) |
Definiert in Zeile 1323 der Datei conf.c.
void conf_save | ( | ) |
Definiert in Zeile 1163 der Datei conf.c.
void conf_setAutosave | ( | int | n) |
int conf_setValue | ( | unsigned short | id, |
tConfigVal | configVal | ||
) |
Definiert in Zeile 1564 der Datei conf.c.
void conf_update_prevent_shutdown | ( | void | ) |
void config_restore | ( | ConfInfo * | confinfo, |
const char * | filename, | ||
void(*)(unsigned short id) | info_func | ||
) |
int is_raw_enabled | ( | ) |
int load_config_file | ( | int | config_base, |
const char * | filename | ||
) |
Definiert in Zeile 1360 der Datei conf.c.
int save_config_file | ( | int | config_base, |
const char * | filename | ||
) |
Definiert in Zeile 1181 der Datei conf.c.
const char* img_exts[NUM_IMG_EXTS] |
const char* img_folders[NUM_IMG_FOLDER_NAMES] |
const char* img_prefixes[NUM_IMG_PREFIXES] |