儲存庫 vbox 的更動 62822
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/VBox/vmm/pdmwebcaminfs.h
r62821 r62822 54 54 * @param fReady Whether the device is ready. 55 55 */ 56 DECLR3CALLBACKMEMBER(void, pfn WebcamDownReady,(PPDMIWEBCAMDOWN pInterface, bool fReady));56 DECLR3CALLBACKMEMBER(void, pfnReady,(PPDMIWEBCAMDOWN pInterface, bool fReady)); 57 57 58 58 /** … … 68 68 * @param cbCtrl The size of the control data. 69 69 */ 70 DECLR3CALLBACKMEMBER(int, pfn WebcamDownControl,(PPDMIWEBCAMDOWN pInterface, void *pvUser, uint64_t idDevice,71 70 DECLR3CALLBACKMEMBER(int, pfnControl,(PPDMIWEBCAMDOWN pInterface, void *pvUser, uint64_t idDevice, 71 struct VRDEVIDEOINCTRLHDR const *pCtrl, uint32_t cbCtrl)); 72 72 } PDMIWEBCAMDOWN; 73 73 /** Interface ID for PDMIWEBCAMDOWN. */ … … 93 93 * @param fCapabilities The remote video input protocol capabilities. 94 94 */ 95 DECLR3CALLBACKMEMBER(int, pfn WebcamUpAttached,(PPDMIWEBCAMUP pInterface, uint64_t idDevice,96 97 95 DECLR3CALLBACKMEMBER(int, pfnAttached,(PPDMIWEBCAMUP pInterface, uint64_t idDevice, 96 struct VRDEVIDEOINDEVICEDESC const *pDeviceDesc, uint32_t cbDeviceDesc, 97 uint32_t uVersion, uint32_t fCapabilities)); 98 98 99 99 /** … … 104 104 * driver. 105 105 */ 106 DECLR3CALLBACKMEMBER(void, pfn WebcamUpDetached,(PPDMIWEBCAMUP pInterface, uint64_t idDevice));106 DECLR3CALLBACKMEMBER(void, pfnDetached,(PPDMIWEBCAMUP pInterface, uint64_t idDevice)); 107 107 108 108 /** … … 117 117 * @param cbCtrl The size of the control data. 118 118 */ 119 DECLR3CALLBACKMEMBER(void, pfn WebcamUpControl,(PPDMIWEBCAMUP pInterface, bool fResponse, void *pvUser,120 119 DECLR3CALLBACKMEMBER(void, pfnControl,(PPDMIWEBCAMUP pInterface, bool fResponse, void *pvUser, 120 uint64_t idDevice, struct VRDEVIDEOINCTRLHDR const *pCtrl, uint32_t cbCtrl)); 121 121 122 122 /** … … 130 130 * @param cbFrame Size of the image data. 131 131 */ 132 DECLR3CALLBACKMEMBER(void, pfn WebcamUpFrame,(PPDMIWEBCAMUP pInterface, uint64_t idDevice,133 134 132 DECLR3CALLBACKMEMBER(void, pfnFrame,(PPDMIWEBCAMUP pInterface, uint64_t idDevice, 133 struct VRDEVIDEOINPAYLOADHDR const *pHeader, uint32_t cbHeader, 134 const void *pvFrame, uint32_t cbFrame)); 135 135 } PDMIWEBCAMUP; 136 136 /** Interface ID for PDMIWEBCAMUP. */ -
trunk/src/VBox/Main/src-client/UsbWebcamInterface.cpp
r62821 r62822 68 68 if (pThis->pIWebcamUp) 69 69 { 70 pThis->pIWebcamUp->pfn WebcamUpAttached(pThis->pIWebcamUp,71 72 73 74 75 70 pThis->pIWebcamUp->pfnAttached(pThis->pIWebcamUp, 71 pRemote->u64DeviceId, 72 pRemote->pDeviceDesc, 73 pRemote->cbDeviceDesc, 74 pRemote->u32Version, 75 pRemote->fu32Capabilities); 76 76 } 77 77 } … … 224 224 { 225 225 if (mpDrv && mpDrv->pIWebcamUp) 226 { 227 mpDrv->pIWebcamUp->pfnWebcamUpDetached(mpDrv->pIWebcamUp, 228 mpRemote->u64DeviceId); 229 } 226 mpDrv->pIWebcamUp->pfnDetached(mpDrv->pIWebcamUp, mpRemote->u64DeviceId); 230 227 /* mpRemote is deallocated in EmWebcamDestruct */ 231 228 } … … 282 279 if (mpDrv && mpDrv->pIWebcamUp) 283 280 { 284 mpDrv->pIWebcamUp->pfn WebcamUpControl(mpDrv->pIWebcamUp,285 286 287 288 289 281 mpDrv->pIWebcamUp->pfnControl(mpDrv->pIWebcamUp, 282 fResponse, 283 pvUser, 284 mpRemote->u64DeviceId, 285 pControl, 286 cbControl); 290 287 } 291 288 … … 307 304 const uint8_t *pu8Image = cbImage > 0? (const uint8_t *)pFrame + pFrame->u8HeaderLength: NULL; 308 305 309 mpDrv->pIWebcamUp->pfn WebcamUpFrame(mpDrv->pIWebcamUp,310 311 312 313 314 306 mpDrv->pIWebcamUp->pfnFrame(mpDrv->pIWebcamUp, 307 mpRemote->u64DeviceId, 308 pFrame, 309 pFrame->u8HeaderLength, 310 pu8Image, 311 cbImage); 315 312 } 316 313 } … … 417 414 pDrvIns->IBase.pfnQueryInterface = drvQueryInterface; 418 415 419 pThis->IWebcamDown.pfn WebcamDownReady= drvEmWebcamReady;420 pThis->IWebcamDown.pfn WebcamDownControl = drvEmWebcamControl;416 pThis->IWebcamDown.pfnReady = drvEmWebcamReady; 417 pThis->IWebcamDown.pfnControl = drvEmWebcamControl; 421 418 422 419 return VINF_SUCCESS;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器