media/libtheora/lib/x86_vc/x86int.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /********************************************************************
michael@0 2 * *
michael@0 3 * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
michael@0 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
michael@0 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
michael@0 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
michael@0 7 * *
michael@0 8 * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 *
michael@0 9 * by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
michael@0 10 * *
michael@0 11 ********************************************************************
michael@0 12
michael@0 13 function:
michael@0 14 last mod: $Id: x86int.h 17410 2010-09-21 21:53:48Z tterribe $
michael@0 15
michael@0 16 ********************************************************************/
michael@0 17
michael@0 18 #if !defined(_x86_vc_x86int_H)
michael@0 19 # define _x86_vc_x86int_H (1)
michael@0 20 # include "../internal.h"
michael@0 21 # if defined(OC_X86_ASM)
michael@0 22 # define oc_state_accel_init oc_state_accel_init_x86
michael@0 23 # define OC_STATE_USE_VTABLE (1)
michael@0 24 # endif
michael@0 25 # include "../state.h"
michael@0 26 # include "x86cpu.h"
michael@0 27
michael@0 28 void oc_state_accel_init_x86(oc_theora_state *_state);
michael@0 29
michael@0 30 void oc_frag_copy_mmx(unsigned char *_dst,
michael@0 31 const unsigned char *_src,int _ystride);
michael@0 32 void oc_frag_copy_list_mmx(unsigned char *_dst_frame,
michael@0 33 const unsigned char *_src_frame,int _ystride,
michael@0 34 const ptrdiff_t *_fragis,ptrdiff_t _nfragis,const ptrdiff_t *_frag_buf_offs);
michael@0 35 void oc_frag_recon_intra_mmx(unsigned char *_dst,int _ystride,
michael@0 36 const ogg_int16_t *_residue);
michael@0 37 void oc_frag_recon_inter_mmx(unsigned char *_dst,
michael@0 38 const unsigned char *_src,int _ystride,const ogg_int16_t *_residue);
michael@0 39 void oc_frag_recon_inter2_mmx(unsigned char *_dst,const unsigned char *_src1,
michael@0 40 const unsigned char *_src2,int _ystride,const ogg_int16_t *_residue);
michael@0 41 void oc_idct8x8_mmx(ogg_int16_t _y[64],ogg_int16_t _x[64],int _last_zzi);
michael@0 42 void oc_state_frag_recon_mmx(const oc_theora_state *_state,ptrdiff_t _fragi,
michael@0 43 int _pli,ogg_int16_t _dct_coeffs[128],int _last_zzi,ogg_uint16_t _dc_quant);
michael@0 44 void oc_loop_filter_init_mmx(signed char _bv[256],int _flimit);
michael@0 45 void oc_state_loop_filter_frag_rows_mmx(const oc_theora_state *_state,
michael@0 46 signed char _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end);
michael@0 47 void oc_restore_fpu_mmx(void);
michael@0 48
michael@0 49 #endif

mercurial