Revision 40d0e665 libavcodec/i386/mpegvideo_mmx.c

View differences:

libavcodec/i386/mpegvideo_mmx.c
34 34
static void dct_unquantize_h263_intra_mmx(MpegEncContext *s,
35 35
                                  DCTELEM *block, int n, int qscale)
36 36
{
37
    long level, qmul, qadd, nCoeffs;
37
    x86_reg level, qmul, qadd, nCoeffs;
38 38

  
39 39
    qmul = qscale << 1;
40 40

  
......
109 109
static void dct_unquantize_h263_inter_mmx(MpegEncContext *s,
110 110
                                  DCTELEM *block, int n, int qscale)
111 111
{
112
    long qmul, qadd, nCoeffs;
112
    x86_reg qmul, qadd, nCoeffs;
113 113

  
114 114
    qmul = qscale << 1;
115 115
    qadd = (qscale - 1) | 1;
......
200 200
static void dct_unquantize_mpeg1_intra_mmx(MpegEncContext *s,
201 201
                                     DCTELEM *block, int n, int qscale)
202 202
{
203
    long nCoeffs;
203
    x86_reg nCoeffs;
204 204
    const uint16_t *quant_matrix;
205 205
    int block0;
206 206

  
......
269 269
static void dct_unquantize_mpeg1_inter_mmx(MpegEncContext *s,
270 270
                                     DCTELEM *block, int n, int qscale)
271 271
{
272
    long nCoeffs;
272
    x86_reg nCoeffs;
273 273
    const uint16_t *quant_matrix;
274 274

  
275 275
    assert(s->block_last_index[n]>=0);
......
335 335
static void dct_unquantize_mpeg2_intra_mmx(MpegEncContext *s,
336 336
                                     DCTELEM *block, int n, int qscale)
337 337
{
338
    long nCoeffs;
338
    x86_reg nCoeffs;
339 339
    const uint16_t *quant_matrix;
340 340
    int block0;
341 341

  
......
401 401
static void dct_unquantize_mpeg2_inter_mmx(MpegEncContext *s,
402 402
                                     DCTELEM *block, int n, int qscale)
403 403
{
404
    long nCoeffs;
404
    x86_reg nCoeffs;
405 405
    const uint16_t *quant_matrix;
406 406

  
407 407
    assert(s->block_last_index[n]>=0);

Also available in: Unified diff