summaryrefslogtreecommitdiffhomepage
path: root/video/camera.hpp
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-04-14 10:05:23 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-24 18:46:12 +0200
commit51436cc320670e033c69bc01d2178bd245234670 (patch)
tree1468e1fb6017166a95ca7ec17d81980cc2b51c05 /video/camera.hpp
parent984f1c719a6636ec5e155a218bd69fec7da8b71c (diff)
Kinect: IR camera now provides raw 16 bits buffer.
Easy Tracker: Support for 16 bits and RGB frame buffers.
Diffstat (limited to 'video/camera.hpp')
-rw-r--r--video/camera.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/camera.hpp b/video/camera.hpp
index c8eff3b9..1cda8839 100644
--- a/video/camera.hpp
+++ b/video/camera.hpp
@@ -23,7 +23,7 @@ struct frame final
// the `stride' member can have a special value of zero,
// signifying equal to width * element size
int width = 0, height = 0, stride = 0, channels = 0;
- // TODO: Add channel size instead of assuming 1 byte
+ int channelSize = 1;
};
} // ns video