1cabdff1aSopenharmony_ci/*
2cabdff1aSopenharmony_ci * Copyright (c) 2012
3cabdff1aSopenharmony_ci *      MIPS Technologies, Inc., California.
4cabdff1aSopenharmony_ci *
5cabdff1aSopenharmony_ci * Redistribution and use in source and binary forms, with or without
6cabdff1aSopenharmony_ci * modification, are permitted provided that the following conditions
7cabdff1aSopenharmony_ci * are met:
8cabdff1aSopenharmony_ci * 1. Redistributions of source code must retain the above copyright
9cabdff1aSopenharmony_ci *    notice, this list of conditions and the following disclaimer.
10cabdff1aSopenharmony_ci * 2. Redistributions in binary form must reproduce the above copyright
11cabdff1aSopenharmony_ci *    notice, this list of conditions and the following disclaimer in the
12cabdff1aSopenharmony_ci *    documentation and/or other materials provided with the distribution.
13cabdff1aSopenharmony_ci * 3. Neither the name of the MIPS Technologies, Inc., nor the names of its
14cabdff1aSopenharmony_ci *    contributors may be used to endorse or promote products derived from
15cabdff1aSopenharmony_ci *    this software without specific prior written permission.
16cabdff1aSopenharmony_ci *
17cabdff1aSopenharmony_ci * THIS SOFTWARE IS PROVIDED BY THE MIPS TECHNOLOGIES, INC. ``AS IS'' AND
18cabdff1aSopenharmony_ci * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19cabdff1aSopenharmony_ci * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20cabdff1aSopenharmony_ci * ARE DISCLAIMED.  IN NO EVENT SHALL THE MIPS TECHNOLOGIES, INC. BE LIABLE
21cabdff1aSopenharmony_ci * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22cabdff1aSopenharmony_ci * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23cabdff1aSopenharmony_ci * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24cabdff1aSopenharmony_ci * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25cabdff1aSopenharmony_ci * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26cabdff1aSopenharmony_ci * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27cabdff1aSopenharmony_ci * SUCH DAMAGE.
28cabdff1aSopenharmony_ci *
29cabdff1aSopenharmony_ci * Author:  Nedeljko Babic (nbabic@mips.com)
30cabdff1aSopenharmony_ci *
31cabdff1aSopenharmony_ci * This file is part of FFmpeg.
32cabdff1aSopenharmony_ci *
33cabdff1aSopenharmony_ci * FFmpeg is free software; you can redistribute it and/or
34cabdff1aSopenharmony_ci * modify it under the terms of the GNU Lesser General Public
35cabdff1aSopenharmony_ci * License as published by the Free Software Foundation; either
36cabdff1aSopenharmony_ci * version 2.1 of the License, or (at your option) any later version.
37cabdff1aSopenharmony_ci *
38cabdff1aSopenharmony_ci * FFmpeg is distributed in the hope that it will be useful,
39cabdff1aSopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of
40cabdff1aSopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
41cabdff1aSopenharmony_ci * Lesser General Public License for more details.
42cabdff1aSopenharmony_ci *
43cabdff1aSopenharmony_ci * You should have received a copy of the GNU Lesser General Public
44cabdff1aSopenharmony_ci * License along with FFmpeg; if not, write to the Free Software
45cabdff1aSopenharmony_ci * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
46cabdff1aSopenharmony_ci */
47cabdff1aSopenharmony_ci
48cabdff1aSopenharmony_ci/**
49cabdff1aSopenharmony_ci * @file
50cabdff1aSopenharmony_ci * Reference: libavcodec/amrwbdec.c
51cabdff1aSopenharmony_ci */
52cabdff1aSopenharmony_ci#ifndef AVCODEC_MIPS_AMRWBDEC_MIPS_H
53cabdff1aSopenharmony_ci#define AVCODEC_MIPS_AMRWBDEC_MIPS_H
54cabdff1aSopenharmony_ci#include "config.h"
55cabdff1aSopenharmony_ci
56cabdff1aSopenharmony_ci#if HAVE_MIPSFPU && HAVE_INLINE_ASM
57cabdff1aSopenharmony_ci#if !HAVE_MIPS32R6 && !HAVE_MIPS64R6
58cabdff1aSopenharmony_civoid ff_hb_fir_filter_mips(float *out, const float fir_coef[],
59cabdff1aSopenharmony_ci                          float mem[], const float *in);
60cabdff1aSopenharmony_ci#define hb_fir_filter ff_hb_fir_filter_mips
61cabdff1aSopenharmony_ci#endif
62cabdff1aSopenharmony_ci#endif
63cabdff1aSopenharmony_ci
64cabdff1aSopenharmony_ci#endif /* AVCODEC_MIPS_AMRWBDEC_MIPS_H  */
65