Fold ALIGN 16 and the function label into WELS_EXTERN
Showing the changes to codec/processing/src (3 of 21 files). Show all
Unified · Split
| @@ -163,8 +163,6 @@ SECTION .text · 162 unmodified lines | ||
| 163 | 163 | paddw %3, %2 |
| 164 | 164 | %endmacro |
| 165 | 165 | |
| 166 | −ALIGN 16 | |
| 167 | −WELS_EXTERN BilateralLumaFilter8_sse2 | |
| 168 | 166 | ;*********************************************************************** |
| 169 | 167 | ; BilateralLumaFilter8_sse2(uint8_t *pixels, int stride); |
| 170 | 168 | ;*********************************************************************** |
| @@ -173,7 +171,7 @@ WELS_EXTERN BilateralLumaFilter8_sse2 · 2 unmodified lines | ||
| 173 | 171 | ; 6 7 8 |
| 174 | 172 | ; 0: the center point |
| 175 | 173 | |
| 176 | −BilateralLumaFilter8_sse2: | |
| 174 | +WELS_EXTERN BilateralLumaFilter8_sse2 | |
| 177 | 175 | |
| 178 | 176 | push r3 |
| 179 | 177 | %assign push_num 1 |
| @@ -219,7 +217,6 @@ BilateralLumaFilter8_sse2: · 39 unmodified lines | ||
| 219 | 217 | |
| 220 | 218 | ret |
| 221 | 219 | |
| 222 | −WELS_EXTERN WaverageChromaFilter8_sse2 | |
| 223 | 220 | ;*********************************************************************** |
| 224 | 221 | ; void WaverageChromaFilter8_sse2(uint8_t *pixels, int stride); |
| 225 | 222 | ;*********************************************************************** |
| @@ -230,8 +227,7 @@ WELS_EXTERN WaverageChromaFilter8_sse2 · 4 unmodified lines | ||
| 230 | 227 | ;1 2 4 2 1 |
| 231 | 228 | ;1 1 2 1 1 |
| 232 | 229 | |
| 233 | −ALIGN 16 | |
| 234 | −WaverageChromaFilter8_sse2: | |
| 230 | +WELS_EXTERN WaverageChromaFilter8_sse2 | |
| 235 | 231 | |
| 236 | 232 | push r3 |
| 237 | 233 | |
| @@ -66,22 +66,18 @@ shufb_mask_high: · 65 unmodified lines | ||
| 66 | 66 | db 01h, 80h, 03h, 80h, 05h, 80h, 07h, 80h, 09h, 80h, 0bh, 80h, 0dh, 80h, 0fh, 80h |
| 67 | 67 | |
| 68 | 68 | |
| 69 | −ALIGN 16 | |
| 70 | − | |
| 71 | 69 | ;*********************************************************************** |
| 72 | 70 | ; Code |
| 73 | 71 | ;*********************************************************************** |
| 74 | 72 | |
| 75 | 73 | SECTION .text |
| 76 | 74 | |
| 77 | −WELS_EXTERN DyadicBilinearDownsamplerWidthx32_sse | |
| 78 | 75 | ;*********************************************************************** |
| 79 | 76 | ; void DyadicBilinearDownsamplerWidthx32_sse( unsigned char* pDst, const int iDstStride, |
| 80 | 77 | ; unsigned char* pSrc, const int iSrcStride, |
| 81 | 78 | ; const int iSrcWidth, const int iSrcHeight ); |
| 82 | 79 | ;*********************************************************************** |
| 83 | −ALIGN 16 | |
| 84 | −DyadicBilinearDownsamplerWidthx32_sse: | |
| 80 | +WELS_EXTERN DyadicBilinearDownsamplerWidthx32_sse | |
| 85 | 81 | push ebx |
| 86 | 82 | push edx |
| 87 | 83 | push esi |
| @@ -227,14 +223,12 @@ DyadicBilinearDownsamplerWidthx32_sse: · 139 unmodified lines | ||
| 227 | 223 | pop ebx |
| 228 | 224 | ret |
| 229 | 225 | |
| 230 | −WELS_EXTERN DyadicBilinearDownsamplerWidthx16_sse | |
| 231 | 226 | ;*********************************************************************** |
| 232 | 227 | ; void DyadicBilinearDownsamplerWidthx16_sse( unsigned char* pDst, const int iDstStride, |
| 233 | 228 | ; unsigned char* pSrc, const int iSrcStride, |
| 234 | 229 | ; const int iSrcWidth, const int iSrcHeight ); |
| 235 | 230 | ;*********************************************************************** |
| 236 | −ALIGN 16 | |
| 237 | −DyadicBilinearDownsamplerWidthx16_sse: | |
| 231 | +WELS_EXTERN DyadicBilinearDownsamplerWidthx16_sse | |
| 238 | 232 | push ebx |
| 239 | 233 | push edx |
| 240 | 234 | push esi |
| @@ -331,14 +325,12 @@ DyadicBilinearDownsamplerWidthx16_sse: · 90 unmodified lines | ||
| 331 | 325 | pop ebx |
| 332 | 326 | ret |
| 333 | 327 | |
| 334 | −WELS_EXTERN DyadicBilinearDownsamplerWidthx8_sse | |
| 335 | 328 | ;*********************************************************************** |
| 336 | 329 | ; void DyadicBilinearDownsamplerWidthx8_sse( unsigned char* pDst, const int iDstStride, |
| 337 | 330 | ; unsigned char* pSrc, const int iSrcStride, |
| 338 | 331 | ; const int iSrcWidth, const int iSrcHeight ); |
| 339 | 332 | ;*********************************************************************** |
| 340 | −ALIGN 16 | |
| 341 | −DyadicBilinearDownsamplerWidthx8_sse: | |
| 333 | +WELS_EXTERN DyadicBilinearDownsamplerWidthx8_sse | |
| 342 | 334 | push ebx |
| 343 | 335 | push edx |
| 344 | 336 | push esi |
| @@ -422,14 +414,12 @@ DyadicBilinearDownsamplerWidthx8_sse: · 77 unmodified lines | ||
| 422 | 414 | |
| 423 | 415 | |
| 424 | 416 | ; got about 50% improvement over DyadicBilinearDownsamplerWidthx32_sse |
| 425 | −WELS_EXTERN DyadicBilinearDownsamplerWidthx32_ssse3 | |
| 426 | 417 | ;*********************************************************************** |
| 427 | 418 | ; void DyadicBilinearDownsamplerWidthx32_ssse3( unsigned char* pDst, const int iDstStride, |
| 428 | 419 | ; unsigned char* pSrc, const int iSrcStride, |
| 429 | 420 | ; const int iSrcWidth, const int iSrcHeight ); |
| 430 | 421 | ;*********************************************************************** |
| 431 | −ALIGN 16 | |
| 432 | −DyadicBilinearDownsamplerWidthx32_ssse3: | |
| 422 | +WELS_EXTERN DyadicBilinearDownsamplerWidthx32_ssse3 | |
| 433 | 423 | push ebx |
| 434 | 424 | push edx |
| 435 | 425 | push esi |
| @@ -533,14 +523,12 @@ DyadicBilinearDownsamplerWidthx32_ssse3: · 97 unmodified lines | ||
| 533 | 523 | pop ebx |
| 534 | 524 | ret |
| 535 | 525 | |
| 536 | −WELS_EXTERN DyadicBilinearDownsamplerWidthx16_ssse3 | |
| 537 | 526 | ;*********************************************************************** |
| 538 | 527 | ; void DyadicBilinearDownsamplerWidthx16_ssse3( unsigned char* pDst, const int iDstStride, |
| 539 | 528 | ; unsigned char* pSrc, const int iSrcStride, |
| 540 | 529 | ; const int iSrcWidth, const int iSrcHeight ); |
| 541 | 530 | ;*********************************************************************** |
| 542 | −ALIGN 16 | |
| 543 | −DyadicBilinearDownsamplerWidthx16_ssse3: | |
| 531 | +WELS_EXTERN DyadicBilinearDownsamplerWidthx16_ssse3 | |
| 544 | 532 | push ebx |
| 545 | 533 | push edx |
| 546 | 534 | push esi |
| @@ -623,14 +611,12 @@ DyadicBilinearDownsamplerWidthx16_ssse3: · 76 unmodified lines | ||
| 623 | 611 | ret |
| 624 | 612 | |
| 625 | 613 | ; got about 65% improvement over DyadicBilinearDownsamplerWidthx32_sse |
| 626 | −WELS_EXTERN DyadicBilinearDownsamplerWidthx32_sse4 | |
| 627 | 614 | ;*********************************************************************** |
| 628 | 615 | ; void DyadicBilinearDownsamplerWidthx32_sse4( unsigned char* pDst, const int iDstStride, |
| 629 | 616 | ; unsigned char* pSrc, const int iSrcStride, |
| 630 | 617 | ; const int iSrcWidth, const int iSrcHeight ); |
| 631 | 618 | ;*********************************************************************** |
| 632 | −ALIGN 16 | |
| 633 | −DyadicBilinearDownsamplerWidthx32_sse4: | |
| 619 | +WELS_EXTERN DyadicBilinearDownsamplerWidthx32_sse4 | |
| 634 | 620 | push ebx |
| 635 | 621 | push edx |
| 636 | 622 | push esi |
| @@ -733,14 +719,12 @@ DyadicBilinearDownsamplerWidthx32_sse4: · 96 unmodified lines | ||
| 733 | 719 | pop ebx |
| 734 | 720 | ret |
| 735 | 721 | |
| 736 | −WELS_EXTERN DyadicBilinearDownsamplerWidthx16_sse4 | |
| 737 | 722 | ;*********************************************************************** |
| 738 | 723 | ; void DyadicBilinearDownsamplerWidthx16_sse4( unsigned char* pDst, const int iDstStride, |
| 739 | 724 | ; unsigned char* pSrc, const int iSrcStride, |
| 740 | 725 | ; const int iSrcWidth, const int iSrcHeight ); |
| 741 | 726 | ;*********************************************************************** |
| 742 | −ALIGN 16 | |
| 743 | −DyadicBilinearDownsamplerWidthx16_sse4: | |
| 727 | +WELS_EXTERN DyadicBilinearDownsamplerWidthx16_sse4 | |
| 744 | 728 | push ebx |
| 745 | 729 | push edx |
| 746 | 730 | push esi |
| @@ -825,7 +809,6 @@ DyadicBilinearDownsamplerWidthx16_sse4: · 78 unmodified lines | ||
| 825 | 809 | |
| 826 | 810 | |
| 827 | 811 | |
| 828 | −WELS_EXTERN GeneralBilinearAccurateDownsampler_sse2 | |
| 829 | 812 | ;************************************************************************************************************** |
| 830 | 813 | ;int GeneralBilinearAccurateDownsampler_sse2( unsigned char* pDst, const int iDstStride, const int iDstWidth, const int iDstHeight, |
| 831 | 814 | ; unsigned char* pSrc, const int iSrcStride, const int iSrcWidth, const int iSrcHeight, |
| @@ -833,8 +816,7 @@ WELS_EXTERN GeneralBilinearAccurateDownsampler_sse2 · 1 unmodified line | ||
| 833 | 816 | ;{ |
| 834 | 817 | ;************************************************************************************************************** |
| 835 | 818 | |
| 836 | −ALIGN 16 | |
| 837 | −GeneralBilinearAccurateDownsampler_sse2: | |
| 819 | +WELS_EXTERN GeneralBilinearAccurateDownsampler_sse2 | |
| 838 | 820 | push ebp |
| 839 | 821 | push esi |
| 840 | 822 | push edi |
| @@ -1029,7 +1011,6 @@ LAST_ROW_END: · 188 unmodified lines | ||
| 1029 | 1011 | |
| 1030 | 1012 | |
| 1031 | 1013 | |
| 1032 | −WELS_EXTERN GeneralBilinearFastDownsampler_sse2 | |
| 1033 | 1014 | ;************************************************************************************************************** |
| 1034 | 1015 | ;int GeneralBilinearFastDownsampler_sse2( unsigned char* pDst, const int iDstStride, const int iDstWidth, const int iDstHeight, |
| 1035 | 1016 | ; unsigned char* pSrc, const int iSrcStride, const int iSrcWidth, const int iSrcHeight, |
| @@ -1037,8 +1018,7 @@ WELS_EXTERN GeneralBilinearFastDownsampler_sse2 · 1 unmodified line | ||
| 1037 | 1018 | ;{ |
| 1038 | 1019 | ;************************************************************************************************************** |
| 1039 | 1020 | |
| 1040 | −ALIGN 16 | |
| 1041 | −GeneralBilinearFastDownsampler_sse2: | |
| 1021 | +WELS_EXTERN GeneralBilinearFastDownsampler_sse2 | |
| 1042 | 1022 | push ebp |
| 1043 | 1023 | push esi |
| 1044 | 1024 | push edi |
| @@ -245,12 +245,10 @@ SECTION .text · 244 unmodified lines | ||
| 245 | 245 | |
| 246 | 246 | %ifdef X86_32 |
| 247 | 247 | |
| 248 | −WELS_EXTERN SampleVariance16x16_sse2 | |
| 249 | 248 | ;*********************************************************************** |
| 250 | 249 | ; void SampleVariance16x16_sse2( uint8_t * y_ref, int32_t y_ref_stride, uint8_t * y_src, int32_t y_src_stride,SMotionTextureUnit* pMotionTexture ); |
| 251 | 250 | ;*********************************************************************** |
| 252 | −ALIGN 16 | |
| 253 | −SampleVariance16x16_sse2: | |
| 251 | +WELS_EXTERN SampleVariance16x16_sse2 | |
| 254 | 252 | push esi |
| 255 | 253 | push edi |
| 256 | 254 | push ebx |
| @@ -347,15 +345,13 @@ SampleVariance16x16_sse2: · 90 unmodified lines | ||
| 347 | 345 | |
| 348 | 346 | |
| 349 | 347 | |
| 350 | −WELS_EXTERN VAACalcSad_sse2 | |
| 351 | 348 | ;************************************************************************************************************* |
| 352 | 349 | ;void VAACalcSad_sse2( const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight |
| 353 | 350 | ; int32_t iPicStride, int32_t *psadframe, int32_t *psad8x8) |
| 354 | 351 | ;************************************************************************************************************* |
| 355 | 352 | |
| 356 | 353 | |
| 357 | −ALIGN 16 | |
| 358 | −VAACalcSad_sse2: | |
| 354 | +WELS_EXTERN VAACalcSad_sse2 | |
| 359 | 355 | %define cur_data esp + pushsize + 4 |
| 360 | 356 | %define ref_data esp + pushsize + 8 |
| 361 | 357 | %define iPicWidth esp + pushsize + 12 |
| @@ -441,12 +437,10 @@ width_loop: · 79 unmodified lines | ||
| 441 | 437 | |
| 442 | 438 | %else ;64-bit |
| 443 | 439 | |
| 444 | −WELS_EXTERN SampleVariance16x16_sse2 | |
| 445 | 440 | ;*********************************************************************** |
| 446 | 441 | ; void SampleVariance16x16_sse2( uint8_t * y_ref, int32_t y_ref_stride, uint8_t * y_src, int32_t y_src_stride,SMotionTextureUnit* pMotionTexture ); |
| 447 | 442 | ;*********************************************************************** |
| 448 | −ALIGN 16 | |
| 449 | −SampleVariance16x16_sse2: | |
| 443 | +WELS_EXTERN SampleVariance16x16_sse2 | |
| 450 | 444 | %define SUM r10;[esp] |
| 451 | 445 | %define SUM_CUR r11;[esp+4] |
| 452 | 446 | %define SQR r13;[esp+8] |
| @@ -539,15 +533,13 @@ SampleVariance16x16_sse2: · 86 unmodified lines | ||
| 539 | 533 | ret |
| 540 | 534 | |
| 541 | 535 | |
| 542 | −WELS_EXTERN VAACalcSad_sse2 | |
| 543 | 536 | ;************************************************************************************************************* |
| 544 | 537 | ;void VAACalcSad_sse2( const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight |
| 545 | 538 | ; int32_t iPicStride, int32_t *psadframe, int32_t *psad8x8) |
| 546 | 539 | ;************************************************************************************************************* |
| 547 | 540 | |
| 548 | 541 | |
| 549 | −ALIGN 16 | |
| 550 | −VAACalcSad_sse2: | |
| 542 | +WELS_EXTERN VAACalcSad_sse2 | |
| 551 | 543 | %define cur_data r0 |
| 552 | 544 | %define ref_data r1 |
| 553 | 545 | %define iPicWidth r2 |
| @@ -637,15 +629,13 @@ width_loop: · 83 unmodified lines | ||
| 637 | 629 | |
| 638 | 630 | |
| 639 | 631 | %ifdef X86_32 |
| 640 | −WELS_EXTERN VAACalcSadVar_sse2 | |
| 641 | 632 | ;************************************************************************************************************* |
| 642 | 633 | ;void VAACalcSadVar_sse2( const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight |
| 643 | 634 | ; int32_t iPicStride, int32_t *psadframe, int32_t *psad8x8, int32_t *psum16x16, int32_t *psqsum16x16) |
| 644 | 635 | ;************************************************************************************************************* |
| 645 | 636 | |
| 646 | 637 | |
| 647 | −ALIGN 16 | |
| 648 | −VAACalcSadVar_sse2: | |
| 638 | +WELS_EXTERN VAACalcSadVar_sse2 | |
| 649 | 639 | %define localsize 8 |
| 650 | 640 | %define cur_data esp + pushsize + localsize + 4 |
| 651 | 641 | %define ref_data esp + pushsize + localsize + 8 |
| @@ -773,15 +763,13 @@ var_width_loop: · 121 unmodified lines | ||
| 773 | 763 | |
| 774 | 764 | %else ;64-bit |
| 775 | 765 | |
| 776 | −WELS_EXTERN VAACalcSadVar_sse2 | |
| 777 | 766 | ;************************************************************************************************************* |
| 778 | 767 | ;void VAACalcSadVar_sse2( const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight |
| 779 | 768 | ; int32_t iPicStride, int32_t *psadframe, int32_t *psad8x8, int32_t *psum16x16, int32_t *psqsum16x16) |
| 780 | 769 | ;************************************************************************************************************* |
| 781 | 770 | |
| 782 | 771 | |
| 783 | −ALIGN 16 | |
| 784 | −VAACalcSadVar_sse2: | |
| 772 | +WELS_EXTERN VAACalcSadVar_sse2 | |
| 785 | 773 | %define cur_data arg1 ;r0 |
| 786 | 774 | %define ref_data arg2 ;r1 |
| 787 | 775 | %define iPicWidth arg3 ;r2 |
| @@ -916,15 +904,13 @@ var_width_loop: · 128 unmodified lines | ||
| 916 | 904 | |
| 917 | 905 | %ifdef X86_32 |
| 918 | 906 | |
| 919 | −WELS_EXTERN VAACalcSadSsd_sse2 | |
| 920 | 907 | ;************************************************************************************************************* |
| 921 | 908 | ;void VAACalcSadSsd_sse2(const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight, |
| 922 | 909 | ; int32_t iPicStride,int32_t *psadframe, int32_t *psad8x8, int32_t *psum16x16, int32_t *psqsum16x16, int32_t *psqdiff16x16) |
| 923 | 910 | ;************************************************************************************************************* |
| 924 | 911 | |
| 925 | 912 | |
| 926 | −ALIGN 16 | |
| 927 | −VAACalcSadSsd_sse2: | |
| 913 | +WELS_EXTERN VAACalcSadSsd_sse2 | |
| 928 | 914 | %define localsize 12 |
| 929 | 915 | %define cur_data esp + pushsize + localsize + 4 |
| 930 | 916 | %define ref_data esp + pushsize + localsize + 8 |
| @@ -1072,15 +1058,13 @@ sqdiff_width_loop: · 141 unmodified lines | ||
| 1072 | 1058 | %else |
| 1073 | 1059 | |
| 1074 | 1060 | |
| 1075 | −WELS_EXTERN VAACalcSadSsd_sse2 | |
| 1076 | 1061 | ;************************************************************************************************************* |
| 1077 | 1062 | ;void VAACalcSadSsd_sse2(const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight, |
| 1078 | 1063 | ; int32_t iPicStride,int32_t *psadframe, int32_t *psad8x8, int32_t *psum16x16, int32_t *psqsum16x16, int32_t *psqdiff16x16) |
| 1079 | 1064 | ;************************************************************************************************************* |
| 1080 | 1065 | |
| 1081 | 1066 | |
| 1082 | −ALIGN 16 | |
| 1083 | −VAACalcSadSsd_sse2: | |
| 1067 | +WELS_EXTERN VAACalcSadSsd_sse2 | |
| 1084 | 1068 | %define localsize 12 |
| 1085 | 1069 | %define cur_data arg1;r0 |
| 1086 | 1070 | %define ref_data arg2;r1 |
| @@ -1236,15 +1220,13 @@ sqdiff_width_loop: · 149 unmodified lines | ||
| 1236 | 1220 | %endif |
| 1237 | 1221 | |
| 1238 | 1222 | %ifdef X86_32 |
| 1239 | −WELS_EXTERN VAACalcSadBgd_sse2 | |
| 1240 | 1223 | ;************************************************************************************************************* |
| 1241 | 1224 | ;void VAACalcSadBgd_sse2(const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight, |
| 1242 | 1225 | ; int32_t iPicStride, int32_t *psadframe, int32_t *psad8x8, int32_t *p_sd8x8, uint8_t *p_mad8x8) |
| 1243 | 1226 | ;************************************************************************************************************* |
| 1244 | 1227 | |
| 1245 | 1228 | |
| 1246 | −ALIGN 16 | |
| 1247 | −VAACalcSadBgd_sse2: | |
| 1229 | +WELS_EXTERN VAACalcSadBgd_sse2 | |
| 1248 | 1230 | %define localsize 12 |
| 1249 | 1231 | %define cur_data esp + pushsize + localsize + 4 |
| 1250 | 1232 | %define ref_data esp + pushsize + localsize + 8 |
| @@ -1415,7 +1397,6 @@ bgd_width_loop: · 164 unmodified lines | ||
| 1415 | 1397 | |
| 1416 | 1398 | |
| 1417 | 1399 | |
| 1418 | −WELS_EXTERN VAACalcSadSsdBgd_sse2 | |
| 1419 | 1400 | ;************************************************************************************************************* |
| 1420 | 1401 | ;void VAACalcSadSsdBgd_sse2(const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight, |
| 1421 | 1402 | ; int32_t iPicStride, int32_t *psadframe, int32_t *psad8x8, int32_t *psum16x16, int32_t *psqsum16x16, |
| @@ -1423,8 +1404,7 @@ WELS_EXTERN VAACalcSadSsdBgd_sse2 · 1 unmodified line | ||
| 1423 | 1404 | ;************************************************************************************************************* |
| 1424 | 1405 | |
| 1425 | 1406 | |
| 1426 | −ALIGN 16 | |
| 1427 | −VAACalcSadSsdBgd_sse2: | |
| 1407 | +WELS_EXTERN VAACalcSadSsdBgd_sse2 | |
| 1428 | 1408 | %define localsize 16 |
| 1429 | 1409 | %define cur_data esp + pushsize + localsize + 4 |
| 1430 | 1410 | %define ref_data esp + pushsize + localsize + 8 |
| @@ -1646,15 +1626,13 @@ sqdiff_bgd_width_loop: · 215 unmodified lines | ||
| 1646 | 1626 | ret |
| 1647 | 1627 | %else |
| 1648 | 1628 | |
| 1649 | −WELS_EXTERN VAACalcSadBgd_sse2 | |
| 1650 | 1629 | ;************************************************************************************************************* |
| 1651 | 1630 | ;void VAACalcSadBgd_sse2(const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight, |
| 1652 | 1631 | ; int32_t iPicStride, int32_t *psadframe, int32_t *psad8x8, int32_t *p_sd8x8, uint8_t *p_mad8x8) |
| 1653 | 1632 | ;************************************************************************************************************* |
| 1654 | 1633 | |
| 1655 | 1634 | |
| 1656 | −ALIGN 16 | |
| 1657 | −VAACalcSadBgd_sse2: | |
| 1635 | +WELS_EXTERN VAACalcSadBgd_sse2 | |
| 1658 | 1636 | %define cur_data arg1; |
| 1659 | 1637 | %define ref_data arg2; |
| 1660 | 1638 | %define iPicWidth arg3; |
| @@ -1817,7 +1795,6 @@ bgd_width_loop: · 156 unmodified lines | ||
| 1817 | 1795 | |
| 1818 | 1796 | |
| 1819 | 1797 | |
| 1820 | −WELS_EXTERN VAACalcSadSsdBgd_sse2 | |
| 1821 | 1798 | ;************************************************************************************************************* |
| 1822 | 1799 | ;void VAACalcSadSsdBgd_sse2(const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight, |
| 1823 | 1800 | ; int32_t iPicStride, int32_t *psadframe, int32_t *psad8x8, int32_t *psum16x16, int32_t *psqsum16x16, |
| @@ -1825,8 +1802,7 @@ WELS_EXTERN VAACalcSadSsdBgd_sse2 · 1 unmodified line | ||
| 1825 | 1802 | ;************************************************************************************************************* |
| 1826 | 1803 | |
| 1827 | 1804 | |
| 1828 | −ALIGN 16 | |
| 1829 | −VAACalcSadSsdBgd_sse2: | |
| 1805 | +WELS_EXTERN VAACalcSadSsdBgd_sse2 | |
| 1830 | 1806 | %define cur_data arg1; |
| 1831 | 1807 | %define ref_data arg2; |
| 1832 | 1808 | %define iPicWidth arg3; |