armVCM4P10_DequantTables.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 *
20 * File Name:  armVCM4P10_DequantTables.c
21 * OpenMAX DL: v1.0.2
22 * Revision:   9641
23 * Date:       Thursday, February 7, 2008
24 *
25 *
26 *
27 *
28 * H.264 inverse quantize tables
29 *
30 */
31
32#include "omxtypes.h"
33#include "armOMX.h"
34#include "omxVC.h"
35#include "armVC.h"
36
37
38const OMX_U8 armVCM4P10_PosToVCol4x4[16] =
39{
40    0, 2, 0, 2,
41    2, 1, 2, 1,
42    0, 2, 0, 2,
43    2, 1, 2, 1
44};
45
46const OMX_U8 armVCM4P10_PosToVCol2x2[4] =
47{
48    0, 2,
49    2, 1
50};
51
52const OMX_U8 armVCM4P10_VMatrix[6][3] =
53{
54    { 10, 16, 13 },
55    { 11, 18, 14 },
56    { 13, 20, 16 },
57    { 14, 23, 18 },
58    { 16, 25, 20 },
59    { 18, 29, 23 }
60};
61