平台为 VS2003 C++
下方网址为显示影像地方
http://codepad.org/A7ENjuzK
上面网址中间此行m_display.DDrawUpdateDisp(src, stride);为进去副程式作处理并
显示影像,但在这行上方已先对src[0]作差值影像处理,再进去副程式但结果显示是
灰阶影像,代表我中间所作的处理根本没用,不知为何原因??
下面为Y、U、V的宣告,主程式会用到
BYTE *Y;/** Pointer to the Y-plane data, of size Width x Height, with stride
BpS */
BYTE *U;/** Pointer to the U-plane data, of size Width/2 x Height/2,with
stride BpS */
BYTE *V;/** Pointer to the V plane data, of size Width/2 x Height/2, with
stride BpS */
下方为DDrawUpdateDisp副程式网址
http://codepad.org/0uwLDDdV