1 /* 2 * options.h 3 * 4 * Written by: Ullrich Hafner 5 * 6 * This file is part of FIASCO (Fractal Image And Sequence COdec) 7 * Copyright (C) 1994-2000 Ullrich Hafner 8 */ 9 10 /* 11 * $Date: 2000/10/28 17:39:31 $ 12 * $Author: hafner $ 13 * $Revision: 5.4 $ 14 * $State: Exp $ 15 */ 16 17 #ifndef _OPTIONS_H 18 #define _OPTIONS_H 19 20 typedef struct c_options 21 { 22 char id [9]; 23 char *basis_name; 24 unsigned lc_min_level; 25 unsigned lc_max_level; 26 unsigned p_min_level; 27 unsigned p_max_level; 28 unsigned images_level; 29 unsigned max_states; 30 unsigned chroma_max_states; 31 unsigned max_elements; 32 unsigned tiling_exponent; 33 fiasco_tiling_e tiling_method; 34 char *id_domain_pool; 35 char *id_d_domain_pool; 36 char *id_rpf_model; 37 char *id_d_rpf_model; 38 unsigned rpf_mantissa; 39 real_t rpf_range; 40 unsigned dc_rpf_mantissa; 41 fiasco_rpf_range_e dc_rpf_range; 42 unsigned d_rpf_mantissa; 43 fiasco_rpf_range_e d_rpf_range; 44 unsigned d_dc_rpf_mantissa; 45 fiasco_rpf_range_e d_dc_rpf_range; 46 real_t chroma_decrease; 47 bool_t prediction; 48 bool_t delta_domains; 49 bool_t normal_domains; 50 unsigned search_range; 51 unsigned fps; 52 char *pattern; 53 char *reference_filename; 54 bool_t half_pixel_prediction; 55 bool_t cross_B_search; 56 bool_t B_as_past_ref; 57 bool_t check_for_underflow; 58 bool_t check_for_overflow; 59 bool_t second_domain_block; 60 bool_t full_search; 61 fiasco_progress_e progress_meter; 62 char *title; 63 char *comment; 64 unsigned smoothing; 65 } c_options_t; 66 67 typedef struct d_options 68 { 69 char id [9]; 70 unsigned smoothing; 71 unsigned magnification; 72 format_e image_format; 73 } d_options_t; 74 75 c_options_t * 76 cast_c_options (fiasco_c_options_t *options); 77 d_options_t * 78 cast_d_options (fiasco_d_options_t *options); 79 80 #endif /* not _OPTIONS_H */ 81