armVCM4P2_DCT_Table.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_DCT_Table.c 20 * OpenMAX DL: v1.0.2 21 * Revision: 9641 22 * Date: Thursday, February 7, 2008 23 * 24 * 25 * 26 * 27 * File: armVCM4P2_DCT_Table.c 28 * Description: Contains the DCT/IDCT coefficent matrix 29 * 30 */ 31 32#ifndef _OMXDCTCOSTAB_C_ 33#define _OMXDCTCOSTAB_C_ 34 35#include "omxtypes.h" 36#include "armOMX.h" 37 38const OMX_F64 armVCM4P2_preCalcDCTCos[8][8] = 39{ 40 { 41 0.353553390593273730, 42 0.490392640201615220, 43 0.461939766255643370, 44 0.415734806151272620, 45 0.353553390593273790, 46 0.277785116509801140, 47 0.191341716182544920, 48 0.097545161008064152 49 }, 50 { 51 0.353553390593273730, 52 0.415734806151272620, 53 0.191341716182544920, 54 -0.097545161008064096, 55 -0.353553390593273730, 56 -0.490392640201615220, 57 -0.461939766255643420, 58 -0.277785116509801090 59 }, 60 { 61 0.353553390593273730, 62 0.277785116509801140, 63 -0.191341716182544860, 64 -0.490392640201615220, 65 -0.353553390593273840, 66 0.097545161008064138, 67 0.461939766255643260, 68 0.415734806151272730 69 }, 70 { 71 0.353553390593273730, 72 0.097545161008064152, 73 -0.461939766255643370, 74 -0.277785116509801090, 75 0.353553390593273680, 76 0.415734806151272730, 77 -0.191341716182544920, 78 -0.490392640201615330 79 }, 80 { 81 0.353553390593273730, 82 -0.097545161008064096, 83 -0.461939766255643420, 84 0.277785116509800920, 85 0.353553390593273840, 86 -0.415734806151272620, 87 -0.191341716182545280, 88 0.490392640201615220 89 }, 90 { 91 0.353553390593273730, 92 -0.277785116509800980, 93 -0.191341716182545170, 94 0.490392640201615220, 95 -0.353553390593273340, 96 -0.097545161008064013, 97 0.461939766255643370, 98 -0.415734806151272510 99 }, 100 { 101 0.353553390593273730, 102 -0.415734806151272670, 103 0.191341716182545000, 104 0.097545161008064388, 105 -0.353553390593273620, 106 0.490392640201615330, 107 -0.461939766255643200, 108 0.277785116509800760 109 }, 110 { 111 0.353553390593273730, 112 -0.490392640201615220, 113 0.461939766255643260, 114 -0.415734806151272620, 115 0.353553390593273290, 116 -0.277785116509800760, 117 0.191341716182544780, 118 -0.097545161008064277 119 } 120}; 121 122#endif /*_OMXDCTCOSTAB_C_*/ 123 124 125/* End of file */ 126 127 128