# include "arm/dct.h"
#endif
-int x264_dct4_weight2_zigzag[2][16];
-int x264_dct8_weight2_zigzag[2][64];
+uint16_t x264_dct4_weight2_zigzag[2][16];
+uint16_t x264_dct8_weight2_zigzag[2][64];
static void dct4x4dc( dctcoef d[16] )
{
};
#undef W
-extern int x264_dct4_weight2_zigzag[2][16]; // [2] = {frame, field}
-extern int x264_dct8_weight2_zigzag[2][64];
+extern uint16_t x264_dct4_weight2_zigzag[2][16]; // [2] = {frame, field}
+extern uint16_t x264_dct8_weight2_zigzag[2][64];
typedef struct
{
static ALWAYS_INLINE
int quant_trellis_cabac( x264_t *h, dctcoef *dct,
const udctcoef *quant_mf, const int *unquant_mf,
- const int *coef_weight, const uint8_t *zigzag,
+ const uint16_t *coef_weight, const uint8_t *zigzag,
int ctx_block_cat, int i_lambda2, int b_ac,
int b_chroma, int dc, int i_coefs, int idx )
{
static ALWAYS_INLINE
int quant_trellis_cavlc( x264_t *h, dctcoef *dct,
const udctcoef *quant_mf, const int *unquant_mf,
- const int *coef_weight, const uint8_t *zigzag,
+ const uint16_t *coef_weight, const uint8_t *zigzag,
int ctx_block_cat, int i_lambda2, int b_ac,
int b_chroma, int dc, int i_coefs, int idx, int b_8x8 )
{