10

video displaying

view full story
linux-howto

http://ubuntuforums.org – Hello everyone, I want to display a video window (without sound). I've got this camera that provides me with a pointer to an unsigned char buffer. Lets say that i would like my camera to run at 50 Hz and provide me with 640*480*1 frame sizes. Then every pixel from the camera is one byte and represents luminance not color. I must allocate the buffers myself using the C++ new operator. Then I'll tell the camera which buffer to fill with data. So I can choose to have 10 buffers for example. Once I get a frame from the camera, I tell the camera API to fill my next allocated buffer with the next (Hardware)