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

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

Issue 1995293002: Add ARGBExtractAlpha function (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Use packuswb xmm0, xmm0 instead Created 4 years, 6 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 | « include/libyuv/planar_functions.h ('k') | source/planar_functions.cc » ('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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 #define HAS_ARGBTOARGB4444ROW_SSE2 97 #define HAS_ARGBTOARGB4444ROW_SSE2
98 #define HAS_ARGBTORAWROW_SSSE3 98 #define HAS_ARGBTORAWROW_SSSE3
99 #define HAS_ARGBTORGB24ROW_SSSE3 99 #define HAS_ARGBTORGB24ROW_SSSE3
100 #define HAS_ARGBTORGB565DITHERROW_SSE2 100 #define HAS_ARGBTORGB565DITHERROW_SSE2
101 #define HAS_ARGBTORGB565ROW_SSE2 101 #define HAS_ARGBTORGB565ROW_SSE2
102 #define HAS_ARGBTOUV444ROW_SSSE3 102 #define HAS_ARGBTOUV444ROW_SSSE3
103 #define HAS_ARGBTOUVJROW_SSSE3 103 #define HAS_ARGBTOUVJROW_SSSE3
104 #define HAS_ARGBTOUVROW_SSSE3 104 #define HAS_ARGBTOUVROW_SSSE3
105 #define HAS_ARGBTOYJROW_SSSE3 105 #define HAS_ARGBTOYJROW_SSSE3
106 #define HAS_ARGBTOYROW_SSSE3 106 #define HAS_ARGBTOYROW_SSSE3
107 #define HAS_ARGBEXTRACTALPHAROW_SSE2
107 #define HAS_BGRATOUVROW_SSSE3 108 #define HAS_BGRATOUVROW_SSSE3
108 #define HAS_BGRATOYROW_SSSE3 109 #define HAS_BGRATOYROW_SSSE3
109 #define HAS_COPYROW_ERMS 110 #define HAS_COPYROW_ERMS
110 #define HAS_COPYROW_SSE2 111 #define HAS_COPYROW_SSE2
111 #define HAS_H422TOARGBROW_SSSE3 112 #define HAS_H422TOARGBROW_SSSE3
112 #define HAS_I400TOARGBROW_SSE2 113 #define HAS_I400TOARGBROW_SSE2
113 #define HAS_I422TOARGB1555ROW_SSSE3 114 #define HAS_I422TOARGB1555ROW_SSSE3
114 #define HAS_I422TOARGB4444ROW_SSSE3 115 #define HAS_I422TOARGB4444ROW_SSSE3
115 #define HAS_I422TOARGBROW_SSSE3 116 #define HAS_I422TOARGBROW_SSSE3
116 #define HAS_I422TORGB24ROW_SSSE3 117 #define HAS_I422TORGB24ROW_SSSE3
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 #define HAS_ARGBTORAWROW_NEON 285 #define HAS_ARGBTORAWROW_NEON
285 #define HAS_ARGBTORGB24ROW_NEON 286 #define HAS_ARGBTORGB24ROW_NEON
286 #define HAS_ARGBTORGB565DITHERROW_NEON 287 #define HAS_ARGBTORGB565DITHERROW_NEON
287 #define HAS_ARGBTORGB565ROW_NEON 288 #define HAS_ARGBTORGB565ROW_NEON
288 #define HAS_ARGBTOUV411ROW_NEON 289 #define HAS_ARGBTOUV411ROW_NEON
289 #define HAS_ARGBTOUV444ROW_NEON 290 #define HAS_ARGBTOUV444ROW_NEON
290 #define HAS_ARGBTOUVJROW_NEON 291 #define HAS_ARGBTOUVJROW_NEON
291 #define HAS_ARGBTOUVROW_NEON 292 #define HAS_ARGBTOUVROW_NEON
292 #define HAS_ARGBTOYJROW_NEON 293 #define HAS_ARGBTOYJROW_NEON
293 #define HAS_ARGBTOYROW_NEON 294 #define HAS_ARGBTOYROW_NEON
295 #define HAS_ARGBEXTRACTALPHAROW_NEON
294 #define HAS_BGRATOUVROW_NEON 296 #define HAS_BGRATOUVROW_NEON
295 #define HAS_BGRATOYROW_NEON 297 #define HAS_BGRATOYROW_NEON
296 #define HAS_COPYROW_NEON 298 #define HAS_COPYROW_NEON
297 #define HAS_I400TOARGBROW_NEON 299 #define HAS_I400TOARGBROW_NEON
298 #define HAS_I411TOARGBROW_NEON 300 #define HAS_I411TOARGBROW_NEON
299 #define HAS_I422ALPHATOARGBROW_NEON 301 #define HAS_I422ALPHATOARGBROW_NEON
300 #define HAS_I422TOARGB1555ROW_NEON 302 #define HAS_I422TOARGB1555ROW_NEON
301 #define HAS_I422TOARGB4444ROW_NEON 303 #define HAS_I422TOARGB4444ROW_NEON
302 #define HAS_I422TOARGBROW_NEON 304 #define HAS_I422TOARGBROW_NEON
303 #define HAS_I422TORGB24ROW_NEON 305 #define HAS_I422TORGB24ROW_NEON
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 void CopyRow_16_C(const uint16* src, uint16* dst, int count); 872 void CopyRow_16_C(const uint16* src, uint16* dst, int count);
871 873
872 void ARGBCopyAlphaRow_C(const uint8* src_argb, uint8* dst_argb, int width); 874 void ARGBCopyAlphaRow_C(const uint8* src_argb, uint8* dst_argb, int width);
873 void ARGBCopyAlphaRow_SSE2(const uint8* src_argb, uint8* dst_argb, int width); 875 void ARGBCopyAlphaRow_SSE2(const uint8* src_argb, uint8* dst_argb, int width);
874 void ARGBCopyAlphaRow_AVX2(const uint8* src_argb, uint8* dst_argb, int width); 876 void ARGBCopyAlphaRow_AVX2(const uint8* src_argb, uint8* dst_argb, int width);
875 void ARGBCopyAlphaRow_Any_SSE2(const uint8* src_argb, uint8* dst_argb, 877 void ARGBCopyAlphaRow_Any_SSE2(const uint8* src_argb, uint8* dst_argb,
876 int width); 878 int width);
877 void ARGBCopyAlphaRow_Any_AVX2(const uint8* src_argb, uint8* dst_argb, 879 void ARGBCopyAlphaRow_Any_AVX2(const uint8* src_argb, uint8* dst_argb,
878 int width); 880 int width);
879 881
882 void ARGBExtractAlphaRow_C(const uint8* src_argb, uint8* dst_a, int width);
883 void ARGBExtractAlphaRow_SSE2(const uint8* src_argb, uint8* dst_a, int width);
884 void ARGBExtractAlphaRow_NEON(const uint8* src_argb, uint8* dst_a, int width);
885 void ARGBExtractAlphaRow_Any_SSE2(const uint8* src_argb, uint8* dst_a,
886 int width);
887 void ARGBExtractAlphaRow_Any_NEON(const uint8* src_argb, uint8* dst_a,
888 int width);
889
880 void ARGBCopyYToAlphaRow_C(const uint8* src_y, uint8* dst_argb, int width); 890 void ARGBCopyYToAlphaRow_C(const uint8* src_y, uint8* dst_argb, int width);
881 void ARGBCopyYToAlphaRow_SSE2(const uint8* src_y, uint8* dst_argb, int width); 891 void ARGBCopyYToAlphaRow_SSE2(const uint8* src_y, uint8* dst_argb, int width);
882 void ARGBCopyYToAlphaRow_AVX2(const uint8* src_y, uint8* dst_argb, int width); 892 void ARGBCopyYToAlphaRow_AVX2(const uint8* src_y, uint8* dst_argb, int width);
883 void ARGBCopyYToAlphaRow_Any_SSE2(const uint8* src_y, uint8* dst_argb, 893 void ARGBCopyYToAlphaRow_Any_SSE2(const uint8* src_y, uint8* dst_argb,
884 int width); 894 int width);
885 void ARGBCopyYToAlphaRow_Any_AVX2(const uint8* src_y, uint8* dst_argb, 895 void ARGBCopyYToAlphaRow_Any_AVX2(const uint8* src_y, uint8* dst_argb,
886 int width); 896 int width);
887 897
888 void SetRow_C(uint8* dst, uint8 v8, int count); 898 void SetRow_C(uint8* dst, uint8 v8, int count);
889 void SetRow_X86(uint8* dst, uint8 v8, int count); 899 void SetRow_X86(uint8* dst, uint8 v8, int count);
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
1920 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, 1930 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb,
1921 int width, 1931 int width,
1922 const uint8* luma, uint32 lumacoeff); 1932 const uint8* luma, uint32 lumacoeff);
1923 1933
1924 #ifdef __cplusplus 1934 #ifdef __cplusplus
1925 } // extern "C" 1935 } // extern "C"
1926 } // namespace libyuv 1936 } // namespace libyuv
1927 #endif 1937 #endif
1928 1938
1929 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT 1939 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT
OLDNEW
« no previous file with comments | « include/libyuv/planar_functions.h ('k') | source/planar_functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698