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

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

Issue 1419103007: Raw 24 bit RGB to RGB24 (bgr) (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: st3 for neon 24 bit stores Created 5 years, 1 month 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 #define HAS_J400TOARGBROW_SSE2 123 #define HAS_J400TOARGBROW_SSE2
124 #define HAS_J422TOARGBROW_SSSE3 124 #define HAS_J422TOARGBROW_SSSE3
125 #define HAS_MERGEUVROW_SSE2 125 #define HAS_MERGEUVROW_SSE2
126 #define HAS_MIRRORROW_SSSE3 126 #define HAS_MIRRORROW_SSSE3
127 #define HAS_MIRRORROW_UV_SSSE3 127 #define HAS_MIRRORROW_UV_SSSE3
128 #define HAS_MIRRORUVROW_SSSE3 128 #define HAS_MIRRORUVROW_SSSE3
129 #define HAS_NV12TOARGBROW_SSSE3 129 #define HAS_NV12TOARGBROW_SSSE3
130 #define HAS_NV12TORGB565ROW_SSSE3 130 #define HAS_NV12TORGB565ROW_SSSE3
131 #define HAS_NV21TOARGBROW_SSSE3 131 #define HAS_NV21TOARGBROW_SSSE3
132 #define HAS_RAWTOARGBROW_SSSE3 132 #define HAS_RAWTOARGBROW_SSSE3
133 #define HAS_RAWTORGB24ROW_SSSE3
133 #define HAS_RAWTOYROW_SSSE3 134 #define HAS_RAWTOYROW_SSSE3
134 #define HAS_RGB24TOARGBROW_SSSE3 135 #define HAS_RGB24TOARGBROW_SSSE3
135 #define HAS_RGB24TOYROW_SSSE3 136 #define HAS_RGB24TOYROW_SSSE3
136 #define HAS_RGB565TOARGBROW_SSE2 137 #define HAS_RGB565TOARGBROW_SSE2
137 #define HAS_RGBATOUVROW_SSSE3 138 #define HAS_RGBATOUVROW_SSSE3
138 #define HAS_RGBATOYROW_SSSE3 139 #define HAS_RGBATOYROW_SSSE3
139 #define HAS_SETROW_ERMS 140 #define HAS_SETROW_ERMS
140 #define HAS_SETROW_X86 141 #define HAS_SETROW_X86
141 #define HAS_SPLITUVROW_SSE2 142 #define HAS_SPLITUVROW_SSE2
142 #define HAS_UYVYTOARGBROW_SSSE3 143 #define HAS_UYVYTOARGBROW_SSSE3
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 #define HAS_I422TOYUY2ROW_NEON 295 #define HAS_I422TOYUY2ROW_NEON
295 #define HAS_I444TOARGBROW_NEON 296 #define HAS_I444TOARGBROW_NEON
296 #define HAS_J400TOARGBROW_NEON 297 #define HAS_J400TOARGBROW_NEON
297 #define HAS_MERGEUVROW_NEON 298 #define HAS_MERGEUVROW_NEON
298 #define HAS_MIRRORROW_NEON 299 #define HAS_MIRRORROW_NEON
299 #define HAS_MIRRORUVROW_NEON 300 #define HAS_MIRRORUVROW_NEON
300 #define HAS_NV12TOARGBROW_NEON 301 #define HAS_NV12TOARGBROW_NEON
301 #define HAS_NV12TORGB565ROW_NEON 302 #define HAS_NV12TORGB565ROW_NEON
302 #define HAS_NV21TOARGBROW_NEON 303 #define HAS_NV21TOARGBROW_NEON
303 #define HAS_RAWTOARGBROW_NEON 304 #define HAS_RAWTOARGBROW_NEON
305 #define HAS_RAWTORGB24ROW_NEON
304 #define HAS_RAWTOUVROW_NEON 306 #define HAS_RAWTOUVROW_NEON
305 #define HAS_RAWTOYROW_NEON 307 #define HAS_RAWTOYROW_NEON
306 #define HAS_RGB24TOARGBROW_NEON 308 #define HAS_RGB24TOARGBROW_NEON
307 #define HAS_RGB24TOUVROW_NEON 309 #define HAS_RGB24TOUVROW_NEON
308 #define HAS_RGB24TOYROW_NEON 310 #define HAS_RGB24TOYROW_NEON
309 #define HAS_RGB565TOARGBROW_NEON 311 #define HAS_RGB565TOARGBROW_NEON
310 #define HAS_RGB565TOUVROW_NEON 312 #define HAS_RGB565TOUVROW_NEON
311 #define HAS_RGB565TOYROW_NEON 313 #define HAS_RGB565TOYROW_NEON
312 #define HAS_RGBATOUVROW_NEON 314 #define HAS_RGBATOUVROW_NEON
313 #define HAS_RGBATOYROW_NEON 315 #define HAS_RGBATOYROW_NEON
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 const uint8* shuffler, int width); 903 const uint8* shuffler, int width);
902 void ARGBShuffleRow_Any_SSSE3(const uint8* src_argb, uint8* dst_argb, 904 void ARGBShuffleRow_Any_SSSE3(const uint8* src_argb, uint8* dst_argb,
903 const uint8* shuffler, int width); 905 const uint8* shuffler, int width);
904 void ARGBShuffleRow_Any_AVX2(const uint8* src_argb, uint8* dst_argb, 906 void ARGBShuffleRow_Any_AVX2(const uint8* src_argb, uint8* dst_argb,
905 const uint8* shuffler, int width); 907 const uint8* shuffler, int width);
906 void ARGBShuffleRow_Any_NEON(const uint8* src_argb, uint8* dst_argb, 908 void ARGBShuffleRow_Any_NEON(const uint8* src_argb, uint8* dst_argb,
907 const uint8* shuffler, int width); 909 const uint8* shuffler, int width);
908 910
909 void RGB24ToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int width); 911 void RGB24ToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int width);
910 void RAWToARGBRow_SSSE3(const uint8* src_raw, uint8* dst_argb, int width); 912 void RAWToARGBRow_SSSE3(const uint8* src_raw, uint8* dst_argb, int width);
913 void RAWToRGB24Row_SSSE3(const uint8* src_raw, uint8* dst_rgb24, int width);
911 void RGB565ToARGBRow_SSE2(const uint8* src_rgb565, uint8* dst_argb, int width); 914 void RGB565ToARGBRow_SSE2(const uint8* src_rgb565, uint8* dst_argb, int width);
912 void ARGB1555ToARGBRow_SSE2(const uint8* src_argb1555, uint8* dst_argb, 915 void ARGB1555ToARGBRow_SSE2(const uint8* src_argb1555, uint8* dst_argb,
913 int width); 916 int width);
914 void ARGB4444ToARGBRow_SSE2(const uint8* src_argb4444, uint8* dst_argb, 917 void ARGB4444ToARGBRow_SSE2(const uint8* src_argb4444, uint8* dst_argb,
915 int width); 918 int width);
916 void RGB565ToARGBRow_AVX2(const uint8* src_rgb565, uint8* dst_argb, int width); 919 void RGB565ToARGBRow_AVX2(const uint8* src_rgb565, uint8* dst_argb, int width);
917 void ARGB1555ToARGBRow_AVX2(const uint8* src_argb1555, uint8* dst_argb, 920 void ARGB1555ToARGBRow_AVX2(const uint8* src_argb1555, uint8* dst_argb,
918 int width); 921 int width);
919 void ARGB4444ToARGBRow_AVX2(const uint8* src_argb4444, uint8* dst_argb, 922 void ARGB4444ToARGBRow_AVX2(const uint8* src_argb4444, uint8* dst_argb,
920 int width); 923 int width);
921 924
922 void RGB24ToARGBRow_NEON(const uint8* src_rgb24, uint8* dst_argb, int width); 925 void RGB24ToARGBRow_NEON(const uint8* src_rgb24, uint8* dst_argb, int width);
923 void RAWToARGBRow_NEON(const uint8* src_raw, uint8* dst_argb, int width); 926 void RAWToARGBRow_NEON(const uint8* src_raw, uint8* dst_argb, int width);
927 void RAWToRGB24Row_NEON(const uint8* src_raw, uint8* dst_rgb24, int width);
924 void RGB565ToARGBRow_NEON(const uint8* src_rgb565, uint8* dst_argb, int width); 928 void RGB565ToARGBRow_NEON(const uint8* src_rgb565, uint8* dst_argb, int width);
925 void ARGB1555ToARGBRow_NEON(const uint8* src_argb1555, uint8* dst_argb, 929 void ARGB1555ToARGBRow_NEON(const uint8* src_argb1555, uint8* dst_argb,
926 int width); 930 int width);
927 void ARGB4444ToARGBRow_NEON(const uint8* src_argb4444, uint8* dst_argb, 931 void ARGB4444ToARGBRow_NEON(const uint8* src_argb4444, uint8* dst_argb,
928 int width); 932 int width);
929 void RGB24ToARGBRow_C(const uint8* src_rgb24, uint8* dst_argb, int width); 933 void RGB24ToARGBRow_C(const uint8* src_rgb24, uint8* dst_argb, int width);
930 void RAWToARGBRow_C(const uint8* src_raw, uint8* dst_argb, int width); 934 void RAWToARGBRow_C(const uint8* src_raw, uint8* dst_argb, int width);
935 void RAWToRGB24Row_C(const uint8* src_raw, uint8* dst_rgb24, int width);
931 void RGB565ToARGBRow_C(const uint8* src_rgb, uint8* dst_argb, int width); 936 void RGB565ToARGBRow_C(const uint8* src_rgb, uint8* dst_argb, int width);
932 void ARGB1555ToARGBRow_C(const uint8* src_argb, uint8* dst_argb, int width); 937 void ARGB1555ToARGBRow_C(const uint8* src_argb, uint8* dst_argb, int width);
933 void ARGB4444ToARGBRow_C(const uint8* src_argb, uint8* dst_argb, int width); 938 void ARGB4444ToARGBRow_C(const uint8* src_argb, uint8* dst_argb, int width);
934 void RGB24ToARGBRow_Any_SSSE3(const uint8* src_rgb24, uint8* dst_argb, 939 void RGB24ToARGBRow_Any_SSSE3(const uint8* src_rgb24, uint8* dst_argb,
935 int width); 940 int width);
936 void RAWToARGBRow_Any_SSSE3(const uint8* src_raw, uint8* dst_argb, int width); 941 void RAWToARGBRow_Any_SSSE3(const uint8* src_raw, uint8* dst_argb, int width);
942 void RAWToRGB24Row_Any_SSSE3(const uint8* src_raw, uint8* dst_rgb24, int width);
937 943
938 void RGB565ToARGBRow_Any_SSE2(const uint8* src_rgb565, uint8* dst_argb, 944 void RGB565ToARGBRow_Any_SSE2(const uint8* src_rgb565, uint8* dst_argb,
939 int width); 945 int width);
940 void ARGB1555ToARGBRow_Any_SSE2(const uint8* src_argb1555, uint8* dst_argb, 946 void ARGB1555ToARGBRow_Any_SSE2(const uint8* src_argb1555, uint8* dst_argb,
941 int width); 947 int width);
942 void ARGB4444ToARGBRow_Any_SSE2(const uint8* src_argb4444, uint8* dst_argb, 948 void ARGB4444ToARGBRow_Any_SSE2(const uint8* src_argb4444, uint8* dst_argb,
943 int width); 949 int width);
944 void RGB565ToARGBRow_Any_AVX2(const uint8* src_rgb565, uint8* dst_argb, 950 void RGB565ToARGBRow_Any_AVX2(const uint8* src_rgb565, uint8* dst_argb,
945 int width); 951 int width);
946 void ARGB1555ToARGBRow_Any_AVX2(const uint8* src_argb1555, uint8* dst_argb, 952 void ARGB1555ToARGBRow_Any_AVX2(const uint8* src_argb1555, uint8* dst_argb,
947 int width); 953 int width);
948 void ARGB4444ToARGBRow_Any_AVX2(const uint8* src_argb4444, uint8* dst_argb, 954 void ARGB4444ToARGBRow_Any_AVX2(const uint8* src_argb4444, uint8* dst_argb,
949 int width); 955 int width);
950 956
951 void RGB24ToARGBRow_Any_NEON(const uint8* src_rgb24, uint8* dst_argb, 957 void RGB24ToARGBRow_Any_NEON(const uint8* src_rgb24, uint8* dst_argb,
952 int width); 958 int width);
953 void RAWToARGBRow_Any_NEON(const uint8* src_raw, uint8* dst_argb, int width); 959 void RAWToARGBRow_Any_NEON(const uint8* src_raw, uint8* dst_argb, int width);
960 void RAWToRGB24Row_Any_NEON(const uint8* src_raw, uint8* dst_rgb24, int width);
954 void RGB565ToARGBRow_Any_NEON(const uint8* src_rgb565, uint8* dst_argb, 961 void RGB565ToARGBRow_Any_NEON(const uint8* src_rgb565, uint8* dst_argb,
955 int width); 962 int width);
956 void ARGB1555ToARGBRow_Any_NEON(const uint8* src_argb1555, uint8* dst_argb, 963 void ARGB1555ToARGBRow_Any_NEON(const uint8* src_argb1555, uint8* dst_argb,
957 int width); 964 int width);
958 void ARGB4444ToARGBRow_Any_NEON(const uint8* src_argb4444, uint8* dst_argb, 965 void ARGB4444ToARGBRow_Any_NEON(const uint8* src_argb4444, uint8* dst_argb,
959 int width); 966 int width);
960 967
961 void ARGBToRGB24Row_SSSE3(const uint8* src_argb, uint8* dst_rgb, int width); 968 void ARGBToRGB24Row_SSSE3(const uint8* src_argb, uint8* dst_rgb, int width);
962 void ARGBToRAWRow_SSSE3(const uint8* src_argb, uint8* dst_rgb, int width); 969 void ARGBToRAWRow_SSSE3(const uint8* src_argb, uint8* dst_rgb, int width);
963 void ARGBToRGB565Row_SSE2(const uint8* src_argb, uint8* dst_rgb, int width); 970 void ARGBToRGB565Row_SSE2(const uint8* src_argb, uint8* dst_rgb, int width);
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
1891 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, 1898 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb,
1892 int width, 1899 int width,
1893 const uint8* luma, uint32 lumacoeff); 1900 const uint8* luma, uint32 lumacoeff);
1894 1901
1895 #ifdef __cplusplus 1902 #ifdef __cplusplus
1896 } // extern "C" 1903 } // extern "C"
1897 } // namespace libyuv 1904 } // namespace libyuv
1898 #endif 1905 #endif
1899 1906
1900 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT 1907 #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