Mercurial > libavcodec.hg
comparison snow.c @ 4179:46d38e3d7038 libavcodec
rename squareTbl -> ff_squareTbl
author | mru |
---|---|
date | Sun, 12 Nov 2006 21:48:04 +0000 |
parents | 5c86acb39889 |
children | fbac0859753d |
comparison
equal
deleted
inserted
replaced
4178:f623a9939995 | 4179:46d38e3d7038 |
---|---|
1900 | 1900 |
1901 //near copy & paste from dsputil, FIXME | 1901 //near copy & paste from dsputil, FIXME |
1902 static int pix_norm1(uint8_t * pix, int line_size, int w) | 1902 static int pix_norm1(uint8_t * pix, int line_size, int w) |
1903 { | 1903 { |
1904 int s, i, j; | 1904 int s, i, j; |
1905 uint32_t *sq = squareTbl + 256; | 1905 uint32_t *sq = ff_squareTbl + 256; |
1906 | 1906 |
1907 s = 0; | 1907 s = 0; |
1908 for (i = 0; i < w; i++) { | 1908 for (i = 0; i < w; i++) { |
1909 for (j = 0; j < w; j ++) { | 1909 for (j = 0; j < w; j ++) { |
1910 s += sq[pix[0]]; | 1910 s += sq[pix[0]]; |