| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2011 The LibYuv Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 #define HAS_ARGBSUBTRACTROW_NEON | 348 #define HAS_ARGBSUBTRACTROW_NEON |
| 349 #define HAS_INTERPOLATEROW_NEON | 349 #define HAS_INTERPOLATEROW_NEON |
| 350 #define HAS_SOBELROW_NEON | 350 #define HAS_SOBELROW_NEON |
| 351 #define HAS_SOBELTOPLANEROW_NEON | 351 #define HAS_SOBELTOPLANEROW_NEON |
| 352 #define HAS_SOBELXROW_NEON | 352 #define HAS_SOBELXROW_NEON |
| 353 #define HAS_SOBELXYROW_NEON | 353 #define HAS_SOBELXYROW_NEON |
| 354 #define HAS_SOBELYROW_NEON | 354 #define HAS_SOBELYROW_NEON |
| 355 #endif | 355 #endif |
| 356 | 356 |
| 357 // The following are available on Mips platforms: | 357 // The following are available on Mips platforms: |
| 358 #if !defined(LIBYUV_DISABLE_dspr2) && defined(__dspr2__) && \ | 358 #if !defined(LIBYUV_DISABLE_DSPR2) && defined(__mips__) && \ |
| 359 (_dspr2_SIM == _dspr2_SIM_ABI32) && (__dspr2_isa_rev < 6) | 359 (_MIPS_SIM == _MIPS_SIM_ABI32) && (__mips_isa_rev < 6) |
| 360 #define HAS_COPYROW_dspr2 | 360 #define HAS_COPYROW_MIPS |
| 361 #if defined(__dspr2_dsp) && (__dspr2_dsp_rev >= 2) | 361 #if defined(__mips_dsp) && (__mips_dsp_rev >= 2) |
| 362 #define HAS_I422TOARGBROW_DSPR2 | 362 #define HAS_I422TOARGBROW_DSPR2 |
| 363 #define HAS_INTERPOLATEROW_DSPR2 | 363 #define HAS_INTERPOLATEROW_DSPR2 |
| 364 #define HAS_MIRRORROW_DSPR2 | 364 #define HAS_MIRRORROW_DSPR2 |
| 365 #define HAS_MIRRORUVROW_DSPR2 | 365 #define HAS_MIRRORUVROW_DSPR2 |
| 366 #define HAS_SPLITUVROW_DSPR2 | 366 #define HAS_SPLITUVROW_DSPR2 |
| 367 #define HAS_RGB24TOARGBROW_DSPR2 | 367 #define HAS_RGB24TOARGBROW_DSPR2 |
| 368 #define HAS_RAWTOARGBROW_DSPR2 | 368 #define HAS_RAWTOARGBROW_DSPR2 |
| 369 #define HAS_RGB565TOARGBROW_DSPR2 | 369 #define HAS_RGB565TOARGBROW_DSPR2 |
| 370 #define HAS_ARGB1555TOARGBROW_DSPR2 | 370 #define HAS_ARGB1555TOARGBROW_DSPR2 |
| 371 #define HAS_ARGB4444TOARGBROW_DSPR2 | 371 #define HAS_ARGB4444TOARGBROW_DSPR2 |
| 372 #define HAS_I444TOARGBROW_DSPR2 | 372 #define HAS_I444TOARGBROW_DSPR2 |
| 373 #define HAS_I422TOARGB4444ROW_DSPR2 | 373 #define HAS_I422TOARGB4444ROW_DSPR2 |
| 374 #define HAS_I422TOARGB1555ROW_DSPR2 | 374 #define HAS_I422TOARGB1555ROW_DSPR2 |
| 375 #define HAS_NV12TOARGBROW_DSPR2 | 375 #define HAS_NV12TOARGBROW_DSPR2 |
| 376 #define HAS_BGRATOUVROW_DSPR2 | 376 #define HAS_BGRATOUVROW_DSPR2 |
| 377 #define HAS_BGRATOYROW_DSPR2 | 377 #define HAS_BGRATOYROW_DSPR2 |
| 378 #define HAS_ABGRTOUVROW_DSPR2 | 378 #define HAS_ABGRTOUVROW_DSPR2 |
| 379 #define HAS_ARGBTOYROW_DSPR2 | 379 #define HAS_ARGBTOYROW_DSPR2 |
| 380 #define HAS_ABGRTOYROW_DSPR2 | 380 #define HAS_ABGRTOYROW_DSPR2 |
| 381 #define HAS_RGBATOUVROW_DSPR2 | 381 #define HAS_RGBATOUVROW_DSPR2 |
| 382 #define HAS_RGBATOYROW_DSPR2 | 382 #define HAS_RGBATOYROW_DSPR2 |
| 383 #define HAS_ARGBTOUVROW_DSPR2 | 383 #define HAS_ARGBTOUVROW_DSPR2 |
| 384 #endif | 384 #endif |
| 385 #endif | 385 #endif |
| 386 | 386 |
| 387 #if !defined(LIBYUV_DISABLE_MSA) && defined(__dspr2_msa) | 387 #if !defined(LIBYUV_DISABLE_MSA) && defined(__mips_msa) |
| 388 #define HAS_ARGBMIRRORROW_MSA | 388 #define HAS_ARGBMIRRORROW_MSA |
| 389 #define HAS_I422TOUYVYROW_MSA | 389 #define HAS_I422TOUYVYROW_MSA |
| 390 #define HAS_I422TOYUY2ROW_MSA | 390 #define HAS_I422TOYUY2ROW_MSA |
| 391 #define HAS_MIRRORROW_MSA | 391 #define HAS_MIRRORROW_MSA |
| 392 #define HAS_UYVYTOUVROW_MSA | 392 #define HAS_UYVYTOUVROW_MSA |
| 393 #define HAS_UYVYTOYROW_MSA | 393 #define HAS_UYVYTOYROW_MSA |
| 394 #define HAS_YUY2TOUV422ROW_MSA | 394 #define HAS_YUY2TOUV422ROW_MSA |
| 395 #define HAS_YUY2TOUVROW_MSA | 395 #define HAS_YUY2TOUVROW_MSA |
| 396 #define HAS_YUY2TOYROW_MSA | 396 #define HAS_YUY2TOYROW_MSA |
| 397 #define HAS_ARGB4444TOARGBROW_MSA | 397 #define HAS_ARGB4444TOARGBROW_MSA |
| (...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1403 int width); | 1403 int width); |
| 1404 void MergeUVRow_Any_NEON(const uint8* src_u, | 1404 void MergeUVRow_Any_NEON(const uint8* src_u, |
| 1405 const uint8* src_v, | 1405 const uint8* src_v, |
| 1406 uint8* dst_uv, | 1406 uint8* dst_uv, |
| 1407 int width); | 1407 int width); |
| 1408 | 1408 |
| 1409 void CopyRow_SSE2(const uint8* src, uint8* dst, int count); | 1409 void CopyRow_SSE2(const uint8* src, uint8* dst, int count); |
| 1410 void CopyRow_AVX(const uint8* src, uint8* dst, int count); | 1410 void CopyRow_AVX(const uint8* src, uint8* dst, int count); |
| 1411 void CopyRow_ERMS(const uint8* src, uint8* dst, int count); | 1411 void CopyRow_ERMS(const uint8* src, uint8* dst, int count); |
| 1412 void CopyRow_NEON(const uint8* src, uint8* dst, int count); | 1412 void CopyRow_NEON(const uint8* src, uint8* dst, int count); |
| 1413 void CopyRow_dspr2(const uint8* src, uint8* dst, int count); | 1413 void CopyRow_MIPS(const uint8* src, uint8* dst, int count); |
| 1414 void CopyRow_C(const uint8* src, uint8* dst, int count); | 1414 void CopyRow_C(const uint8* src, uint8* dst, int count); |
| 1415 void CopyRow_Any_SSE2(const uint8* src, uint8* dst, int count); | 1415 void CopyRow_Any_SSE2(const uint8* src, uint8* dst, int count); |
| 1416 void CopyRow_Any_AVX(const uint8* src, uint8* dst, int count); | 1416 void CopyRow_Any_AVX(const uint8* src, uint8* dst, int count); |
| 1417 void CopyRow_Any_NEON(const uint8* src, uint8* dst, int count); | 1417 void CopyRow_Any_NEON(const uint8* src, uint8* dst, int count); |
| 1418 | 1418 |
| 1419 void CopyRow_16_C(const uint16* src, uint16* dst, int count); | 1419 void CopyRow_16_C(const uint16* src, uint16* dst, int count); |
| 1420 | 1420 |
| 1421 void ARGBCopyAlphaRow_C(const uint8* src_argb, uint8* dst_argb, int width); | 1421 void ARGBCopyAlphaRow_C(const uint8* src_argb, uint8* dst_argb, int width); |
| 1422 void ARGBCopyAlphaRow_SSE2(const uint8* src_argb, uint8* dst_argb, int width); | 1422 void ARGBCopyAlphaRow_SSE2(const uint8* src_argb, uint8* dst_argb, int width); |
| 1423 void ARGBCopyAlphaRow_AVX2(const uint8* src_argb, uint8* dst_argb, int width); | 1423 void ARGBCopyAlphaRow_AVX2(const uint8* src_argb, uint8* dst_argb, int width); |
| (...skipping 1665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3089 int width, | 3089 int width, |
| 3090 const uint8* luma, | 3090 const uint8* luma, |
| 3091 uint32 lumacoeff); | 3091 uint32 lumacoeff); |
| 3092 | 3092 |
| 3093 #ifdef __cplusplus | 3093 #ifdef __cplusplus |
| 3094 } // extern "C" | 3094 } // extern "C" |
| 3095 } // namespace libyuv | 3095 } // namespace libyuv |
| 3096 #endif | 3096 #endif |
| 3097 | 3097 |
| 3098 #endif // INCLUDE_LIBYUV_ROW_H_ | 3098 #endif // INCLUDE_LIBYUV_ROW_H_ |
| OLD | NEW |