Mercurial > mplayer.hg
comparison libswscale/swscale_template.c @ 27290:c7893977be2c
indent
author | michael |
---|---|
date | Thu, 17 Jul 2008 23:43:48 +0000 |
parents | 2c9fa9b25781 |
children | ca46d66b3143 |
comparison
equal
deleted
inserted
replaced
27289:2c9fa9b25781 | 27290:c7893977be2c |
---|---|
1004 "g" (-counter[p]) | 1004 "g" (-counter[p]) |
1005 : "%"REG_a | 1005 : "%"REG_a |
1006 ); | 1006 ); |
1007 } | 1007 } |
1008 }else{ | 1008 }else{ |
1009 while(p--){ | 1009 while(p--){ |
1010 asm volatile( | 1010 asm volatile( |
1011 YSCALEYUV2YV121 | 1011 YSCALEYUV2YV121 |
1012 :: "r" (src[p]), "r" (dst[p] + counter[p]), | 1012 :: "r" (src[p]), "r" (dst[p] + counter[p]), |
1013 "g" (-counter[p]) | 1013 "g" (-counter[p]) |
1014 : "%"REG_a | 1014 : "%"REG_a |
1015 ); | 1015 ); |
1016 } | 1016 } |
1017 } | 1017 } |
1018 | 1018 |
1019 #else | 1019 #else |
1020 int i; | 1020 int i; |
1021 for (i=0; i<dstW; i++) | 1021 for (i=0; i<dstW; i++) |