summaryrefslogtreecommitdiff
path: root/libavcodec/mpegpicture.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-03-10 11:45:55 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-01 14:23:19 +0100
commitbaecaa16c16dc2bca7ca15ed3c379d7343955adb (patch)
tree1f6f2269e0c05c25857d7d72b27d1691ea9ec67d /libavcodec/mpegpicture.h
parente15371061d23457554d241a80dc471515ac13ad4 (diff)
mpegvideo: use the AVVideoEncParams API for exporting QP tables
Do it only when requested with the AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS flag. Drop previous code using the long-deprecated AV_FRAME_DATA_QP_TABLE* API. Temporarily disable fate-filter-pp, fate-filter-pp7, fate-filter-spp. They will be reenabled once these filters are converted in following commits.
Diffstat (limited to 'libavcodec/mpegpicture.h')
-rw-r--r--libavcodec/mpegpicture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegpicture.h b/libavcodec/mpegpicture.h
index 2db3d6733a..4bcd666797 100644
--- a/libavcodec/mpegpicture.h
+++ b/libavcodec/mpegpicture.h
@@ -69,6 +69,7 @@ typedef struct Picture {
int alloc_mb_width; ///< mb_width used to allocate tables
int alloc_mb_height; ///< mb_height used to allocate tables
+ int alloc_mb_stride; ///< mb_stride used to allocate tables
AVBufferRef *mb_mean_buf;
uint8_t *mb_mean; ///< Table for MB luminance