diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-22 11:11:14 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-23 23:45:38 +0100 |
commit | 8abfc327bd22f2da43aac0c125432ce37e71e6a6 (patch) | |
tree | 8456f4e950a070d08222d922113d75bd98bcb0bd /libavfilter/vf_pp7.h | |
parent | e142153bd721947c186bc9fe74664d1117265960 (diff) | |
download | ffmpeg-8abfc327bd22f2da43aac0c125432ce37e71e6a6.tar.gz |
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.h | 3 |
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; |