view roqav.h @ 4664:40e8b4b8b250

AVI demuxer fixes: - workaround for files with bad index (first chunk absolute, others relative offsets) (fixes many 'no video stream found' bugreports) - check for LIST boundaries, truncate if sub-chunk wraps LIST endpos (FMP_3.avi) - support/workaround for empty info blocks with size=3 (FMP_3.avi) - lots of new avi info types added (from avifile source), just for fun...
author arpi
date Tue, 12 Feb 2002 01:20:59 +0000
parents e69bed07cb27
children 026329111b09
line wrap: on
line source

#ifndef ROQAV_H
#define ROQAV_H

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 encoded_size, int channels, void *context);

#endif // ROQAV_H