annotate synth_filter.h @ 11557:53822d92c3f7 libavcodec

Make sure the EC code does not attempt to use inter based concealment if there is no reference frame available. (this can happen because the EC code will attempt to use reference frames even for I/IDR frames)
author michael
date Tue, 30 Mar 2010 20:46:46 +0000
parents 811467079ec9
children 18f17f44de37
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10467
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
1 /*
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
2 * copyright (c) 2008 Michael Niedermayer <michaelni@gmx.at>
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
3 *
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
4 * This file is part of FFmpeg.
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
5 *
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
6 * FFmpeg is free software; you can redistribute it and/or
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
7 * modify it under the terms of the GNU Lesser General Public
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
8 * License as published by the Free Software Foundation; either
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
9 * version 2.1 of the License, or (at your option) any later version.
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
10 *
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
11 * FFmpeg is distributed in the hope that it will be useful,
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
14 * Lesser General Public License for more details.
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
15 *
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
16 * You should have received a copy of the GNU Lesser General Public
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
17 * License along with FFmpeg; if not, write to the Free Software
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
19 */
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
20
10481
473d52076994 Multiple inclusion guards for synth_filter.h.
michael
parents: 10479
diff changeset
21 #ifndef AVCODEC_SYNTH_FILTER_H
473d52076994 Multiple inclusion guards for synth_filter.h.
michael
parents: 10479
diff changeset
22 #define AVCODEC_SYNTH_FILTER_H
473d52076994 Multiple inclusion guards for synth_filter.h.
michael
parents: 10479
diff changeset
23
11412
811467079ec9 Add lots of missing includes
mru
parents: 10481
diff changeset
24 #include "fft.h"
10467
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
25
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
26 void ff_synth_filter_float(FFTContext *imdct,
10479
bc20a950f9a7 Vertically align function arguments.
michael
parents: 10467
diff changeset
27 float *synth_buf_ptr, int *synth_buf_offset,
bc20a950f9a7 Vertically align function arguments.
michael
parents: 10467
diff changeset
28 float synth_buf2[32], const float window[512],
bc20a950f9a7 Vertically align function arguments.
michael
parents: 10467
diff changeset
29 float out[32], const float in[32], float scale, float bias);
10467
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
30
10481
473d52076994 Multiple inclusion guards for synth_filter.h.
michael
parents: 10479
diff changeset
31 #endif /* AVCODEC_SYNTH_FILTER_H */