summaryrefslogtreecommitdiffstats
path: root/sub/draw_bmp.h
diff options
context:
space:
mode:
authorRudolf Polzer <divverent@xonotic.org>2012-10-24 19:11:42 +0200
committerwm4 <wm4@nowhere>2012-10-24 21:56:29 +0200
commitaa1047a35a98606c972cc35e566178703b1f2bff (patch)
treee757c045aee158cbe4bf56f3d142f80e0ef62cb0 /sub/draw_bmp.h
parent1282f9d79e09160af67ec13c05c0eed1ae02bd46 (diff)
downloadmpv-aa1047a35a98606c972cc35e566178703b1f2bff.tar.bz2
mpv-aa1047a35a98606c972cc35e566178703b1f2bff.tar.xz
sub: add helper to draw sub-bitmaps into an image
Merged by wm4 from commits 93978f17b76d..13211ef5fc20. Changed copyright header in draw_bmp.c to "mpv", and removed the one in draw_bmp.h.
Diffstat (limited to 'sub/draw_bmp.h')
-rw-r--r--sub/draw_bmp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sub/draw_bmp.h b/sub/draw_bmp.h
new file mode 100644
index 0000000000..478965af15
--- /dev/null
+++ b/sub/draw_bmp.h
@@ -0,0 +1,12 @@
+#ifndef MPLAYER_DRAW_BMP_H
+#define MPLAYER_DRAW_BMP_H
+
+struct mp_image;
+struct sub_bitmaps;
+struct mp_csp_details;
+void mp_draw_sub_bitmaps(struct mp_image *dst, struct sub_bitmaps *sbs,
+ struct mp_csp_details *csp);
+
+#endif /* MPLAYER_DRAW_BMP_H */
+
+// vim: ts=4 sw=4 et tw=80