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
6
namespace
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
acmxvk
Definition
camera_probe.cpp:24
acmxvk::listCameraDevices
bool listCameraDevices(std::ostream &output, std::ostream &error)
Print native camera device indices and names as tab-separated records.
Definition
camera_probe.cpp:195
acmxvk::probeCameraDevice
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.
Definition
camera_probe.cpp:267
ACMXVK
app
camera_probe.hpp
Generated by
1.18.0