.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2016 BayLibre, SAS |
---|
3 | 4 | * Author: Neil Armstrong <narmstrong@baylibre.com> |
---|
4 | | - * |
---|
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. |
---|
9 | | - * |
---|
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. |
---|
14 | | - * |
---|
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/>. |
---|
17 | 5 | */ |
---|
18 | 6 | |
---|
19 | 7 | /* |
---|
.. | .. |
---|
25 | 13 | |
---|
26 | 14 | #ifndef __MESON_VENC_H |
---|
27 | 15 | #define __MESON_VENC_H |
---|
| 16 | + |
---|
| 17 | +struct drm_display_mode; |
---|
28 | 18 | |
---|
29 | 19 | enum { |
---|
30 | 20 | MESON_VENC_MODE_NONE = 0, |
---|
.. | .. |
---|
70 | 60 | void meson_venci_cvbs_mode_set(struct meson_drm *priv, |
---|
71 | 61 | struct meson_cvbs_enci_mode *mode); |
---|
72 | 62 | void meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic, |
---|
73 | | - struct drm_display_mode *mode); |
---|
| 63 | + unsigned int ycrcb_map, |
---|
| 64 | + bool yuv420_mode, |
---|
| 65 | + const struct drm_display_mode *mode); |
---|
74 | 66 | unsigned int meson_venci_get_field(struct meson_drm *priv); |
---|
75 | 67 | |
---|
76 | 68 | void meson_venc_enable_vsync(struct meson_drm *priv); |
---|