Click here to Skip to main content
15,887,331 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWebcam Image Manipulation Pin
Lessthannovice11-May-06 2:00
Lessthannovice11-May-06 2:00 
AnswerRe: Webcam Image Manipulation Pin
Justin Tay11-May-06 4:51
Justin Tay11-May-06 4:51 
QuestionRe: Webcam Image Manipulation Pin
Lessthannovice11-May-06 5:34
Lessthannovice11-May-06 5:34 
AnswerRe: Webcam Image Manipulation Pin
Justin Tay11-May-06 6:02
Justin Tay11-May-06 6:02 
QuestionRe: Webcam Image Manipulation Pin
Lessthannovice11-May-06 6:45
Lessthannovice11-May-06 6:45 
AnswerRe: Webcam Image Manipulation Pin
Justin Tay11-May-06 7:15
Justin Tay11-May-06 7:15 
QuestionRe: Webcam Image Manipulation Pin
Lessthannovice11-May-06 7:35
Lessthannovice11-May-06 7:35 
AnswerRe: Webcam Image Manipulation Pin
Justin Tay11-May-06 8:05
Justin Tay11-May-06 8:05 
Instead of working with your pixel data in terms of BYTE*, it would be easier to work with RGBTRIPLE*/RGBQUAD* instead.

It's ok, as long as you understand that you are not monitoring all frames (Unless the frame rate of your webcam is particularly slow). The code is polling using a timer (WM_TIMER message) set to 10 millisecs, to grab a copy of the image data currently in the VMR filter.

The call to GrabFrame() overwrites m_pFrame with the latest copy of image data from the VMR renderer. If you would like to have a copy of m_pFrame you could just do a memory copy before the next call to GrabFrame(). Look at the OnTimer handler in DXCaptureDlg.h line 191.

Your terminology is fine, it's just that with all these technical terms it can be a little ambigious sometimes.

GeneralRe: Webcam Image Manipulation Pin
Lessthannovice11-May-06 9:44
Lessthannovice11-May-06 9:44 
GeneralRe: Webcam Image Manipulation Pin
Justin Tay11-May-06 11:02
Justin Tay11-May-06 11:02 
GeneralRe: Webcam Image Manipulation Pin
surfman1911-May-06 13:12
surfman1911-May-06 13:12 
GeneralRe: Webcam Image Manipulation Pin
Lessthannovice11-May-06 20:53
Lessthannovice11-May-06 20:53 
GeneralRe: Webcam Image Manipulation Pin
Lessthannovice11-May-06 20:52
Lessthannovice11-May-06 20:52 
GeneralRe: Webcam Image Manipulation Pin
Justin Tay11-May-06 21:44
Justin Tay11-May-06 21:44 
GeneralRe: Webcam Image Manipulation Pin
Lessthannovice12-May-06 6:12
Lessthannovice12-May-06 6:12 
GeneralRe: Webcam Image Manipulation Pin
Justin Tay12-May-06 14:53
Justin Tay12-May-06 14:53 
QuestionRe: Webcam Image Manipulation Pin
Lessthannovice13-May-06 0:44
Lessthannovice13-May-06 0:44 
AnswerRe: Webcam Image Manipulation Pin
Justin Tay13-May-06 16:47
Justin Tay13-May-06 16:47 
QuestionHow to draw animated GIF using GDI+? Pin
YaronNir11-May-06 1:44
YaronNir11-May-06 1:44 
AnswerRe: How to draw animated GIF using GDI+? Pin
Justin Tay11-May-06 4:11
Justin Tay11-May-06 4:11 
GeneralRe: How to draw animated GIF using GDI+? Pin
YaronNir11-May-06 4:13
YaronNir11-May-06 4:13 
Questionhow can I create a copy of the pst file when it is open. Pin
Sandeep. Vaidya11-May-06 1:26
Sandeep. Vaidya11-May-06 1:26 
QuestionRe: how can I create a copy of the pst file when it is open. Pin
David Crow11-May-06 3:05
David Crow11-May-06 3:05 
AnswerRe: how can I create a copy of the pst file when it is open. Pin
Sandeep. Vaidya16-May-06 23:18
Sandeep. Vaidya16-May-06 23:18 
QuestionRe: how can I create a copy of the pst file when it is open. Pin
David Crow17-May-06 2:40
David Crow17-May-06 2:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.