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