Fix destination row striding in altivec_yuv2_bgr24.
authorPavel Koshevoy <pkoshevoy@gmail.com>
Thu, 5 Jul 2012 23:00:59 +0000 (17:00 -0600)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 6 Jul 2012 15:40:43 +0000 (17:40 +0200)
commit665100c2f1b72d6b3dd89a448b69fab73d344f5d
tree5306e1d080d26de5b109fa2473c491991cab8d11
parentb22ecbc6a57cb721960783af3168c1a9332ea3db
Fix destination row striding in altivec_yuv2_bgr24.

Misaligned row artifacts showed up when a 624x352 frame was converted
to BGR24 format.  When advancing to the next row the destination linesize
was added to the last output pointer position which was not linesize aligned,
resulting in a distorted picture.

Signed-off-by: Pavel Koshevoy <pavel@apple.aragog.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/ppc/yuv2rgb_altivec.c