The DIB that I have is basically an BGR array (1 byte per component) with 32-bit alignment per line. And the lines are in reverse order (last line first). It's something like this: | Line N | Line N-1 |... |B|G|R|B|G|R|...|B|G|R|Padding|B|G|R|B|G|R|...|B|G|R|Padding|... The problem is not with the DIB structure, because it works without flipping. The only problem is that I'm being able make sws_scale flip it for me, if it's really possible. On Thu, Jan 8, 2009 at 8:27 PM, Jason Garrett-Glaser <darkshikari at gmail.com>wrote:
On Thu, Jan 8, 2009 at 3:51 PM, Stefano Sabatini <stefano.sabatini-lala at poste.it> wrote:
On date Thursday 2009-01-08 17:08:26 -0200, R?mulo Fernandes encoded:
Hello,
I'm using libswscale to scale and convert pixel format from frames that I capture from the screen. In my windows build the frames that I capture are in DIB format. I'm using FFMPEG SVN rev 16437.
DIB format? Can you explain what is it?
http://en.wikipedia.org/wiki/Device-independent_bitmap
Dark Shikari _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user