Leaked source code of windows server 2003
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.

38 lines
1.0 KiB

  1. // $Header: G:/SwDev/WDM/Video/bt848/rcs/Pscolspc.h 1.3 1998/04/29 22:43:36 tomz Exp $
  2. #ifndef __PSCOSPC_H
  3. #define __PSCOLSPC_H
  4. #ifndef __COMPREG_H
  5. #include "compreg.h"
  6. #endif
  7. #ifndef __COLSPACE_H
  8. #include "colspace.h"
  9. #endif
  10. /* Class: PsColorSpace
  11. * Purpose: This class interfaces to the Pisces HW. That is the only difference
  12. * from its base class ColorSpace. Such division was created so ring3 capture
  13. * driver can utilize ColorSpace's functionality
  14. * Attributes: Format_: Register & - reference to the color format register
  15. * Operations:
  16. * void SetColorFormat( ColorFormat aColor );
  17. */
  18. class PsColorSpace : public ColorSpace
  19. {
  20. private:
  21. RegBase &Format_;
  22. RegBase &WordSwap_;
  23. RegBase &ByteSwap_;
  24. public:
  25. void SetColorFormat( ColFmt aColor );
  26. PsColorSpace( ColFmt aColForm, RegBase &aFormatReg, RegBase &WS,
  27. RegBase &BS ) :
  28. ColorSpace( aColForm ), Format_( aFormatReg ), WordSwap_( WS ),
  29. ByteSwap_( BS ) {}
  30. };
  31. #endif