summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice
diff options
context:
space:
mode:
Diffstat (limited to 'test/v4l2_videodevice')
-rw-r--r--test/v4l2_videodevice/buffer_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/v4l2_videodevice/buffer_cache.cpp b/test/v4l2_videodevice/buffer_cache.cpp
index 0a8cb0d2..e6edd2fa 100644
--- a/test/v4l2_videodevice/buffer_cache.cpp
+++ b/test/v4l2_videodevice/buffer_cache.cpp
@@ -142,7 +142,7 @@ public:
const unsigned int numBuffers = 8;
StreamConfiguration cfg;
- cfg.pixelFormat = V4L2_PIX_FMT_YUYV;
+ cfg.pixelFormat = DRM_FORMAT_YUYV;
cfg.size = Size(600, 800);
cfg.bufferCount = numBuffers;
ation * \tparam T Input type of the floating point representation * \param number The floating point number to convert to fixed point * \return The converted value */ /** * \fn R fixedToFloatingPoint(T number) * \brief Convert a fixed-point number to a floating point representation * \tparam I Bit width of the integer part of the fixed-point * \tparam F Bit width of the fractional part of the fixed-point * \tparam R Return type of the floating point representation * \tparam T Input type of the fixed-point representation * \param number The fixed point number to convert to floating point * \return The converted value */ } /* namespace ipa::rkisp1::utils */ } /* namespace libcamera */