[Ffmpeg-devel] Swapping lines in RGB24 image
Tue Aug 8 12:54:16 CEST 2006
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
More information about the ffmpeg-devel