diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2018-11-05 10:25:13 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-11-23 05:36:35 -0500 |
commit | c229f5c746657702df9b3980bdafd396ba60ed3c (patch) | |
tree | 692b96c83b92c7b918d3f5fb7d54cbe59fd7f962 /drivers/media/platform/coda/coda-common.c | |
parent | 8f90d15e6d5471bde75e77dbd415b27907bd56bd (diff) |
media: coda: debug output when setting visible size via crop selection
In addition to the S_FMT debug output, S_SELECTION (SEL_TGT_CROP) is
relevant to determine encoded size. Add debug output for it.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/coda/coda-common.c')
-rw-r--r-- | drivers/media/platform/coda/coda-common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/platform/coda/coda-common.c b/drivers/media/platform/coda/coda-common.c index c99f822e0c79..a62c47843d2f 100644 --- a/drivers/media/platform/coda/coda-common.c +++ b/drivers/media/platform/coda/coda-common.c @@ -962,6 +962,9 @@ static int coda_s_selection(struct file *file, void *fh, q_data->rect = s->r; + coda_dbg(1, ctx, "Setting crop rectangle: %dx%d\n", + s->r.width, s->r.height); + return 0; } /* else fall through */ |