Revision 72ef3dd7

View differences:

libswscale/swscale.c
1759 1759
static int YUYV2YUV422Wrapper(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
1760 1760
                               int srcSliceH, uint8_t* dstParam[], int dstStride[]){
1761 1761
    uint8_t *ydst=dstParam[0] + dstStride[0]*srcSliceY;
1762
    uint8_t *udst=dstParam[1] + dstStride[1]*srcSliceY/2;
1763
    uint8_t *vdst=dstParam[2] + dstStride[2]*srcSliceY/2;
1762
    uint8_t *udst=dstParam[1] + dstStride[1]*srcSliceY;
1763
    uint8_t *vdst=dstParam[2] + dstStride[2]*srcSliceY;
1764 1764

  
1765 1765
    yuyvtoyuv422(ydst, udst, vdst, src[0], c->srcW, srcSliceH, dstStride[0], dstStride[1], srcStride[0]);
1766 1766

  
......
1781 1781
static int UYVY2YUV422Wrapper(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
1782 1782
                               int srcSliceH, uint8_t* dstParam[], int dstStride[]){
1783 1783
    uint8_t *ydst=dstParam[0] + dstStride[0]*srcSliceY;
1784
    uint8_t *udst=dstParam[1] + dstStride[1]*srcSliceY/2;
1785
    uint8_t *vdst=dstParam[2] + dstStride[2]*srcSliceY/2;
1784
    uint8_t *udst=dstParam[1] + dstStride[1]*srcSliceY;
1785
    uint8_t *vdst=dstParam[2] + dstStride[2]*srcSliceY;
1786 1786

  
1787 1787
    uyvytoyuv422(ydst, udst, vdst, src[0], c->srcW, srcSliceH, dstStride[0], dstStride[1], srcStride[0]);
1788 1788

  

Also available in: Unified diff