## Revision f315b394 libavcodec/dsputil.c

View differences:

libavcodec/dsputil.c
1441 1441
```    assert(x<8 && y<8 && x>=0 && y>=0);\
```
1442 1442
```\
```
1443 1443
```    if(D){\
```
1444
```        for(i=0; i<h; i++)\
```
1445
```        {\
```
1444
```        for(i=0; i<h; i++){\
```
1446 1445
```            OP(dst[0], (A*src[0] + B*src[1] + C*src[stride+0] + D*src[stride+1]));\
```
1447 1446
```            OP(dst[1], (A*src[1] + B*src[2] + C*src[stride+1] + D*src[stride+2]));\
```
1448 1447
```            dst+= stride;\
```
......
1451 1450
```    }else{\
```
1452 1451
```        const int E= B+C;\
```
1453 1452
```        const int step= C ? stride : 1;\
```
1454
```        for(i=0; i<h; i++)\
```
1455
```        {\
```
1453
```        for(i=0; i<h; i++){\
```
1456 1454
```            OP(dst[0], (A*src[0] + E*src[step+0]));\
```
1457 1455
```            OP(dst[1], (A*src[1] + E*src[step+1]));\
```
1458 1456
```            dst+= stride;\
```
......
1471 1469
```    assert(x<8 && y<8 && x>=0 && y>=0);\
```
1472 1470
```\
```
1473 1471
```    if(D){\
```
1474
```        for(i=0; i<h; i++)\
```
1475
```        {\
```
1472
```        for(i=0; i<h; i++){\
```
1476 1473
```            OP(dst[0], (A*src[0] + B*src[1] + C*src[stride+0] + D*src[stride+1]));\
```
1477 1474
```            OP(dst[1], (A*src[1] + B*src[2] + C*src[stride+1] + D*src[stride+2]));\
```
1478 1475
```            OP(dst[2], (A*src[2] + B*src[3] + C*src[stride+2] + D*src[stride+3]));\
```
......
1483 1480
```    }else{\
```
1484 1481
```        const int E= B+C;\
```
1485 1482
```        const int step= C ? stride : 1;\
```
1486
```        for(i=0; i<h; i++)\
```
1487
```        {\
```
1483
```        for(i=0; i<h; i++){\
```
1488 1484
```            OP(dst[0], (A*src[0] + E*src[step+0]));\
```
1489 1485
```            OP(dst[1], (A*src[1] + E*src[step+1]));\
```
1490 1486
```            OP(dst[2], (A*src[2] + E*src[step+2]));\
```
......
1505 1501
```    assert(x<8 && y<8 && x>=0 && y>=0);\
```
1506 1502
```\
```
1507 1503
```    if(D){\
```
1508
```        for(i=0; i<h; i++)\
```
1509
```        {\
```
1504
```        for(i=0; i<h; i++){\
```
1510 1505
```            OP(dst[0], (A*src[0] + B*src[1] + C*src[stride+0] + D*src[stride+1]));\
```
1511 1506
```            OP(dst[1], (A*src[1] + B*src[2] + C*src[stride+1] + D*src[stride+2]));\
```
1512 1507
```            OP(dst[2], (A*src[2] + B*src[3] + C*src[stride+2] + D*src[stride+3]));\
```
......
1521 1516
```    }else{\
```
1522 1517
```        const int E= B+C;\
```
1523 1518
```        const int step= C ? stride : 1;\
```
1524
```        for(i=0; i<h; i++)\
```
1525
```        {\
```
1519
```        for(i=0; i<h; i++){\
```
1526 1520
```            OP(dst[0], (A*src[0] + E*src[step+0]));\
```
1527 1521
```            OP(dst[1], (A*src[1] + E*src[step+1]));\
```
1528 1522
```            OP(dst[2], (A*src[2] + E*src[step+2]));\
```

Also available in: Unified diff