comparison acelp_math.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 f91a738da9c3
children
comparison
equal deleted inserted replaced
7759:892ca48b7d76 7760:c4a4495715dd
18 * You should have received a copy of the GNU Lesser General Public 18 * You should have received a copy of the GNU Lesser General Public
19 * License along with FFmpeg; if not, write to the Free Software 19 * License along with FFmpeg; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */ 21 */
22 22
23 #ifndef FFMPEG_ACELP_MATH_H 23 #ifndef AVCODEC_ACELP_MATH_H
24 #define FFMPEG_ACELP_MATH_H 24 #define AVCODEC_ACELP_MATH_H
25 25
26 #include <stdint.h> 26 #include <stdint.h>
27 27
28 /** 28 /**
29 * fixed-point implementation of cosine in [0; PI) domain. 29 * fixed-point implementation of cosine in [0; PI) domain.
81 { 81 {
82 if(offset < 0) return value >> -offset; 82 if(offset < 0) return value >> -offset;
83 else return value << offset; 83 else return value << offset;
84 } 84 }
85 85
86 #endif /* FFMPEG_ACELP_MATH_H */ 86 #endif /* AVCODEC_ACELP_MATH_H */