[Ffmpeg-devel] Swapping lines in RGB24 image

Michael Niedermayer michaelni
Tue Aug 8 12:17:08 CEST 2006


On Tue, Aug 08, 2006 at 11:28:37AM +0200, ffmpeg wrote:
> Hi !
> I mean that if the image has 256 lines, line 0 in ffmpeg should be line 255 in OpenGL, line 1 shold be swapped to line 254 etc.

use negative stride/linesize

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list