x86enc.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 15675 2009-02-06 09:43:27Z tterribe $
  14. ********************************************************************/
  15. #if !defined(_x86_vc_x86enc_H)
  16. # define _x86_vc_x86enc_H (1)
  17. # include "../encint.h"
  18. # include "x86int.h"
  19. void oc_enc_vtable_init_x86(oc_enc_ctx *_enc);
  20. unsigned oc_enc_frag_sad_mmxext(const unsigned char *_src,
  21. const unsigned char *_ref,int _ystride);
  22. unsigned oc_enc_frag_sad_thresh_mmxext(const unsigned char *_src,
  23. const unsigned char *_ref,int _ystride,unsigned _thresh);
  24. unsigned oc_enc_frag_sad2_thresh_mmxext(const unsigned char *_src,
  25. const unsigned char *_ref1,const unsigned char *_ref2,int _ystride,
  26. unsigned _thresh);
  27. unsigned oc_enc_frag_satd_thresh_mmxext(const unsigned char *_src,
  28. const unsigned char *_ref,int _ystride,unsigned _thresh);
  29. unsigned oc_enc_frag_satd2_thresh_mmxext(const unsigned char *_src,
  30. const unsigned char *_ref1,const unsigned char *_ref2,int _ystride,
  31. unsigned _thresh);
  32. unsigned oc_enc_frag_intra_satd_mmxext(const unsigned char *_src,int _ystride);
  33. void oc_enc_frag_sub_mmx(ogg_int16_t _diff[64],
  34. const unsigned char *_x,const unsigned char *_y,int _stride);
  35. void oc_enc_frag_sub_128_mmx(ogg_int16_t _diff[64],
  36. const unsigned char *_x,int _stride);
  37. void oc_enc_frag_copy2_mmxext(unsigned char *_dst,
  38. const unsigned char *_src1,const unsigned char *_src2,int _ystride);
  39. void oc_enc_fdct8x8_mmx(ogg_int16_t _y[64],const ogg_int16_t _x[64]);
  40. void oc_enc_fdct8x8_x86_64sse2(ogg_int16_t _y[64],const ogg_int16_t _x[64]);
  41. #endif