Mercurial > libavcodec.hg
comparison ra144.h @ 11866:0d8f35836b20 libavcodec
Add ff_ prefix to non-static functions
Patch by Francesco Lavra (firstnamelastname@interfree.it)
author | vitor |
---|---|
date | Fri, 11 Jun 2010 08:03:43 +0000 |
parents | 6111134a3d94 |
children | ba4e21f7bd3a |
comparison
equal
deleted
inserted
replaced
11865:6111134a3d94 | 11866:0d8f35836b20 |
---|---|
47 /** Adaptive codebook, its size is two units bigger to avoid a | 47 /** Adaptive codebook, its size is two units bigger to avoid a |
48 * buffer overflow. */ | 48 * buffer overflow. */ |
49 uint16_t adapt_cb[146+2]; | 49 uint16_t adapt_cb[146+2]; |
50 } RA144Context; | 50 } RA144Context; |
51 | 51 |
52 void add_wav(int16_t *dest, int n, int skip_first, int *m, const int16_t *s1, | 52 void ff_add_wav(int16_t *dest, int n, int skip_first, int *m, const int16_t *s1, |
53 const int8_t *s2, const int8_t *s3); | 53 const int8_t *s2, const int8_t *s3); |
54 void copy_and_dup(int16_t *target, const int16_t *source, int offset); | 54 void ff_copy_and_dup(int16_t *target, const int16_t *source, int offset); |
55 int eval_refl(int *refl, const int16_t *coefs, AVCodecContext *avctx); | 55 int ff_eval_refl(int *refl, const int16_t *coefs, AVCodecContext *avctx); |
56 void eval_coefs(int *coefs, const int *refl); | 56 void ff_eval_coefs(int *coefs, const int *refl); |
57 void int_to_int16(int16_t *out, const int *inp); | 57 void ff_int_to_int16(int16_t *out, const int *inp); |
58 int t_sqrt(unsigned int x); | 58 int ff_t_sqrt(unsigned int x); |
59 unsigned int rms(const int *data); | 59 unsigned int ff_rms(const int *data); |
60 int interp(RA144Context *ractx, int16_t *out, int a, int copyold, int energy); | 60 int ff_interp(RA144Context *ractx, int16_t *out, int a, int copyold, |
61 unsigned int rescale_rms(unsigned int rms, unsigned int energy); | 61 int energy); |
62 int irms(const int16_t *data); | 62 unsigned int ff_rescale_rms(unsigned int rms, unsigned int energy); |
63 int ff_irms(const int16_t *data); | |
63 | 64 |
64 extern const int16_t gain_val_tab[256][3]; | 65 extern const int16_t ff_gain_val_tab[256][3]; |
65 extern const uint8_t gain_exp_tab[256]; | 66 extern const uint8_t ff_gain_exp_tab[256]; |
66 extern const int8_t cb1_vects[128][40]; | 67 extern const int8_t ff_cb1_vects[128][40]; |
67 extern const int8_t cb2_vects[128][40]; | 68 extern const int8_t ff_cb2_vects[128][40]; |
68 extern const uint16_t cb1_base[128]; | 69 extern const uint16_t ff_cb1_base[128]; |
69 extern const uint16_t cb2_base[128]; | 70 extern const uint16_t ff_cb2_base[128]; |
70 extern const int16_t energy_tab[32]; | 71 extern const int16_t ff_energy_tab[32]; |
71 extern const int16_t * const lpc_refl_cb[10]; | 72 extern const int16_t * const ff_lpc_refl_cb[10]; |
72 | 73 |
73 #endif /* AVCODEC_RA144_H */ | 74 #endif /* AVCODEC_RA144_H */ |