Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright (C) 2016 BayLibre, SAS
0004  * Author: Neil Armstrong <narmstrong@baylibre.com>
0005  */
0006 
0007 /* Video Post Process */
0008 
0009 #ifndef __MESON_VPP_H
0010 #define __MESON_VPP_H
0011 
0012 struct drm_rect;
0013 struct meson_drm;
0014 
0015 /* Mux VIU/VPP to ENCI */
0016 #define MESON_VIU_VPP_MUX_ENCI  0x5
0017 /* Mux VIU/VPP to ENCP */
0018 #define MESON_VIU_VPP_MUX_ENCP  0xA
0019 
0020 void meson_vpp_setup_mux(struct meson_drm *priv, unsigned int mux);
0021 
0022 void meson_vpp_setup_interlace_vscaler_osd1(struct meson_drm *priv,
0023                         struct drm_rect *input);
0024 void meson_vpp_disable_interlace_vscaler_osd1(struct meson_drm *priv);
0025 
0026 void meson_vpp_init(struct meson_drm *priv);
0027 
0028 #endif /* __MESON_VPP_H */