#undef FORCE_WORKAROUNDS
}
+#else
+
+int hb_qsv_available()
+{
+ return 0;
+}
+
#endif // USE_QSV
#ifndef HB_QSV_COMMON_H
#define HB_QSV_COMMON_H
+int hb_qsv_available();
+
+#ifdef USE_QSV
+
#include "mfx/mfxvideo.h"
#include "mfx/mfxplugin.h"
#include "libavcodec/avcodec.h"
} hb_qsv_info_t;
/* Intel Quick Sync Video utilities */
-int hb_qsv_available();
int hb_qsv_video_encoder_is_enabled(int encoder);
int hb_qsv_audio_encoder_is_enabled(int encoder);
int hb_qsv_info_init();
void hb_qsv_force_workarounds(); // for developers only
-#endif
+#endif // USE_QSV
+#endif // HB_QSV_COMMON_H