[x264-devel] osdep: Rework alignment macros

Henrik Gramner git at videolan.org
Mon May 22 00:00:50 CEST 2017


x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Sun Jan 29 16:41:33 2017 +0100| [d13b4c3a9574cd2fbd5407c7dfc58eeff72d2080] | committer: Henrik Gramner

osdep: Rework alignment macros

Drop ALIGNED_N and ALIGNED_ARRAY_N in favor of using explicit alignment.

This will allow us to increase the native alignment without unnecessarily
increasing the alignment of everything that's currently 32-byte aligned.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=d13b4c3a9574cd2fbd5407c7dfc58eeff72d2080
---

 common/common.h       | 18 +++++++++---------
 common/macroblock.c   |  4 ++--
 common/osdep.h        | 30 ++++++++++++------------------
 encoder/analyse.c     | 14 +++++++-------
 encoder/macroblock.c  | 20 ++++++++++----------
 encoder/macroblock.h  |  4 ++--
 encoder/me.c          | 12 ++++++------
 encoder/ratecontrol.c |  2 +-
 encoder/rdo.c         |  4 ++--
 tools/checkasm.c      | 22 +++++++++++-----------
 10 files changed, 62 insertions(+), 68 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=d13b4c3a9574cd2fbd5407c7dfc58eeff72d2080


More information about the x264-devel mailing list