[Ffmpeg-devel] Swapping lines in RGB24 image

ffmpeg ffmpeg
Tue Aug 8 15:49:24 CEST 2006


Hi !

Great ! Now I understand ! Its working just fine..

What do you mean by top post ?


---------- 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:54:16 +0200

>Hi
>
>dont top post
>
>On Tue, Aug 08, 2006 at 12:32:34PM +0200, ffmpeg wrote:
>> 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.
>
>then feed libavcodec (see AVCodecContext.get_buffer) or the 
>image conversation with a negative stride
>
>[...]
>> >> 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
>http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
 




More information about the ffmpeg-devel mailing list