ACMX 2.136.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
camera_probe.hpp
Go to the documentation of this file.
1#ifndef ACMXVK_APP_CAMERA_PROBE_HPP
2#define ACMXVK_APP_CAMERA_PROBE_HPP
3
4#include <iosfwd>
5
6namespace acmxvk {
7 /** Print native camera device indices and names as tab-separated records. */
8 [[nodiscard]] bool listCameraDevices(std::ostream &output,
9 std::ostream &error);
10
11 /**
12 * Print the native capture formats, resolutions, and frame rates exposed by
13 * a camera device.
14 *
15 * Output intentionally matches ACMX2's --enumerate-device format so the Qt
16 * interface can parse either backend with the same code.
17 */
18 [[nodiscard]] bool probeCameraDevice(int device_index,
19 std::ostream &output,
20 std::ostream &error);
21} // namespace acmxvk
22
23#endif
bool listCameraDevices(std::ostream &output, std::ostream &error)
Print native camera device indices and names as tab-separated records.
bool probeCameraDevice(int device_index, std::ostream &output, std::ostream &error)
Print the native capture formats, resolutions, and frame rates exposed by a camera device.