Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-22 13:11:14 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-24 01:45:38 +0300
commit8abfc327bd22f2da43aac0c125432ce37e71e6a6 (patch)
tree8456f4e950a070d08222d922113d75bd98bcb0bd /libavfilter/vf_pp7.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_pp7.h')
-rw-r--r--libavfilter/vf_pp7.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_pp7.h b/libavfilter/vf_pp7.h
index 9aa8d732c1..b7cbb020bb 100644
--- a/libavfilter/vf_pp7.h
+++ b/libavfilter/vf_pp7.h
@@ -22,6 +22,7 @@
#ifndef AVFILTER_PP7_H
#define AVFILTER_PP7_H
+#include "libavutil/video_enc_params.h"
#include "avfilter.h"
typedef struct PP7Context {
@@ -30,7 +31,7 @@ typedef struct PP7Context {
int qp;
int mode;
- int qscale_type;
+ enum AVVideoEncParamsType qscale_type;
int hsub;
int vsub;
int temp_stride;