const UINT16 *quant_matrix;
if(s->alternate_scan) nCoeffs= 64;
- else nCoeffs= nCoeffs= zigzag_end[ s->block_last_index[n] ];
+ else nCoeffs= zigzag_end[ s->block_last_index[n] ];
if (s->mb_intra) {
int block0;
const UINT16 *quant_matrix;
if(s->alternate_scan) nCoeffs= 64;
- else nCoeffs= nCoeffs= zigzag_end[ s->block_last_index[n] ];
+ else nCoeffs= zigzag_end[ s->block_last_index[n] ];
if (s->mb_intra) {
int block0;
int mx, my, mx2, my2;
uint8_t *ref_picture= s->me_scratchpad - (mb_x - 1 + (mb_y - 1)*s->linesize)*16;
int16_t (*mv_table)[2]= s->b_direct_mv_table;
- uint16_t *mv_penalty= s->mv_penalty[s->f_code] + MAX_MV; // f_code of the prev frame
+/* uint16_t *mv_penalty= s->mv_penalty[s->f_code] + MAX_MV; */ // f_code of the prev frame
/* thanks to iso-mpeg the rounding is different for the zero vector, so we need to handle that ... */
motion_fx= (motion_px*time_pb)/time_pp;
static void init_2d_vlc_rl(RLTable *rl)
{
- int i, q;
+ int i;
init_vlc(&rl->vlc, TEX_VLC_BITS, rl->n + 2,
&rl->table_vlc[0][1], 4, 2,
"avgTex",
NULL
};
- double (*func1[])(void *, double)={
+ static double (*func1[])(void *, double)={
bits2qp,
qp2bits,
NULL