Description: The conduct of the VideoNet the program (downloaded on http://www.codeproject.com/Articles/7573/VideoNetb) study found that during debugging, run to ConvertRGB2YUV function,* y++ = (RGB2YUV_YR [* r]+RGB2YUV_YG [* g]+RGB2YUV_YB [* b]+1048576) > > 16 out is down! Crash! Program each time to crash, I collapsed! And later repeated to check the online posts, several said, generally speaking, still no fundamental solution: This problem occurs because the camera collected data is the format of YUY2, and ConvertRGB2YUV functions known only to the RGB format, so it is necessary YUY2 data converted into the RGB format, so they frantically search, finally found this valuable function
To Search:
File list (Check if you may need any files):
bitmap\BitmapEx.cpp
......\BitmapEx.h
......\cdxCRot90DC.cpp
......\cdxCRot90DC.h
decoder\convert.cpp
.......\convert.h
.......\decdef.h
.......\decstruct.h
.......\DGlobal.cpp
.......\DGlobal.h
.......\GetBits.cpp
.......\GetBits.h
.......\GetBlk.cpp
.......\GetBlk.h
.......\GetHdr.cpp
.......\GetHdr.h
.......\GetPic.cpp
.......\GetPic.h
.......\GetVlc.cpp
.......\GetVlc.h
.......\h263
.......\Idct.cpp
.......\Idct.h
.......\Idctref.cpp
.......\Idctref.h
.......\Indices.cpp
.......\Indices.h
.......\main.cpp
.......\Recon.cpp
.......\Recon.h
.......\Sac.cpp
.......\Sac.h
.......\Sactbls.cpp
.......\Sactbls.h
.......\Tmndec.cpp
.......\Tmndec.h
.......\YuvToRgb.cpp
.......\复件 convert.cpp
encoder\coder.cpp
.......\coder.h
.......\config.h
.......\countbit.cpp
.......\countbit.h
.......\ctables.h
.......\dct.cpp
.......\dct.h
.......\def.h
.......\Global.cpp
.......\Global.h
.......\huffman.cpp
.......\huffman.h
.......\libr263.cpp
.......\libr263.h
.......\mot_est.cpp
.......\mot_est.h
.......\owntypes.h
.......\pred.cpp
.......\pred.h
.......\quant.cpp
.......\quant.h
.......\rlib.cpp
.......\rlib.h
.......\stream.cpp
.......\stream.h
.......\struct.h
res\VideoNet.ico
...\VideoNet.rc2
~VC9B10.tmp
decoder.log
main.log
videocapture.log
VideoNet.positions
StdAfx.cpp
VideoNet.dsw
StdAfx.h
Volume.h
Mixer.h
ConnectDlg.h
RequestDlg.h
VideoNet.h
RecordSound.h
DSocket.h
Volume.cpp
PlaySound.h
resource.h
复件 VideoNet.cpp
VideoNet.cpp
VideoCapture.h
ConnectDlg.cpp
RequestDlg.cpp
VideoNetDlg.h
Mixer.cpp
VideoNet.clw
playsound.log
VideoCapture.cpp
PlaySound.cpp
RecordSound.cpp
DSocket.cpp
VideoNet.rc
VideoNet.dsp