]> git.sesse.net Git - x264/blob - common/x86/quant.h
dequant_4x4_dc assembly
[x264] / common / x86 / quant.h
1 /*****************************************************************************
2  * quant.h: h264 encoder library
3  *****************************************************************************
4  * Copyright (C) 2005-2008 x264 project
5  *
6  * Authors: Christian Heine <sennindemokrit@gmx.net>
7  *          Loren Merritt <lorenm@u.washington.edu>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 #ifndef X264_I386_QUANT_H
25 #define X264_I386_QUANT_H
26
27 void x264_quant_2x2_dc_mmxext( int16_t dct[2][2], int mf, int bias );
28 void x264_quant_4x4_dc_mmxext( int16_t dct[4][4], int mf, int bias );
29 void x264_quant_4x4_mmx( int16_t dct[4][4], uint16_t mf[16], uint16_t bias[16] );
30 void x264_quant_8x8_mmx( int16_t dct[8][8], uint16_t mf[64], uint16_t bias[64] );
31 void x264_quant_4x4_dc_sse2( int16_t dct[4][4], int mf, int bias );
32 void x264_quant_4x4_sse2( int16_t dct[4][4], uint16_t mf[16], uint16_t bias[16] );
33 void x264_quant_8x8_sse2( int16_t dct[8][8], uint16_t mf[64], uint16_t bias[64] );
34 void x264_quant_2x2_dc_ssse3( int16_t dct[2][2], int mf, int bias );
35 void x264_quant_4x4_dc_ssse3( int16_t dct[4][4], int mf, int bias );
36 void x264_quant_4x4_ssse3( int16_t dct[4][4], uint16_t mf[16], uint16_t bias[16] );
37 void x264_quant_8x8_ssse3( int16_t dct[8][8], uint16_t mf[64], uint16_t bias[64] );
38 void x264_dequant_4x4_mmx( int16_t dct[4][4], int dequant_mf[6][4][4], int i_qp );
39 void x264_dequant_4x4dc_mmxext( int16_t dct[4][4], int dequant_mf[6][4][4], int i_qp );
40 void x264_dequant_8x8_mmx( int16_t dct[8][8], int dequant_mf[6][8][8], int i_qp );
41 void x264_dequant_4x4_sse2( int16_t dct[4][4], int dequant_mf[6][4][4], int i_qp );
42 void x264_dequant_4x4dc_sse2( int16_t dct[4][4], int dequant_mf[6][4][4], int i_qp );
43 void x264_dequant_8x8_sse2( int16_t dct[8][8], int dequant_mf[6][8][8], int i_qp );
44 void x264_dequant_4x4_flat16_mmx( int16_t dct[4][4], int dequant_mf[6][4][4], int i_qp );
45 void x264_dequant_8x8_flat16_mmx( int16_t dct[8][8], int dequant_mf[6][8][8], int i_qp );
46 void x264_dequant_4x4_flat16_sse2( int16_t dct[4][4], int dequant_mf[6][4][4], int i_qp );
47 void x264_dequant_8x8_flat16_sse2( int16_t dct[8][8], int dequant_mf[6][8][8], int i_qp );
48 void x264_denoise_dct_mmx( int16_t *dct, uint32_t *sum, uint16_t *offset, int size );
49 void x264_denoise_dct_sse2( int16_t *dct, uint32_t *sum, uint16_t *offset, int size );
50 void x264_denoise_dct_ssse3( int16_t *dct, uint32_t *sum, uint16_t *offset, int size );
51 int x264_decimate_score15_mmxext( int16_t *dct );
52 int x264_decimate_score15_sse2  ( int16_t *dct );
53 int x264_decimate_score15_ssse3 ( int16_t *dct );
54 int x264_decimate_score16_mmxext( int16_t *dct );
55 int x264_decimate_score16_sse2  ( int16_t *dct );
56 int x264_decimate_score16_ssse3 ( int16_t *dct );
57 int x264_decimate_score64_mmxext( int16_t *dct );
58 int x264_decimate_score64_sse2  ( int16_t *dct );
59 int x264_decimate_score64_ssse3 ( int16_t *dct );
60
61 #endif