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