1 2 #ifndef _DV_H_ 3 #define _DV_H_ 4 5 typedef struct Tag_DVAudInfo 6 { 7 BYTE bAudStyle[2]; 8 BYTE bAudQu[2]; 9 BYTE bNumAudPin; 10 WORD wAvgSamplesPerPinPerFrm[2]; 11 WORD wBlkMode; 12 WORD wDIFMode; 13 WORD wBlkDiv; 14 15 } DVAudInfo; 16 17 #define DV_AUDIOMODE 0x00000f00 18 #define DV_AUDIOQU 0x07000000 19 #define DV_AUDIOSMP 0x38000000 20 #define DV_CAP_AUD16Bits 0x00 21 #define DV_CAP_AUD12Bits 0x01 22 #define DV_HD 0x01 23 #define DV_DVSD_NTSC_FRAMESIZE 120000 24 #define DV_DVSD_PAL_FRAMESIZE 144000 25 #define DV_NTSC 0 26 #define DV_NTSCPAL 0x00200000 27 #define DV_PAL 1 28 #define DV_SMCHN 0x0000e000 29 #define DV_SD 0x00 30 #define DV_SL 0x02 31 #define DV_STYPE 0x001f0000 32 33 #define SIZE_DVINFO 0x20 34 35 #endif 36