Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Albert Holguin24-Jul-15 4:11
professionalAlbert Holguin24-Jul-15 4:11 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
CPallini23-Jul-15 20:47
mveCPallini23-Jul-15 20:47 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Albert Holguin24-Jul-15 4:10
professionalAlbert Holguin24-Jul-15 4:10 
QuestionC or C++ for customized embedded Linux, which is the best and why? Pin
Abdullah A. Mohamed22-Jul-15 19:28
Abdullah A. Mohamed22-Jul-15 19:28 
AnswerRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Jeremy Falcon27-Jul-15 5:11
professionalJeremy Falcon27-Jul-15 5:11 
QuestionReading uncompressed AVI file frame by frame into raw memory buffer? Pin
Kiran Satish22-Jul-15 19:08
Kiran Satish22-Jul-15 19:08 
AnswerRe: Reading uncompressed AVI file frame by frame into raw memory buffer? Pin
Daniel Pfeffer22-Jul-15 21:38
professionalDaniel Pfeffer22-Jul-15 21:38 
GeneralRe: Reading uncompressed AVI file frame by frame into raw memory buffer? Pin
Kiran Satish23-Jul-15 6:12
Kiran Satish23-Jul-15 6:12 
For the file I attached in my first post, AVIFileInfo is returning the following data-

C++
avi_info	{dwMaxBytesPerSec=0 dwFlags=0 dwCaps=3 ...}	_AVIFILEINFOA
dwMaxBytesPerSec	0	unsigned long
dwFlags	0	unsigned long
dwCaps	3	unsigned long
dwStreams	1	unsigned long
dwSuggestedBufferSize	2296	unsigned long
dwWidth	26	unsigned long
dwHeight	82	unsigned long
dwScale	33333	unsigned long
dwRate	1000000	unsigned long
dwLength	30	unsigned long
dwEditCount	0	unsigned long
szFileType	0x0068e930 "AVI Default File Handler"	char [64]

When I write the frame to a text file after
C++
imgTemp = (BYTE*) AVIStreamGetFrame(pFrame, i);

I see the correct header of 1064 bytes, but the image data doesn't have two black squares that I am supposed to see (for example from frame 3), but only one black square.

Any ideas?
PKNT

GeneralRe: Reading uncompressed AVI file frame by frame into raw memory buffer? Pin
Daniel Pfeffer23-Jul-15 6:41
professionalDaniel Pfeffer23-Jul-15 6:41 
GeneralRe: Reading uncompressed AVI file frame by frame into raw memory buffer? Pin
Kiran Satish23-Jul-15 14:42
Kiran Satish23-Jul-15 14:42 
AnswerAssigning data to int array using pointers Pin
Vaclav_22-Jul-15 14:13
Vaclav_22-Jul-15 14:13 
GeneralRe: Assigning data to int array using pointers Pin
Richard Andrew x6422-Jul-15 15:30
professionalRichard Andrew x6422-Jul-15 15:30 
GeneralRe: Assigning data to int array using pointers Pin
Vaclav_23-Jul-15 3:45
Vaclav_23-Jul-15 3:45 
GeneralRe: Assigning data to int array using pointers Pin
Richard MacCutchan22-Jul-15 21:33
mveRichard MacCutchan22-Jul-15 21:33 
GeneralRe: Assigning data to int array using pointers Pin
Vaclav_23-Jul-15 4:38
Vaclav_23-Jul-15 4:38 
GeneralRe: Assigning data to int array using pointers Pin
Richard Andrew x6423-Jul-15 5:17
professionalRichard Andrew x6423-Jul-15 5:17 
GeneralRe: Assigning data to int array using pointers Pin
Vaclav_23-Jul-15 6:37
Vaclav_23-Jul-15 6:37 
GeneralRe: Assigning data to int array using pointers Pin
Arthur V. Ratz13-Aug-15 19:41
professionalArthur V. Ratz13-Aug-15 19:41 
Questionhow to use d following sha1 zip file Pin
Member 1185569722-Jul-15 7:07
Member 1185569722-Jul-15 7:07 
AnswerRe: how to use d following sha1 zip file Pin
jeron122-Jul-15 7:58
jeron122-Jul-15 7:58 
Question[SOLVED] VC++ 2013 Ultimate IDE is very slow Pin
AmbiguousName22-Jul-15 1:12
AmbiguousName22-Jul-15 1:12 
AnswerRe: VC++ 2013 Ultimate IDE is very slow Pin
CPallini22-Jul-15 1:40
mveCPallini22-Jul-15 1:40 
AnswerRe: VC++ 2013 Ultimate IDE is very slow Pin
Richard MacCutchan22-Jul-15 2:01
mveRichard MacCutchan22-Jul-15 2:01 
GeneralRe: VC++ 2013 Ultimate IDE is very slow Pin
AmbiguousName22-Jul-15 2:52
AmbiguousName22-Jul-15 2:52 
GeneralRe: VC++ 2013 Ultimate IDE is very slow Pin
Wes Aday22-Jul-15 3:01
professionalWes Aday22-Jul-15 3:01 

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.