Showing the changes to test/encoder/EncUT_SVC_me.cpp (1 of 7 files). Show all
Unified · Split
| @@ -80,18 +80,18 @@ void SumOf16x16BlockOfFrame_ref (uint8_t* pRefPicture, const int32_t kiWidth, co · 79 unmodified lines | ||
| 80 | 80 | |
| 81 | 81 | |
| 82 | 82 | void InitializeHashforFeature_ref (uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, const int32_t kiListSize, |
| 83 | − uint16_t** pLocationOfFeature, uint16_t** pFeatureValuePointerList) { | |
| 84 | − //assign location pointer | |
| 83 | + uint16_t** pLocationOfFeature, uint16_t** pFeatureValuePointerList) { | |
| 84 | + //assign location pointer | |
| 85 | 85 | uint16_t* pBufPos = pBuf; |
| 86 | 86 | for (int32_t i = 0 ; i < kiListSize; ++i) { |
| 87 | 87 | pLocationOfFeature[i] = |
| 88 | − pFeatureValuePointerList[i] = pBufPos; | |
| 88 | + pFeatureValuePointerList[i] = pBufPos; | |
| 89 | 89 | pBufPos += (pTimesOfFeatureValue[i] << 1); |
| 90 | 90 | } |
| 91 | 91 | } |
| 92 | 92 | void FillQpelLocationByFeatureValue_ref (uint16_t* pFeatureOfBlock, const int32_t kiWidth, const int32_t kiHeight, |
| 93 | − uint16_t** pFeatureValuePointerList) { | |
| 94 | − //assign each pixel's position | |
| 93 | + uint16_t** pFeatureValuePointerList) { | |
| 94 | + //assign each pixel's position | |
| 95 | 95 | uint16_t* pSrcPointer = pFeatureOfBlock; |
| 96 | 96 | int32_t iQpelY = 0; |
| 97 | 97 | for (int32_t y = 0; y < kiHeight; y++) { |
| @@ -246,9 +246,11 @@ GENERATE_InitializeHashforFeature (InitializeHashforFeature_ref, InitializeHashf · 148 unmodified lines | ||
| 246 | 246 | GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, FillQpelLocationByFeatureValue_c, 640, 320) |
| 247 | 247 | #ifdef X86_ASM |
| 248 | 248 | GENERATE_InitializeHashforFeature (InitializeHashforFeature_ref, InitializeHashforFeature_sse2, 10, 10) |
| 249 | −GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, FillQpelLocationByFeatureValue_sse2, 16, 16) | |
| 249 | +GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, FillQpelLocationByFeatureValue_sse2, 16, | |
| 250 | + 16) | |
| 250 | 251 | GENERATE_InitializeHashforFeature (InitializeHashforFeature_ref, InitializeHashforFeature_sse2, 640, 320) |
| 251 | −GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, FillQpelLocationByFeatureValue_sse2, 640, 320) | |
| 252 | +GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, FillQpelLocationByFeatureValue_sse2, 640, | |
| 253 | + 320) | |
| 252 | 254 | #endif |
| 253 | 255 | |
| 254 | 256 | GENERATE_SumOfFrame (SumOf8x8BlockOfFrame_ref, SumOf8x8BlockOfFrame_c, 1, 1) |
| @@ -282,9 +284,11 @@ GENERATE_SumOfFrame (SumOf16x16BlockOfFrame_ref, SumOf16x16BlockOfFrame_neon, 1, · 27 unmodified lines | ||
| 282 | 284 | GENERATE_SumOfFrame (SumOf8x8BlockOfFrame_ref, SumOf8x8BlockOfFrame_neon, 640, 320) |
| 283 | 285 | GENERATE_SumOfFrame (SumOf16x16BlockOfFrame_ref, SumOf16x16BlockOfFrame_neon, 640, 320) |
| 284 | 286 | GENERATE_InitializeHashforFeature (InitializeHashforFeature_ref, InitializeHashforFeature_neon, 10, 10) |
| 285 | −GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, FillQpelLocationByFeatureValue_neon, 16, 16) | |
| 287 | +GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, FillQpelLocationByFeatureValue_neon, 16, | |
| 288 | + 16) | |
| 286 | 289 | GENERATE_InitializeHashforFeature (InitializeHashforFeature_ref, InitializeHashforFeature_neon, 640, 320) |
| 287 | −GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, FillQpelLocationByFeatureValue_neon, 640, 320) | |
| 290 | +GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, FillQpelLocationByFeatureValue_neon, 640, | |
| 291 | + 320) | |
| 288 | 292 | #endif |
| 289 | 293 | |
| 290 | 294 | #ifdef HAVE_NEON_AARCH64 |
| @@ -295,7 +299,9 @@ GENERATE_SumOfFrame (SumOf16x16BlockOfFrame_ref, SumOf16x16BlockOfFrame_AArch64_ · 4 unmodified lines | ||
| 295 | 299 | GENERATE_SumOfFrame (SumOf8x8BlockOfFrame_ref, SumOf8x8BlockOfFrame_AArch64_neon, 640, 320) |
| 296 | 300 | GENERATE_SumOfFrame (SumOf16x16BlockOfFrame_ref, SumOf16x16BlockOfFrame_AArch64_neon, 640, 320) |
| 297 | 301 | GENERATE_InitializeHashforFeature (InitializeHashforFeature_ref, InitializeHashforFeature_AArch64_neon, 10, 10) |
| 298 | −GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, FillQpelLocationByFeatureValue_AArch64_neon, 16, 16) | |
| 302 | +GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, | |
| 303 | + FillQpelLocationByFeatureValue_AArch64_neon, 16, 16) | |
| 299 | 304 | GENERATE_InitializeHashforFeature (InitializeHashforFeature_ref, InitializeHashforFeature_AArch64_neon, 640, 320) |
| 300 | −GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, FillQpelLocationByFeatureValue_AArch64_neon, 640, 320) | |
| 305 | +GENERATE_FillQpelLocationByFeatureValue (FillQpelLocationByFeatureValue_ref, | |
| 306 | + FillQpelLocationByFeatureValue_AArch64_neon, 640, 320) | |
| 301 | 307 | #endif |