#include "camera_probe.hpp"#include <dshow.h>#include <dvdmedia.h>#include <olectl.h>#include <windows.h>#include <algorithm>#include <cmath>#include <iomanip>#include <map>#include <memory>#include <ostream>#include <string>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | acmxvk |
| namespace | acmxvk::anonymous_namespace{camera_probe_windows.cpp} |
Macros | |
| #define | NOMINMAX |
Typedefs | |
| template<typename T> | |
| using | acmxvk::anonymous_namespace{camera_probe_windows.cpp}::ComPtr = std::unique_ptr<T, ComReleaser<T>> |
Functions | |
| void | acmxvk::anonymous_namespace{camera_probe_windows.cpp}::append_frame_rate (std::vector< double > &rates, double value) |
| std::string | acmxvk::anonymous_namespace{camera_probe_windows.cpp}::camera_name (IPropertyBag *property_bag) |
| std::vector< CameraDevice > | acmxvk::anonymous_namespace{camera_probe_windows.cpp}::enumerate_devices () |
| void | acmxvk::anonymous_namespace{camera_probe_windows.cpp}::free_media_type (AM_MEDIA_TYPE *media_type) |
| bool | acmxvk::listCameraDevices (std::ostream &output, std::ostream &error) |
| Print native camera device indices and names as tab-separated records. | |
| bool | acmxvk::probeCameraDevice (int device_index, std::ostream &output, std::ostream &error) |
| Print the native capture formats, resolutions, and frame rates exposed by a camera device. | |
| ComPtr< IAMStreamConfig > | acmxvk::anonymous_namespace{camera_probe_windows.cpp}::stream_config (IMoniker *moniker) |
| std::string | acmxvk::anonymous_namespace{camera_probe_windows.cpp}::subtype_name (const GUID &subtype) |
| bool | acmxvk::anonymous_namespace{camera_probe_windows.cpp}::video_format (const AM_MEDIA_TYPE *media_type, int &width, int &height, double &frame_rate) |
| std::string | acmxvk::anonymous_namespace{camera_probe_windows.cpp}::wide_to_utf8 (const wchar_t *value) |
Variables | |
| static const GUID | MEDIASUBTYPE_I420 |
| #define NOMINMAX |
Definition at line 4 of file camera_probe_windows.cpp.
|
static |
Definition at line 21 of file camera_probe_windows.cpp.
Referenced by acmxvk::anonymous_namespace{camera_probe_windows.cpp}::subtype_name().