[cvs] / xvidcore / src / bitstream / cbp.h Repository:
ViewVC logotype

Diff of /xvidcore/src/bitstream/cbp.h

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

revision 1.2, Thu Mar 21 23:59:48 2002 UTC revision 1.12, Wed Nov 26 01:04:34 2008 UTC
# Line 1  Line 1 
1    /*****************************************************************************
2     *
3     *  XVID MPEG-4 VIDEO CODEC
4     *  - CBP related header  -
5     *
6     *  Copyright(C) 2002-2003 Edouard Gomez <ed.gomez@free.fr>
7     *               2003      Christoph Lampert <gruel@web.de>
8     *
9     *  This program is free software ; you can redistribute it and/or modify
10     *  it under the terms of the GNU General Public License as published by
11     *  the Free Software Foundation ; either version 2 of the License, or
12     *  (at your option) any later version.
13     *
14     *  This program is distributed in the hope that it will be useful,
15     *  but WITHOUT ANY WARRANTY ; without even the implied warranty of
16     *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17     *  GNU General Public License for more details.
18     *
19     *  You should have received a copy of the GNU General Public License
20     *  along with this program ; if not, write to the Free Software
21     *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22     *
23     * $Id$
24     *
25     ****************************************************************************/
26    
27  #ifndef _ENCODER_CBP_H_  #ifndef _ENCODER_CBP_H_
28  #define _ENCODER_CBP_H_  #define _ENCODER_CBP_H_
29    
30  #include "../portab.h"  #include "../portab.h"
31    
32  typedef uint32_t (cbpFunc)(const int16_t codes[6][64]);  typedef uint32_t(cbpFunc) (const int16_t * codes);
33    
34  typedef cbpFunc* cbpFuncPtr;  typedef cbpFunc* cbpFuncPtr;
35    
36  extern cbpFuncPtr calc_cbp;  extern cbpFuncPtr calc_cbp;
37    
38  extern cbpFunc calc_cbp_c;  extern cbpFunc calc_cbp_c;
39    extern cbpFunc calc_cbp_plain;
40    
41    #if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64)
42  extern cbpFunc calc_cbp_mmx;  extern cbpFunc calc_cbp_mmx;
43  extern cbpFunc calc_cbp_ppc;  extern cbpFunc calc_cbp_sse2;
44    #endif
45    
46  #endif /* _ENCODER_CBP_H_ */  #endif /* _ENCODER_CBP_H_ */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.12

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