#ifndef VPX_VPX_DSP_X86_QUANTIZE_SSE2_H_
#define VPX_VPX_DSP_X86_QUANTIZE_SSE2_H_
#include <emmintrin.h>
#include "./vpx_config.h"
#include "vpx/vpx_integer.h"
#include "vp9/encoder/vp9_block.h"
static INLINE void load_b_values(const struct macroblock_plane *const mb_plane,
__m128i *zbin, __m128i *round, __m128i *quant,
const int16_t *dequant_ptr, __m128i *dequant,
__m128i *shift) { … }
static INLINE void load_b_values32x32(
const struct macroblock_plane *const mb_plane, __m128i *zbin,
__m128i *round, __m128i *quant, const int16_t *dequant_ptr,
__m128i *dequant, __m128i *shift) { … }
static INLINE void load_fp_values(const struct macroblock_plane *mb_plane,
__m128i *round, __m128i *quant,
const int16_t *dequant_ptr,
__m128i *dequant) { … }
static INLINE __m128i invert_sign_sse2(__m128i a, __m128i sign) { … }
static INLINE void calculate_qcoeff(__m128i *coeff, const __m128i round,
const __m128i quant, const __m128i shift) { … }
static INLINE void calculate_dqcoeff_and_store(__m128i qcoeff, __m128i dequant,
tran_low_t *dqcoeff) { … }
static INLINE __m128i scan_for_eob(__m128i *coeff0, __m128i *coeff1,
const int16_t *scan, const int index,
const __m128i zero) { … }
static INLINE int16_t accumulate_eob(__m128i eob) { … }
#endif