|
Hi, I am trying to display frames captured with
a webcam. The read returns the data in a buffer. I
have Lock’ed the surface and got the pointer to the surface_data. 1) Does the surface_data point to the pixel
data? 2) Now, when I try to display the data and do a
memcpy for the same should I convert the buffer (in RGB24 format) data into
pixels and then copy it to the surface or should I copy the buffer itself (byte
by byte) onto the surface? When I directly copy the buffer onto the
surface I get skewed images.
|
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
