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

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

Issue 2421993002: Port HalfFloatRow_SSE2 to AVX2 but not using F16C. (Closed)
Patch Set: disable f16 Created 4 years, 2 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 | « no previous file | 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 #define HAS_ARGBPOLYNOMIALROW_AVX2 194 #define HAS_ARGBPOLYNOMIALROW_AVX2
195 #define HAS_ARGBSHUFFLEROW_AVX2 195 #define HAS_ARGBSHUFFLEROW_AVX2
196 #define HAS_ARGBTORGB565DITHERROW_AVX2 196 #define HAS_ARGBTORGB565DITHERROW_AVX2
197 #define HAS_ARGBTOUVJROW_AVX2 197 #define HAS_ARGBTOUVJROW_AVX2
198 #define HAS_ARGBTOUVROW_AVX2 198 #define HAS_ARGBTOUVROW_AVX2
199 #define HAS_ARGBTOYJROW_AVX2 199 #define HAS_ARGBTOYJROW_AVX2
200 #define HAS_ARGBTOYROW_AVX2 200 #define HAS_ARGBTOYROW_AVX2
201 #define HAS_COPYROW_AVX 201 #define HAS_COPYROW_AVX
202 #define HAS_H422TOARGBROW_AVX2 202 #define HAS_H422TOARGBROW_AVX2
203 #define HAS_HALFFLOATROW_AVX2 203 #define HAS_HALFFLOATROW_AVX2
204 // #define HAS_HALFFLOATROW_F16C // Enable to test halffloat cast
204 #define HAS_I400TOARGBROW_AVX2 205 #define HAS_I400TOARGBROW_AVX2
205 #define HAS_I422TOARGB1555ROW_AVX2 206 #define HAS_I422TOARGB1555ROW_AVX2
206 #define HAS_I422TOARGB4444ROW_AVX2 207 #define HAS_I422TOARGB4444ROW_AVX2
207 #define HAS_I422TOARGBROW_AVX2 208 #define HAS_I422TOARGBROW_AVX2
208 #define HAS_I422TORGB24ROW_AVX2 209 #define HAS_I422TORGB24ROW_AVX2
209 #define HAS_I422TORGB565ROW_AVX2 210 #define HAS_I422TORGB565ROW_AVX2
210 #define HAS_I422TORGBAROW_AVX2 211 #define HAS_I422TORGBAROW_AVX2
211 #define HAS_I444TOARGBROW_AVX2 212 #define HAS_I444TOARGBROW_AVX2
212 #define HAS_INTERPOLATEROW_AVX2 213 #define HAS_INTERPOLATEROW_AVX2
213 #define HAS_J422TOARGBROW_AVX2 214 #define HAS_J422TOARGBROW_AVX2
(...skipping 1710 matching lines...) Expand 10 before | Expand all | Expand 10 after
1924 int width); 1925 int width);
1925 void ARGBPolynomialRow_SSE2(const uint8* src_argb, 1926 void ARGBPolynomialRow_SSE2(const uint8* src_argb,
1926 uint8* dst_argb, const float* poly, 1927 uint8* dst_argb, const float* poly,
1927 int width); 1928 int width);
1928 void ARGBPolynomialRow_AVX2(const uint8* src_argb, 1929 void ARGBPolynomialRow_AVX2(const uint8* src_argb,
1929 uint8* dst_argb, const float* poly, 1930 uint8* dst_argb, const float* poly,
1930 int width); 1931 int width);
1931 1932
1932 // Scale and convert to half float. 1933 // Scale and convert to half float.
1933 void HalfFloatRow_C(const uint16* src, uint16* dst, float scale, int width); 1934 void HalfFloatRow_C(const uint16* src, uint16* dst, float scale, int width);
1935 void HalfFloatRow_SSE2(const uint16* src, uint16* dst, float scale, int width);
1936 void HalfFloatRow_Any_SSE2(const uint16* src, uint16* dst, float scale,
1937 int width);
1934 void HalfFloatRow_AVX2(const uint16* src, uint16* dst, float scale, int width); 1938 void HalfFloatRow_AVX2(const uint16* src, uint16* dst, float scale, int width);
1935 void HalfFloatRow_Any_AVX2(const uint16* src, uint16* dst, float scale, 1939 void HalfFloatRow_Any_AVX2(const uint16* src, uint16* dst, float scale,
1936 int width); 1940 int width);
1937 void HalfFloatRow_SSE2(const uint16* src, uint16* dst, float scale, int width); 1941 void HalfFloatRow_F16C(const uint16* src, uint16* dst, float scale, int width);
1938 void HalfFloatRow_Any_SSE2(const uint16* src, uint16* dst, float scale, 1942 void HalfFloatRow_Any_F16C(const uint16* src, uint16* dst, float scale,
1939 int width); 1943 int width);
1940 1944
1941 void ARGBLumaColorTableRow_C(const uint8* src_argb, uint8* dst_argb, int width, 1945 void ARGBLumaColorTableRow_C(const uint8* src_argb, uint8* dst_argb, int width,
1942 const uint8* luma, uint32 lumacoeff); 1946 const uint8* luma, uint32 lumacoeff);
1943 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, 1947 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb,
1944 int width, 1948 int width,
1945 const uint8* luma, uint32 lumacoeff); 1949 const uint8* luma, uint32 lumacoeff);
1946 1950
1947 #ifdef __cplusplus 1951 #ifdef __cplusplus
1948 } // extern "C" 1952 } // extern "C"
1949 } // namespace libyuv 1953 } // namespace libyuv
1950 #endif 1954 #endif
1951 1955
1952 #endif // INCLUDE_LIBYUV_ROW_H_ 1956 #endif // INCLUDE_LIBYUV_ROW_H_
OLDNEW
« no previous file with comments | « no previous file | source/planar_functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698