#include "modules/video_capture/device_info_impl.h"
#include <stdlib.h>
#include "absl/strings/match.h"
#include "absl/strings/string_view.h"
#include "rtc_base/logging.h"
#ifndef abs
#define abs(a) …
#endif
namespace webrtc {
namespace videocapturemodule {
DeviceInfoImpl::DeviceInfoImpl()
: … { … }
DeviceInfoImpl::~DeviceInfoImpl(void) { … }
int32_t DeviceInfoImpl::NumberOfCapabilities(const char* deviceUniqueIdUTF8) { … }
int32_t DeviceInfoImpl::GetCapability(const char* deviceUniqueIdUTF8,
const uint32_t deviceCapabilityNumber,
VideoCaptureCapability& capability) { … }
int32_t DeviceInfoImpl::GetBestMatchedCapability(
const char* deviceUniqueIdUTF8,
const VideoCaptureCapability& requested,
VideoCaptureCapability& resulting) { … }
int32_t DeviceInfoImpl::GetOrientation(const char* deviceUniqueIdUTF8,
VideoRotation& orientation) { … }
}
}