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;// File Name: armVCM4P10_DequantTables_s.s 19;// OpenMAX DL: v1.0.2 20;// Revision: 9641 21;// Date: Thursday, February 7, 2008 22;// 23;// 24;// 25;// 26 27 28 29 INCLUDE omxtypes_s.h 30 INCLUDE armCOMM_s.h 31 32 EXPORT armVCM4P10_QPDivTable 33 EXPORT armVCM4P10_VMatrixQPModTable 34 EXPORT armVCM4P10_PosToVCol4x4 35 EXPORT armVCM4P10_PosToVCol2x2 36 EXPORT armVCM4P10_VMatrix 37 EXPORT armVCM4P10_QPModuloTable 38 EXPORT armVCM4P10_VMatrixU16 39 40;// Define the processor variants supported by this file 41 42 M_VARIANTS ARM1136JS 43 44 45;// Guarding implementation by the processor name 46 47 48 IF ARM1136JS :LOR: CortexA8 49 50 51 M_TABLE armVCM4P10_PosToVCol4x4 52 DCB 0, 2, 0, 2 53 DCB 2, 1, 2, 1 54 DCB 0, 2, 0, 2 55 DCB 2, 1, 2, 1 56 57 58 M_TABLE armVCM4P10_PosToVCol2x2 59 DCB 0, 2 60 DCB 2, 1 61 62 63 M_TABLE armVCM4P10_VMatrix 64 DCB 10, 16, 13 65 DCB 11, 18, 14 66 DCB 13, 20, 16 67 DCB 14, 23, 18 68 DCB 16, 25, 20 69 DCB 18, 29, 23 70 71;//------------------------------------------------------- 72;// This table evaluates the expression [(INT)(QP/6)], 73;// for values of QP from 0 to 51 (inclusive). 74;//------------------------------------------------------- 75 76 M_TABLE armVCM4P10_QPDivTable 77 DCB 0, 0, 0, 0, 0, 0 78 DCB 1, 1, 1, 1, 1, 1 79 DCB 2, 2, 2, 2, 2, 2 80 DCB 3, 3, 3, 3, 3, 3 81 DCB 4, 4, 4, 4, 4, 4 82 DCB 5, 5, 5, 5, 5, 5 83 DCB 6, 6, 6, 6, 6, 6 84 DCB 7, 7, 7, 7, 7, 7 85 DCB 8, 8, 8, 8, 8, 8 86 87;//---------------------------------------------------- 88;// This table contains armVCM4P10_VMatrix[QP%6][0] entires, 89;// for values of QP from 0 to 51 (inclusive). 90;//---------------------------------------------------- 91 92 M_TABLE armVCM4P10_VMatrixQPModTable 93 DCB 10, 11, 13, 14, 16, 18 94 DCB 10, 11, 13, 14, 16, 18 95 DCB 10, 11, 13, 14, 16, 18 96 DCB 10, 11, 13, 14, 16, 18 97 DCB 10, 11, 13, 14, 16, 18 98 DCB 10, 11, 13, 14, 16, 18 99 DCB 10, 11, 13, 14, 16, 18 100 DCB 10, 11, 13, 14, 16, 18 101 DCB 10, 11, 13, 14, 16, 18 102 103;//------------------------------------------------------- 104;// This table evaluates the modulus expression [QP%6]*6, 105;// for values of QP from 0 to 51 (inclusive). 106;//------------------------------------------------------- 107 108 M_TABLE armVCM4P10_QPModuloTable 109 DCB 0, 6, 12, 18, 24, 30 110 DCB 0, 6, 12, 18, 24, 30 111 DCB 0, 6, 12, 18, 24, 30 112 DCB 0, 6, 12, 18, 24, 30 113 DCB 0, 6, 12, 18, 24, 30 114 DCB 0, 6, 12, 18, 24, 30 115 DCB 0, 6, 12, 18, 24, 30 116 DCB 0, 6, 12, 18, 24, 30 117 DCB 0, 6, 12, 18, 24, 30 118 119;//------------------------------------------------------- 120;// This table contains the invidual byte values stored as 121;// halfwords. This avoids unpacking inside the function 122;//------------------------------------------------------- 123 124 M_TABLE armVCM4P10_VMatrixU16 125 DCW 10, 16, 13 126 DCW 11, 18, 14 127 DCW 13, 20, 16 128 DCW 14, 23, 18 129 DCW 16, 25, 20 130 DCW 18, 29, 23 131 132 ENDIF ;//ARM1136JS 133 134 135 136 137 END 138