summaryrefslogtreecommitdiff
path: root/libavfilter/vf_spp.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-22 11:11:14 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-23 23:45:38 +0100
commit8abfc327bd22f2da43aac0c125432ce37e71e6a6 (patch)
tree8456f4e950a070d08222d922113d75bd98bcb0bd /libavfilter/vf_spp.h
parente142153bd721947c186bc9fe74664d1117265960 (diff)
avfilter/qp_table: Stop using FF_QSCALE_TYPE_*
All FF_QSCALE_TYPE values used by libavfilter originate from libavfilter (namely from ff_qp_table_extract()); no value is exchanged between libavcodec and libavutil. The values that are exchanged (and used in libavfilter) are of type enum AVVideoEncParamsType. Therefore this patch stops using said FF_QSCALE_TYPE_* in libavfilter and uses enum AVVideoEncParamsType directly. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_spp.h')
-rw-r--r--libavfilter/vf_spp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_spp.h b/libavfilter/vf_spp.h
index 76c0c34ab2..0a8b2b512e 100644
--- a/libavfilter/vf_spp.h
+++ b/libavfilter/vf_spp.h
@@ -22,6 +22,7 @@
#ifndef AVFILTER_SPP_H
#define AVFILTER_SPP_H
+#include "libavutil/video_enc_params.h"
#include "libavcodec/avdct.h"
#include "avfilter.h"
@@ -33,7 +34,7 @@ typedef struct SPPContext {
int log2_count;
int qp;
int mode;
- int qscale_type;
+ enum AVVideoEncParamsType qscale_type;
int temp_linesize;
uint8_t *src;
uint16_t *temp;