[FFmpeg-devel] [PATCH] libavcodec/qsvenc.c: Fix for too agressive height alignment during frame encoding which may be reason of superflous frame copying.

Michael Niedermayer michaelni at gmx.at
Thu Jul 9 16:47:22 CEST 2015

On Thu, Jul 09, 2015 at 05:07:38PM +0300, Ivan Uskov wrote:
> Hello Michael,
> Ooops, missed that you modified the file recently. Will prepare
> another patch.
> By the way, now I can not compile master repo under --enable-libmfx config,
> there is compiler error appears:
> libavcodec/qsvenc_hevc.c:71:5: error: too few arguments to function ‘ff_hevc_extract_rbsp’
> Are there some update should be soon?
> Also, do you know a real reason to make
>   q->width_align = avctx->codec_id == AV_CODEC_ID_HEVC ? 32 : 16;
> into the qsvenc.c? I did not check it yet and never work with Intel
> HEVC before but all Intel's samples never perform such check, width
> alignment in latest Intel's samples is always 16...

Its not my code nor my change, i do not know what the correct value
This change was merged by me and originates from libav. I tried to
merge things so they work, apparently i failed for ‘ff_hevc_extract_rbsp’
ill try to fix that but i dont have a libmfx setup here ATM so

If you can check and if needed correct it, that would help alot!


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150709/5c884240/attachment.sig>

More information about the ffmpeg-devel mailing list