Path: blob/master/thirdparty/libtheora/x86_vc/x86int.h
9904 views
/********************************************************************1* *2* THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *3* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *4* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *5* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *6* *7* THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 *8* by the Xiph.Org Foundation and contributors *9* https://www.xiph.org/ *10* *11********************************************************************1213function:1415********************************************************************/1617#if !defined(_x86_vc_x86int_H)18# define _x86_vc_x86int_H (1)19# include "../internal.h"20# if defined(OC_X86_ASM)21# define oc_state_accel_init oc_state_accel_init_x8622# define OC_STATE_USE_VTABLE (1)23# endif24# include "../state.h"25# include "x86cpu.h"2627void oc_state_accel_init_x86(oc_theora_state *_state);2829void oc_frag_copy_mmx(unsigned char *_dst,30const unsigned char *_src,int _ystride);31void oc_frag_copy_list_mmx(unsigned char *_dst_frame,32const unsigned char *_src_frame,int _ystride,33const ptrdiff_t *_fragis,ptrdiff_t _nfragis,const ptrdiff_t *_frag_buf_offs);34void oc_frag_recon_intra_mmx(unsigned char *_dst,int _ystride,35const ogg_int16_t *_residue);36void oc_frag_recon_inter_mmx(unsigned char *_dst,37const unsigned char *_src,int _ystride,const ogg_int16_t *_residue);38void oc_frag_recon_inter2_mmx(unsigned char *_dst,const unsigned char *_src1,39const unsigned char *_src2,int _ystride,const ogg_int16_t *_residue);40void oc_idct8x8_mmx(ogg_int16_t _y[64],ogg_int16_t _x[64],int _last_zzi);41void oc_state_frag_recon_mmx(const oc_theora_state *_state,ptrdiff_t _fragi,42int _pli,ogg_int16_t _dct_coeffs[128],int _last_zzi,ogg_uint16_t _dc_quant);43void oc_loop_filter_init_mmx(signed char _bv[256],int _flimit);44void oc_state_loop_filter_frag_rows_mmx(const oc_theora_state *_state,45signed char _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end);46void oc_restore_fpu_mmx(void);4748#endif495051