• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/IOFWDVComponents-207.4.1/tests/

Lines Matching refs:refNum

51     OSErr (*fDVCloseDriver)( DVDeviceRefNum refNum );
53 OSErr (*fDVDoAVCTransaction)( DVDeviceRefNum refNum, AVCTransactionParamsPtr pParams );
55 OSErr (*fDVIsEnabled)( DVDeviceRefNum refNum, Boolean *isEnabled);
56 OSErr (*fDVGetDeviceStandard)( DVDeviceRefNum refNum, UInt32 * pStandard );
59 OSErr (*fDVEnableRead)( DVDeviceRefNum refNum );
60 OSErr (*fDVDisableRead)( DVDeviceRefNum refNum );
61 OSErr (*fDVReadFrame)( DVDeviceRefNum refNum, Ptr *ppReadBuffer, UInt32 * pSize );
62 OSErr (*fDVReleaseFrame)( DVDeviceRefNum refNum, Ptr pReadBuffer );
65 OSErr (*fDVEnableWrite)( DVDeviceRefNum refNum );
66 OSErr (*fDVDisableWrite)( DVDeviceRefNum refNum );
67 OSErr (*fDVGetEmptyFrame)( DVDeviceRefNum refNum, Ptr *ppEmptyFrameBuffer, UInt32 * pSize );
68 OSErr (*fDVWriteFrame)( DVDeviceRefNum refNum, Ptr pWriteBuffer );
71 OSErr (*fDVNewNotification)( DVDeviceRefNum refNum, DVNotifyProc notifyProc,
73 OSErr (*fDVNotifyMeWhen)( DVDeviceRefNum refNum, DVNotificationID notifyID, UInt32 events);
74 OSErr (*fDVCancelNotification)( DVDeviceRefNum refNum, DVNotificationID notifyID );
75 OSErr (*fDVDisposeNotification)( DVDeviceRefNum refNum, DVNotificationID notifyID );
160 static OSErr doControlTest(DVDeviceRefNum refNum, UInt8 op1, UInt8 op2)
180 err = sDVFuncs.fDVDoAVCTransaction(refNum, &avcParams );
182 printf("Error %d calling DVDoAVCTransaction(%ld)\n", err, refNum);
187 static OSErr doStatusTest(DVDeviceRefNum refNum, UInt8 op1, UInt8 op2)
207 err = sDVFuncs.fDVDoAVCTransaction(refNum, &avcParams );
209 printf("Error %d calling DVDoAVCTransaction(%ld)\n", err, refNum);
214 static OSErr doStatusTest6(DVDeviceRefNum refNum, UInt8 op1, UInt8 op2,
239 err = sDVFuncs.fDVDoAVCTransaction(refNum, &avcParams );
241 printf("Error %d calling DVDoAVCTransaction_6(%ld)\n", err, refNum);
261 DVDeviceRefNum refNum;
296 err = sDVFuncs.fDVOpenDriver( device, &refNum );
300 err = sDVFuncs.fDVGetDeviceStandard(refNum, &standard);
310 err = sDVFuncs.fDVIsEnabled(refNum, &isEnabled);
321 err = doStatusTest(refNum, kAVCMechaModeInquiryOpcode, kAVCMechaModeDummyOperand);
324 err = doStatusTest6(refNum, kAVCPositionTimeCodeOpcode, kAVCPositionValueInquiry,
334 err = sDVFuncs.fDVCloseDriver( refNum );