diff options
author | Dafna Hirschfeld <dafna3@gmail.com> | 2019-01-21 09:46:15 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-01-25 19:03:28 -0200 |
commit | 7248d1ff0e2199128618a2eb427e798a46deaaf1 (patch) | |
tree | c576d647008f66ef6bb342b4e7f55c76a7a11ca0 /drivers/media/platform | |
parent | 9e812549883730f559cdd95d0c05419f5bfa3713 (diff) | |
download | linux-7248d1ff0e2199128618a2eb427e798a46deaaf1.tar.bz2 |
media: vicodec: use 3 bits for the number of components
Use 3 bits for the number of components mask in the fwht
header flags
Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r-- | drivers/media/platform/vicodec/codec-fwht.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vicodec/codec-fwht.h b/drivers/media/platform/vicodec/codec-fwht.h index 6d230f5e9d60..2984dc772515 100644 --- a/drivers/media/platform/vicodec/codec-fwht.h +++ b/drivers/media/platform/vicodec/codec-fwht.h @@ -78,7 +78,7 @@ #define FWHT_FL_ALPHA_IS_UNCOMPRESSED BIT(9) /* A 4-values flag - the number of components - 1 */ -#define FWHT_FL_COMPONENTS_NUM_MSK GENMASK(17, 16) +#define FWHT_FL_COMPONENTS_NUM_MSK GENMASK(18, 16) #define FWHT_FL_COMPONENTS_NUM_OFFSET 16 /* |