Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.3 KiB

  1. //***************************************************************************
  2. // PCI Interface(DACK) header
  3. //
  4. //***************************************************************************
  5. #ifndef __CDACK_H__
  6. #define __CDACK_H__
  7. #define PALETTE_Y 0x01
  8. #define PALETTE_Cb 0x02
  9. #define PALETTE_Cr 0x03
  10. class Dack
  11. {
  12. private:
  13. PUCHAR ioBase;
  14. UCHAR DigitalOutMode;
  15. UCHAR paldata[3][256];
  16. public:
  17. void init( const PDEVICE_INIT_INFO pDevInit );
  18. NTSTATUS PCIF_RESET( void );
  19. void PCIF_AMUTE_ON( void );
  20. void PCIF_AMUTE_OFF( void );
  21. void PCIF_AMUTE2_ON( void );
  22. void PCIF_AMUTE2_OFF( void );
  23. void PCIF_VSYNC_ON( void );
  24. void PCIF_VSYNC_OFF( void );
  25. void PCIF_PACK_START_ON( void );
  26. void PCIF_PACK_START_OFF( void );
  27. void PCIF_SET_DIGITAL_OUT( UCHAR mode );
  28. void PCIF_SET_DMA0_SIZE( ULONG dmaSize );
  29. void PCIF_SET_DMA1_SIZE( ULONG dmaSize );
  30. void PCIF_SET_DMA0_ADDR( ULONG dmaAddr );
  31. void PCIF_SET_DMA1_ADDR( ULONG dmaAddr );
  32. void PCIF_DMA0_START( void );
  33. void PCIF_DMA1_START( void );
  34. void PCIF_SET_PALETTE( UCHAR select, PUCHAR pPalette );
  35. void PCIF_GET_PALETTE( UCHAR select, PUCHAR pPalette );
  36. void PCIF_CHECK_SERIAL( void );
  37. void PCIF_DMA_ABORT( void );
  38. void PCIF_ALL_IFLAG_CLEAR( void );
  39. void PCIF_ASPECT_0403( void );
  40. void PCIF_ASPECT_1609( void );
  41. };
  42. #endif // __CACK_H__