Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Side by Side Diff: include/libyuv/row.h

Issue 1574253004: refactor ARGBToI422 using ARGBToI420 internally (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « README.chromium ('k') | include/libyuv/version.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 #define HAS_ARGB4444TOARGBROW_SSE2 86 #define HAS_ARGB4444TOARGBROW_SSE2
87 #define HAS_ARGBSETROW_X86 87 #define HAS_ARGBSETROW_X86
88 #define HAS_ARGBSHUFFLEROW_SSE2 88 #define HAS_ARGBSHUFFLEROW_SSE2
89 #define HAS_ARGBSHUFFLEROW_SSSE3 89 #define HAS_ARGBSHUFFLEROW_SSSE3
90 #define HAS_ARGBTOARGB1555ROW_SSE2 90 #define HAS_ARGBTOARGB1555ROW_SSE2
91 #define HAS_ARGBTOARGB4444ROW_SSE2 91 #define HAS_ARGBTOARGB4444ROW_SSE2
92 #define HAS_ARGBTORAWROW_SSSE3 92 #define HAS_ARGBTORAWROW_SSSE3
93 #define HAS_ARGBTORGB24ROW_SSSE3 93 #define HAS_ARGBTORGB24ROW_SSSE3
94 #define HAS_ARGBTORGB565DITHERROW_SSE2 94 #define HAS_ARGBTORGB565DITHERROW_SSE2
95 #define HAS_ARGBTORGB565ROW_SSE2 95 #define HAS_ARGBTORGB565ROW_SSE2
96 #define HAS_ARGBTOUV422ROW_SSSE3
97 #define HAS_ARGBTOUV444ROW_SSSE3 96 #define HAS_ARGBTOUV444ROW_SSSE3
98 #define HAS_ARGBTOUVJROW_SSSE3 97 #define HAS_ARGBTOUVJROW_SSSE3
99 #define HAS_ARGBTOUVROW_SSSE3 98 #define HAS_ARGBTOUVROW_SSSE3
100 #define HAS_ARGBTOYJROW_SSSE3 99 #define HAS_ARGBTOYJROW_SSSE3
101 #define HAS_ARGBTOYROW_SSSE3 100 #define HAS_ARGBTOYROW_SSSE3
102 #define HAS_BGRATOUVROW_SSSE3 101 #define HAS_BGRATOUVROW_SSSE3
103 #define HAS_BGRATOYROW_SSSE3 102 #define HAS_BGRATOYROW_SSSE3
104 #define HAS_COPYROW_ERMS 103 #define HAS_COPYROW_ERMS
105 #define HAS_COPYROW_SSE2 104 #define HAS_COPYROW_SSE2
106 #define HAS_H422TOARGBROW_SSSE3 105 #define HAS_H422TOARGBROW_SSSE3
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 #define HAS_ARGB4444TOUVROW_NEON 272 #define HAS_ARGB4444TOUVROW_NEON
274 #define HAS_ARGB4444TOYROW_NEON 273 #define HAS_ARGB4444TOYROW_NEON
275 #define HAS_ARGBSETROW_NEON 274 #define HAS_ARGBSETROW_NEON
276 #define HAS_ARGBTOARGB1555ROW_NEON 275 #define HAS_ARGBTOARGB1555ROW_NEON
277 #define HAS_ARGBTOARGB4444ROW_NEON 276 #define HAS_ARGBTOARGB4444ROW_NEON
278 #define HAS_ARGBTORAWROW_NEON 277 #define HAS_ARGBTORAWROW_NEON
279 #define HAS_ARGBTORGB24ROW_NEON 278 #define HAS_ARGBTORGB24ROW_NEON
280 #define HAS_ARGBTORGB565DITHERROW_NEON 279 #define HAS_ARGBTORGB565DITHERROW_NEON
281 #define HAS_ARGBTORGB565ROW_NEON 280 #define HAS_ARGBTORGB565ROW_NEON
282 #define HAS_ARGBTOUV411ROW_NEON 281 #define HAS_ARGBTOUV411ROW_NEON
283 #define HAS_ARGBTOUV422ROW_NEON
284 #define HAS_ARGBTOUV444ROW_NEON 282 #define HAS_ARGBTOUV444ROW_NEON
285 #define HAS_ARGBTOUVJROW_NEON 283 #define HAS_ARGBTOUVJROW_NEON
286 #define HAS_ARGBTOUVROW_NEON 284 #define HAS_ARGBTOUVROW_NEON
287 #define HAS_ARGBTOYJROW_NEON 285 #define HAS_ARGBTOYJROW_NEON
288 #define HAS_ARGBTOYROW_NEON 286 #define HAS_ARGBTOYROW_NEON
289 #define HAS_BGRATOUVROW_NEON 287 #define HAS_BGRATOUVROW_NEON
290 #define HAS_BGRATOYROW_NEON 288 #define HAS_BGRATOYROW_NEON
291 #define HAS_COPYROW_NEON 289 #define HAS_COPYROW_NEON
292 #define HAS_I400TOARGBROW_NEON 290 #define HAS_I400TOARGBROW_NEON
293 #define HAS_I411TOARGBROW_NEON 291 #define HAS_I411TOARGBROW_NEON
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 void ARGBToYJRow_SSSE3(const uint8* src_argb, uint8* dst_y, int width); 639 void ARGBToYJRow_SSSE3(const uint8* src_argb, uint8* dst_y, int width);
642 void BGRAToYRow_SSSE3(const uint8* src_bgra, uint8* dst_y, int width); 640 void BGRAToYRow_SSSE3(const uint8* src_bgra, uint8* dst_y, int width);
643 void ABGRToYRow_SSSE3(const uint8* src_abgr, uint8* dst_y, int width); 641 void ABGRToYRow_SSSE3(const uint8* src_abgr, uint8* dst_y, int width);
644 void RGBAToYRow_SSSE3(const uint8* src_rgba, uint8* dst_y, int width); 642 void RGBAToYRow_SSSE3(const uint8* src_rgba, uint8* dst_y, int width);
645 void RGB24ToYRow_SSSE3(const uint8* src_rgb24, uint8* dst_y, int width); 643 void RGB24ToYRow_SSSE3(const uint8* src_rgb24, uint8* dst_y, int width);
646 void RAWToYRow_SSSE3(const uint8* src_raw, uint8* dst_y, int width); 644 void RAWToYRow_SSSE3(const uint8* src_raw, uint8* dst_y, int width);
647 void ARGBToYRow_NEON(const uint8* src_argb, uint8* dst_y, int width); 645 void ARGBToYRow_NEON(const uint8* src_argb, uint8* dst_y, int width);
648 void ARGBToYJRow_NEON(const uint8* src_argb, uint8* dst_y, int width); 646 void ARGBToYJRow_NEON(const uint8* src_argb, uint8* dst_y, int width);
649 void ARGBToUV444Row_NEON(const uint8* src_argb, uint8* dst_u, uint8* dst_v, 647 void ARGBToUV444Row_NEON(const uint8* src_argb, uint8* dst_u, uint8* dst_v,
650 int width); 648 int width);
651 void ARGBToUV422Row_NEON(const uint8* src_argb, uint8* dst_u, uint8* dst_v,
652 int width);
653 void ARGBToUV411Row_NEON(const uint8* src_argb, uint8* dst_u, uint8* dst_v, 649 void ARGBToUV411Row_NEON(const uint8* src_argb, uint8* dst_u, uint8* dst_v,
654 int width); 650 int width);
655 void ARGBToUVRow_NEON(const uint8* src_argb, int src_stride_argb, 651 void ARGBToUVRow_NEON(const uint8* src_argb, int src_stride_argb,
656 uint8* dst_u, uint8* dst_v, int width); 652 uint8* dst_u, uint8* dst_v, int width);
657 void ARGBToUVJRow_NEON(const uint8* src_argb, int src_stride_argb, 653 void ARGBToUVJRow_NEON(const uint8* src_argb, int src_stride_argb,
658 uint8* dst_u, uint8* dst_v, int width); 654 uint8* dst_u, uint8* dst_v, int width);
659 void BGRAToUVRow_NEON(const uint8* src_bgra, int src_stride_bgra, 655 void BGRAToUVRow_NEON(const uint8* src_bgra, int src_stride_bgra,
660 uint8* dst_u, uint8* dst_v, int width); 656 uint8* dst_u, uint8* dst_v, int width);
661 void ABGRToUVRow_NEON(const uint8* src_abgr, int src_stride_abgr, 657 void ABGRToUVRow_NEON(const uint8* src_abgr, int src_stride_abgr,
662 uint8* dst_u, uint8* dst_v, int width); 658 uint8* dst_u, uint8* dst_v, int width);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 void ARGBToUVJRow_Any_SSSE3(const uint8* src_argb, int src_stride_argb, 725 void ARGBToUVJRow_Any_SSSE3(const uint8* src_argb, int src_stride_argb,
730 uint8* dst_u, uint8* dst_v, int width); 726 uint8* dst_u, uint8* dst_v, int width);
731 void BGRAToUVRow_Any_SSSE3(const uint8* src_bgra, int src_stride_bgra, 727 void BGRAToUVRow_Any_SSSE3(const uint8* src_bgra, int src_stride_bgra,
732 uint8* dst_u, uint8* dst_v, int width); 728 uint8* dst_u, uint8* dst_v, int width);
733 void ABGRToUVRow_Any_SSSE3(const uint8* src_abgr, int src_stride_abgr, 729 void ABGRToUVRow_Any_SSSE3(const uint8* src_abgr, int src_stride_abgr,
734 uint8* dst_u, uint8* dst_v, int width); 730 uint8* dst_u, uint8* dst_v, int width);
735 void RGBAToUVRow_Any_SSSE3(const uint8* src_rgba, int src_stride_rgba, 731 void RGBAToUVRow_Any_SSSE3(const uint8* src_rgba, int src_stride_rgba,
736 uint8* dst_u, uint8* dst_v, int width); 732 uint8* dst_u, uint8* dst_v, int width);
737 void ARGBToUV444Row_Any_NEON(const uint8* src_argb, uint8* dst_u, uint8* dst_v, 733 void ARGBToUV444Row_Any_NEON(const uint8* src_argb, uint8* dst_u, uint8* dst_v,
738 int width); 734 int width);
739 void ARGBToUV422Row_Any_NEON(const uint8* src_argb, uint8* dst_u, uint8* dst_v,
740 int width);
741 void ARGBToUV411Row_Any_NEON(const uint8* src_argb, uint8* dst_u, uint8* dst_v, 735 void ARGBToUV411Row_Any_NEON(const uint8* src_argb, uint8* dst_u, uint8* dst_v,
742 int width); 736 int width);
743 void ARGBToUVRow_Any_NEON(const uint8* src_argb, int src_stride_argb, 737 void ARGBToUVRow_Any_NEON(const uint8* src_argb, int src_stride_argb,
744 uint8* dst_u, uint8* dst_v, int width); 738 uint8* dst_u, uint8* dst_v, int width);
745 void ARGBToUVJRow_Any_NEON(const uint8* src_argb, int src_stride_argb, 739 void ARGBToUVJRow_Any_NEON(const uint8* src_argb, int src_stride_argb,
746 uint8* dst_u, uint8* dst_v, int width); 740 uint8* dst_u, uint8* dst_v, int width);
747 void BGRAToUVRow_Any_NEON(const uint8* src_bgra, int src_stride_bgra, 741 void BGRAToUVRow_Any_NEON(const uint8* src_bgra, int src_stride_bgra,
748 uint8* dst_u, uint8* dst_v, int width); 742 uint8* dst_u, uint8* dst_v, int width);
749 void ABGRToUVRow_Any_NEON(const uint8* src_abgr, int src_stride_abgr, 743 void ABGRToUVRow_Any_NEON(const uint8* src_abgr, int src_stride_abgr,
750 uint8* dst_u, uint8* dst_v, int width); 744 uint8* dst_u, uint8* dst_v, int width);
(...skipping 30 matching lines...) Expand all
781 void ARGB1555ToUVRow_C(const uint8* src_argb1555, int src_stride_argb1555, 775 void ARGB1555ToUVRow_C(const uint8* src_argb1555, int src_stride_argb1555,
782 uint8* dst_u, uint8* dst_v, int width); 776 uint8* dst_u, uint8* dst_v, int width);
783 void ARGB4444ToUVRow_C(const uint8* src_argb4444, int src_stride_argb4444, 777 void ARGB4444ToUVRow_C(const uint8* src_argb4444, int src_stride_argb4444,
784 uint8* dst_u, uint8* dst_v, int width); 778 uint8* dst_u, uint8* dst_v, int width);
785 779
786 void ARGBToUV444Row_SSSE3(const uint8* src_argb, 780 void ARGBToUV444Row_SSSE3(const uint8* src_argb,
787 uint8* dst_u, uint8* dst_v, int width); 781 uint8* dst_u, uint8* dst_v, int width);
788 void ARGBToUV444Row_Any_SSSE3(const uint8* src_argb, 782 void ARGBToUV444Row_Any_SSSE3(const uint8* src_argb,
789 uint8* dst_u, uint8* dst_v, int width); 783 uint8* dst_u, uint8* dst_v, int width);
790 784
791 void ARGBToUV422Row_SSSE3(const uint8* src_argb,
792 uint8* dst_u, uint8* dst_v, int width);
793 void ARGBToUV422Row_Any_SSSE3(const uint8* src_argb,
794 uint8* dst_u, uint8* dst_v, int width);
795
796 void ARGBToUV444Row_C(const uint8* src_argb, 785 void ARGBToUV444Row_C(const uint8* src_argb,
797 uint8* dst_u, uint8* dst_v, int width); 786 uint8* dst_u, uint8* dst_v, int width);
798 void ARGBToUV422Row_C(const uint8* src_argb,
799 uint8* dst_u, uint8* dst_v, int width);
800 void ARGBToUV411Row_C(const uint8* src_argb, 787 void ARGBToUV411Row_C(const uint8* src_argb,
801 uint8* dst_u, uint8* dst_v, int width); 788 uint8* dst_u, uint8* dst_v, int width);
802 void ARGBToUVJ422Row_C(const uint8* src_argb,
803 uint8* dst_u, uint8* dst_v, int width);
804 789
805 void MirrorRow_AVX2(const uint8* src, uint8* dst, int width); 790 void MirrorRow_AVX2(const uint8* src, uint8* dst, int width);
806 void MirrorRow_SSSE3(const uint8* src, uint8* dst, int width); 791 void MirrorRow_SSSE3(const uint8* src, uint8* dst, int width);
807 void MirrorRow_NEON(const uint8* src, uint8* dst, int width); 792 void MirrorRow_NEON(const uint8* src, uint8* dst, int width);
808 void MirrorRow_MIPS_DSPR2(const uint8* src, uint8* dst, int width); 793 void MirrorRow_MIPS_DSPR2(const uint8* src, uint8* dst, int width);
809 void MirrorRow_C(const uint8* src, uint8* dst, int width); 794 void MirrorRow_C(const uint8* src, uint8* dst, int width);
810 void MirrorRow_Any_AVX2(const uint8* src, uint8* dst, int width); 795 void MirrorRow_Any_AVX2(const uint8* src, uint8* dst, int width);
811 void MirrorRow_Any_SSSE3(const uint8* src, uint8* dst, int width); 796 void MirrorRow_Any_SSSE3(const uint8* src, uint8* dst, int width);
812 void MirrorRow_Any_SSE2(const uint8* src, uint8* dst, int width); 797 void MirrorRow_Any_SSE2(const uint8* src, uint8* dst, int width);
813 void MirrorRow_Any_NEON(const uint8* src, uint8* dst, int width); 798 void MirrorRow_Any_NEON(const uint8* src, uint8* dst, int width);
(...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1925 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, 1910 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb,
1926 int width, 1911 int width,
1927 const uint8* luma, uint32 lumacoeff); 1912 const uint8* luma, uint32 lumacoeff);
1928 1913
1929 #ifdef __cplusplus 1914 #ifdef __cplusplus
1930 } // extern "C" 1915 } // extern "C"
1931 } // namespace libyuv 1916 } // namespace libyuv
1932 #endif 1917 #endif
1933 1918
1934 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT 1919 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT
OLDNEW
« no previous file with comments | « README.chromium ('k') | include/libyuv/version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698