[Ffmpeg-devel] Re: [BUG] TSCC wrong colors on PPC
Mike Melanson
mike
Sun Jan 8 23:08:03 CET 2006
Diego Biurrun wrote:
> You mean
>
> case 16: src += 2;
> *((uint16_t*)pix) = LE_16(src);
No. I did not explain that correctly. Kostya's original solution was to:
1) read in as explicit endian
2) write out as explicit endian
Which works fine on a little endian CPU. The portable solution is to:
1) read in as explicit endian
2) write out as native endian
I'll put my money where my mouth is and try to fix this when I get home
today. And then I'll write an article on the matter.
--
-Mike Melanson
More information about the ffmpeg-devel
mailing list