FFmpeg
sbcdsp_data.h
Go to the documentation of this file.
1 /*
2  * Bluetooth low-complexity, subband codec (SBC)
3  *
4  * Copyright (C) 2017 Aurelien Jacobs <aurel@gnuage.org>
5  * Copyright (C) 2008-2010 Nokia Corporation
6  * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
7  * Copyright (C) 2004-2005 Henryk Ploetz <henryk@ploetzli.ch>
8  * Copyright (C) 2005-2006 Brad Midgley <bmidgley@xmission.com>
9  *
10  * This file is part of FFmpeg.
11  *
12  * FFmpeg is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU Lesser General Public
14  * License as published by the Free Software Foundation; either
15  * version 2.1 of the License, or (at your option) any later version.
16  *
17  * FFmpeg is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  * Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public
23  * License along with FFmpeg; if not, write to the Free Software
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25  */
26 
27 /**
28  * @file
29  * miscellaneous SBC tables
30  */
31 
32 #ifndef AVCODEC_SBCDSP_DATA_H
33 #define AVCODEC_SBCDSP_DATA_H
34 
35 #include "sbc.h"
36 
37 #define SBC_PROTO_FIXED_SCALE 16
38 #define SBC_COS_TABLE_FIXED_SCALE 15
39 
40 /*
41  * Constant tables for the use in SIMD optimized analysis filters
42  * Each table consists of two parts:
43  * 1. reordered "proto" table
44  * 2. reordered "cos" table
45  *
46  * Due to non-symmetrical reordering, separate tables for "even"
47  * and "odd" cases are needed
48  */
49 
50 extern const int16_t ff_sbcdsp_analysis_consts_fixed4_simd_even[];
51 extern const int16_t ff_sbcdsp_analysis_consts_fixed4_simd_odd[];
52 extern const int16_t ff_sbcdsp_analysis_consts_fixed8_simd_even[];
53 extern const int16_t ff_sbcdsp_analysis_consts_fixed8_simd_odd[];
54 
55 #endif /* AVCODEC_SBCDSP_DATA_H */
ff_sbcdsp_analysis_consts_fixed4_simd_odd
const int16_t ff_sbcdsp_analysis_consts_fixed4_simd_odd[]
Definition: sbcdsp_data.c:94
sbc.h
ff_sbcdsp_analysis_consts_fixed4_simd_even
const int16_t ff_sbcdsp_analysis_consts_fixed4_simd_even[]
Definition: sbcdsp_data.c:49
ff_sbcdsp_analysis_consts_fixed8_simd_odd
const int16_t ff_sbcdsp_analysis_consts_fixed8_simd_odd[]
Definition: sbcdsp_data.c:236
ff_sbcdsp_analysis_consts_fixed8_simd_even
const int16_t ff_sbcdsp_analysis_consts_fixed8_simd_even[]
Definition: sbcdsp_data.c:139