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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 typedef int16 lvec16[16]; | 415 typedef int16 lvec16[16]; |
416 typedef int32 lvec32[8]; | 416 typedef int32 lvec32[8]; |
417 typedef int8 lvec8[32]; | 417 typedef int8 lvec8[32]; |
418 typedef uint16 ulvec16[16]; | 418 typedef uint16 ulvec16[16]; |
419 typedef uint32 ulvec32[8]; | 419 typedef uint32 ulvec32[8]; |
420 typedef uint8 ulvec8[32]; | 420 typedef uint8 ulvec8[32]; |
421 #endif | 421 #endif |
422 | 422 |
423 #if defined(__aarch64__) | 423 #if defined(__aarch64__) |
424 // This struct is for Arm64 color conversion. | 424 // This struct is for Arm64 color conversion. |
425 struct uvConstants { | 425 struct YuvConstants { |
426 uvec16 kUVToRB; | 426 uvec16 kUVToRB; |
427 uvec16 kUVToRB2; | 427 uvec16 kUVToRB2; |
428 uvec16 kUVToG; | 428 uvec16 kUVToG; |
429 uvec16 kUVToG2; | 429 uvec16 kUVToG2; |
430 vec16 kUVBiasBGR; | 430 vec16 kUVBiasBGR; |
431 vec32 kYToRgb; | 431 vec32 kYToRgb; |
432 }; | 432 }; |
433 #elif defined(__arm__) | 433 #elif defined(__arm__) |
434 // This struct is for ArmV7 color conversion. | 434 // This struct is for ArmV7 color conversion. |
435 struct YuvConstants { | 435 struct YuvConstants { |
(...skipping 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1930 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, | 1930 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, |
1931 int width, | 1931 int width, |
1932 const uint8* luma, uint32 lumacoeff); | 1932 const uint8* luma, uint32 lumacoeff); |
1933 | 1933 |
1934 #ifdef __cplusplus | 1934 #ifdef __cplusplus |
1935 } // extern "C" | 1935 } // extern "C" |
1936 } // namespace libyuv | 1936 } // namespace libyuv |
1937 #endif | 1937 #endif |
1938 | 1938 |
1939 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT | 1939 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT |
OLD | NEW |