armCOMM_IDCTTable.h 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: armCOMM_IDCTTable.h 21 * OpenMAX DL: v1.0.2 22 * Revision: 12290 23 * Date: Wednesday, April 9, 2008 24 * 25 * 26 * 27 * 28 * File : armCOMM_IDCTTable.h 29 * Description : Contains declarations of tables for IDCT calculation. 30 * 31 */ 32 33#ifndef _armCOMM_IDCTTable_H_ 34#define _armCOMM_IDCTTable_H_ 35 36#include "omxtypes.h" 37 38 /* Table of s(u)*A(u)*A(v)/16 at Q15 39 * s(u)=1.0 0 <= u <= 5 40 * s(6)=2.0 41 * s(7)=4.0 42 * A(0) = 2*sqrt(2) 43 * A(u) = 4*cos(u*pi/16) for (u!=0) 44 */ 45extern const OMX_U16 armCOMM_IDCTPreScale [64]; 46extern const OMX_U16 armCOMM_IDCTCoef [4]; 47 48#endif /* _armCOMM_IDCTTable_H_ */ 49 50 51/* End of File */ 52 53 54 55 56