optflow-demo: change resolution of wasm build

pull/3471/head
kallaballa 2 years ago
parent 32fe1d1dfa
commit 0788fdae0f
  1. 5
      src/optflow/optflow-demo.cpp

@ -38,13 +38,8 @@ enum PostProcModes {
/** Application parameters **/
#ifndef __EMSCRIPTEN__
constexpr unsigned int WIDTH = 1920;
constexpr unsigned int HEIGHT = 1080;
#else
constexpr unsigned int WIDTH = 1280;
constexpr unsigned int HEIGHT = 720;
#endif
const unsigned long DIAG = hypot(double(WIDTH), double(HEIGHT));
constexpr const char* OUTPUT_FILENAME = "optflow-demo.mkv";
constexpr bool OFFSCREEN = false;

Loading…
Cancel
Save