]> git.sesse.net Git - nageru/blobdiff - x264_speed_control.h
Support loading 10-bit x264 dynamically.
[nageru] / x264_speed_control.h
index b45e6c6de285c90e866293f0aa95e52258601b2a..de88f66705a7f15a068c91cb84f6e3e815852c34 100644 (file)
 #include <functional>
 
 extern "C" {
-#include "x264.h"
+#include <x264.h>
 }
 
+#include "x264_dynamic.h"
+
 class X264SpeedControl {
 public:
        // x264: Encoding object we are using; must be opened. Assumed to be
@@ -95,6 +97,8 @@ private:
        int dither_preset(float f);
        void apply_preset(int new_preset);
 
+       X264Dynamic dyn;
+
        // Not owned by us.
        x264_t *x264;