summaryrefslogtreecommitdiff
path: root/libavcodec/mjpegenc_common.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-20 05:53:39 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-24 00:47:11 +0200
commit69f46ff586cfb42952f098a94b9bb34bdd706809 (patch)
treed9219013effa84b45b2b4c5ea3354f0c609c3959 /libavcodec/mjpegenc_common.h
parent3cdfb146b2b094b910d6c37f36944bfcaa5f7179 (diff)
downloadffmpeg-69f46ff586cfb42952f098a94b9bb34bdd706809.tar.gz
avcodec/mjpegenc_common: Only pass what is used from ScanTable
Namely ScanTable.permutated. Reviewed-by: Peter Ross <pross@xvid.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mjpegenc_common.h')
-rw-r--r--libavcodec/mjpegenc_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mjpegenc_common.h b/libavcodec/mjpegenc_common.h
index 5b13faae23..e9f0ea44a0 100644
--- a/libavcodec/mjpegenc_common.h
+++ b/libavcodec/mjpegenc_common.h
@@ -24,7 +24,6 @@
#include <stdint.h>
#include "avcodec.h"
-#include "idctdsp.h"
#include "put_bits.h"
struct MJpegContext;
@@ -33,7 +32,8 @@ int ff_mjpeg_add_icc_profile_size(AVCodecContext *avctx, const AVFrame *frame,
size_t *max_pkt_size);
void ff_mjpeg_encode_picture_header(AVCodecContext *avctx, PutBitContext *pb,
const AVFrame *frame, struct MJpegContext *m,
- ScanTable *intra_scantable, int pred,
+ const uint8_t intra_matrix_permutation[64],
+ int pred,
uint16_t luma_intra_matrix[64],
uint16_t chroma_intra_matrix[64],
int use_slices);