2 * Image Library -- Configuration
4 * (c) 2006 Pavel Charvat <pchar@ucw.cz>
11 #include "images/images.h"
12 #include "images/signature.h"
16 uns image_sig_min_width;
17 uns image_sig_min_height;
18 uns *image_sig_prequant_thresholds;
19 uns image_sig_postquant_min_steps;
20 uns image_sig_postquant_max_steps;
21 uns image_sig_postquant_threshold;
23 static struct cf_section sig_config = {
25 CF_UNS("MinWidth", &image_sig_min_width),
26 CF_UNS("MinHeight", &image_sig_min_height),
27 CF_UNS_DYN("PreQuantThresholds", &image_sig_prequant_thresholds, CF_ANY_NUM),
28 CF_UNS("PostQuantMinSteps", &image_sig_postquant_min_steps),
29 CF_UNS("PostQuantMaxSteps", &image_sig_postquant_max_steps),
30 CF_UNS("PostQuantThreshold", &image_sig_postquant_threshold),
35 static void CONSTRUCTOR
36 images_init_config(void)
38 cf_declare_section("ImageSig", &sig_config, 0);