[cvs] / xvidcore / src / bitstream / bitstream.c Repository:
ViewVC logotype

Diff of /xvidcore/src/bitstream/bitstream.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.39.2.12, Mon Jun 9 19:42:18 2003 UTC revision 1.39.2.13, Thu Jun 12 14:16:41 2003 UTC
# Line 36  Line 36 
36  static uint32_t __inline  static uint32_t __inline
37  log2bin(uint32_t value)  log2bin(uint32_t value)
38  {  {
 /* Changed by Chenm001 */  
 #if !defined(_MSC_VER)  
39          int n = 0;          int n = 0;
40    
41          while (value) {          while (value) {
# Line 45  Line 43 
43                  n++;                  n++;
44          }          }
45          return n;          return n;
 #else  
         __asm {  
                 bsr eax, value  
                 inc eax  
         }  
 #endif  
46  }  }
47    
48    

Legend:
Removed from v.1.39.2.12  
changed lines
  Added in v.1.39.2.13

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4