Mercurial > libavcodec.hg
comparison avcodec.h @ 2082:3dc9bbe1b152 libavcodec
polyphase kaiser windowed sinc and blackman nuttall windowed sinc audio resample filters
| author | michael |
|---|---|
| date | Thu, 17 Jun 2004 15:43:23 +0000 |
| parents | 4bfb146e701b |
| children | 02a4fd7c606c |
comparison
equal
deleted
inserted
replaced
| 2081:d3015863f745 | 2082:3dc9bbe1b152 |
|---|---|
| 1844 extern AVCodec ac3_decoder; | 1844 extern AVCodec ac3_decoder; |
| 1845 | 1845 |
| 1846 /* resample.c */ | 1846 /* resample.c */ |
| 1847 | 1847 |
| 1848 struct ReSampleContext; | 1848 struct ReSampleContext; |
| 1849 struct AVResampleContext; | |
| 1849 | 1850 |
| 1850 typedef struct ReSampleContext ReSampleContext; | 1851 typedef struct ReSampleContext ReSampleContext; |
| 1851 | 1852 |
| 1852 ReSampleContext *audio_resample_init(int output_channels, int input_channels, | 1853 ReSampleContext *audio_resample_init(int output_channels, int input_channels, |
| 1853 int output_rate, int input_rate); | 1854 int output_rate, int input_rate); |
| 1854 int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples); | 1855 int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples); |
| 1855 void audio_resample_close(ReSampleContext *s); | 1856 void audio_resample_close(ReSampleContext *s); |
| 1857 | |
| 1858 struct AVResampleContext *av_resample_init(int out_rate, int in_rate); | |
| 1859 int av_resample(struct AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx); | |
| 1856 | 1860 |
| 1857 /* YUV420 format is assumed ! */ | 1861 /* YUV420 format is assumed ! */ |
| 1858 | 1862 |
| 1859 struct ImgReSampleContext; | 1863 struct ImgReSampleContext; |
| 1860 | 1864 |
