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.

31 lines
1.2 KiB

  1. // $Header: G:/SwDev/WDM/Video/bt848/rcs/S_constr.h 1.3 1998/04/29 22:43:40 tomz Exp $
  2. #ifndef __S_CONSTR_H
  3. #define __S_CONSTR_H
  4. #define CONSTRUCT_SCALER_REGISTERS( offset ) \
  5. regCROP ( (0x03 * 4) + (offset), RW ) ,\
  6. fieldVACTIVE_MSB( regCROP, 4, 2, RW) ,\
  7. fieldHDELAY_MSB( regCROP, 2, 2, RW) ,\
  8. fieldHACTIVE_MSB( regCROP, 0, 2, RW) ,\
  9. regVACTIVE_LO ( (0x05 * 4) + (offset), RW ) ,\
  10. regHDELAY_LO ( (0x06 * 4) + (offset), RW ) ,\
  11. regHACTIVE_LO ( (0x07 * 4) + (offset), RW ) ,\
  12. regHSCALE_HI ( (0x08 * 4) + (offset), RW ) ,\
  13. fieldHSCALE_MSB( regHSCALE_HI, 0, 8, RW) ,\
  14. regHSCALE_LO ( (0x09 * 4) + (offset), RW ) ,\
  15. regSCLOOP ( (0x10 * 4) + (offset), RW ) ,\
  16. fieldHFILT( regSCLOOP, 3, 2, RW) ,\
  17. regVSCALE_HI ( (0x13 * 4) + (offset), RW ) ,\
  18. fieldVSCALE_MSB( regVSCALE_HI, 0, 5, RW) ,\
  19. regVSCALE_LO ( (0x14 * 4) + (offset), RW ) ,\
  20. regVActive( regVACTIVE_LO, 8, fieldVACTIVE_MSB, RW ),\
  21. regVScale( regVSCALE_LO, 8, fieldVSCALE_MSB, RW ),\
  22. regHDelay( regHDELAY_LO, 8, fieldHDELAY_MSB, RW ),\
  23. regHActive( regHACTIVE_LO, 8, fieldHACTIVE_MSB, RW ),\
  24. regHScale( regHSCALE_LO, 8, fieldHSCALE_MSB, RW ),\
  25. regVTC ( (0x1B * 4) + (offset), RW ) ,\
  26. fieldVFILT( regVTC, 0, 2, RW)
  27. #endif // __S_CONSTR_H