diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-01 06:51:57 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-01 06:51:57 +0000 |
commit | c6824f577ee5da01a7bb0b787d0253da925c2c0f (patch) | |
tree | 95810a72a11d26661a9f464bb8e35c4190b0a764 /libaf/af.c | |
parent | 3e8ab8664210815887ac2d77af708d1a237602aa (diff) | |
download | mpv-c6824f577ee5da01a7bb0b787d0253da925c2c0f.tar.bz2 mpv-c6824f577ee5da01a7bb0b787d0253da925c2c0f.tar.xz |
Remove unused functions in af.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24915 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/af.c')
-rw-r--r-- | libaf/af.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libaf/af.c b/libaf/af.c index e76af0821e..5b1b36cdbf 100644 --- a/libaf/af.c +++ b/libaf/af.c @@ -524,39 +524,6 @@ inline int af_lencalc(frac_t mul, af_data_t* d){ return t*(((d->len/t)*mul.n)/mul.d + 1); } -/* Calculate how long the output from the filters will be given the - input length "len". The calculated length is >= the actual - length. */ -int af_outputlen(af_stream_t* s, int len) -{ - int t = s->input.bps*s->input.nch; - af_instance_t* af=s->first; - frac_t mul = {1,1}; - // Iterate through all filters - do{ - af_frac_mul(&mul, &af->mul); - af=af->next; - }while(af); - return t * (((len/t)*mul.n + 1)/mul.d); -} - -/* Calculate how long the input to the filters should be to produce a - certain output length, i.e. the return value of this function is - the input length required to produce the output length "len". The - calculated length is <= the actual length */ -int af_inputlen(af_stream_t* s, int len) -{ - int t = s->input.bps*s->input.nch; - af_instance_t* af=s->first; - frac_t mul = {1,1}; - // Iterate through all filters - do{ - af_frac_mul(&mul, &af->mul); - af=af->next; - }while(af); - return t * (((len/t) * mul.d - 1)/mul.n); -} - /* Calculate how long the input IN to the filters should be to produce a certain output length OUT but with the following three constraints: 1. IN <= max_insize, where max_insize is the maximum possible input |