From: Dafna Hirschfeld <dafna3@gmail.com>
To: linux-media@vger.kernel.org
Cc: hverkuil@xs4all.nl, helen.koike@collabora.com,
Dafna Hirschfeld <dafna3@gmail.com>
Subject: [PATCH v5 3/6] media: vicodec: use 3 bits for the number of components
Date: Sun, 20 Jan 2019 05:29:04 -0800 [thread overview]
Message-ID: <20190120132907.30812-4-dafna3@gmail.com> (raw)
In-Reply-To: <20190120132907.30812-1-dafna3@gmail.com>
Use 3 bits for the number of components mask in the fwht
header flags
Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
---
drivers/media/platform/vicodec/codec-fwht.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
/*
--
2.17.1
next prev parent reply other threads:[~2019-01-20 13:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-20 13:29 [PATCH v5 0/6] media: vicodec: source change support Dafna Hirschfeld
2019-01-20 13:29 ` [PATCH v5 1/6] media: vicodec: Add num_planes field to v4l2_fwht_pixfmt_info Dafna Hirschfeld
2019-01-20 13:29 ` [PATCH v5 2/6] media: vicodec: add support for CROP and COMPOSE selection Dafna Hirschfeld
2019-01-20 13:29 ` Dafna Hirschfeld [this message]
2019-01-20 13:29 ` [PATCH v5 4/6] media: vicodec: Add pixel encoding flags to fwht header Dafna Hirschfeld
2019-01-20 13:29 ` [PATCH v5 5/6] media: vicodec: Separate fwht header from the frame data Dafna Hirschfeld
2019-01-20 13:29 ` [PATCH v5 6/6] media: vicodec: Add support for resolution change event Dafna Hirschfeld
2019-01-21 10:18 ` [PATCH v5 0/6] media: vicodec: source change support Hans Verkuil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190120132907.30812-4-dafna3@gmail.com \
--to=dafna3@gmail.com \
--cc=helen.koike@collabora.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.