Skip to content
Snippets Groups Projects

Reduce latency in device capture and parallel encoding

1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -112,7 +112,10 @@ void StereoRectification::calculateParameters() {
void StereoRectification::rectify(cv::InputArray im, cv::OutputArray im_out, Channel c) {
if (!enabled_ || !valid_) { return; }
if (!enabled_ || !valid_) {
im.copyTo(im_out);
return;
}
if (im.size() != image_resolution_) {
throw ftl::exception("Input has wrong size");
Loading