media/libtheora/lib/x86_vc/x86int.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libtheora/lib/x86_vc/x86int.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,49 @@
     1.4 +/********************************************************************
     1.5 + *                                                                  *
     1.6 + * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE.   *
     1.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
     1.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
     1.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
    1.10 + *                                                                  *
    1.11 + * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009                *
    1.12 + * by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
    1.13 + *                                                                  *
    1.14 + ********************************************************************
    1.15 +
    1.16 +  function:
    1.17 +    last mod: $Id: x86int.h 17410 2010-09-21 21:53:48Z tterribe $
    1.18 +
    1.19 + ********************************************************************/
    1.20 +
    1.21 +#if !defined(_x86_vc_x86int_H)
    1.22 +# define _x86_vc_x86int_H (1)
    1.23 +# include "../internal.h"
    1.24 +# if defined(OC_X86_ASM)
    1.25 +#  define oc_state_accel_init oc_state_accel_init_x86
    1.26 +#  define OC_STATE_USE_VTABLE (1)
    1.27 +# endif
    1.28 +# include "../state.h"
    1.29 +# include "x86cpu.h"
    1.30 +
    1.31 +void oc_state_accel_init_x86(oc_theora_state *_state);
    1.32 +
    1.33 +void oc_frag_copy_mmx(unsigned char *_dst,
    1.34 + const unsigned char *_src,int _ystride);
    1.35 +void oc_frag_copy_list_mmx(unsigned char *_dst_frame,
    1.36 + const unsigned char *_src_frame,int _ystride,
    1.37 + const ptrdiff_t *_fragis,ptrdiff_t _nfragis,const ptrdiff_t *_frag_buf_offs);
    1.38 +void oc_frag_recon_intra_mmx(unsigned char *_dst,int _ystride,
    1.39 + const ogg_int16_t *_residue);
    1.40 +void oc_frag_recon_inter_mmx(unsigned char *_dst,
    1.41 + const unsigned char *_src,int _ystride,const ogg_int16_t *_residue);
    1.42 +void oc_frag_recon_inter2_mmx(unsigned char *_dst,const unsigned char *_src1,
    1.43 + const unsigned char *_src2,int _ystride,const ogg_int16_t *_residue);
    1.44 +void oc_idct8x8_mmx(ogg_int16_t _y[64],ogg_int16_t _x[64],int _last_zzi);
    1.45 +void oc_state_frag_recon_mmx(const oc_theora_state *_state,ptrdiff_t _fragi,
    1.46 + int _pli,ogg_int16_t _dct_coeffs[128],int _last_zzi,ogg_uint16_t _dc_quant);
    1.47 +void oc_loop_filter_init_mmx(signed char _bv[256],int _flimit);
    1.48 +void oc_state_loop_filter_frag_rows_mmx(const oc_theora_state *_state,
    1.49 + signed char _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end);
    1.50 +void oc_restore_fpu_mmx(void);
    1.51 +
    1.52 +#endif

mercurial