Click here to Skip to main content
15,923,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [Message Deleted] Pin
toxcct11-May-06 2:40
toxcct11-May-06 2:40 
GeneralRe: [Message Deleted] Pin
Bob Flynn11-May-06 3:57
Bob Flynn11-May-06 3:57 
GeneralRe: [Message Deleted] Pin
toxcct11-May-06 4:04
toxcct11-May-06 4:04 
GeneralRe: [Message Deleted] Pin
Cedric Moonen11-May-06 4:07
Cedric Moonen11-May-06 4:07 
GeneralRe: [Message Deleted] Pin
toxcct11-May-06 4:09
toxcct11-May-06 4:09 
GeneralRe: [Message Deleted] Pin
Maxwell Chen11-May-06 6:37
Maxwell Chen11-May-06 6:37 
GeneralRe: [Message Deleted] Pin
toxcct11-May-06 6:38
toxcct11-May-06 6:38 
GeneralRe: [Message Deleted] Pin
Eytukan11-May-06 6:37
Eytukan11-May-06 6:37 
GeneralRe: OT Pin
ThatsAlok11-May-06 21:53
ThatsAlok11-May-06 21:53 
GeneralRe: OT Pin
Eytukan11-May-06 22:02
Eytukan11-May-06 22:02 
GeneralRe: OT Pin
ThatsAlok11-May-06 22:29
ThatsAlok11-May-06 22:29 
GeneralRe: [Message Deleted] Pin
led mike11-May-06 8:43
led mike11-May-06 8:43 
GeneralRe: [Message Deleted] Pin
Anu_Bala11-May-06 17:51
Anu_Bala11-May-06 17:51 
QuestionRAS API Pin
subramanyeswari11-May-06 2:04
subramanyeswari11-May-06 2:04 
AnswerRe: RAS API Pin
led mike11-May-06 6:28
led mike11-May-06 6:28 
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 

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.