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: grp_data.h 18 19 Content: Short block grouping function 20 21*******************************************************************************/ 22 23#ifndef __GRP_DATA_H__ 24#define __GRP_DATA_H__ 25#include "psy_data.h" 26#include "typedefs.h" 27 28void 29groupShortData(Word32 *mdctSpectrum, 30 Word32 *tmpSpectrum, 31 SFB_THRESHOLD *sfbThreshold, 32 SFB_ENERGY *sfbEnergy, 33 SFB_ENERGY *sfbEnergyMS, 34 SFB_ENERGY *sfbSpreadedEnergy, 35 const Word16 sfbCnt, 36 const Word16 *sfbOffset, 37 const Word16 *sfbMinSnr, 38 Word16 *groupedSfbOffset, 39 Word16 *maxSfbPerGroup, 40 Word16 *groupedSfbMinSnr, 41 const Word16 noOfGroups, 42 const Word16 *groupLen); 43 44#endif /* _INTERFACE_H */ 45