Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / drivers / staging / media / meson / vdec / vdec_platform.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2018 BayLibre, SAS
4  * Author: Maxime Jourdan <mjourdan@baylibre.com>
5  */
6
7 #ifndef __MESON_VDEC_PLATFORM_H_
8 #define __MESON_VDEC_PLATFORM_H_
9
10 #include "vdec.h"
11
12 struct amvdec_format;
13
14 enum vdec_revision {
15         VDEC_REVISION_GXBB,
16         VDEC_REVISION_GXL,
17         VDEC_REVISION_GXM,
18 };
19
20 struct vdec_platform {
21         const struct amvdec_format *formats;
22         const u32 num_formats;
23         enum vdec_revision revision;
24 };
25
26 extern const struct vdec_platform vdec_platform_gxbb;
27 extern const struct vdec_platform vdec_platform_gxm;
28 extern const struct vdec_platform vdec_platform_gxl;
29
30 #endif