Mercurial > libavcodec.hg
diff colorspace.h @ 7760:c4a4495715dd libavcodec
Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
author | stefano |
---|---|
date | Sun, 31 Aug 2008 07:39:47 +0000 |
parents | 1876bc447aa4 |
children | 04423b2f6e0b |
line wrap: on
line diff
--- a/colorspace.h Sun Aug 31 07:05:55 2008 +0000 +++ b/colorspace.h Sun Aug 31 07:39:47 2008 +0000 @@ -24,8 +24,8 @@ * Various defines for YUV<->RGB conversion */ -#ifndef FFMPEG_COLORSPACE_H -#define FFMPEG_COLORSPACE_H +#ifndef AVCODEC_COLORSPACE_H +#define AVCODEC_COLORSPACE_H #define SCALEBITS 10 #define ONE_HALF (1 << (SCALEBITS - 1)) @@ -108,4 +108,4 @@ (((FIX(0.50000*224.0/255.0) * r1 - FIX(0.41869*224.0/255.0) * g1 - \ FIX(0.08131*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) -#endif /* FFMPEG_COLORSPACE_H */ +#endif /* AVCODEC_COLORSPACE_H */