[Ffmpeg-devel] Swapping lines in RGB24 image

ffmpeg ffmpeg
Tue Aug 8 12:32:34 CEST 2006

That is driver dependant and is not valid according to the openGL specs. Some older drivera allowed that but today you normally do the swap yourself with is extra load as in ffmep you already do the image conversion.

---------- Original Message ----------------------------------
From: Michael Niedermayer <michaelni at gmx.at>
Reply-To: FFMpeg development discussions and patches <ffmpeg-devel at mplayerhq.hu>
Date:  Tue, 8 Aug 2006 12:17:08 +0200

>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
>ffmpeg-devel mailing list
>ffmpeg-devel at mplayerhq.hu

More information about the ffmpeg-devel mailing list