2 * Copyright (C) 2016 BayLibre, SAS
3 * Author: Neil Armstrong <narmstrong@baylibre.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, see <http://www.gnu.org/licenses/>.
19 /* Video Post Process */
24 /* Mux VIU/VPP to ENCI */
25 #define MESON_VIU_VPP_MUX_ENCI 0x5
26 /* Mux VIU/VPP to ENCP */
27 #define MESON_VIU_VPP_MUX_ENCP 0xA
29 void meson_vpp_setup_mux(struct meson_drm
*priv
, unsigned int mux
);
31 void meson_vpp_setup_interlace_vscaler_osd1(struct meson_drm
*priv
,
32 struct drm_rect
*input
);
33 void meson_vpp_disable_interlace_vscaler_osd1(struct meson_drm
*priv
);
35 void meson_vpp_init(struct meson_drm
*priv
);
37 #endif /* __MESON_VPP_H */