armVCM4P2_Zigzag_Tables.c revision 78e52bfac041d71ce53b5b13c2abf78af742b09d
1/*
2 * Copyright (C) 2007-2008 ARM Limited
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 /**
18 *
19 * File Name:  armVCM4P2_Zigzag_Tables.c
20 * OpenMAX DL: v1.0.2
21 * Revision:   9641
22 * Date:       Thursday, February 7, 2008
23 *
24 *
25 *
26 *
27 * File:        armVCM4P2_ZigZag_Tables.c
28 * Description: Contains the zigzag tables
29 *
30 */
31
32#include "omxtypes.h"
33
34const OMX_U8 armVCM4P2_aClassicalZigzagScan [64] =
35{
36     0,  1,  8, 16,  9,  2,  3, 10,
37    17, 24, 32, 25, 18, 11,  4,  5,
38    12, 19, 26, 33, 40, 48, 41, 34,
39    27, 20, 13,  6,  7, 14, 21, 28,
40    35, 42, 49, 56, 57, 50, 43, 36,
41    29, 22, 15, 23, 30, 37, 44, 51,
42    58, 59, 52, 45, 38, 31, 39, 46,
43    53, 60, 61, 54, 47, 55, 62, 63
44};
45
46const OMX_U8 armVCM4P2_aHorizontalZigzagScan [64] =
47{
48     0,  1,  2,  3,  8,  9, 16, 17,
49    10, 11,  4,  5,  6,  7, 15, 14,
50    13, 12, 19, 18, 24, 25, 32, 33,
51    26, 27, 20, 21, 22, 23, 28, 29,
52    30, 31, 34, 35, 40, 41, 48, 49,
53    42, 43, 36, 37, 38, 39, 44, 45,
54    46, 47, 50, 51, 56, 57, 58, 59,
55    52, 53, 54, 55, 60, 61, 62, 63
56};
57
58const OMX_U8 armVCM4P2_aVerticalZigzagScan [64] =
59{
60     0,  8, 16, 24,  1,  9,  2, 10,
61     17, 25, 32, 40, 48, 56, 57, 49,
62     41, 33, 26, 18,  3, 11,  4, 12,
63     19, 27, 34, 42, 50, 58, 35, 43,
64     51, 59, 20, 28,  5, 13,  6, 14,
65     21, 29, 36, 44, 52, 60, 37, 45,
66     53, 61, 22, 30,  7, 15, 23, 31,
67     38, 46, 54, 62, 39, 47, 55, 63
68};
69
70
71/* End of file */
72
73
74