#define AVCODEC_MJPEGDEC_H
#include "libavutil/log.h"
+#include "libavutil/mem_internal.h"
#include "libavutil/pixdesc.h"
#include "libavutil/stereo3d.h"
VLC vlcs[3][4];
int qscale[4]; ///< quantizer scale calculated from quant_matrixes
- int org_height; /* size given at codec init */
+ int orig_height; /* size given at codec init */
int first_picture; /* true if decoding first picture */
int interlaced; /* true if interlaced */
int bottom_field; /* true if bottom field */
void *hwaccel_picture_private;
} MJpegDecodeContext;
+int ff_mjpeg_build_vlc(VLC *vlc, const uint8_t *bits_table,
+ const uint8_t *val_table, int is_ac, void *logctx);
int ff_mjpeg_decode_init(AVCodecContext *avctx);
int ff_mjpeg_decode_end(AVCodecContext *avctx);
int ff_mjpeg_receive_frame(AVCodecContext *avctx, AVFrame *frame);