[FFmpeg-devel] need help fixing sws on PPC

Michael Niedermayer michaelni
Sun Oct 5 11:34:16 CEST 2008


On Sun, Oct 05, 2008 at 03:21:46AM +0200, Stefan de Konink wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Michael Niedermayer schreef:
> > Can someone who has a PPC and a x86 play a little with swscale to find
> > out which convertions do not match?
> 
> I have both available, if someone has the commands that should be run on
> them, I'm happy to provide a logon or to execute the commands and upload
> the results.

hmm, i was thinking about a little bit more independant testing, like
someone telling me which scaler with what option fails how on ppc ...

anyway
from the part of the regression tests that fails, you could upload the
resulting files. That is both the compressed file as well as the decoded
raw.
also the output of swscale-example with:
@@ -174,7 +174,7 @@
                         int res;
 
                         res = doTest(src, stride, w, h, srcFormat, dstFormat,
-                                     srcW, srcH, dstW, dstH, flags);
+                                     srcW, srcH, dstW, dstH, flags |XXX);
                         if (res < 0) {
                             dstW = 4 * w / 3;
                             dstH = 4 * h / 3;

where XXX is one of
SWS_BITEXACT
SWS_BITEXACT|SWS_ACCURATE_RND
SWS_BITEXACT|SWS_ACCURATE_RND|SWS_FULL_CHR_H_INT


> 
> > And last, if something does not match, pleas explain how it does differ
> > +-1 rounding or red/blue exchanged or ...
> 
> I saw the colour changes in many mpg and wmv movies happen on PPC (in
> mplayer), if this is what you mean...

what is "the colour changes" ?


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081005/ce5a5a78/attachment.pgp>



More information about the ffmpeg-devel mailing list