Changeset 5699 for pjproject/trunk/third_party/yuv/source/scale_win.cc
- Timestamp:
- Nov 21, 2017 9:25:11 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/third_party/yuv/source/scale_win.cc
r5633 r5699 18 18 19 19 // 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) 21 21 22 22 // Offsets for source bytes 0 to 9 … … 817 817 pxor xmm5, xmm5 818 818 819 // sum rows819 // sum rows 820 820 xloop: 821 821 movdqu xmm3, [eax] // read 16 bytes … … 848 848 vpxor ymm5, ymm5, ymm5 849 849 850 // sum rows850 // sum rows 851 851 xloop: 852 852 vmovdqu ymm3, [eax] // read 32 bytes … … 940 940 jl xloop99 941 941 942 // 1 pixel remainder942 // 1 pixel remainder 943 943 movzx ebx, word ptr [esi + eax] // 2 source x0 pixels 944 944 movd xmm0, ebx … … 1195 1195 jl xloop49 1196 1196 1197 // 4 Pixel loop.1197 // 4 Pixel loop. 1198 1198 xloop4: 1199 1199 movd xmm0, [esi + eax * 4] // 1 source x0 pixels … … 1219 1219 je xloop29 1220 1220 1221 // 2 Pixels.1221 // 2 Pixels. 1222 1222 movd xmm0, [esi + eax * 4] // 1 source x0 pixels 1223 1223 movd xmm1, [esi + edx * 4] // 1 source x1 pixels … … 1232 1232 je xloop99 1233 1233 1234 // 1 Pixels.1234 // 1 Pixels. 1235 1235 movd xmm0, [esi + eax * 4] // 1 source x2 pixels 1236 1236 movd dword ptr [edi], xmm0 … … 1310 1310 jl xloop99 1311 1311 1312 // 1 pixel remainder1312 // 1 pixel remainder 1313 1313 psrlw xmm2, 9 // 7 bit fractions. 1314 1314 movq xmm0, qword ptr [esi + eax * 4] // 2 source x0 pixels
Note: See TracChangeset
for help on using the changeset viewer.