summaryrefslogtreecommitdiff
path: root/src/cam/sdl_texture_yuyv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/sdl_texture_yuyv.h')
-rw-r--r--src/cam/sdl_texture_yuyv.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cam/sdl_texture_yuyv.h b/src/cam/sdl_texture_yuyv.h
new file mode 100644
index 00000000..9f7c72f0
--- /dev/null
+++ b/src/cam/sdl_texture_yuyv.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Copyright (C) 2022, Ideas on Board Oy
+ *
+ * sdl_texture_yuyv.h - SDL Texture YUYV
+ */
+
+#pragma once
+
+#include "sdl_texture.h"
+
+class SDLTextureYUYV : public SDLTexture
+{
+public:
+ SDLTextureYUYV(const SDL_Rect &rect);
+ void update(const libcamera::Span<uint8_t> &data) override;
+};