📄 perform_arithmetic_coding_fixed.cpp
字号:
/*=================================================================% 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -