hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (C) 2018 BayLibre, SAS
 * Author: Maxime Jourdan <mjourdan@baylibre.com>
 */
 
#ifndef __MESON_VDEC_PLATFORM_H_
#define __MESON_VDEC_PLATFORM_H_
 
#include "vdec.h"
 
struct amvdec_format;
 
enum vdec_revision {
   VDEC_REVISION_GXBB,
   VDEC_REVISION_GXL,
   VDEC_REVISION_GXM,
   VDEC_REVISION_G12A,
   VDEC_REVISION_SM1,
};
 
struct vdec_platform {
   const struct amvdec_format *formats;
   const u32 num_formats;
   enum vdec_revision revision;
};
 
extern const struct vdec_platform vdec_platform_gxbb;
extern const struct vdec_platform vdec_platform_gxm;
extern const struct vdec_platform vdec_platform_gxl;
extern const struct vdec_platform vdec_platform_g12a;
extern const struct vdec_platform vdec_platform_sm1;
 
#endif