summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l2/v4l2_camera_proxy.h')
-rw-r--r--src/v4l2/v4l2_camera_proxy.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/v4l2/v4l2_camera_proxy.h b/src/v4l2/v4l2_camera_proxy.h
index bef0f0af..3d702084 100644
--- a/src/v4l2/v4l2_camera_proxy.h
+++ b/src/v4l2/v4l2_camera_proxy.h
@@ -54,12 +54,12 @@ private:
int vidioc_streamon(int *arg);
int vidioc_streamoff(int *arg);
- static int bplMultiplier(unsigned int format);
- static int imageSize(unsigned int format, unsigned int width,
- unsigned int height);
+ static unsigned int bplMultiplier(uint32_t format);
+ static unsigned int imageSize(uint32_t format, unsigned int width,
+ unsigned int height);
- static unsigned int v4l2ToDrm(unsigned int pixelformat);
- static unsigned int drmToV4L2(unsigned int pixelformat);
+ static PixelFormat v4l2ToDrm(uint32_t format);
+ static uint32_t drmToV4L2(PixelFormat format);
unsigned int refcount_;
unsigned int index_;