comparison ra144.c @ 6899:61283b6e5f73 libavcodec

Update comment
author vitor
date Mon, 26 May 2008 18:21:09 +0000
parents 27b34839f1db
children 9333cbdc4524
comparison
equal deleted inserted replaced
6898:27b34839f1db 6899:61283b6e5f73
54 ractx->lpc_coef_old = ractx->lpc_tables[3]; 54 ractx->lpc_coef_old = ractx->lpc_tables[3];
55 55
56 return 0; 56 return 0;
57 } 57 }
58 58
59 /* lookup square roots in table */ 59 /**
60 * Evaluate sqrt(x << 24). x must fit in 20 bits. This value is evaluated in a
61 * odd way to make the output identical to the binary decoder.
62 */
60 static int t_sqrt(unsigned int x) 63 static int t_sqrt(unsigned int x)
61 { 64 {
62 int s = 0; 65 int s = 0;
63 while (x > 0xfff) { 66 while (x > 0xfff) {
64 s++; 67 s++;