diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-04-10 17:23:38 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-04-10 17:23:38 +0000 |
commit | 64bde1974be4ab53f5ec468ef8f8c4cf18c27c52 (patch) | |
tree | 865f1ec8ddd7b6ba0e0cc224ac4ef0390cd83c03 /libavcodec/snow.c | |
parent | ee30cdabadc055ae49d9b92e800839b5d8925598 (diff) | |
download | ffmpeg-64bde1974be4ab53f5ec468ef8f8c4cf18c27c52.tar.gz |
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r-- | libavcodec/snow.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 49b7ff2563..e4e9f713bd 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -4721,15 +4721,15 @@ int main(void){ int buffer[2][width*height]; SnowContext s; int i; - AVLFG prn; + AVLFG prng; s.spatial_decomposition_count=6; s.spatial_decomposition_type=1; - av_lfg_init(&prn, 1); + av_lfg_init(&prng, 1); printf("testing 5/3 DWT\n"); for(i=0; i<width*height; i++) - buffer[0][i] = buffer[1][i] = av_lfg_get(&prn) % 54321 - 12345; + buffer[0][i] = buffer[1][i] = av_lfg_get(&prng) % 54321 - 12345; ff_spatial_dwt(buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); ff_spatial_idwt(buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); @@ -4740,7 +4740,7 @@ int main(void){ printf("testing 9/7 DWT\n"); s.spatial_decomposition_type=0; for(i=0; i<width*height; i++) - buffer[0][i] = buffer[1][i] = av_lfg_get(&prn) % 54321 - 12345; + buffer[0][i] = buffer[1][i] = av_lfg_get(&prng) % 54321 - 12345; ff_spatial_dwt(buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); ff_spatial_idwt(buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); |