~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to libavcodec/rtjpeg.h

  • Committer: Reinhard Tartler
  • Date: 2006-07-08 08:47:54 UTC
  • Revision ID: siretart@tauware.de-20060708084754-c3ff228cc9c2d8de
upgrade to pre8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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