annotate arm/dsputil_init_vfp.c @ 10841:8f370ebde166 libavcodec

Merge vertical_compose53iL0*() 8% faster C 5/3 wavelet at the decoder side.
author michael
date Mon, 11 Jan 2010 01:00:50 +0000
parents b72bb442a775
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7060
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
1 /*
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
2 * Copyright (c) 2008 Siarhei Siamashka <ssvb@users.sourceforge.net>
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
3 *
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
4 * This file is part of FFmpeg.
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
5 *
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
6 * FFmpeg is free software; you can redistribute it and/or
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
7 * modify it under the terms of the GNU Lesser General Public
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
8 * License as published by the Free Software Foundation; either
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
9 * version 2.1 of the License, or (at your option) any later version.
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
10 *
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
11 * FFmpeg is distributed in the hope that it will be useful,
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
14 * Lesser General Public License for more details.
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
15 *
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
16 * You should have received a copy of the GNU Lesser General Public
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
17 * License along with FFmpeg; if not, write to the Free Software
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
19 */
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
20
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
21 #include "libavcodec/dsputil.h"
10359
48be79afc72d ARM: clean up dsputil initialisation
mru
parents: 8590
diff changeset
22 #include "dsputil_arm.h"
7060
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
23
8250
cf4d575b1982 Delete unnecessary 'extern' keywords.
diego
parents: 8071
diff changeset
24 void ff_vector_fmul_vfp(float *dst, const float *src, int len);
cf4d575b1982 Delete unnecessary 'extern' keywords.
diego
parents: 8071
diff changeset
25 void ff_vector_fmul_reverse_vfp(float *dst, const float *src0,
cf4d575b1982 Delete unnecessary 'extern' keywords.
diego
parents: 8071
diff changeset
26 const float *src1, int len);
cf4d575b1982 Delete unnecessary 'extern' keywords.
diego
parents: 8071
diff changeset
27 void ff_float_to_int16_vfp(int16_t *dst, const float *src, long len);
7060
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
28
10360
b72bb442a775 ARM: clean up file/function naming conventions
mru
parents: 10359
diff changeset
29 void ff_dsputil_init_vfp(DSPContext* c, AVCodecContext *avctx)
7060
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
30 {
8071
2487a9db02a0 ARM: move VFP DSP functions to dsputils_vfp.S
mru
parents: 8031
diff changeset
31 c->vector_fmul = ff_vector_fmul_vfp;
2487a9db02a0 ARM: move VFP DSP functions to dsputils_vfp.S
mru
parents: 8031
diff changeset
32 c->vector_fmul_reverse = ff_vector_fmul_reverse_vfp;
8590
7a463923ecd1 Change semantic of CONFIG_*, HAVE_* and ARCH_*.
aurel
parents: 8359
diff changeset
33 #if HAVE_ARMV6
8071
2487a9db02a0 ARM: move VFP DSP functions to dsputils_vfp.S
mru
parents: 8031
diff changeset
34 c->float_to_int16 = ff_float_to_int16_vfp;
7060
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
35 #endif
9e5b6bf87f76 convert DOS-style carriage return to Unix-style
gpoirier
parents: 6786
diff changeset
36 }