comparison avcodec.h @ 2308:de38526a1f3f libavcodec

user selectble cutoff frequency
author michael
date Thu, 21 Oct 2004 21:07:40 +0000
parents 072fc321fbe6
children 550ae8914fd3
comparison
equal deleted inserted replaced
2307:df3e4a8e6aac 2308:de38526a1f3f
15 #include "rational.h" 15 #include "rational.h"
16 #include <sys/types.h> /* size_t */ 16 #include <sys/types.h> /* size_t */
17 17
18 #define FFMPEG_VERSION_INT 0x000409 18 #define FFMPEG_VERSION_INT 0x000409
19 #define FFMPEG_VERSION "0.4.9-pre1" 19 #define FFMPEG_VERSION "0.4.9-pre1"
20 #define LIBAVCODEC_BUILD 4726 20 #define LIBAVCODEC_BUILD 4727
21 21
22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT 22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
23 #define LIBAVCODEC_VERSION FFMPEG_VERSION 23 #define LIBAVCODEC_VERSION FFMPEG_VERSION
24 24
25 #define AV_STRINGIFY(s) AV_TOSTRING(s) 25 #define AV_STRINGIFY(s) AV_TOSTRING(s)
1940 ReSampleContext *audio_resample_init(int output_channels, int input_channels, 1940 ReSampleContext *audio_resample_init(int output_channels, int input_channels,
1941 int output_rate, int input_rate); 1941 int output_rate, int input_rate);
1942 int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples); 1942 int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples);
1943 void audio_resample_close(ReSampleContext *s); 1943 void audio_resample_close(ReSampleContext *s);
1944 1944
1945 struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear); 1945 struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff);
1946 int av_resample(struct AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx); 1946 int av_resample(struct AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx);
1947 void av_resample_compensate(struct AVResampleContext *c, int sample_delta, int compensation_distance); 1947 void av_resample_compensate(struct AVResampleContext *c, int sample_delta, int compensation_distance);
1948 void av_resample_close(struct AVResampleContext *c); 1948 void av_resample_close(struct AVResampleContext *c);
1949 1949
1950 /* YUV420 format is assumed ! */ 1950 /* YUV420 format is assumed ! */