[問題] 影像為何會無變化
平台為 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
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.125.35.226
※ 文章網址: http://www.ptt.cc/bbs/C_and_CPP/M.1404813537.A.863.html
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章