]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: pci: zoran: use (t,l)/wxh format for rectangle
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 4 Mar 2025 11:08:13 +0000 (12:08 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 30 Apr 2025 06:16:07 +0000 (08:16 +0200)
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>
drivers/media/pci/zoran/zoran_card.c
drivers/media/pci/zoran/zr36016.c
drivers/media/pci/zoran/zr36050.c
drivers/media/pci/zoran/zr36060.c

index 3975fc1b2ee3138ef84d69b7ff5b00de3e9c596e..e31f9f19a48a9569f52d4d1e767d5881c0493d63 100644 (file)
@@ -1202,7 +1202,7 @@ static int zoran_debugfs_show(struct seq_file *seq, void *v)
        seq_printf(seq, "JPG ver_dcm %u\n", zr->jpg_settings.ver_dcm);
        seq_printf(seq, "JPG tmp_dcm %u\n", zr->jpg_settings.tmp_dcm);
        seq_printf(seq, "JPG odd_even %u\n", zr->jpg_settings.odd_even);
-       seq_printf(seq, "JPG crop %dx%d %d %d\n",
+       seq_printf(seq, "JPG crop (%d,%d)/%dx%d\n",
                   zr->jpg_settings.img_x,
                   zr->jpg_settings.img_y,
                   zr->jpg_settings.img_width,
index 4b328ad6083fdce76d0bc96a3079d350781d0049..d2e136c48a1b372d6d3ca0306c53f43c5807ff30 100644 (file)
@@ -216,7 +216,7 @@ static int zr36016_set_video(struct videocodec *codec, const struct tvnorm *norm
        struct zr36016 *ptr = (struct zr36016 *)codec->data;
        struct zoran *zr = videocodec_to_zoran(codec);
 
-       zrdev_dbg(zr, "%s: set_video %d.%d, %d/%d-%dx%d (0x%x) call\n",
+       zrdev_dbg(zr, "%s: set_video %d.%d, (%u,%u)/%ux%u (0x%x) call\n",
                  ptr->name, norm->h_start, norm->v_start,
                  cap->x, cap->y, cap->width, cap->height,
                  cap->decimation);
index b07d7e5c1b4a33840630672b37347ec5c8b1dd5b..c17965073557f87cb88c49e45cbab7fdbf032bab 100644 (file)
@@ -547,7 +547,7 @@ static int zr36050_set_video(struct videocodec *codec, const struct tvnorm *norm
        struct zoran *zr = videocodec_to_zoran(codec);
        int size;
 
-       zrdev_dbg(zr, "%s: set_video %d.%d, %d/%d-%dx%d (0x%x) q%d call\n",
+       zrdev_dbg(zr, "%s: set_video %d.%d, (%u,%u)/%ux%u (0x%x) q%d call\n",
                  ptr->name, norm->h_start, norm->v_start,
                  cap->x, cap->y, cap->width, cap->height,
                  cap->decimation, cap->quality);
index 75fd167603dcb7053b91d56ea0a2c7f65d3b20ba..d6c12efc5bb69e8d774b95ecbdf297c7d833ae38 100644 (file)
@@ -488,7 +488,7 @@ static int zr36060_set_video(struct videocodec *codec, const struct tvnorm *norm
        u32 reg;
        int size;
 
-       zrdev_dbg(zr, "%s: set_video %d/%d-%dx%d (%%%d) call\n", ptr->name,
+       zrdev_dbg(zr, "%s: set_video (%u,%u)/%ux%u (%%%d) call\n", ptr->name,
                  cap->x, cap->y, cap->width, cap->height, cap->decimation);
 
        /* if () return -EINVAL;