Statistics
| Branch: | Revision:

ffmpeg / libavcodec / rtjpeg.h @ 1449b722

History | View | Annotate | Download (496 Bytes)

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