x86int.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /********************************************************************
  2. * *
  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. *
  7. * *
  8. * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 *
  9. * by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function:
  13. last mod: $Id: x86int.h 16503 2009-08-22 18:14:02Z giles $
  14. ********************************************************************/
  15. #if !defined(_x86_vc_x86int_H)
  16. # define _x86_vc_x86int_H (1)
  17. # include "../internal.h"
  18. void oc_state_vtable_init_x86(oc_theora_state *_state);
  19. void oc_frag_copy_mmx(unsigned char *_dst,
  20. const unsigned char *_src,int _ystride);
  21. void oc_frag_recon_intra_mmx(unsigned char *_dst,int _ystride,
  22. const ogg_int16_t *_residue);
  23. void oc_frag_recon_inter_mmx(unsigned char *_dst,
  24. const unsigned char *_src,int _ystride,const ogg_int16_t *_residue);
  25. void oc_frag_recon_inter2_mmx(unsigned char *_dst,const unsigned char *_src1,
  26. const unsigned char *_src2,int _ystride,const ogg_int16_t *_residue);
  27. void oc_idct8x8_mmx(ogg_int16_t _y[64],int _last_zzi);
  28. void oc_state_frag_recon_mmx(const oc_theora_state *_state,ptrdiff_t _fragi,
  29. int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,ogg_uint16_t _dc_quant);
  30. void oc_state_frag_copy_list_mmx(const oc_theora_state *_state,
  31. const ptrdiff_t *_fragis,ptrdiff_t _nfragis,
  32. int _dst_frame,int _src_frame,int _pli);
  33. void oc_state_loop_filter_frag_rows_mmx(const oc_theora_state *_state,
  34. int _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end);
  35. void oc_restore_fpu_mmx(void);
  36. #endif