comparison common.h @ 1139:6842feb093c1 libavcodec

rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)
author michaelni
date Sun, 16 Mar 2003 21:03:20 +0000
parents c8dfb8579606
children dcb20b7598ed
comparison
equal deleted inserted replaced
1138:e10e841c9bf0 1139:6842feb093c1
905 assert( strlen(s)==4 ); 905 assert( strlen(s)==4 );
906 906
907 return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24); 907 return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24);
908 } 908 }
909 909
910 #define MKTAG(a,b,c,d) (a | (b << 8) | (c << 16) | (d << 24))
911 #define MKBETAG(a,b,c,d) (d | (c << 8) | (b << 16) | (a << 24))
912
913
910 void ff_float2fraction(int *nom_arg, int *denom_arg, double f, int max); 914 void ff_float2fraction(int *nom_arg, int *denom_arg, double f, int max);
911 915
912 916
913 #ifdef ARCH_X86 917 #ifdef ARCH_X86
914 #define MASK_ABS(mask, level)\ 918 #define MASK_ABS(mask, level)\