File: rtjpeg.h

package info (click to toggle)
ffmpeg 0.cvs20060823-8
  • links: PTS, VCS
  • area: main
  • in suites: etch-m68k
  • size: 11,716 kB
  • ctags: 18,201
  • sloc: ansic: 231,024; sh: 2,496; asm: 1,471; makefile: 1,033; cpp: 382; perl: 306
file content (19 lines) | stat: -rw-r--r-- 496 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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