meson_vpp.h 690 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Copyright (C) 2016 BayLibre, SAS
  4. * Author: Neil Armstrong <narmstrong@baylibre.com>
  5. */
  6. /* Video Post Process */
  7. #ifndef __MESON_VPP_H
  8. #define __MESON_VPP_H
  9. struct drm_rect;
  10. struct meson_drm;
  11. /* Mux VIU/VPP to ENCI */
  12. #define MESON_VIU_VPP_MUX_ENCI 0x5
  13. /* Mux VIU/VPP to ENCP */
  14. #define MESON_VIU_VPP_MUX_ENCP 0xA
  15. void meson_vpp_setup_mux(struct meson_drm *priv, unsigned int mux);
  16. void meson_vpp_setup_interlace_vscaler_osd1(struct meson_drm *priv,
  17. struct drm_rect *input);
  18. void meson_vpp_disable_interlace_vscaler_osd1(struct meson_drm *priv);
  19. void meson_vpp_init(struct meson_drm *priv);
  20. #endif /* __MESON_VPP_H */