[問題] 抓取 1394 攝影機

看板C_and_CPP (C/C++)作者 (玩具蘿莉≠脫衣蘿莉)時間16年前 (2009/05/12 15:40), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/2 (看更多)
我手上有一台 AVT 1394 攝影機,他有給 SDK 裡面有一段取得單一影像的範例是這樣的 extern ID_TYPE nCamId; // id of an already opened camera extern UINT32_TYPE nHorizontalResolution; // the currently configured image // size extern UINT32_TYPE nVerticalResolution; // ATL::CImage Image; Image.Create( nHorizontalResolution , -1 * nVerticalResolution , 24 ); UNI_RETURN_TYPE hr = UCC_GrabBitmapImage( nCamId , (UINT8_TYPE*) Image.GetBits() , INFINITE ); 黃色的部份我 google 了一下,好像是 VC 內建的函數? 由於學長寫的程式是用 BCB,如果我要用 BCB 寫出相同的作用,應該要使用哪些元件 或是函式呢?可否請各位前輩提點一下? -- 法輪弓 遠程 弓 8300 - 9500傷害 速度 1.50 (每秒傷害5933.3) 裝備: 你在中國解放軍的聲望將永久仇恨。 擊中時可能: 迫使敵人召喚一名武警為他作戰。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.126.145.206

05/12 15:49, , 1F
TImage, TBitmap?? Create format的用法不太一樣就是.
05/12 15:49, 1F

05/12 15:52, , 2F
謝謝,我去研究看看
05/12 15:52, 2F
文章代碼(AID): #1A2IW0_H (C_and_CPP)
討論串 (同標題文章)
文章代碼(AID): #1A2IW0_H (C_and_CPP)