summaryrefslogtreecommitdiff
path: root/libavcodec/i386/dsputil_mmx_qns.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-10-17 22:29:13 +0000
committerDiego Biurrun <diego@biurrun.de>2007-10-17 22:29:13 +0000
commitdeb43f0bd8c21d70217b9cab6b11418c64d2ae2f (patch)
treea89c45394839f757e8b0c049856c7ee084f982ac /libavcodec/i386/dsputil_mmx_qns.h
parent9b1f04b08bfe47ad33db815cc14d0824705710c1 (diff)
Explain why there are no multiple inclusion guards in these header files.
Originally committed as revision 10771 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/dsputil_mmx_qns.h')
-rw-r--r--libavcodec/i386/dsputil_mmx_qns.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/i386/dsputil_mmx_qns.h b/libavcodec/i386/dsputil_mmx_qns.h
index d2524c2221..f01f0b08bb 100644
--- a/libavcodec/i386/dsputil_mmx_qns.h
+++ b/libavcodec/i386/dsputil_mmx_qns.h
@@ -22,6 +22,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/* This header intentionally has no multiple inclusion guards. It is meant to
+ * be included multiple times and generates different code depending on the
+ * value of certain #defines. */
+
#define MAX_ABS (512 >> (SCALE_OFFSET>0 ? SCALE_OFFSET : 0))
static int DEF(try_8x8basis)(int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale)