A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » Webcams
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

capGrabFrame halting my program



 
 
Thread Tools Display Modes
  #1  
Old April 5th 06, 10:00 PM posted to alt.comp.periphs.webcam
external usenet poster
 
Posts: n/a
Default capGrabFrame halting my program

I use VFW (c++) and successfully connect to my webcam. I grab an image
and display it in my OpenGL-window next to a standard spinning 3D-cube.
Works great, but the framerate of the entire program is reduced to that
of the camera (witch is 7 fps). I discovered that the macro
capGrabImage(HWND) is halting my program as it waits for an image to be
recieved from the webcam. I figured it would fix the problem if I just
moved the macro out in its own thread, but no. Still halting my
program. I can't show of impressive graphics at 7 fps!

Does anyone know how I can keep running my program while capGrabFrame
waits for an Image?

Any help is appreciated!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get Rich Daun Johnson Scanners 0 January 31st 06 04:16 PM
Get Rich Daun Johnson Cdr 0 January 31st 06 04:16 PM
The Diskette Experiments Paul Allen Panks Storage & Hardrives 1 October 17th 04 07:25 PM
How to access program after new hard drive installed? OrmesbyJohn Homebuilt PC's 4 August 18th 04 12:34 AM
"Out Of Memory error when trying to start a program or while program is running" Dharmarajan.K General Hardware 0 June 11th 04 10:42 PM


All times are GMT +1. The time now is 03:34 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Copyright 2004-2022 HardwareBanter.
The comments are property of their posters.