diff roqav.c @ 4450:3da8c5706371

added skeleton decoders for RoQ audio and video format decoders
author melanson
date Fri, 01 Feb 2002 05:33:46 +0000
parents
children e69bed07cb27
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/roqav.c	Fri Feb 01 05:33:46 2002 +0000
@@ -0,0 +1,39 @@
+/*
+        RoQ A/V decoder for the MPlayer program
+        by Mike Melanson
+        based on Dr. Tim Ferguson's RoQ document found at:
+          http://www.csse.monash.edu.au/~timf/videocodec.html
+*/
+
+#include "config.h"
+#include "bswap.h"
+#include <stdio.h>
+
+#define LE_16(x) (le2me_16(*(unsigned short *)(x)))
+#define LE_32(x) (le2me_32(*(unsigned int *)(x)))
+
+void *roq_decode_video_init(void)
+{
+}
+
+void roq_decode_video(
+  unsigned char *encoded,
+  int encoded_size,
+  unsigned char *decoded,
+  int width,
+  int height,
+  void *context)
+{
+}
+
+void *roq_decode_audio_init(void)
+{
+}
+
+int roq_decode_audio(
+  unsigned short *output,
+  unsigned char *input,
+  int channels,
+  void *context)
+{
+}