meson_venc_cvbs.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright (C) 2016 BayLibre, SAS
  3. * Author: Neil Armstrong <narmstrong@baylibre.com>
  4. * Copyright (C) 2014 Endless Mobile
  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 as
  8. * published by the Free Software Foundation; either version 2 of the
  9. * License, or (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * 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, see <http://www.gnu.org/licenses/>.
  18. *
  19. * Written by:
  20. * Jasper St. Pierre <jstpierre@mecheye.net>
  21. */
  22. #ifndef __MESON_VENC_CVBS_H
  23. #define __MESON_VENC_CVBS_H
  24. #include "meson_drv.h"
  25. #include "meson_venc.h"
  26. struct meson_cvbs_mode {
  27. struct meson_cvbs_enci_mode *enci;
  28. struct drm_display_mode mode;
  29. };
  30. #define MESON_CVBS_MODES_COUNT 2
  31. /* Modes supported by the CVBS output */
  32. extern struct meson_cvbs_mode meson_cvbs_modes[MESON_CVBS_MODES_COUNT];
  33. int meson_venc_cvbs_create(struct meson_drm *priv);
  34. #endif /* __MESON_VENC_CVBS_H */