1 |
|
# * - Forward Discrete Cosine Transformation - PPC port |
2 |
|
# * |
3 |
|
# * Copyright (C) 2002 Guillaume Morin <guillaume@morinfr.org>, Alcôve |
4 |
|
# * |
5 |
|
# * This file is part of XviD, a free MPEG-4 video encoder/decoder |
6 |
|
# * |
7 |
|
# * XviD is free software; you can redistribute it and/or modify it |
8 |
|
# * under the terms of the GNU General Public License as published by |
9 |
|
# * the Free Software Foundation; either version 2 of the License, or |
10 |
|
# * (at your option) any later version. |
11 |
|
# * |
12 |
|
# * This program is distributed in the hope that it will be useful, |
13 |
|
# * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
|
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
|
# * GNU General Public License for more details. |
16 |
|
# * |
17 |
|
# * You should have received a copy of the GNU General Public License |
18 |
|
# * along with this program; if not, write to the Free Software |
19 |
|
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 |
|
# * |
21 |
|
# * Under section 8 of the GNU General Public License, the copyright |
22 |
|
# * holders of XVID explicitly forbid distribution in the following |
23 |
|
# * countries: |
24 |
|
# * |
25 |
|
# * - Japan |
26 |
|
# * - United States of America |
27 |
|
# * |
28 |
|
# * Linking XviD statically or dynamically with other modules is making a |
29 |
|
# * combined work based on XviD. Thus, the terms and conditions of the |
30 |
|
# * GNU General Public License cover the whole combination. |
31 |
|
# * |
32 |
|
# * As a special exception, the copyright holders of XviD give you |
33 |
|
# * permission to link XviD with independent modules that communicate with |
34 |
|
# * XviD solely through the VFW1.1 and DShow interfaces, regardless of the |
35 |
|
# * license terms of these independent modules, and to copy and distribute |
36 |
|
# * the resulting combined work under terms of your choice, provided that |
37 |
|
# * every copy of the combined work is accompanied by a complete copy of |
38 |
|
# * the source code of XviD (the version of XviD used to produce the |
39 |
|
# * combined work), being distributed under the terms of the GNU General |
40 |
|
# * Public License plus this exception. An independent module is a module |
41 |
|
# * which is not derived from or based on XviD. |
42 |
|
# * |
43 |
|
# * Note that people who make modified versions of XviD are not obligated |
44 |
|
# * to grant this special exception for their modified versions; it is |
45 |
|
# * their choice whether to do so. The GNU General Public License gives |
46 |
|
# * permission to release a modified version without this exception; this |
47 |
|
# * exception also makes it possible to release a modified version which |
48 |
|
# * carries forward this exception. |
49 |
|
# * |
50 |
|
# * $Id$# |
51 |
|
|
52 |
.file "dct_vec_tmpl.c" |
.file "dct_vec_tmpl.c" |
53 |
gcc2_compiled.: |
gcc2_compiled.: |
54 |
.globl PostScale |
.globl PostScale |
156 |
stvx 31,1,0 |
stvx 31,1,0 |
157 |
lvx 0,0,3 |
lvx 0,0,3 |
158 |
addi 23,1,16 |
addi 23,1,16 |
159 |
vspltisw 3,0 |
vxor %v3,%v3,%v3 |
160 |
addi 18,3,16 |
addi 18,3,16 |
161 |
stvx 0,0,23 |
stvx 0,0,23 |
162 |
lvx 1,0,18 |
lvx 1,0,18 |