Mercurial > libavcodec.hg
comparison rtjpeg.h @ 3224:28aaf0a0135e libavcodec
NuppelVideo/MythTVVideo support, including rtjpeg decoder
author | reimar |
---|---|
date | Mon, 27 Mar 2006 22:22:50 +0000 |
parents | |
children | c537a97eec66 |
comparison
equal
deleted
inserted
replaced
3223:8f048c3295ff | 3224:28aaf0a0135e |
---|---|
1 #ifndef RTJPEG_H | |
2 #define RTJPEG_H | |
3 | |
4 typedef struct { | |
5 int w, h; | |
6 DSPContext *dsp; | |
7 DCTELEM block[64]; | |
8 uint8_t scan[64]; | |
9 uint32_t lquant[64]; | |
10 uint32_t cquant[64]; | |
11 } RTJpegContext; | |
12 | |
13 void rtjpeg_decode_init(RTJpegContext *c, DSPContext *dsp, | |
14 int width, int height, | |
15 uint32_t *lquant, uint32_t *cquant); | |
16 | |
17 int rtjpeg_decode_frame_yuv420(RTJpegContext *c, AVFrame *f, | |
18 uint8_t *buf, int buf_size); | |
19 #endif |