Hi, 2014-07-19 14:17 GMT+02:00 Michael Niedermayer <michae...@gmx.at>: > did you intend to attach a patch ?
Here you are. -- Christophe
From 30f5f833280c0753a000ab05fd60b9d0a9685dcb Mon Sep 17 00:00:00 2001 From: Christophe Gisquet <christophe.gisq...@gmail.com> Date: Thu, 10 Jul 2014 20:49:06 +0200 Subject: [PATCH 1/4] libavutil: document side effects of macros --- libavutil/intreadwrite.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libavutil/intreadwrite.h b/libavutil/intreadwrite.h index 7ee6977..51fbe30 100644 --- a/libavutil/intreadwrite.h +++ b/libavutil/intreadwrite.h @@ -50,6 +50,14 @@ typedef union { * AV_[RW][BLN](16|24|32|48|64) and AV_(COPY|SWAP|ZERO)(64|128) macros. * Preprocessor symbols must be defined, even if these are implemented * as inline functions. + * + * R/W means read/write, B/L/N means big/little/native endianness. + * The following macros require aligned access, compared to their + * unaligned variants: AV_(COPY|SWAP|ZERO)(64|128), AV_[RW]N[8-64]A. + * Incorrect usage may range from abysmal performance to crash + * depending on the platform. + * + * The unaligned variants are AV_[RW][BLN][8-64] and AV_COPY*U. */ #ifdef HAVE_AV_CONFIG_H -- 1.9.2.msysgit.0
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel