blackfin: fix yuv422 to yuv420 conversion
authorRonaldo Moura <ronaldo.moura@monity.com.br>
Fri, 7 May 2010 21:59:18 +0000 (21:59 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 7 May 2010 21:59:18 +0000 (21:59 +0000)
commit447a5b1996805e9e91acc5cb459ea1a047db12a1
tree82434df18955412e640d8b8d9a029a28aa1986fe
parentf66b390582bc3760770461b4332b34c2b283dbf6
blackfin: fix yuv422 to yuv420 conversion

The old code is correct only when stride = 2*width.

Patch by Ronaldo Moura <ronaldo d moura monity com br>

Originally committed as revision 31142 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/bfin/internal_bfin.S