mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 07:40:00 +08:00
mjpegdec: add 'extern_huff' private option.
Deprecate CODEC_FLAG_EXTERN_HUFF
This commit is contained in:
@ -29,6 +29,8 @@
|
||||
#ifndef AVCODEC_MJPEGDEC_H
|
||||
#define AVCODEC_MJPEGDEC_H
|
||||
|
||||
#include "libavutil/log.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "get_bits.h"
|
||||
#include "dsputil.h"
|
||||
@ -36,6 +38,7 @@
|
||||
#define MAX_COMPONENTS 4
|
||||
|
||||
typedef struct MJpegDecodeContext {
|
||||
AVClass *class;
|
||||
AVCodecContext *avctx;
|
||||
GetBitContext gb;
|
||||
|
||||
@ -106,6 +109,8 @@ typedef struct MJpegDecodeContext {
|
||||
|
||||
uint16_t (*ljpeg_buffer)[4];
|
||||
unsigned int ljpeg_buffer_size;
|
||||
|
||||
int extern_huff;
|
||||
} MJpegDecodeContext;
|
||||
|
||||
int ff_mjpeg_decode_init(AVCodecContext *avctx);
|
||||
|
Reference in New Issue
Block a user