summaryrefslogtreecommitdiff
path: root/include/kitchensink/internal/subtitle/kitsubtitle.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kitchensink/internal/subtitle/kitsubtitle.h')
-rw-r--r--include/kitchensink/internal/subtitle/kitsubtitle.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/kitchensink/internal/subtitle/kitsubtitle.h b/include/kitchensink/internal/subtitle/kitsubtitle.h
new file mode 100644
index 0000000..51de9b9
--- /dev/null
+++ b/include/kitchensink/internal/subtitle/kitsubtitle.h
@@ -0,0 +1,14 @@
+#ifndef KITSUBTITLE_H
+#define KITSUBTITLE_H
+
+#include <SDL2/SDL_render.h>
+
+#include "kitchensink/kitconfig.h"
+#include "kitchensink/kitformats.h"
+#include "kitchensink/kitplayer.h"
+#include "kitchensink/internal/kitdecoder.h"
+
+KIT_LOCAL Kit_Decoder* Kit_CreateSubtitleDecoder(const Kit_Source *src, Kit_SubtitleFormat *format, int w, int h);
+KIT_LOCAL int Kit_GetSubtitleDecoderData(Kit_Decoder *dec, SDL_Texture *texture);
+
+#endif // KITSUBTITLE_H