refactoring

pull/3471/head
kallaballa 2 years ago
parent e739af5a48
commit cc016d175b
  1. 2
      src/nanovg/nanovg-demo.cpp
  2. 2
      src/optflow/optflow-demo.cpp
  3. 2
      src/tetra/tetra-demo.cpp
  4. 2
      src/video/video-demo.cpp

@ -235,7 +235,7 @@ int main(int argc, char **argv) {
//The videoFrame is upside-down. Flip. (OpenCL)
cv::flip(videoFrame, videoFrame, 0);
//Encode the frame using VAAPI on the GPU.
writer.write(videoFrame);
writer << videoFrame;
print_fps();
}

@ -201,7 +201,7 @@ int main(int argc, char **argv) {
}
va::bind();
writer.write(videoFrame);
writer << videoFrame;
print_fps();
}

@ -139,7 +139,7 @@ int main(int argc, char **argv) {
//Video frame is upside down because the frameBuffer is. -> flip it (OpenCL)
cv::flip(videoFrame, videoFrame, 0);
//Encode the frame using VAAPI on the GPU.
writer.write(videoFrame);
writer << videoFrame;
print_fps();
}

@ -183,7 +183,7 @@ int main(int argc, char **argv) {
//Video frame is upside down -> flip it (OpenCL)
cv::flip(videoFrame, videoFrame, 0);
//Encode the frame using VAAPI on the GPU.
writer.write(videoFrame);
writer << videoFrame;
print_fps();
}

Loading…
Cancel
Save