diff options
author | Aaron Levinson <alevinsn@aracnet.com> | 2017-05-05 21:31:30 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-05-09 03:22:14 +0200 |
commit | ae5b67ee64bec00c52881ff8426fddaf477341c1 (patch) | |
tree | c0796b3abec3a3ca1dbff05179118670e2bb8523 /libavcodec/qsvenc.h | |
parent | dd8319767e1674d030b5d803c43029e67db5efb8 (diff) | |
download | ffmpeg-ae5b67ee64bec00c52881ff8426fddaf477341c1.tar.gz |
qsvenc: Make sure the interlaced encoding works
Purpose: qsvenc: make sure that interlaced encoding works. Also,
reduce the vertical alignment constraint when possible to reduce
memory usage.
Note: Most of this code used to be present in ffmpeg and was
eliminated in revision 1f26a23 on Oct. 31, 2016 (qsv: Merge libav
implementation, at
https://github.com/FFmpeg/FFmpeg/commit/1f26a231bb065276cd80ce02957c759f3197
edfa#diff-7d84a34d58597bb7aa4b8239dca1f9f8). Already applied to
libav.
Reviewed-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 8fd8f91e47f33cd82371a97ac81afc476144964f)
Signed-off-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Aaron Levinson <alevinsn@aracnet.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r-- | libavcodec/qsvenc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index 361d9333d8..12e3444b75 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -84,6 +84,7 @@ typedef struct QSVEncContext { int packet_size; int width_align; + int height_align; mfxVideoParam param; mfxFrameAllocRequest req; |