Commit 02621de
kazuho
elementsof(freq) should be 257 including total freq. at the end
use a safer method for rounding the frequency table
git-svn-id: http://svn.coderepos.org/share/lang/cplusplus/range_coder@7178 d0d07461-0603-4401-acd4-de1884942a521 parent e311db8 commit 02621de
1 file changed
+6
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
38 | | - | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 45 | + | |
51 | 46 | | |
| 47 | + | |
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
0 commit comments