annotate synth_filter.h @ 11225:5811a86f55f1 libavcodec

Use memset to set the runs partially coded superblocks Much faster for long runs (e.g. nearly uncoded frames), slightly faster for the general case.
author conrad
date Sun, 21 Feb 2010 00:10:47 +0000
parents 473d52076994
children 811467079ec9
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
10467
212a837ebd27 Split synth filter out of dca.c.
michael
parents:
diff changeset
24 #include "dsputil.h"
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 */