📄 fiasco_d_options_new.3
字号:
.\" $Id: fiasco_d_options_new.3,v 1.1 2000/10/28 17:35:12 hafner Exp $.TH fiasco 3 "April, 2000" "FIASCO" "Fractal Image And Sequence COdec".SH NAME.B fiasco_d_options_new, fiasco_d_options_set_magnification,.B fiasco_d_options_delete, fiasco_d_options_set_smoothing.B fiasco_d_options_set_4_2_0_format\- define additional options of FIASCO decoder .SH SYNOPSIS.B #include <fiasco.h>.sp.BI "fiasco_d_options_t *".fi.BI "fiasco_d_options_new".fi.BI " (void);".sp.BI "void".fi.BI "fiasco_d_options_delete".fi.BI " (fiasco_d_options_t * "options );.sp.BI "int".fi.BI "fiasco_d_options_set_4_2_0_format".fi.BI " (fiasco_d_options_t * "options ,.fi.BI " int "format );.sp.BI "int".fi.BI "fiasco_d_options_set_magnification".fi.BI " (fiasco_d_options_t * "options ,.fi.BI " int "level );.sp.BI "int".fi.BI "fiasco_d_options_set_smoothing".fi.BI " (fiasco_d_options_t * "options ,.fi.BI " unsigned "smoothing );.fi.SH DESCRIPTIONThe \fBfiasco_d_options_new()\fP function allocates and initializes aFIASCO options object which is used to control additionaldecompression parameters.Conversely, the function \fBfiasco_d_options_delete()\fP discards thegiven FIASCO decoder options object.Several member functions are available to modify the default behaviorof the FIASCO decoder.\fBfiasco_d_options_set_smoothing()\fP sets the\fIsmoothing\fP-percentage along partitioning borders when the imagesare regenerated; default is 70.\fBfiasco_d_options_set_magnification()\fP sets the \fImagnification\fPof the regenerated image; default is 0, i.e., the image geometry isnot changed.\fBfiasco_d_options_set_4_2_0_format()\fP defines whether the decodershould use the default 4:4:4 format or the 4:2:0 format. The latterone significantly reduces the decoding time at the cost of someadditional blocking artefacts..SH ARGUMENTS.TPoptionsThis object encapsulates various decoding parameters. .TPsmoothingThis percentage (range is 0 - i.e., no smoothing - to 100) defines howmuch the regenerated image is smoothed along the partitioning borders..TPlevelThis value gives the magnification of the decoded image with respectto the original size. Positive values increase and negative valuesdecrease the width and height of the image by a factor of2^abs(\fIlevel\fP)..TPformatIf \fIformat\fP is 0 then the 4:4:4 color image format is used, i.e.,the chroma channel are of the same size as the luminance. Otherwise,the 4:2:0 format is used. Then, width and height of each chromachannel is only one half of the width and height of the luminance..SH RETURN VALUESThe function \fBfiasco_d_options_new()\fP returns a pointer to thenewly allocated decoder option object. If an error has been catched, aNULL pointer is returned.All set functions return 1 on success and 0 if an error has beencatched. In case of an error, use the function fiasco_get_error_message(3) toget a string with the last error message of FIASCO..SH "SEE ALSO".br.BR fiasco_decoder "(3), " fiasco_coder (3)Ullrich Hafner, Juergen Albert, Stefan Frank, and Michael Unger.\fBWeighted Finite Automata for Video Compression\fP, IEEE Journal onSelected Areas In Communications, January 1998.brUllrich Hafner. \fBLow Bit-Rate Image and Video Coding with WeightedFinite Automata\fP, Ph.D. thesis, Mensch & Buch Verlag, ISBN3-89820-002-7, October 1999..SH AUTHORUllrich Hafner <hafner@bigfoot.de>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -