mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 01:17:47 +00:00
NuppelVideo/MythTVVideo support, including rtjpeg decoder
Originally committed as revision 5232 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4f6a6e1f81
commit
dfca23e361
15 changed files with 665 additions and 1 deletions
19
libavcodec/rtjpeg.h
Normal file
19
libavcodec/rtjpeg.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue