⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qccentexponentialgolombencode.3

📁 spiht for linux this is used to decod and encode vedio i wich all enjoy
💻 3
字号:
.TH QCCENTEXPONENTIALGOLOMBENCODE 3 "QCCPACK" "".SH NAMEQccENTExponentialGolombEncode, QccENTExponentialGolombDecode \- exponential-Golomb encoding and decoding.SH SYNOPSIS.B #include "libQccPack.h".sp.BI "int QccENTExponentialGolombEncode(QccBitBuffer *" output_buffer ", const int *" symbols ", int " num_symbols ", int " signed_symbols );.br.BI "int QccENTExponentialGolombDecode(QccBitBuffer *" input_buffer ", int *" symbols ", int " num_symbols ", int " signed_symbols );.SH DESCRIPTION.BR QccENTExponentialGolombEncode()performs exponential-Golomb coding of the symbol stream in.IR symbols ,outputting the binary codewords to.IR output_buffer ..I num_symbolsindicates how many symbols are in the symbol stream(which can be as short as one symbol)..IR signed_symbolsindicates whether the symbols in the symbol stream aresigned integers.RI ( signed_symbols " = 1)."or unsigned integers.RI ( signed_symbols " = 0).".IR output_buffer must be a.BR QccBitBuffer (3)that has been opened for writing prior to calling.BR QccENTExponentialGolombEncode() .After calling.BR QccENTExponentialGolombEncode() ,.BR QccBitBufferFlush (3)must be called to ensure that the last few bits of thebitstream are actually written to the output file..LP.BR QccENTExponentialGolombDecode()performs exponential-Golomb decoding of the bits in the bitstream.IR input_buffer ,producing an output stream of symbols that are stored in.IR symbols .The .IR symbols array must be allocated with space sufficient for holding.IR num_symbols integers; this allocation must be done prior to calling.BR QccENTExponentialGolombDecode() .Additionally,.IR input_buffermust be opened for reading prior to calling.BR QccENTExponentialGolombDecode() ..SH "NOTES"Golomb coding was originally proposed by Golomb in 1966, and a specialcase of Golomb coding with the Golomb-coding parameter constrained tobe a power of 2 was proposed independently by Rice in 1979, with theselatter codes often called Rice codes or Golomb-Rice codes.Exponential-Golomb codes were proposed by Teuholaas another variant of Golomb codessimilar to Rice codes with the propertythat the number of codes with a given length grows exponentiallywith the length. The implementation of exponential-Golomb codingfollows that described in the H.264 standard (Sec. 9.1).Although the codeword lengths produced by this implementation are exactlythe same as in H.264, the actual codewords are somewhat different..SH "RETURN VALUE"Both routines return 0 on success, and 1 on failure..SH "SEE ALSO".BR QccBitBuffer (3),.BR QccPackENT (3),.BR QccPack (3).LPS. W. Golomb, "Run-Length Encodings,".IR "IEEE Transactions on Information Theory" ,vol. 12, pp. 399-401, July 1966..LPR. F. Rice, "Some Practical Universal Noiseless Coding Techniques,"Tech. Rep. JPL-79-22, Jet Propulsion Laboratory, Pasadena, CA, March 1979..LPJ. Teuhola, "A Compression Method for Clustered Bit-Vectors,".IR "Information Processing Letters" ,vol. 7, pp. 308-311, October 1978..LPITU-T,.IR "Advanced Video Coding for Generic Audiovisual Services" ,May 2003, ITU-T Recommendation H.264..SH AUTHORCopyright (C) 1997-2009  James E. Fowler.\"  The programs herein are free software; you can redistribute them an.or.\"  modify them under the terms of the GNU General Public License.\"  as published by the Free Software Foundation; either version 2.\"  of the License, or (at your option) any later version..\"  .\"  These programs are distributed in the hope that they will be useful,.\"  but WITHOUT ANY WARRANTY; without even the implied warranty of.\"  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the.\"  GNU General Public License for more details..\"  .\"  You should have received a copy of the GNU General Public License.\"  along with these programs; if not, write to the Free Software.\"  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -