armVCM4P10_QuantTables_s.S revision 0c1bc742181ded4930842b46e9507372f0b1b963
1/*
2 * (c) Copyright 2007-2008 ARM Limited. All Rights Reserved.
3 *
4 */
5
6    .eabi_attribute 24, 1
7    .eabi_attribute 25, 1
8
9    .arm
10    .fpu neon
11    .section .rodata
12    .align 4
13
14    .global armVCM4P10_MFMatrixQPModTable
15    .global armVCM4P10_QPDivIntraTable
16    .global armVCM4P10_QPDivPlusOneTable
17
18;//------------------------------------------------------------------
19;// This table contains (1 << QbitsPlusOne) / 3 Values (Intra case) ,
20;// for values of iQP from 0 to 51 (inclusive).
21;//------------------------------------------------------------------
22
23
24armVCM4P10_QPDivIntraTable:
25    .word 21845, 21845, 21845, 21845, 21845, 21845
26    .word 43690, 43690, 43690, 43690, 43690, 43690
27    .word 87381, 87381, 87381, 87381, 87381, 87381
28    .word 174762, 174762, 174762, 174762, 174762, 174762
29    .word 349525, 349525, 349525, 349525, 349525, 349525
30    .word 699050, 699050, 699050, 699050, 699050, 699050
31    .word 1398101, 1398101, 1398101, 1398101, 1398101, 1398101
32    .word 2796202, 2796202, 2796202, 2796202, 2796202, 2796202
33
34
35;//--------------------------------------------------------------
36;// This table contains armVCM4P10_MFMatrix [iQP % 6][0] entires,
37;// for values of iQP from 0 to 51 (inclusive).
38;//--------------------------------------------------------------
39
40armVCM4P10_MFMatrixQPModTable:
41    .hword 13107, 11916, 10082, 9362, 8192, 7282
42    .hword 13107, 11916, 10082, 9362, 8192, 7282
43    .hword 13107, 11916, 10082, 9362, 8192, 7282
44    .hword 13107, 11916, 10082, 9362, 8192, 7282
45    .hword 13107, 11916, 10082, 9362, 8192, 7282
46    .hword 13107, 11916, 10082, 9362, 8192, 7282
47    .hword 13107, 11916, 10082, 9362, 8192, 7282
48    .hword 13107, 11916, 10082, 9362, 8192, 7282
49    .hword 13107, 11916, 10082, 9362, 8192, 7282
50
51;//---------------------------------------------------------------
52;// This table contains ARM_M4P10_Q_OFFSET + 1 + (iQP / 6) values,
53;// for values of iQP from 0 to 51 (inclusive).
54;//---------------------------------------------------------------
55
56armVCM4P10_QPDivPlusOneTable:
57    .byte 16, 16, 16, 16, 16, 16
58    .byte 17, 17, 17, 17, 17, 17
59    .byte 18, 18, 18, 18, 18, 18
60    .byte 19, 19, 19, 19, 19, 19
61    .byte 20, 20, 20, 20, 20, 20
62    .byte 21, 21, 21, 21, 21, 21
63    .byte 22, 22, 22, 22, 22, 22
64    .byte 23, 23, 23, 23, 23, 23
65    .byte 24, 24, 24, 24, 24, 24
66
67    .end
68
69