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#ifndef zigzag_H
20#define zigzag_H
21
22/*----------------------------------------------------------------------------
23; INCLUDES
24----------------------------------------------------------------------------*/
25
26/*----------------------------------------------------------------------------
27; MACROS
28; Define module specific macros here
29----------------------------------------------------------------------------*/
30
31/*----------------------------------------------------------------------------
32; DEFINES
33; Include all pre-processor statements here.
34----------------------------------------------------------------------------*/
35
36/*----------------------------------------------------------------------------
37; EXTERNAL VARIABLES REFERENCES
38; Declare variables used in this module but defined elsewhere
39----------------------------------------------------------------------------*/
40#ifdef __cplusplus
41extern "C"
42{
43#endif
44
45    extern const int zigzag_inv[3*NCOEFF_BLOCK];
46    /*----------------------------------------------------------------------------
47    ; SIMPLE TYPEDEF'S
48    ----------------------------------------------------------------------------*/
49
50    /*----------------------------------------------------------------------------
51    ; ENUMERATED TYPEDEF'S
52    ----------------------------------------------------------------------------*/
53
54    /*----------------------------------------------------------------------------
55    ; STRUCTURES TYPEDEF'S
56    ----------------------------------------------------------------------------*/
57
58    /*----------------------------------------------------------------------------
59    ; GLOBAL FUNCTION DEFINITIONS
60    ; Function Prototype declaration
61    ----------------------------------------------------------------------------*/
62
63    /*----------------------------------------------------------------------------
64    ; END
65    ----------------------------------------------------------------------------*/
66#endif
67
68#ifdef __cplusplus
69}
70#endif
71
72
73