Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4449:501473faf365 | 4450:3da8c5706371 |
---|---|
1 /* | |
2 RoQ A/V decoder for the MPlayer program | |
3 by Mike Melanson | |
4 based on Dr. Tim Ferguson's RoQ document found at: | |
5 http://www.csse.monash.edu.au/~timf/videocodec.html | |
6 */ | |
7 | |
8 #include "config.h" | |
9 #include "bswap.h" | |
10 #include <stdio.h> | |
11 | |
12 #define LE_16(x) (le2me_16(*(unsigned short *)(x))) | |
13 #define LE_32(x) (le2me_32(*(unsigned int *)(x))) | |
14 | |
15 void *roq_decode_video_init(void) | |
16 { | |
17 } | |
18 | |
19 void roq_decode_video( | |
20 unsigned char *encoded, | |
21 int encoded_size, | |
22 unsigned char *decoded, | |
23 int width, | |
24 int height, | |
25 void *context) | |
26 { | |
27 } | |
28 | |
29 void *roq_decode_audio_init(void) | |
30 { | |
31 } | |
32 | |
33 int roq_decode_audio( | |
34 unsigned short *output, | |
35 unsigned char *input, | |
36 int channels, | |
37 void *context) | |
38 { | |
39 } |