Revision 55fde95e libavcodec/simple_idct.c

View differences:

libavcodec/simple_idct.c
184 184
                                     DCTELEM * col)
185 185
{
186 186
        int a0, a1, a2, a3, b0, b1, b2, b3;
187
        uint8_t *cm = cropTbl + MAX_NEG_CROP;
187
        uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
188 188

  
189 189
        /* XXX: I did that only to give same values as previous code */
190 190
        a0 = W4 * (col[8*0] + ((1<<(COL_SHIFT-1))/W4));
......
256 256
                                     DCTELEM * col)
257 257
{
258 258
        int a0, a1, a2, a3, b0, b1, b2, b3;
259
        uint8_t *cm = cropTbl + MAX_NEG_CROP;
259
        uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
260 260

  
261 261
        /* XXX: I did that only to give same values as previous code */
262 262
        a0 = W4 * (col[8*0] + ((1<<(COL_SHIFT-1))/W4));
......
431 431
static inline void idct4col(uint8_t *dest, int line_size, const DCTELEM *col)
432 432
{
433 433
    int c0, c1, c2, c3, a0, a1, a2, a3;
434
    const uint8_t *cm = cropTbl + MAX_NEG_CROP;
434
    const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
435 435

  
436 436
    a0 = col[8*0];
437 437
    a1 = col[8*2];
......
511 511
static inline void idct4col_add(uint8_t *dest, int line_size, const DCTELEM *col)
512 512
{
513 513
    int c0, c1, c2, c3, a0, a1, a2, a3;
514
    const uint8_t *cm = cropTbl + MAX_NEG_CROP;
514
    const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
515 515

  
516 516
    a0 = col[8*0];
517 517
    a1 = col[8*1];
......
539 539
static inline void idct4row(DCTELEM *row)
540 540
{
541 541
    int c0, c1, c2, c3, a0, a1, a2, a3;
542
    //const uint8_t *cm = cropTbl + MAX_NEG_CROP;
542
    //const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
543 543

  
544 544
    a0 = row[0];
545 545
    a1 = row[1];

Also available in: Unified diff