Mesa (master): g3dvl: s/inline/INLINE/ to fix MSVC build
Brian Paul
brianp at kemper.freedesktop.org
Fri Aug 26 14:24:23 UTC 2011
Module: Mesa
Branch: master
Commit: 005aea891ec5814c3c05f20e5a65ca61db3b1b10
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=005aea891ec5814c3c05f20e5a65ca61db3b1b10
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 26 08:24:01 2011 -0600
g3dvl: s/inline/INLINE/ to fix MSVC build
---
src/gallium/auxiliary/vl/vl_mpeg12_decoder.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
index e0b477d..7d53168 100644
--- a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
+++ b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
@@ -238,7 +238,7 @@ cleanup_mc_buffer(struct vl_mpeg12_buffer *buf)
vl_mc_cleanup_buffer(&buf->mc[i]);
}
-static inline void
+static INLINE void
MacroBlockTypeToPipeWeights(const struct pipe_mpeg12_macroblock *mb, unsigned weights[2])
{
assert(mb);
@@ -272,7 +272,7 @@ MacroBlockTypeToPipeWeights(const struct pipe_mpeg12_macroblock *mb, unsigned we
}
}
-static inline struct vl_motionvector
+static INLINE struct vl_motionvector
MotionVectorToPipe(const struct pipe_mpeg12_macroblock *mb, unsigned vector,
unsigned field_select_mask, unsigned weight)
{
@@ -323,7 +323,7 @@ MotionVectorToPipe(const struct pipe_mpeg12_macroblock *mb, unsigned vector,
return mv;
}
-static inline void
+static INLINE void
UploadYcbcrBlocks(struct vl_mpeg12_decoder *dec,
struct vl_mpeg12_buffer *buf,
const struct pipe_mpeg12_macroblock *mb)
More information about the mesa-commit
mailing list