/*****************************************************************************1* quant.h: msa quantization and level-run2*****************************************************************************3* Copyright (C) 2015-2016 x264 project4*5* Authors: Rishikesh More <[email protected]>6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License as published by9* the Free Software Foundation; either version 2 of the License, or10* (at your option) any later version.11*12* This program is distributed in the hope that it will be useful,13* but WITHOUT ANY WARRANTY; without even the implied warranty of14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15* GNU General Public License for more details.16*17* You should have received a copy of the GNU General Public License18* along with this program; if not, write to the Free Software19* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.20*21* This program is also available under a commercial proprietary license.22* For more information, contact us at [email protected].23*****************************************************************************/2425#ifndef X264_MIPS_QUANT_H26#define X264_MIPS_QUANT_H2728void x264_dequant_4x4_msa( int16_t *p_dct, int32_t pi_dequant_mf[6][16],29int32_t i_qp );30void x264_dequant_8x8_msa( int16_t *p_dct, int32_t pi_dequant_mf[6][64],31int32_t i_qp );32void x264_dequant_4x4_dc_msa( int16_t *p_dct, int32_t pi_dequant_mf[6][16],33int32_t i_qp );34int32_t x264_quant_4x4_msa( int16_t *p_dct, uint16_t *p_mf, uint16_t *p_bias );35int32_t x264_quant_4x4x4_msa( int16_t p_dct[4][16],36uint16_t pu_mf[16], uint16_t pu_bias[16] );37int32_t x264_quant_8x8_msa( int16_t *p_dct, uint16_t *p_mf, uint16_t *p_bias );38int32_t x264_quant_4x4_dc_msa( int16_t *p_dct, int32_t i_mf, int32_t i_bias );39int32_t x264_coeff_last64_msa( int16_t *p_src );40int32_t x264_coeff_last16_msa( int16_t *p_src );4142#endif434445