1 /* 2 ** Copyright 2003-2010, VisualOn, Inc. 3 ** 4 ** Licensed under the Apache License, Version 2.0 (the "License"); 5 ** you may not use this file except in compliance with the License. 6 ** You may obtain a copy of the License at 7 ** 8 ** http://www.apache.org/licenses/LICENSE-2.0 9 ** 10 ** Unless required by applicable law or agreed to in writing, software 11 ** distributed under the License is distributed on an "AS IS" BASIS, 12 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 ** See the License for the specific language governing permissions and 14 ** limitations under the License. 15 */ 16 /******************************************************************************* 17 File: ms_stereo.h 18 19 Content: Declaration MS stereo processing structure and functions 20 21 *******************************************************************************/ 22 23 #ifndef __MS_STEREO_H__ 24 #define __MS_STEREO_H__ 25 #include "typedef.h" 26 27 void MsStereoProcessing(Word32 *sfbEnergyLeft, 28 Word32 *sfbEnergyRight, 29 const Word32 *sfbEnergyMid, 30 const Word32 *sfbEnergySide, 31 Word32 *mdctSpectrumLeft, 32 Word32 *mdctSpectrumRight, 33 Word32 *sfbThresholdLeft, 34 Word32 *sfbThresholdRight, 35 Word32 *sfbSpreadedEnLeft, 36 Word32 *sfbSpreadedEnRight, 37 Word16 *msDigest, 38 Word16 *msMask, 39 const Word16 sfbCnt, 40 const Word16 sfbPerGroup, 41 const Word16 maxSfbPerGroup, 42 const Word16 *sfbOffset); 43 44 45 #endif 46