Debian Codegraph @

converter/other/fiasco/doc/fiasco_d_options_new.3

raw
1 .\" $Id: fiasco_d_options_new.3,v 1.1 2000/10/28 17:35:12 hafner Exp $
2 .TH fiasco 3 "April, 2000" "FIASCO" "Fractal Image And Sequence COdec"
3
4 .SH NAME
5 .B fiasco_d_options_new, fiasco_d_options_set_magnification,
6 .B fiasco_d_options_delete, fiasco_d_options_set_smoothing
7 .B fiasco_d_options_set_4_2_0_format
8 \- define additional options of FIASCO decoder
9
10 .SH SYNOPSIS
11 .B #include <fiasco.h>
12 .sp
13 .BI "fiasco_d_options_t *"
14 .fi
15 .BI "fiasco_d_options_new"
16 .fi
17 .BI " (void);"
18 .sp
19 .BI "void"
20 .fi
21 .BI "fiasco_d_options_delete"
22 .fi
23 .BI " (fiasco_d_options_t * "options );
24 .sp
25 .BI "int"
26 .fi
27 .BI "fiasco_d_options_set_4_2_0_format"
28 .fi
29 .BI " (fiasco_d_options_t * "options ,
30 .fi
31 .BI " int "format );
32 .sp
33 .BI "int"
34 .fi
35 .BI "fiasco_d_options_set_magnification"
36 .fi
37 .BI " (fiasco_d_options_t * "options ,
38 .fi
39 .BI " int "level );
40 .sp
41 .BI "int"
42 .fi
43 .BI "fiasco_d_options_set_smoothing"
44 .fi
45 .BI " (fiasco_d_options_t * "options ,
46 .fi
47 .BI " unsigned "smoothing );
48 .fi
49
50 .SH DESCRIPTION
51 The \fBfiasco_d_options_new()\fP function allocates and initializes a
52 FIASCO options object which is used to control additional
53 decompression parameters.
54
55 Conversely, the function \fBfiasco_d_options_delete()\fP discards the
56 given FIASCO decoder options object.
57
58 Several member functions are available to modify the default behavior
59 of the FIASCO decoder.
60
61 \fBfiasco_d_options_set_smoothing()\fP sets the
62 \fIsmoothing\fP-percentage along partitioning borders when the images
63 are regenerated; default is 70.
64
65 \fBfiasco_d_options_set_magnification()\fP sets the \fImagnification\fP
66 of the regenerated image; default is 0, i.e., the image geometry is
67 not changed.
68
69 \fBfiasco_d_options_set_4_2_0_format()\fP defines whether the decoder
70 should use the default 4:4:4 format or the 4:2:0 format. The latter
71 one significantly reduces the decoding time at the cost of some
72 additional blocking artefacts.
73
74 .SH ARGUMENTS
75 .TP
76 options
77 This object encapsulates various decoding parameters.
78
79 .TP
80 smoothing
81 This percentage (range is 0 - i.e., no smoothing - to 100) defines how
82 much the regenerated image is smoothed along the partitioning borders.
83
84 .TP
85 level
86 This value gives the magnification of the decoded image with respect
87 to the original size. Positive values increase and negative values
88 decrease the width and height of the image by a factor of
89 2^abs(\fIlevel\fP).
90
91 .TP
92 format
93 If \fIformat\fP is 0 then the 4:4:4 color image format is used, i.e.,
94 the chroma channel are of the same size as the luminance. Otherwise,
95 the 4:2:0 format is used. Then, width and height of each chroma
96 channel is only one half of the width and height of the luminance.
97
98 .SH RETURN VALUES
99 The function \fBfiasco_d_options_new()\fP returns a pointer to the
100 newly allocated decoder option object. If an error has been caught, a
101 NULL pointer is returned.
102
103 All set functions return 1 on success and 0 if an error has been
104 caught.
105
106 In case of an error, use the function fiasco_get_error_message(3) to
107 get a string with the last error message of FIASCO.
108
109 .SH "SEE ALSO"
110 .br
111 .BR fiasco_decoder "(3), " fiasco_coder (3)
112
113 Ullrich Hafner, Juergen Albert, Stefan Frank, and Michael Unger.
114 \fBWeighted Finite Automata for Video Compression\fP, IEEE Journal on
115 Selected Areas In Communications, January 1998
116 .br
117 Ullrich Hafner. \fBLow Bit-Rate Image and Video Coding with Weighted
118 Finite Automata\fP, Ph.D. thesis, Mensch & Buch Verlag, ISBN
119 3-89820-002-7, October 1999.
120
121 .SH AUTHOR
122 Ullrich Hafner