libdc1394_video_set_mode doesn’t change the mode – A solution!

Posted by Benjamin Close on May 6, 2011 under OpenSource, Programming | Be the First to Comment

This article details a reason libdc1394_video_set_mode/libdc1394_video_set_framerate¬† may not work. Whilst working on an application that makes use of a 1394a/firewire camera I found a strange bug/feature with libdc1394. The problem was dc1394 was being used to the mode of the camera to 800×600 resolution. However, when querying the frame size after dequeuing the frame, the [..more..]

OpenGL glTexSubImage2D very slow – a solution!

Posted by Benjamin Close on under Programming | Read the First Comment

This article describes a possible reason glTexSubImage2D may be slow. Recently I was working on a piece of code that updated a texture with a camera frame. The application was using the fixed function (non shaders) pipeline of OpenGL. Whilst I didn’t notice it at first, I soon found that the camera image was very [..more..]