summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2019-08-28 14:48:26 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2019-09-25 14:48:53 +0300
commitdcb5a8c6c233824b59ce200f656b32e3fcac609d (patch)
tree4723771c9131cf387ebe6637d44c1f9d7e463469 /utils
parent339e794dc14740d3628bac988e33e48d20551df4 (diff)
wbm2m: add informative prints
Diffstat (limited to 'utils')
-rw-r--r--utils/wbm2m.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/wbm2m.cpp b/utils/wbm2m.cpp
index b69bb28..07074e5 100644
--- a/utils/wbm2m.cpp
+++ b/utils/wbm2m.cpp
@@ -101,9 +101,14 @@ int main(int argc, char** argv)
exit(-1);
}
+ printf("%ux%u-%s -> %ux%u-%s\n", src_width, src_height, PixelFormatToFourCC(src_fmt).c_str(),
+ dst_width, dst_height, PixelFormatToFourCC(dst_fmt).c_str());
+
const string filename = sformat("wb-out-%ux%u_%4.4s.raw", dst_width, dst_height,
PixelFormatToFourCC(dst_fmt).c_str());
+ printf("writing to %s\n", filename.c_str());
+
VideoDevice vid("/dev/video10");
Card card;