/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2019, Google Inc. * * libcamera V4L2 API tests */ #include "v4l2_videodevice_test.h" class RequestBuffersTest : public V4L2VideoDeviceTest { public: RequestBuffersTest() : V4L2VideoDeviceTest("vimc", "Raw Capture 0") {} protected: int run() { const unsigned int bufferCount = 8; int ret = capture_->allocateBuffers(bufferCount, &buffers_); if (ret != bufferCount) return TestFail; return TestPass; } }; TEST_REGISTER(RequestBuffersTest) >index : libcamera/libcamera.git
libcamera official repositorygit repository hosting on libcamera.org
summaryrefslogtreecommitdiff
path: root/README.md
blob: 45ae3a41062efd2c22dcb28d800e427c5731850a (plain)
1
2
3
4
5
6
7
8
9
# libcamera: A complex camera support library for Linux, Android, and ChromeOS

To build and install:
```
  meson build
  cd build
  ninja
  ninja install
```