[svn] / tags / release-0_9_2 / xvidcore / src / dct / x86_asm / fdct_mmx.asm Repository:
ViewVC logotype

Diff of /tags/release-0_9_2/xvidcore/src/dct/x86_asm/fdct_mmx.asm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 154, Thu May 2 22:35:41 2002 UTC revision 460, Tue Sep 10 20:37:54 2002 UTC
# Line 1  Line 1 
1  ;/******************************************************************************  ;/*****************************************************************************
2  ; *                                                                            *  ; *
3  ; *  This file is part of XviD, a free MPEG-4 video encoder/decoder            *  ; *  XVID MPEG-4 VIDEO CODEC
4  ; *                                                                            *  ; *  mmx version - fast discrete cosine transformation
5  ; *  This program is free software; you can redistribute it and/or modify it   *  ; *
6  ; *  under the terms of the GNU General Public License as published by         *  ; *  Initial version provided by Intel at AppNote AP-922
7  ; *  the Free Software Foundation; either version 2 of the License, or         *  ; *  Copyright (C) 1999 Intel Corporation,
8  ; *  (at your option) any later version.                                       *  ; *
9  ; *                                                                            *  ; *  completed and corrected
10  ; *  This program is distributed in the hope that it will be useful, but       *  ; *  Copyright (C) 2000 - Royce Shih-Wea Liao <liaor@iname.com>,
11  ; *  WITHOUT ANY WARRANTY; without even the implied warranty of                *  ; *
12  ; *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             *  ; *  ported to NASM and some minor changes
13  ; *  GNU General Public License for more details.                              *  ; *  Copyright (C) 2001 - Michael Militzer <isibaar@xvid.org>
14  ; *                                                                            *  ; *
15  ; *  You should have received a copy of the GNU General Public License         *  ; *  This program is an implementation of a part of one or more MPEG-4
16  ; *  along with this program; if not, write to the Free Software               *  ; *  Video tools as specified in ISO/IEC 14496-2 standard.  Those intending
17  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA  *  ; *  to use this software module in hardware or software products are
18  ; *                                                                            *  ; *  advised that its use may infringe existing patents or copyrights, and
19  ; ******************************************************************************/  ; *  any such use would be at such party's own risk.  The original
20  ;  ; *  developer of this software module and his/her company, and subsequent
21  ;/******************************************************************************  ; *  editors and their companies, will have no liability for use of this
22  ; *                                                                            *  ; *  software or modifications or derivatives thereof.
23  ; *  fdct_mmx.asm, MMX optimized forward DCT                                   *  ; *
24  ; *                                                                            *  ; *  This program is free software; you can redistribute it and/or modify
25  ; *  Initial, but incomplete version provided by Intel at AppNote AP-922       *  ; *  it under the terms of the GNU General Public License as published by
26  ; *  http://developer.intel.com/vtune/cbts/strmsimd/922down.htm                *  ; *  the Free Software Foundation; either version 2 of the License, or
27  ; *  Copyright (C) 1999 Intel Corporation,                                     *  ; *  (at your option) any later version.
28  ; *                                                                            *  ; *
29  ; *  completed and corrected in fdctmm32.c/fdctmm32.doc,                       *  ; *  This program is distributed in the hope that it will be useful,
30  ; *  http://members.tripod.com/~liaor                                          *  ; *  but WITHOUT ANY WARRANTY; without even the implied warranty of
31  ; *  Copyright (C) 2000 - Royce Shih-Wea Liao <liaor@iname.com>,               *  ; *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32  ; *                                                                            *  ; *  GNU General Public License for more details.
33  ; *  ported to NASM and some minor changes                                     *  ; *
34  ; *  Copyright (C) 2001 - Michael Militzer <isibaar@xvid.org>                  *  ; *  You should have received a copy of the GNU General Public License
35  ; *                                                                            *  ; *  along with this program; if not, write to the Free Software
36  ; *  For more information visit the XviD homepage: http://www.xvid.org         *  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
37  ; *                                                                            *  ; *
38  ; ******************************************************************************/  ; *************************************************************************/
 ;  
 ;/******************************************************************************  
 ; *                                                                            *  
 ; *  Revision history:                                                         *  
 ; *                                                                            *  
 ; *  04.11.2001 loop unrolled (Isibaar)                                                                            *  
 ; *  02.11.2001 initial version  (Isibaar)                                     *  
 ; *                                                                            *  
 ; ******************************************************************************/  
   
39    
40  BITS 32  BITS 32
41    
# Line 129  Line 119 
119    
120  ALIGN 16  ALIGN 16
121    
122    BITS_FRW_ACC equ 3                                                      ; 2 or 3 for accuracy
123    SHIFT_FRW_COL equ BITS_FRW_ACC
124    SHIFT_FRW_ROW equ (BITS_FRW_ACC + 17)
125  RND_FRW_ROW equ (1 << (SHIFT_FRW_ROW-1))  RND_FRW_ROW equ (1 << (SHIFT_FRW_ROW-1))
126    
127    SHIFT_FRW_ROW_CLIP2     equ (4)
128  SHIFT_FRW_ROW_CLIP1     equ (SHIFT_FRW_ROW - SHIFT_FRW_ROW_CLIP2)  SHIFT_FRW_ROW_CLIP1     equ (SHIFT_FRW_ROW - SHIFT_FRW_ROW_CLIP2)
129    
130  PASS1_BITS              equ     (2)  PASS1_BITS              equ     (2)

Legend:
Removed from v.154  
changed lines
  Added in v.460

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4