Mercurial > libavcodec.hg
comparison wma.c @ 4652:6679d37a3338 libavcodec
Give context to dprintf
author | mbardiaux |
---|---|
date | Mon, 12 Mar 2007 12:36:41 +0000 |
parents | 5bcb6208ac58 |
children | 99d9dd34903b |
comparison
equal
deleted
inserted
replaced
4651:ff9749708137 | 4652:6679d37a3338 |
---|---|
169 high_freq = high_freq * 0.6; | 169 high_freq = high_freq * 0.6; |
170 } else { | 170 } else { |
171 high_freq = high_freq * 0.5; | 171 high_freq = high_freq * 0.5; |
172 } | 172 } |
173 } | 173 } |
174 dprintf("flags2=0x%x\n", flags2); | 174 dprintf(s->avctx, "flags2=0x%x\n", flags2); |
175 dprintf("version=%d channels=%d sample_rate=%d bitrate=%d block_align=%d\n", | 175 dprintf(s->avctx, "version=%d channels=%d sample_rate=%d bitrate=%d block_align=%d\n", |
176 s->version, s->nb_channels, s->sample_rate, s->bit_rate, | 176 s->version, s->nb_channels, s->sample_rate, s->bit_rate, |
177 s->block_align); | 177 s->block_align); |
178 dprintf("bps=%f bps1=%f high_freq=%f bitoffset=%d\n", | 178 dprintf(s->avctx, "bps=%f bps1=%f high_freq=%f bitoffset=%d\n", |
179 bps, bps1, high_freq, s->byte_offset_bits); | 179 bps, bps1, high_freq, s->byte_offset_bits); |
180 dprintf("use_noise_coding=%d use_exp_vlc=%d nb_block_sizes=%d\n", | 180 dprintf(s->avctx, "use_noise_coding=%d use_exp_vlc=%d nb_block_sizes=%d\n", |
181 s->use_noise_coding, s->use_exp_vlc, s->nb_block_sizes); | 181 s->use_noise_coding, s->use_exp_vlc, s->nb_block_sizes); |
182 | 182 |
183 /* compute the scale factor band sizes for each MDCT block size */ | 183 /* compute the scale factor band sizes for each MDCT block size */ |
184 { | 184 { |
185 int a, b, pos, lpos, k, block_len, i, j, n; | 185 int a, b, pos, lpos, k, block_len, i, j, n; |