upd64031a.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * upd64031a - NEC Electronics Ghost Reduction input defines
  3. *
  4. * 2006 by Hans Verkuil (hverkuil@xs4all.nl)
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * as published by the Free Software Foundation; either version 2
  9. * of the License, or (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  19. */
  20. #ifndef _UPD64031A_H_
  21. #define _UPD64031A_H_
  22. /* Ghost reduction modes */
  23. #define UPD64031A_GR_ON 0
  24. #define UPD64031A_GR_OFF 1
  25. #define UPD64031A_GR_THROUGH 3
  26. /* Direct 3D/YCS Connection */
  27. #define UPD64031A_3DYCS_DISABLE (0 << 2)
  28. #define UPD64031A_3DYCS_COMPOSITE (2 << 2)
  29. #define UPD64031A_3DYCS_SVIDEO (3 << 2)
  30. /* Composite sync digital separation circuit */
  31. #define UPD64031A_COMPOSITE_EXTERNAL (1 << 4)
  32. /* Vertical sync digital separation circuit */
  33. #define UPD64031A_VERTICAL_EXTERNAL (1 << 5)
  34. #endif