]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/adx.h
ppc: Centralize compiler-specific altivec.h #include handling in one place
[ffmpeg] / libavcodec / adx.h
index da40eec92931fde3b04d33233d5a8709a4c4f7cc..9ae84dcec1fa82edc1225d0ceba317cd7d4049bd 100644 (file)
 
 #include "avcodec.h"
 
-typedef struct {
+typedef struct ADXChannelState {
     int s1,s2;
 } ADXChannelState;
 
-typedef struct {
+typedef struct ADXContext {
     int channels;
     ADXChannelState prev[2];
     int header_parsed;
@@ -74,7 +74,7 @@ void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff);
  * @param[out] coeff        2 LPC coefficients, can be NULL
  * @return data offset or negative error code if header is invalid
  */
-int avpriv_adx_decode_header(AVCodecContext *avctx, const uint8_t *buf,
-                             int bufsize, int *header_size, int *coeff);
+int ff_adx_decode_header(AVCodecContext *avctx, const uint8_t *buf,
+                         int bufsize, int *header_size, int *coeff);
 
 #endif /* AVCODEC_ADX_H */