]> git.sesse.net Git - nageru/blobdiff - theme.h
Move NonBouncingYCbCrInput into its own header file.
[nageru] / theme.h
diff --git a/theme.h b/theme.h
index 2a8b9d68b12afc44910a7d03059e44fe97a6b4f7..5580909f549396fb891f6c0f3b82304c3847394c 100644 (file)
--- a/theme.h
+++ b/theme.h
@@ -13,6 +13,7 @@
 
 #include "bmusb/bmusb.h"
 #include "ref_counted_frame.h"
+#include "tweaked_inputs.h"
 
 struct InputState;
 
@@ -20,21 +21,8 @@ namespace movit {
 class Effect;
 class EffectChain;
 class ResourcePool;
-struct ImageFormat;
-struct YCbCrFormat;
 }  // namespace movit
 
-class NonBouncingYCbCrInput : public movit::YCbCrInput {
-public:
-       NonBouncingYCbCrInput(const movit::ImageFormat &image_format,
-                             const movit::YCbCrFormat &ycbcr_format,
-                             unsigned width, unsigned height,
-                             movit::YCbCrInputSplitting ycbcr_input_splitting = movit::YCBCR_INPUT_PLANAR)
-           : movit::YCbCrInput(image_format, ycbcr_format, width, height, ycbcr_input_splitting) {}
-
-       bool override_disable_bounce() const override { return true; }
-};
-
 class Theme {
 public:
        Theme(const std::string &filename, const std::vector<std::string> &search_dirs, movit::ResourcePool *resource_pool, unsigned num_cards);