summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_DequantTables_s.s
blob: 27616004f5f245e17e5a56addaed17108d303fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
;//
;// 
;// File Name:  armVCM4P10_DequantTables_s.s
;// OpenMAX DL: v1.0.2
;// Revision:   12290
;// Date:       Wednesday, April 9, 2008
;// 
;// (c) Copyright 2007-2008 ARM Limited. All Rights Reserved.
;// 
;// 
;//

        

         INCLUDE omxtypes_s.h
         INCLUDE armCOMM_s.h
     
         EXPORT armVCM4P10_QPDivTable
         EXPORT armVCM4P10_VMatrixQPModTable
         EXPORT armVCM4P10_PosToVCol4x4
         EXPORT armVCM4P10_PosToVCol2x2
         EXPORT armVCM4P10_VMatrix 
         EXPORT armVCM4P10_QPModuloTable
         EXPORT armVCM4P10_VMatrixU16
         
;// Define the processor variants supported by this file
         
         M_VARIANTS CortexA8
           
         
;// Guarding implementation by the processor name

    
    IF CortexA8
           
 
         M_TABLE armVCM4P10_PosToVCol4x4
         DCB  0, 2, 0, 2
         DCB  2, 1, 2, 1
         DCB  0, 2, 0, 2
         DCB  2, 1, 2, 1


         M_TABLE armVCM4P10_PosToVCol2x2
         DCB  0, 2
         DCB  2, 1


         M_TABLE armVCM4P10_VMatrix
         DCB  10, 16, 13
         DCB  11, 18, 14
         DCB  13, 20, 16
         DCB  14, 23, 18
         DCB  16, 25, 20
         DCB  18, 29, 23

;//-------------------------------------------------------
;// This table evaluates the expression [(INT)(QP/6)],
;// for values of QP from 0 to 51 (inclusive). 
;//-------------------------------------------------------

         M_TABLE armVCM4P10_QPDivTable
         DCB  0,  0,  0,  0,  0,  0
         DCB  1,  1,  1,  1,  1,  1
         DCB  2,  2,  2,  2,  2,  2
         DCB  3,  3,  3,  3,  3,  3
         DCB  4,  4,  4,  4,  4,  4
         DCB  5,  5,  5,  5,  5,  5
         DCB  6,  6,  6,  6,  6,  6
         DCB  7,  7,  7,  7,  7,  7
         DCB  8,  8,  8,  8,  8,  8
    
;//----------------------------------------------------
;// This table contains armVCM4P10_VMatrix[QP%6][0] entires,
;// for values of QP from 0 to 51 (inclusive). 
;//----------------------------------------------------

         M_TABLE armVCM4P10_VMatrixQPModTable
         DCB 10, 11, 13, 14, 16, 18
         DCB 10, 11, 13, 14, 16, 18
         DCB 10, 11, 13, 14, 16, 18
         DCB 10, 11, 13, 14, 16, 18
         DCB 10, 11, 13, 14, 16, 18
         DCB 10, 11, 13, 14, 16, 18
         DCB 10, 11, 13, 14, 16, 18
         DCB 10, 11, 13, 14, 16, 18
         DCB 10, 11, 13, 14, 16, 18
    
;//-------------------------------------------------------
;// This table evaluates the modulus expression [QP%6]*6,
;// for values of QP from 0 to 51 (inclusive). 
;//-------------------------------------------------------

         M_TABLE armVCM4P10_QPModuloTable
         DCB 0, 6, 12, 18, 24, 30
         DCB 0, 6, 12, 18, 24, 30
         DCB 0, 6, 12, 18, 24, 30
         DCB 0, 6, 12, 18, 24, 30
         DCB 0, 6, 12, 18, 24, 30
         DCB 0, 6, 12, 18, 24, 30
         DCB 0, 6, 12, 18, 24, 30
         DCB 0, 6, 12, 18, 24, 30
         DCB 0, 6, 12, 18, 24, 30
        
;//-------------------------------------------------------
;// This table contains the invidual byte values stored as
;// halfwords. This avoids unpacking inside the function
;//-------------------------------------------------------
        
         M_TABLE armVCM4P10_VMatrixU16
         DCW 10, 16, 13 
         DCW 11, 18, 14
         DCW 13, 20, 16
         DCW 14, 23, 18
         DCW 16, 25, 20
         DCW 18, 29, 23 
         
    ENDIF                                                           ;//ARM1136JS            


                           
    
         END