Welcome![Sign In][Sign Up]
Location:
Search - ConvertRGB2YUV

Search list

[Windows DevelopYUV

Description: YUV420转RGB24相关函数,运用快速查表算法,ConvertRGB2YUV,RGB24toYUV420-YUV420 turn RGB24-correlation function, using fast look-up table algorithm, ConvertRGB2YUV, RGB24toYUV420
Platform: | Size: 2048 | Author: lin | Hits:

[Video CaptureVideoNet_srcbb-0813eve

Description: 进行VideoNet的程序(在http://www.codeproject.com/Articles/7573/VideoNetb上下载的)学习中,发现在进行调试时, 1. 运行到 ConvertRGB2YUV 函数时,在 *y++=( RGB2YUV_YR[*r] +RGB2YUV_YG[*g]+RGB2YUV_YB[*b]+1048576)>>16 出down掉! 崩溃! 程序每次到这里崩溃,我也崩溃了!后来反复查网上帖子,有几个说的还行,总体说来,还是没有根本解决:出现这个问题的原因是摄像头采集到的数据是YUY2 的格式, 而ConvertRGB2YUV函数只认识RGB 的格式,所以需要将 YUY2的数据转换成RGB 的格式,于是又疯狂的搜索,终于找到这个宝贵的函数 -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
Platform: | Size: 200704 | Author: 李建华 | Hits:

CodeBus www.codebus.net