1/* ------------------------------------------------------------------
2 * Copyright (C) 1998-2009 PacketVideo
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
13 * express or implied.
14 * See the License for the specific language governing permissions
15 * and limitations under the License.
16 * -------------------------------------------------------------------
17 */
18/*
19
20 Pathname: intensity_right.h
21
22------------------------------------------------------------------------------
23 REVISION HISTORY
24
25 Description: Change ms_used from Int to Bool
26
27 Who:                       Date:
28 Description:
29
30------------------------------------------------------------------------------
31 INCLUDE DESCRIPTION
32
33 Contains the function definitions for intensity_right
34------------------------------------------------------------------------------
35*/
36
37/*----------------------------------------------------------------------------
38; CONTINUE ONLY IF NOT ALREADY DEFINED
39----------------------------------------------------------------------------*/
40#ifndef INTENSITY_RIGHT_H
41#define INTENSITY_RIGHT_H
42
43/*----------------------------------------------------------------------------
44; INCLUDES
45----------------------------------------------------------------------------*/
46#include "pv_audio_type_defs.h"
47
48/*----------------------------------------------------------------------------
49; MACROS
50; Define module specific macros here
51----------------------------------------------------------------------------*/
52
53/*----------------------------------------------------------------------------
54; DEFINES
55; Include all pre-processor statements here.
56----------------------------------------------------------------------------*/
57
58/*----------------------------------------------------------------------------
59; EXTERNAL VARIABLES REFERENCES
60; Declare variables used in this module but defined elsewhere
61----------------------------------------------------------------------------*/
62
63/*----------------------------------------------------------------------------
64; SIMPLE TYPEDEF'S
65----------------------------------------------------------------------------*/
66
67/*----------------------------------------------------------------------------
68; ENUMERATED TYPEDEF'S
69----------------------------------------------------------------------------*/
70
71/*----------------------------------------------------------------------------
72; STRUCTURES TYPEDEF'S
73----------------------------------------------------------------------------*/
74
75/*----------------------------------------------------------------------------
76; GLOBAL FUNCTION DEFINITIONS
77; Function Prototype declaration
78----------------------------------------------------------------------------*/
79
80void intensity_right(
81    const Int   scalefactor,
82    const Int   coef_per_win,
83    const Int   sfb_per_win,
84    const Int   wins_in_group,
85    const Int   band_length,
86    const Int   codebook,
87    const Bool  ms_used,
88    const Int   q_formatLeft[],
89    Int   q_formatRight[],
90    const Int32 coefLeft[],
91    Int32 coefRight[]);
92
93/*----------------------------------------------------------------------------
94; END
95----------------------------------------------------------------------------*/
96#endif
97
98