Ignore:
Timestamp:
Nov 21, 2017 9:25:11 AM (3 years ago)
Author:
riza
Message:

Close #2065: Update libyuv to fix linker error when building libyuv as dll on Visual Studio 2015.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/third_party/yuv/include/libyuv/cpu_id.h

    r5633 r5699  
    3737static const int kCpuHasERMS = 0x800; 
    3838static const int kCpuHasFMA3 = 0x1000; 
    39 static const int kCpuHasAVX3 = 0x2000; 
    40 static const int kCpuHasF16C = 0x4000; 
    41  
    42 // 0x8000 reserved for future X86 flags. 
     39static const int kCpuHasF16C = 0x2000; 
     40static const int kCpuHasGFNI = 0x4000; 
     41static const int kCpuHasAVX512BW = 0x8000; 
     42static const int kCpuHasAVX512VL = 0x10000; 
     43static const int kCpuHasAVX512VBMI = 0x20000; 
     44static const int kCpuHasAVX512VBMI2 = 0x40000; 
     45static const int kCpuHasAVX512VBITALG = 0x80000; 
     46static const int kCpuHasAVX512VPOPCNTDQ = 0x100000; 
    4347 
    4448// These flags are only valid on MIPS processors. 
    45 static const int kCpuHasMIPS = 0x10000; 
    46 static const int kCpuHasDSPR2 = 0x20000; 
    47 static const int kCpuHasMSA = 0x40000; 
     49static const int kCpuHasMIPS = 0x200000; 
     50static const int kCpuHasDSPR2 = 0x400000; 
     51static const int kCpuHasMSA = 0x800000; 
    4852 
    4953// Optional init function. TestCpuFlag does an auto-init. 
Note: See TracChangeset for help on using the changeset viewer.