summaryrefslogtreecommitdiffstats
path: root/dec_video.h
diff options
context:
space:
mode:
Diffstat (limited to 'dec_video.h')
-rw-r--r--dec_video.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/dec_video.h b/dec_video.h
new file mode 100644
index 0000000000..5d056216bb
--- /dev/null
+++ b/dec_video.h
@@ -0,0 +1,17 @@
+
+// dec_video.c:
+extern int video_read_properties(sh_video_t *sh_video);
+
+extern int init_video(sh_video_t *sh_video);
+void uninit_video(sh_video_t *sh_video);
+
+#ifdef USE_LIBVO2
+extern int decode_video(vo2_handle_t *video_out,sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame);
+#else
+extern int decode_video(vo_functions_t *video_out,sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame);
+#endif
+
+extern int get_video_quality_max(sh_video_t *sh_video);
+extern void set_video_quality(sh_video_t *sh_video,int quality);
+
+int set_video_colors(sh_video_t *sh_video,char *item,int value);