Hi,
When a Video Capture Device supports RGB then in dshowvideosrc the video rgb data is converted from bottom-up to top-down with a "for" and "memcpy"s. (because gstreamer wants top-down).
According to this document:
http://msdn.microsoft.com/en-us/library/ms787796(VS.85).aspx it should be possible to use a negative height in order to get a top-down rgb data.
And so we could avoid the "for" + "memcopy"s.
I tried on two different Video Capture Devices that can only output RGB24. I set the VIDEOINFOHEADER.bmiHeader.biHeight to -height instead of +height)
But I got a crash which happens in a Windows dll.
Does anybody know any informations about it ?
Thx
Sincerely
Julien
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel