[FFmpeg-devel] [PATCH 7/9] hevc: use intreadwrite

Christophe Gisquet christophe.gisquet at gmail.com
Sat Jul 19 09:26:48 CEST 2014


2014-07-10 19:35 GMT+02:00 Michael Niedermayer <michaelni at gmx.at>:
> AV_[RW]N[8-64]A need aligned memory
> AV_[RW][BLN][8-64]
> AV_COPY*U doesnt need aligned memory, but might be faster if its
> aligned.
> These might be slower than the "aligned only" variants

Documentation sent in another patch

If I have to assume I need addresses aligned on 8 to use AV_ZERO64,
then unfortunately, forcing that alignment on the MvField struct bumps
its size from 11 to 16. Maybe it's worth it performance-wise, but I'm
not going to make us spend more time on this part.

So here's a patch where I align various things to 4 to allow using

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-hevc-use-intreadwrite.patch
Type: text/x-patch
Size: 5132 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140719/62e3a50b/attachment.bin>

More information about the ffmpeg-devel mailing list