178e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;//
278e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;// Copyright (C) 2007-2008 ARM Limited
378e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;//
478e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;// Licensed under the Apache License, Version 2.0 (the "License");
578e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;// you may not use this file except in compliance with the License.
678e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;// You may obtain a copy of the License at
778e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;//
878e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;//      http://www.apache.org/licenses/LICENSE-2.0
978e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;//
1078e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;// Unless required by applicable law or agreed to in writing, software
1178e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;// distributed under the License is distributed on an "AS IS" BASIS,
1278e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1378e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;// See the License for the specific language governing permissions and
1478e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;// limitations under the License.
1578e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar;//
160c1bc742181ded4930842b46e9507372f0b1b963James Dong/*
170c1bc742181ded4930842b46e9507372f0b1b963James Dong *
180c1bc742181ded4930842b46e9507372f0b1b963James Dong */
190c1bc742181ded4930842b46e9507372f0b1b963James Dong
200c1bc742181ded4930842b46e9507372f0b1b963James Dong    .eabi_attribute 24, 1
210c1bc742181ded4930842b46e9507372f0b1b963James Dong    .eabi_attribute 25, 1
220c1bc742181ded4930842b46e9507372f0b1b963James Dong
230c1bc742181ded4930842b46e9507372f0b1b963James Dong    .arm
240c1bc742181ded4930842b46e9507372f0b1b963James Dong    .fpu neon
250c1bc742181ded4930842b46e9507372f0b1b963James Dong    .section .rodata
260c1bc742181ded4930842b46e9507372f0b1b963James Dong    .align 4
270c1bc742181ded4930842b46e9507372f0b1b963James Dong
280c1bc742181ded4930842b46e9507372f0b1b963James Dong    .global armVCM4P10_MFMatrixQPModTable
290c1bc742181ded4930842b46e9507372f0b1b963James Dong    .global armVCM4P10_QPDivIntraTable
300c1bc742181ded4930842b46e9507372f0b1b963James Dong    .global armVCM4P10_QPDivPlusOneTable
310c1bc742181ded4930842b46e9507372f0b1b963James Dong
320c1bc742181ded4930842b46e9507372f0b1b963James Dong;//------------------------------------------------------------------
330c1bc742181ded4930842b46e9507372f0b1b963James Dong;// This table contains (1 << QbitsPlusOne) / 3 Values (Intra case) ,
340c1bc742181ded4930842b46e9507372f0b1b963James Dong;// for values of iQP from 0 to 51 (inclusive).
350c1bc742181ded4930842b46e9507372f0b1b963James Dong;//------------------------------------------------------------------
360c1bc742181ded4930842b46e9507372f0b1b963James Dong
370c1bc742181ded4930842b46e9507372f0b1b963James Dong
380c1bc742181ded4930842b46e9507372f0b1b963James DongarmVCM4P10_QPDivIntraTable:
390c1bc742181ded4930842b46e9507372f0b1b963James Dong    .word 21845, 21845, 21845, 21845, 21845, 21845
400c1bc742181ded4930842b46e9507372f0b1b963James Dong    .word 43690, 43690, 43690, 43690, 43690, 43690
410c1bc742181ded4930842b46e9507372f0b1b963James Dong    .word 87381, 87381, 87381, 87381, 87381, 87381
420c1bc742181ded4930842b46e9507372f0b1b963James Dong    .word 174762, 174762, 174762, 174762, 174762, 174762
430c1bc742181ded4930842b46e9507372f0b1b963James Dong    .word 349525, 349525, 349525, 349525, 349525, 349525
440c1bc742181ded4930842b46e9507372f0b1b963James Dong    .word 699050, 699050, 699050, 699050, 699050, 699050
450c1bc742181ded4930842b46e9507372f0b1b963James Dong    .word 1398101, 1398101, 1398101, 1398101, 1398101, 1398101
460c1bc742181ded4930842b46e9507372f0b1b963James Dong    .word 2796202, 2796202, 2796202, 2796202, 2796202, 2796202
470c1bc742181ded4930842b46e9507372f0b1b963James Dong
480c1bc742181ded4930842b46e9507372f0b1b963James Dong
490c1bc742181ded4930842b46e9507372f0b1b963James Dong;//--------------------------------------------------------------
500c1bc742181ded4930842b46e9507372f0b1b963James Dong;// This table contains armVCM4P10_MFMatrix [iQP % 6][0] entires,
510c1bc742181ded4930842b46e9507372f0b1b963James Dong;// for values of iQP from 0 to 51 (inclusive).
520c1bc742181ded4930842b46e9507372f0b1b963James Dong;//--------------------------------------------------------------
530c1bc742181ded4930842b46e9507372f0b1b963James Dong
540c1bc742181ded4930842b46e9507372f0b1b963James DongarmVCM4P10_MFMatrixQPModTable:
550c1bc742181ded4930842b46e9507372f0b1b963James Dong    .hword 13107, 11916, 10082, 9362, 8192, 7282
560c1bc742181ded4930842b46e9507372f0b1b963James Dong    .hword 13107, 11916, 10082, 9362, 8192, 7282
570c1bc742181ded4930842b46e9507372f0b1b963James Dong    .hword 13107, 11916, 10082, 9362, 8192, 7282
580c1bc742181ded4930842b46e9507372f0b1b963James Dong    .hword 13107, 11916, 10082, 9362, 8192, 7282
590c1bc742181ded4930842b46e9507372f0b1b963James Dong    .hword 13107, 11916, 10082, 9362, 8192, 7282
600c1bc742181ded4930842b46e9507372f0b1b963James Dong    .hword 13107, 11916, 10082, 9362, 8192, 7282
610c1bc742181ded4930842b46e9507372f0b1b963James Dong    .hword 13107, 11916, 10082, 9362, 8192, 7282
620c1bc742181ded4930842b46e9507372f0b1b963James Dong    .hword 13107, 11916, 10082, 9362, 8192, 7282
630c1bc742181ded4930842b46e9507372f0b1b963James Dong    .hword 13107, 11916, 10082, 9362, 8192, 7282
640c1bc742181ded4930842b46e9507372f0b1b963James Dong
650c1bc742181ded4930842b46e9507372f0b1b963James Dong;//---------------------------------------------------------------
660c1bc742181ded4930842b46e9507372f0b1b963James Dong;// This table contains ARM_M4P10_Q_OFFSET + 1 + (iQP / 6) values,
670c1bc742181ded4930842b46e9507372f0b1b963James Dong;// for values of iQP from 0 to 51 (inclusive).
680c1bc742181ded4930842b46e9507372f0b1b963James Dong;//---------------------------------------------------------------
690c1bc742181ded4930842b46e9507372f0b1b963James Dong
700c1bc742181ded4930842b46e9507372f0b1b963James DongarmVCM4P10_QPDivPlusOneTable:
710c1bc742181ded4930842b46e9507372f0b1b963James Dong    .byte 16, 16, 16, 16, 16, 16
720c1bc742181ded4930842b46e9507372f0b1b963James Dong    .byte 17, 17, 17, 17, 17, 17
730c1bc742181ded4930842b46e9507372f0b1b963James Dong    .byte 18, 18, 18, 18, 18, 18
740c1bc742181ded4930842b46e9507372f0b1b963James Dong    .byte 19, 19, 19, 19, 19, 19
750c1bc742181ded4930842b46e9507372f0b1b963James Dong    .byte 20, 20, 20, 20, 20, 20
760c1bc742181ded4930842b46e9507372f0b1b963James Dong    .byte 21, 21, 21, 21, 21, 21
770c1bc742181ded4930842b46e9507372f0b1b963James Dong    .byte 22, 22, 22, 22, 22, 22
780c1bc742181ded4930842b46e9507372f0b1b963James Dong    .byte 23, 23, 23, 23, 23, 23
790c1bc742181ded4930842b46e9507372f0b1b963James Dong    .byte 24, 24, 24, 24, 24, 24
800c1bc742181ded4930842b46e9507372f0b1b963James Dong
810c1bc742181ded4930842b46e9507372f0b1b963James Dong    .end
820c1bc742181ded4930842b46e9507372f0b1b963James Dong
83