diff options
author | Martin Cerveny <m.cerveny@computer.org> | 2020-11-16 15:56:12 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-12-03 09:36:05 +0300 |
commit | 503dab0b8a56e21a4397668e525273e3b528c78a (patch) | |
tree | 40569bdcdabcc095f7acd254dd749a77b381adbf /drivers/staging/media/sunxi/cedrus/cedrus.h | |
parent | dbf0b3a7b719eb3f72cb53c2ce7d34a012a9c261 (diff) | |
download | linux-503dab0b8a56e21a4397668e525273e3b528c78a.tar.xz |
media: cedrus: Register all codecs as capability
All codecs should have capabilities.
For example "Allwinner V3s" does not support "MPEG2".
Signed-off-by: Martin Cerveny <m.cerveny@computer.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/sunxi/cedrus/cedrus.h')
-rw-r--r-- | drivers/staging/media/sunxi/cedrus/cedrus.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.h b/drivers/staging/media/sunxi/cedrus/cedrus.h index 93c843ae14bb..30cdb15d6800 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus.h +++ b/drivers/staging/media/sunxi/cedrus/cedrus.h @@ -28,6 +28,8 @@ #define CEDRUS_CAPABILITY_UNTILED BIT(0) #define CEDRUS_CAPABILITY_H265_DEC BIT(1) +#define CEDRUS_CAPABILITY_H264_DEC BIT(2) +#define CEDRUS_CAPABILITY_MPEG2_DEC BIT(3) #define CEDRUS_QUIRK_NO_DMA_OFFSET BIT(0) |