mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 23:20:05 +00:00
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>
This commit is contained in:
parent
9e81254988
commit
7248d1ff0e
@ -78,7 +78,7 @@
|
|||||||
#define FWHT_FL_ALPHA_IS_UNCOMPRESSED BIT(9)
|
#define FWHT_FL_ALPHA_IS_UNCOMPRESSED BIT(9)
|
||||||
|
|
||||||
/* A 4-values flag - the number of components - 1 */
|
/* 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
|
#define FWHT_FL_COMPONENTS_NUM_OFFSET 16
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user