2/22/2011 9:17:15 AM
Title:
jmf
BufferToImage imagebuffer=new BufferToImage((videoformat)rawbuffer.getFormat());
here rawbuffer is an object of class Buffer.
1.what does imagebuffer contain after executing this code?
2.why format of frames stored in the rawbuffer is typecasted into videoformat?
2/24/2011 12:16:58 AM
it will contain the raw image data , probably a raw bitmap.
2. Rawbuffer data captured from video is being stored to image buffer.
3/4/2011 10:06:57 AM
answer of second question is not clear if rawbuffer data is being stored in imagebuffer then why is it necessary to typecast it into video format?