Mercurial > libavcodec.hg
comparison common.h @ 880:1c32039e7215 libavcodec
aspect ratio cleanup
author | michaelni |
---|---|
date | Wed, 20 Nov 2002 13:08:04 +0000 |
parents | 704f13bfc652 |
children | d3fc77a6d57e |
comparison
equal
deleted
inserted
replaced
879:af969e91f422 | 880:1c32039e7215 |
---|---|
840 assert( strlen(s)==4 ); | 840 assert( strlen(s)==4 ); |
841 | 841 |
842 return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24); | 842 return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24); |
843 } | 843 } |
844 | 844 |
845 void ff_float2fraction(int *nom_arg, int *denom_arg, double f, int max); | |
846 | |
845 | 847 |
846 #ifdef ARCH_X86 | 848 #ifdef ARCH_X86 |
847 #define MASK_ABS(mask, level)\ | 849 #define MASK_ABS(mask, level)\ |
848 asm volatile(\ | 850 asm volatile(\ |
849 "cdq \n\t"\ | 851 "cdq \n\t"\ |