Skip to content

Commit 3851fdc

Browse files
hverkuilmchehab
authored andcommitted
media: v4l2-tpg: use (t,l)/wxh format for rectangle
Standardize reporting of rectangles to (t,l)/wxh. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
1 parent 021f88a commit 3851fdc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/media/common/v4l2-tpg/v4l2-tpg-core.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2249,10 +2249,10 @@ void tpg_log_status(struct tpg_data *tpg)
22492249
tpg->src_width, tpg->src_height,
22502250
tpg_color_enc_str(tpg->color_enc));
22512251
pr_info("tpg field: %u\n", tpg->field);
2252-
pr_info("tpg crop: %ux%u@%dx%d\n", tpg->crop.width, tpg->crop.height,
2253-
tpg->crop.left, tpg->crop.top);
2254-
pr_info("tpg compose: %ux%u@%dx%d\n", tpg->compose.width, tpg->compose.height,
2255-
tpg->compose.left, tpg->compose.top);
2252+
pr_info("tpg crop: (%d,%d)/%ux%u\n", tpg->crop.left, tpg->crop.top,
2253+
tpg->crop.width, tpg->crop.height);
2254+
pr_info("tpg compose: (%d,%d)/%ux%u\n", tpg->compose.left, tpg->compose.top,
2255+
tpg->compose.width, tpg->compose.height);
22562256
pr_info("tpg colorspace: %d\n", tpg->colorspace);
22572257
pr_info("tpg transfer function: %d/%d\n", tpg->xfer_func, tpg->real_xfer_func);
22582258
if (tpg->color_enc == TGP_COLOR_ENC_HSV)

0 commit comments

Comments
 (0)