diff options
Diffstat (limited to 'embdrv/sbc/encoder/srce/sbc_dct_coeffs.c')
-rw-r--r-- | embdrv/sbc/encoder/srce/sbc_dct_coeffs.c | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/embdrv/sbc/encoder/srce/sbc_dct_coeffs.c b/embdrv/sbc/encoder/srce/sbc_dct_coeffs.c index 03f632f..c450c27 100644 --- a/embdrv/sbc/encoder/srce/sbc_dct_coeffs.c +++ b/embdrv/sbc/encoder/srce/sbc_dct_coeffs.c @@ -1,21 +1,32 @@ /****************************************************************************** -** -** File Name: $RCSfile: sbc_dct_coeffs.c,v $ -** -** Description: This file contains the coefficient table used for DCT computation -** in analysis. -** -** Revision : $Id: sbc_dct_coeffs.c,v 1.5 2006/04/13 17:01:16 mjougit Exp $ -** -** Copyright (c) 1999-2002, Widcomm Inc., All Rights Reserved. -** Widcomm Bluetooth Core. Proprietary and confidential. -** -******************************************************************************/ + * + * Copyright (C) 1999-2012 Broadcom Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + ******************************************************************************/ + +/****************************************************************************** + * + * This file contains the coefficient table used for DCT computation in + * analysis. + * + ******************************************************************************/ #include "sbc_encoder.h" /*DCT coeff for 4 sub-band case.*/ #if (SBC_FAST_DCT == FALSE) -const SINT16 gas16AnalDCTcoeff4[] = +const SINT16 gas16AnalDCTcoeff4[] = { (SINT16)(0.7071*32768), (SINT16)(0.9239*32768), @@ -55,7 +66,7 @@ const SINT16 gas16AnalDCTcoeff4[] = }; /*DCT coeff for 8 sub-band case.*/ -const SINT16 gas16AnalDCTcoeff8[] = +const SINT16 gas16AnalDCTcoeff8[] = { (SINT16)(0.7071*32768), (SINT16)(0.8315*32768), |