MCPcopy Create free account
hub / github.com/TzuHuanTai/RaspberryPi-WebRTC / IsCompressedFormat

Method IsCompressedFormat

src/capturer/v4l2_capturer.cpp:110–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108Args V4L2Capturer::config() const { return config_; }
109
110bool V4L2Capturer::IsCompressedFormat() const {
111 return format_ == V4L2_PIX_FMT_MJPEG || format_ == V4L2_PIX_FMT_H264;
112}
113
114bool V4L2Capturer::CheckMatchingDevice(std::string unique_name) {
115 struct v4l2_capability cap;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected