From 6fdfe9a404d436f8e4832c8b191de0f9f5ef4aa4 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Wed, 2 Aug 2006 07:55:43 +0000 Subject: more residual from latest FFmpeg sync CVS patchset: 8153 CVS date: 2006/08/02 07:55:43 --- src/libffmpeg/libavcodec/rtjpeg.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/libffmpeg/libavcodec/rtjpeg.h (limited to 'src/libffmpeg/libavcodec/rtjpeg.h') diff --git a/src/libffmpeg/libavcodec/rtjpeg.h b/src/libffmpeg/libavcodec/rtjpeg.h new file mode 100644 index 000000000..1fc2fc934 --- /dev/null +++ b/src/libffmpeg/libavcodec/rtjpeg.h @@ -0,0 +1,19 @@ +#ifndef RTJPEG_H +#define RTJPEG_H + +typedef struct { + int w, h; + DSPContext *dsp; + DCTELEM block[64]; + uint8_t scan[64]; + uint32_t lquant[64]; + uint32_t cquant[64]; +} RTJpegContext; + +void rtjpeg_decode_init(RTJpegContext *c, DSPContext *dsp, + int width, int height, + uint32_t *lquant, uint32_t *cquant); + +int rtjpeg_decode_frame_yuv420(RTJpegContext *c, AVFrame *f, + uint8_t *buf, int buf_size); +#endif -- cgit v1.2.3