1 /********************************************************************
3 * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8 * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2007 *
9 * by the Xiph.Org Foundation http://www.xiph.org/ *
11 ********************************************************************
14 last mod: $Id: x86int.h 14375 2008-01-06 05:37:33Z tterribe $
16 ********************************************************************/
18 #if !defined(_x86_x86int_H)
19 # define _x86_x86int_H (1)
20 # include "../../internal.h"
22 void oc_state_vtable_init_x86(oc_theora_state
*_state
);
24 void oc_frag_recon_intra_mmx(unsigned char *_dst
,int _dst_ystride
,
25 const ogg_int16_t
*_residue
);
26 void oc_frag_recon_inter_mmx(unsigned char *_dst
,int _dst_ystride
,
27 const unsigned char *_src
,int _src_ystride
,const ogg_int16_t
*_residue
);
28 void oc_frag_recon_inter2_mmx(unsigned char *_dst
,int _dst_ystride
,
29 const unsigned char *_src1
,int _src1_ystride
,const unsigned char *_src2
,
30 int _src2_ystride
,const ogg_int16_t
*_residue
);
31 void oc_state_frag_copy_mmx(const oc_theora_state
*_state
,const int *_fragis
,
32 int _nfragis
,int _dst_frame
,int _src_frame
,int _pli
);
33 void oc_state_frag_recon_mmx(oc_theora_state
*_state
,oc_fragment
*_frag
,
34 int _pli
,ogg_int16_t _dct_coeffs
[128],int _last_zzi
,int _ncoefs
,
35 ogg_uint16_t _dc_iquant
,const ogg_uint16_t _ac_iquant
[64]);
36 void oc_restore_fpu_mmx(void);
37 void oc_idct8x8_mmx(ogg_int16_t _y
[64]);
38 void oc_idct8x8_10_mmx(ogg_int16_t _y
[64]);
39 void oc_fill_idct_constants_mmx(void);
40 void oc_state_loop_filter_frag_rows_mmx(oc_theora_state
*_state
,int *_bv
,
41 int _refi
,int _pli
,int _fragy0
,int _fragy_end
);