Commit c253029b authored by mru's avatar mru

Move some prototypes from dsputil.c to reasonable header files

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22260 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0cc08a75
...@@ -179,4 +179,7 @@ int ff_eac3_parse_header(AC3DecodeContext *s); ...@@ -179,4 +179,7 @@ int ff_eac3_parse_header(AC3DecodeContext *s);
*/ */
void ff_eac3_decode_transform_coeffs_aht_ch(AC3DecodeContext *s, int ch); void ff_eac3_decode_transform_coeffs_aht_ch(AC3DecodeContext *s, int ch);
void ff_ac3_downmix_c(float (*samples)[256], float (*matrix)[2],
int out_ch, int in_ch, int len);
#endif /* AVCODEC_AC3DEC_H */ #endif /* AVCODEC_AC3DEC_H */
...@@ -36,22 +36,14 @@ ...@@ -36,22 +36,14 @@
#include "snow.h" #include "snow.h"
#include "mpegvideo.h" #include "mpegvideo.h"
#include "config.h" #include "config.h"
#include "lpc.h"
#include "ac3dec.h"
#include "vorbis.h"
#include "png.h"
/* snow.c */ /* snow.c */
void ff_spatial_dwt(int *buffer, int width, int height, int stride, int type, int decomposition_count); void ff_spatial_dwt(int *buffer, int width, int height, int stride, int type, int decomposition_count);
/* vorbis.c */
void vorbis_inverse_coupling(float *mag, float *ang, int blocksize);
/* ac3dec.c */
void ff_ac3_downmix_c(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len);
/* lpc.c */
void ff_lpc_compute_autocorr(const int32_t *data, int len, int lag, double *autoc);
/* pngdec.c */
void ff_add_png_paeth_prediction(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp);
/* eaidct.c */ /* eaidct.c */
void ff_ea_idct_put_c(uint8_t *dest, int linesize, DCTELEM *block); void ff_ea_idct_put_c(uint8_t *dest, int linesize, DCTELEM *block);
......
...@@ -45,6 +45,9 @@ int ff_lpc_calc_coefs(DSPContext *s, ...@@ -45,6 +45,9 @@ int ff_lpc_calc_coefs(DSPContext *s,
int32_t coefs[][MAX_LPC_ORDER], int *shift, int use_lpc, int32_t coefs[][MAX_LPC_ORDER], int *shift, int use_lpc,
int omethod, int max_shift, int zero_shift); int omethod, int max_shift, int zero_shift);
void ff_lpc_compute_autocorr(const int32_t *data, int len, int lag,
double *autoc);
#ifdef LPC_USE_DOUBLE #ifdef LPC_USE_DOUBLE
#define LPC_TYPE double #define LPC_TYPE double
#else #else
......
...@@ -73,4 +73,6 @@ int ff_png_get_nb_channels(int color_type); ...@@ -73,4 +73,6 @@ int ff_png_get_nb_channels(int color_type);
/* compute the row size of an interleaved pass */ /* compute the row size of an interleaved pass */
int ff_png_pass_row_size(int pass, int bits_per_pixel, int width); int ff_png_pass_row_size(int pass, int bits_per_pixel, int width);
void ff_add_png_paeth_prediction(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp);
#endif /* AVCODEC_PNG_H */ #endif /* AVCODEC_PNG_H */
...@@ -41,6 +41,7 @@ int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, uint_fast32_t num); ...@@ -41,6 +41,7 @@ int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, uint_fast32_t num);
void ff_vorbis_floor1_render_list(vorbis_floor1_entry * list, int values, void ff_vorbis_floor1_render_list(vorbis_floor1_entry * list, int values,
uint_fast16_t * y_list, int * flag, uint_fast16_t * y_list, int * flag,
int multiplier, float * out, int samples); int multiplier, float * out, int samples);
void vorbis_inverse_coupling(float *mag, float *ang, int blocksize);
#define ilog(i) av_log2(2*(i)) #define ilog(i) av_log2(2*(i))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment