comparison softfloat.h @ 392:d0f3bb6e367e libavutil

Add FFMPEG_ prefix to all multiple inclusion guards.
author diego
date Wed, 17 Oct 2007 09:37:46 +0000
parents f13e5473611e
children 8d25a4b50588
comparison
equal deleted inserted replaced
391:997894c973e2 392:d0f3bb6e367e
16 * You should have received a copy of the GNU Lesser General Public 16 * You should have received a copy of the GNU Lesser General Public
17 * License along with FFmpeg; if not, write to the Free Software 17 * License along with FFmpeg; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */ 19 */
20 20
21 #ifndef AVUTIL_SOFTFLOAT_H 21 #ifndef FFMPEG_SOFTFLOAT_H
22 #define AVUTIL_SOFTFLOAT_H 22 #define FFMPEG_SOFTFLOAT_H
23 23
24 #include <stdint.h> 24 #include <stdint.h>
25 25
26 #define MIN_EXP -126 26 #define MIN_EXP -126
27 #define MAX_EXP 126 27 #define MAX_EXP 126
123 v.exp += frac_bits - ONE_BITS; 123 v.exp += frac_bits - ONE_BITS;
124 if(v.exp >= 0) return v.mant << v.exp ; 124 if(v.exp >= 0) return v.mant << v.exp ;
125 else return v.mant >>(-v.exp); 125 else return v.mant >>(-v.exp);
126 } 126 }
127 127
128 #endif // AVUTIL_SOFTFLOAT_H 128 #endif /* FFMPEG_SOFTFLOAT_H */