armVCM4P10_QuantTables_s.S 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    .eabi_attribute 24, 1
21    .eabi_attribute 25, 1
22
23    .arm
24    .fpu neon
25    .section .rodata
26    .align 4
27
28    .global armVCM4P10_MFMatrixQPModTable
29    .global armVCM4P10_QPDivIntraTable
30    .global armVCM4P10_QPDivPlusOneTable
31
32;//------------------------------------------------------------------
33;// This table contains (1 << QbitsPlusOne) / 3 Values (Intra case) ,
34;// for values of iQP from 0 to 51 (inclusive).
35;//------------------------------------------------------------------
36
37
38armVCM4P10_QPDivIntraTable:
39    .word 21845, 21845, 21845, 21845, 21845, 21845
40    .word 43690, 43690, 43690, 43690, 43690, 43690
41    .word 87381, 87381, 87381, 87381, 87381, 87381
42    .word 174762, 174762, 174762, 174762, 174762, 174762
43    .word 349525, 349525, 349525, 349525, 349525, 349525
44    .word 699050, 699050, 699050, 699050, 699050, 699050
45    .word 1398101, 1398101, 1398101, 1398101, 1398101, 1398101
46    .word 2796202, 2796202, 2796202, 2796202, 2796202, 2796202
47
48
49;//--------------------------------------------------------------
50;// This table contains armVCM4P10_MFMatrix [iQP % 6][0] entires,
51;// for values of iQP from 0 to 51 (inclusive).
52;//--------------------------------------------------------------
53
54armVCM4P10_MFMatrixQPModTable:
55    .hword 13107, 11916, 10082, 9362, 8192, 7282
56    .hword 13107, 11916, 10082, 9362, 8192, 7282
57    .hword 13107, 11916, 10082, 9362, 8192, 7282
58    .hword 13107, 11916, 10082, 9362, 8192, 7282
59    .hword 13107, 11916, 10082, 9362, 8192, 7282
60    .hword 13107, 11916, 10082, 9362, 8192, 7282
61    .hword 13107, 11916, 10082, 9362, 8192, 7282
62    .hword 13107, 11916, 10082, 9362, 8192, 7282
63    .hword 13107, 11916, 10082, 9362, 8192, 7282
64
65;//---------------------------------------------------------------
66;// This table contains ARM_M4P10_Q_OFFSET + 1 + (iQP / 6) values,
67;// for values of iQP from 0 to 51 (inclusive).
68;//---------------------------------------------------------------
69
70armVCM4P10_QPDivPlusOneTable:
71    .byte 16, 16, 16, 16, 16, 16
72    .byte 17, 17, 17, 17, 17, 17
73    .byte 18, 18, 18, 18, 18, 18
74    .byte 19, 19, 19, 19, 19, 19
75    .byte 20, 20, 20, 20, 20, 20
76    .byte 21, 21, 21, 21, 21, 21
77    .byte 22, 22, 22, 22, 22, 22
78    .byte 23, 23, 23, 23, 23, 23
79    .byte 24, 24, 24, 24, 24, 24
80
81    .end
82
83