Ignore:
Timestamp:
Nov 21, 2017 9:25:11 AM (6 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/source/scale_win.cc

    r5633 r5699  
    1818 
    1919// This module is for 32 bit Visual C x86 and clangcl 
    20 #if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) 
     20#if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) && defined(_MSC_VER) 
    2121 
    2222// Offsets for source bytes 0 to 9 
     
    817817    pxor       xmm5, xmm5 
    818818 
    819     // sum rows 
     819        // sum rows 
    820820  xloop: 
    821821    movdqu     xmm3, [eax]  // read 16 bytes 
     
    848848    vpxor       ymm5, ymm5, ymm5 
    849849 
    850     // sum rows 
     850        // sum rows 
    851851  xloop: 
    852852    vmovdqu     ymm3, [eax]  // read 32 bytes 
     
    940940    jl         xloop99 
    941941 
    942         // 1 pixel remainder 
     942            // 1 pixel remainder 
    943943    movzx      ebx, word ptr [esi + eax]  // 2 source x0 pixels 
    944944    movd       xmm0, ebx 
     
    11951195    jl         xloop49 
    11961196 
    1197     // 4 Pixel loop. 
     1197        // 4 Pixel loop. 
    11981198 xloop4: 
    11991199    movd       xmm0, [esi + eax * 4]  // 1 source x0 pixels 
     
    12191219    je         xloop29 
    12201220 
    1221     // 2 Pixels. 
     1221        // 2 Pixels. 
    12221222    movd       xmm0, [esi + eax * 4]  // 1 source x0 pixels 
    12231223    movd       xmm1, [esi + edx * 4]  // 1 source x1 pixels 
     
    12321232    je         xloop99 
    12331233 
    1234     // 1 Pixels. 
     1234        // 1 Pixels. 
    12351235    movd       xmm0, [esi + eax * 4]  // 1 source x2 pixels 
    12361236    movd       dword ptr [edi], xmm0 
     
    13101310    jl         xloop99 
    13111311 
    1312         // 1 pixel remainder 
     1312            // 1 pixel remainder 
    13131313    psrlw      xmm2, 9  // 7 bit fractions. 
    13141314    movq       xmm0, qword ptr [esi + eax * 4]  // 2 source x0 pixels 
Note: See TracChangeset for help on using the changeset viewer.