Mercurial > libavcodec.hg
diff wma.h @ 9844:eb5916527064 libavcodec
Move run level decode functionality to ff_wma_run_level_decode
so that it can be reused for wmapro
author | faust3 |
---|---|
date | Fri, 12 Jun 2009 16:00:26 +0000 |
parents | 39bb2646fe00 |
children | 5cc32c474caf |
line wrap: on
line diff
--- a/wma.h Fri Jun 12 15:48:41 2009 +0000 +++ b/wma.h Fri Jun 12 16:00:26 2009 +0000 @@ -148,5 +148,11 @@ int ff_wma_init(AVCodecContext * avctx, int flags2); int ff_wma_total_gain_to_bits(int total_gain); int ff_wma_end(AVCodecContext *avctx); +int ff_wma_run_level_decode(AVCodecContext* avctx, GetBitContext* gb, + VLC *vlc, + const uint16_t *level_table, const uint16_t *run_table, + int version, int16_t *ptr, int offset, + int num_coefs, int block_len, int frame_len_bits, + int coef_nb_bits); #endif /* AVCODEC_WMA_H */