perform_arithmetic_coding_fixed.cpp

来自「This document is intended to serve as an」· C++ 代码 · 共 18 行

CPP
18
字号
/*=================================================================% perform_arithmetic_coding_fixed - perform adaptive arithmetic coding
%
%   code = perform_arithmetic_coding_fixed(x, dir, counts, n);
%
%   This is a wrapper to the code of Numerical Recipes.
%		www.nr.com
%
%	This coder works only for token with values >0.
%
%	dir=1 for coding, dir=-1 for decoding.
%	counts(i) is the number of token that have value i.
%	n is the size of the signal (you MUST provide it).
%
%	You should use the matlab driver for this Mex function
%	perform_arithmetid_coding together with options.coder_type=8.
%   
%   Copyright (c) 2006 Gabriel Peyr

⌨️ 快捷键说明

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